From 1a1073c8d0634294bf93ec4c8f50819f1d3309cf Mon Sep 17 00:00:00 2001 From: Pengcheng Chen Date: Tue, 8 Oct 2019 17:10:38 +0800 Subject: [PATCH] osd: fix exit hdr play,screen flash for osd hdr matrix not sync [1/1] 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 --- drivers/amlogic/media/osd/osd_rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/osd/osd_rdma.c b/drivers/amlogic/media/osd/osd_rdma.c index 61c7ea4..2d18339 100644 --- a/drivers/amlogic/media/osd/osd_rdma.c +++ b/drivers/amlogic/media/osd/osd_rdma.c @@ -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; -- 2.7.4