mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm: bridge: dw-hdmi: fix ycbcr_420_allowed condition of RK3288
The version of RK3288 HDMI is 0x200a, it doesn't support ycbcr420 mode. Change-Id: I65ee16ae79f42fd13514db8e5819db6d07db9d3d Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
@@ -2989,7 +2989,7 @@ int dw_hdmi_bind(struct device *dev, struct device *master,
|
||||
/* Unmask HPD, clear transitory interrupts, then unmute */
|
||||
hdmi_writeb(hdmi, hdmi->phy_mask, HDMI_PHY_MASK0);
|
||||
|
||||
if (hdmi->dev_type == RK3288_HDMI && hdmi->version > 0x200a)
|
||||
if (hdmi->dev_type == RK3288_HDMI && hdmi->version == 0x200a)
|
||||
hdmi->connector.ycbcr_420_allowed = false;
|
||||
else
|
||||
hdmi->connector.ycbcr_420_allowed = true;
|
||||
|
||||
Reference in New Issue
Block a user