Skip to content

Commit c249223

Browse files
Algea Caorkhuangtao
authored andcommitted
drm/bridge: synopsys: dw-hdmi: Select formula1 for csc decimation
Formula3 and Formula2 for csc decimation will cause hdmi yuv422 display err. Formula3: The pixel color of left 0-14 columns and right 0-12 columns is err. Formula2: The pixel color of left 0-2 columns is err. Change-Id: I94fdd5fd962a24fde02dde1fe3ac10437ad117ad Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
1 parent 72159f9 commit c249223

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ static void hdmi_video_csc(struct dw_hdmi *hdmi)
10851085
if (is_color_space_interpolation(hdmi))
10861086
interpolation = HDMI_CSC_CFG_INTMODE_CHROMA_INT_FORMULA1;
10871087
else if (is_color_space_decimation(hdmi))
1088-
decimation = HDMI_CSC_CFG_DECMODE_CHROMA_INT_FORMULA3;
1088+
decimation = HDMI_CSC_CFG_DECMODE_CHROMA_INT_FORMULA1;
10891089

10901090
switch (hdmi_bus_fmt_color_depth(hdmi->hdmi_data.enc_out_bus_format)) {
10911091
case 8:

0 commit comments

Comments
 (0)