aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fb.h
diff options
context:
space:
mode:
authorDavid Ung <davidu@nvidia.com>2014-03-26 15:35:37 -0700
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-04-22 08:51:29 +0300
commite6853aafd4339dbf2992957ff2616ef7164bc9d4 (patch)
tree5c0422657ba3f25006720d7d331b04c169af3548 /include/linux/fb.h
parentf474f0e1fbc8d0daa41f17b9a65466e7c7dfd170 (diff)
downloadlinux-linaro-stable-e6853aafd4339dbf2992957ff2616ef7164bc9d4.tar.gz
video: Check EDID for HDMI connection
Check EDID Vendor Specific Data Block bytes to see if the connection is HDMI and set FB_MISC_HDMI. Signed-off-by: David Ung <davidu@nvidia.com> Signed-off-by: Christopher Freeman <cfreeman@nvidia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index fe6ac956550e..506242979eea 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -47,6 +47,7 @@ struct device_node;
#define FB_MISC_PRIM_COLOR 1
#define FB_MISC_1ST_DETAIL 2 /* First Detailed Timing is preferred */
+#define FB_MISC_HDMI 4
struct fb_chroma {
__u32 redx; /* in fraction of 1024 */
__u32 greenx;