summaryrefslogtreecommitdiff
path: root/linux-core/drm_crtc.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-08-28 16:18:09 +1000
committerDave Airlie <airlied@redhat.com>2008-08-28 16:18:09 +1000
commit23cb67dfbabe8c76ffd86b6c01abacc027d0fb72 (patch)
tree6f2ab2ea425a580108e8ab75f1b03c06676ed168 /linux-core/drm_crtc.h
parent9afe872ae9ef608269688e08f62beca2181f60dc (diff)
drm: port X crtc picking algorithm.
This mimics the X.org from ajax with less options
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r--linux-core/drm_crtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h
index 3a3a09aa..5f63dc2e 100644
--- a/linux-core/drm_crtc.h
+++ b/linux-core/drm_crtc.h
@@ -604,6 +604,8 @@ extern void drm_mode_config_init(struct drm_device *dev);
extern void drm_mode_config_cleanup(struct drm_device *dev);
extern void drm_mode_set_name(struct drm_display_mode *mode);
extern bool drm_mode_equal(struct drm_display_mode *mode1, struct drm_display_mode *mode2);
+extern int drm_mode_width(struct drm_display_mode *mode);
+extern int drm_mode_height(struct drm_display_mode *mode);
/* for us by fb module */
extern int drm_mode_attachmode_crtc(struct drm_device *dev,