summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-03-04 13:40:46 +0300
committerNeil Armstrong <narmstrong@baylibre.com>2020-03-10 12:51:24 +0300
commitf14d3f6c39f39acf0eec90f4dcf1105f7be1fc1b (patch)
tree7450226c98a25380b6d1b02b9ec20b9da1016178 /include/drm
parent6c3c719936dafeb5df3a625cd57a674bf1d6ef31 (diff)
downloadlinux-f14d3f6c39f39acf0eec90f4dcf1105f7be1fc1b.tar.xz
drm/bridge: synopsys: dw-hdmi: allow ycbcr420 modes for >= 0x200a
Now the DW-HDMI Controller supports the HDMI2.0 modes, enable support for these modes in the connector if the platform supports them. We limit these modes to DW-HDMI IP version >= 0x200a which are designed to support HDMI2.0 display modes. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jernej Škrabec <jernej.skrabec@siol.net> Link: https://patchwork.freedesktop.org/patch/msgid/20200304104052.17196-6-narmstrong@baylibre.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/bridge/dw_hdmi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/bridge/dw_hdmi.h b/include/drm/bridge/dw_hdmi.h
index 9d4d5cc47969..0b34a12c4a1c 100644
--- a/include/drm/bridge/dw_hdmi.h
+++ b/include/drm/bridge/dw_hdmi.h
@@ -129,6 +129,7 @@ struct dw_hdmi_plat_data {
unsigned long input_bus_format;
unsigned long input_bus_encoding;
bool use_drm_infoframe;
+ bool ycbcr_420_allowed;
/* Vendor PHY support */
const struct dw_hdmi_phy_ops *phy_ops;