hdmitx: fix flash screen when resuming and playing hdr [1/1]
authorYi Zhou <yi.zhou@amlogic.com>
Mon, 25 Mar 2019 11:19:26 +0000 (19:19 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Tue, 9 Apr 2019 11:26:10 +0000 (19:26 +0800)
PD#SWPL-6169

Problem:
when resuming and playing hdr films, flash screen will happen
under LG TV

Solution:
quantization range has changed between UI and playing hdr
films. we keep quantization unchanged. Same as MTK.

Verify:
s905x2

Change-Id: I071abecfba705dbd44d33c2673d4938c39f419cf
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c

index e52fc72..dfc554b 100644 (file)
@@ -1339,9 +1339,6 @@ static void hdmitx_set_drm_pkt(struct master_display_info_s *data)
                        hdev->hdmi_current_hdr_mode = 3;
        }
 
-       hdev->HWOp.CntlConfig(hdev, CONF_AVI_Q01,
-               RGB_RANGE_LIM);
-
        switch (hdev->hdmi_current_hdr_mode) {
        case 1:
                /*standard HDR*/