summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAbhinav Kumar <abhinavk@codeaurora.org>2017-06-30 01:02:36 -0700
committerAbhinav Kumar <abhinavk@codeaurora.org>2017-06-30 01:09:45 -0700
commitf9dd40aaef7e44f492c550907ecc98a097a0a562 (patch)
treeaaa6e58a41727b6f7c548b0ffc3b739f15e86434 /include
parentc1a5075d60955f6e4a15ce94aebd746c27684466 (diff)
drm/msm: add support for parsing YUV 420 deep color
Current upstream parser only handles RGB deep color modes. Add support in the SDE EDID parser module to parse HDMI VSDB block and indicate support for YUV 420 deep color modes in the sink. Change-Id: If6c007263094e7716a29cae503d3e3471ae04306 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_edid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 4317ea41382f..69cb2ba37116 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -209,6 +209,11 @@ struct detailed_timing {
#define DRM_EDID_HDMI_DC_30 (1 << 4)
#define DRM_EDID_HDMI_DC_Y444 (1 << 3)
+/* YCBCR 420 deep color modes */
+#define DRM_EDID_YCBCR420_DC_48 (1 << 2)
+#define DRM_EDID_YCBCR420_DC_36 (1 << 1)
+#define DRM_EDID_YCBCR420_DC_30 (1 << 0)
+
/* ELD Header Block */
#define DRM_ELD_HEADER_BLOCK_SIZE 4