summaryrefslogtreecommitdiff
path: root/include/drm/drm_edid.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-02-05 04:21:19 -0500
committerDave Airlie <airlied@redhat.com>2010-02-09 09:31:20 +1000
commit3c537889e17232e9073f75ae8710ea0f008c5a29 (patch)
tree9d3c25825b466b8ddc3fdc8224d4484c99173b08 /include/drm/drm_edid.h
parent2739d49cd7f1f44876cad614b072da698967b370 (diff)
downloadlinux-3.10-3c537889e17232e9073f75ae8710ea0f008c5a29.tar.gz
linux-3.10-3c537889e17232e9073f75ae8710ea0f008c5a29.tar.bz2
linux-3.10-3c537889e17232e9073f75ae8710ea0f008c5a29.zip
drm/radeon/kms: add support for hardcoded edids in rom (v2)
Some servers hardcode an edid in rom so that they will work properly with KVMs. This is a port of the relevant code from the ddx. [airlied: reworked to validate edid at boot stage - and remove special quirk, if there is a valid EDID in the BIOS rom we'll just try and use it.] Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_edid.h')
-rw-r--r--include/drm/drm_edid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h
index d33c3e03860..b4209898f11 100644
--- a/include/drm/drm_edid.h
+++ b/include/drm/drm_edid.h
@@ -201,4 +201,7 @@ struct edid {
#define EDID_PRODUCT_ID(e) ((e)->prod_code[0] | ((e)->prod_code[1] << 8))
+/* define the number of Extension EDID block */
+#define DRM_MAX_EDID_EXT_NUM 4
+
#endif /* __DRM_EDID_H__ */