osd: fix exit hdr play,screen flash for osd hdr matrix not sync [1/1]
authorPengcheng Chen <pengcheng.chen@amlogic.com>
Tue, 8 Oct 2019 09:10:38 +0000 (17:10 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 9 Oct 2019 11:19:36 +0000 (04:19 -0700)
PD#SWPL-14902

Problem:
Play HDR video locally, after exiting, the screen flashes 1, 2 seconds

Solution:
set rdma_hdr_delay default value to 0

Verify:
Verified by T962-P321

Change-Id: I9c0a56332e38d1238129e682535f588104faf8be
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/osd/osd_rdma.c

index 61c7ea4..2d18339 100644 (file)
@@ -70,7 +70,7 @@ static void *table_vaddr;
 static u32 rdma_enable;
 static u32 item_count;
 static u32 rdma_debug;
-static u32 rdma_hdr_delay = 1;
+static u32 rdma_hdr_delay;
 static bool osd_rdma_init_flag;
 #define OSD_RDMA_UPDATE_RETRY_COUNT 100
 static unsigned int debug_rdma_status;