mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
hdmitx: not enable 10to8 dither when interlace mode [2/2]
PD#SWPL-194605 Problem: HDMI CTS 7-26 fail Solution: not enable 10to8 dither when interlace mode Verify: T7 Test: DRM-TX-154 Change-Id: I93f5b5f636c530299cc913553e293aa610b75b6a Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
e59299a5dc
commit
a3cda7fe2f
@@ -5544,7 +5544,8 @@ void hdmitx21_dither_config(struct hdmitx21_dev *hdev)
|
||||
(0 << 6) |
|
||||
(((para->cd == COLORDEPTH_24B) ? 1 : 0) << 10) |
|
||||
(0 << 12);
|
||||
if (para->cd == COLORDEPTH_24B && !hdmitx_dv_en(&hdev->hw_comm))
|
||||
if (para->cd == COLORDEPTH_24B && !para->timing.pixel_repetition_factor &&
|
||||
!hdmitx_dv_en(&hdev->hw_comm))
|
||||
data32 |= (1 << 4);
|
||||
hd21_write_reg(VPU_HDMI_DITH_CNTL, data32);
|
||||
}
|
||||
@@ -6398,7 +6399,8 @@ void hdmitx21_color_convert(struct hdmitx21_dev *hdev, u32 output_color_format)
|
||||
/* 2.VPU_HDMI_DITH */
|
||||
data32 = 0;
|
||||
data32 = (1 << 10);
|
||||
if (hdmitx_dv_en(&hdev->hw_comm) == 0)
|
||||
if (hdmitx_dv_en(&hdev->hw_comm) == 0 &&
|
||||
!para->timing.pixel_repetition_factor)
|
||||
data32 |= (1 << 4);
|
||||
hd21_write_reg(VPU_HDMI_DITH_CNTL, data32);
|
||||
/* 3.vp config */
|
||||
@@ -6436,7 +6438,8 @@ void hdmitx21_color_convert(struct hdmitx21_dev *hdev, u32 output_color_format)
|
||||
/* 2.VPU_HDMI_DITH */
|
||||
data32 = 0;
|
||||
data32 = (1 << 10);
|
||||
if (hdmitx_dv_en(&hdev->hw_comm) == 0)
|
||||
if (hdmitx_dv_en(&hdev->hw_comm) == 0 &&
|
||||
!para->timing.pixel_repetition_factor)
|
||||
data32 |= (1 << 4);
|
||||
hd21_write_reg(VPU_HDMI_DITH_CNTL, data32);
|
||||
/* 3.vp config/ yuv->rgb*/
|
||||
|
||||
Reference in New Issue
Block a user