summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bridge/synopsys/dw-hdmi.h
diff options
context:
space:
mode:
authorNickey Yang <nickey.yang@rock-chips.com>2017-03-21 08:36:17 +0100
committerArchit Taneja <architt@codeaurora.org>2017-03-21 08:46:32 +0100
commit9aa1eca095579b8a8ea84d9bbd1fbdeff49cebd4 (patch)
treebca93b0b6b191f0c89ca623381a4487ec8c97e99 /drivers/gpu/drm/bridge/synopsys/dw-hdmi.h
parentdrm/bridge: dw_hdmi: support i2c extended read mode (diff)
downloadlinux-9aa1eca095579b8a8ea84d9bbd1fbdeff49cebd4.tar.xz
linux-9aa1eca095579b8a8ea84d9bbd1fbdeff49cebd4.zip
drm: bridge: dw-hdmi: add HDMI vendor specific infoframe config
Vendor specific infoframe is mandatory for 4K2K resolution. Without this, the HDMI protocol compliance fails. Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com> Reviewed-by: Jose Abreu <joabreu@synopsys.com> Signed-off-by: Archit Taneja <architt@codeaurora.org> Link: http://patchwork.freedesktop.org/patch/msgid/1490081777-2232-1-git-send-email-nickey.yang@rock-chips.com
Diffstat (limited to 'drivers/gpu/drm/bridge/synopsys/dw-hdmi.h')
-rw-r--r--drivers/gpu/drm/bridge/synopsys/dw-hdmi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.h b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.h
index 325b0b8ae639..c59f87e1483e 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.h
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.h
@@ -854,6 +854,10 @@ enum {
HDMI_FC_DBGFORCE_FORCEAUDIO = 0x10,
HDMI_FC_DBGFORCE_FORCEVIDEO = 0x1,
+/* FC_DATAUTO0 field values */
+ HDMI_FC_DATAUTO0_VSD_MASK = 0x08,
+ HDMI_FC_DATAUTO0_VSD_OFFSET = 3,
+
/* PHY_CONF0 field values */
HDMI_PHY_CONF0_PDZ_MASK = 0x80,
HDMI_PHY_CONF0_PDZ_OFFSET = 7,