summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
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 */
};