dv: mute the first frame when playing video [1/1]
authorYi Zhou <yi.zhou@amlogic.com>
Fri, 11 Jan 2019 02:49:11 +0000 (10:49 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Fri, 11 Jan 2019 13:12:57 +0000 (21:12 +0800)
PD#SWPL-4091

Problem:
due to the ip bug, the first frame has dirty data

Solution:
mute the first frame

Verify:
u212

Change-Id: Ia21e96c338b22e25d1073f27083f10634a09edad
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c

index 3de6b3a..50a868e 100644 (file)
@@ -1660,7 +1660,7 @@ static int dolby_core1_set(
        }
 
        if (dolby_vision_on_count
-               < dolby_vision_run_mode_delay) {
+               <= dolby_vision_run_mode_delay) {
                VSYNC_WR_MPEG_REG(
                        VPP_VD1_CLIP_MISC0,
                        (0x200 << 10) | 0x200);