summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_edid.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2015-04-13 10:57:14 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-04-13 14:59:58 +0200
commit1b54bdb8ccbc46e5a406a690d48a1639d5001f4b (patch)
treebb1e36d6cb4b5208f42e1f1449dc8f50a896c746 /include/drm/drm_edid.h
parentdf63b9994eaf942afcdb946d27a28661d7dfbf2a (diff)
downloadlinux-stable-1b54bdb8ccbc46e5a406a690d48a1639d5001f4b.tar.gz
linux-stable-1b54bdb8ccbc46e5a406a690d48a1639d5001f4b.tar.bz2
linux-stable-1b54bdb8ccbc46e5a406a690d48a1639d5001f4b.zip
drm/edid: add #defines for ELD versions
Add ELD versions according to HDA Specification v1.0a. 2 indicates version 2, which supports CEA_Ver 861D or below. Maximum Baseline ELD size of 80 bytes (15 SAD count). 31 indicates an ELD that has been partially populated through implementation specific mean of default programming before an external graphics driver is loaded. Only the field that is called out as "canned" field will be populated, and audio driver should ignore the non "canned" field. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm/drm_edid.h')
-rw-r--r--include/drm/drm_edid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index 87d85e81d3a7..799050198323 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -215,6 +215,8 @@ struct detailed_timing {
#define DRM_ELD_VER 0
# define DRM_ELD_VER_SHIFT 3
# define DRM_ELD_VER_MASK (0x1f << 3)
+# define DRM_ELD_VER_CEA861D (2 << 3) /* supports 861D or below */
+# define DRM_ELD_VER_CANNED (0x1f << 3)
#define DRM_ELD_BASELINE_ELD_LEN 2 /* in dwords! */