summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@jbarnes-t61.(none)>2008-06-09 16:20:45 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-06-09 16:20:45 -0700
commitc987e76d953b6aecbfb69058fc4c387aa3fb33c9 (patch)
treebe68725a0b569638a97976b4a21ef348c86b6ff1 /linux-core/drm_crtc.h
parentc2fc142ea7e9dd651702773efbc9c3366f977aa6 (diff)
Add EDID quirk handling
Port over EDID quirks from X.Org so we can handle more monitors. This meant adding size info to the drm_display_mode struct, but other than that the changes were isolated to the DRM EDID handling code (as they should be).
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index 5f5f195a..2b577b93 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -115,6 +115,10 @@ struct drm_display_mode {
int vscan;
unsigned int flags;
+ /* Addressable image size (may be 0 for projectors, etc.) */
+ int width_mm;
+ int height_mm;
+
/* Actual mode we give to hw */
int clock_index;
int synth_clock;
@@ -246,8 +250,6 @@ struct drm_display_info {
enum subpixel_order subpixel_order;
- /* Preferred mode (if any) */
- struct drm_display_mode *preferred_mode;
char *raw_edid; /* if any */
};