diff options
author | Dave Airlie <airlied@linux.ie> | 2007-04-05 18:01:02 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-04-05 18:01:02 +1000 |
commit | b4094864f188a1346cc3b51bcb457beeacefbf82 (patch) | |
tree | 9e5aedf5decf684eedc8b6d0c16320ae788aab8e /linux-core/drm_crtc.h | |
parent | 7bb112fecadc6fe42e5828b861600691071ccd91 (diff) |
checkpoint commit: implement SetCrtc so modes can in theory be set from user
This hooks up the userspace mode set it "seems" to work.
Diffstat (limited to 'linux-core/drm_crtc.h')
-rw-r--r-- | linux-core/drm_crtc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.h b/linux-core/drm_crtc.h index e608b462..a2c552e6 100644 --- a/linux-core/drm_crtc.h +++ b/linux-core/drm_crtc.h @@ -272,7 +272,7 @@ struct drm_crtc { struct drm_display_mode mode; int x, y; - struct drm_display_mode desired_mode; + struct drm_display_mode *desired_mode; int desired_x, desired_y; const struct drm_crtc_funcs *funcs; void *driver_private; @@ -443,5 +443,7 @@ extern int drm_mode_getcrtc(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); extern int drm_mode_getoutput(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); +extern int drm_mode_setcrtc(struct inode *inode, struct file *filp, + unsigned int cmd, unsigned long arg); #endif /* __DRM_CRTC_H__ */ |