summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-03 13:42:32 +1000
committerDave Airlie <airlied@redhat.com>2007-12-03 15:30:05 +1000
commit96df9b11ad8974d7a2a0a589114cbbb04a584f18 (patch)
tree1d1abe533919afcdc3530a214eb43fcf78e51dbf /shared-core
parent91cd3e3c097d581ea75ec4bcbc1ba8d23b471a2e (diff)
finish of mode add/remove, just have attach/detach modes
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 5c24e0af..f4f75cf5 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -1008,7 +1008,7 @@ struct drm_mode_fb_cmd {
struct drm_mode_mode_cmd {
unsigned int output_id;
- unsigned int mode_id;
+ struct drm_mode_modeinfo mode;
};
/**
@@ -1111,8 +1111,6 @@ struct drm_mode_mode_cmd {
#define DRM_IOCTL_MODE_RMFB DRM_IOWR(0xA5, unsigned int)
#define DRM_IOCTL_MODE_GETFB DRM_IOWR(0xA6, struct drm_mode_fb_cmd)
-#define DRM_IOCTL_MODE_ADDMODE DRM_IOWR(0xA7, struct drm_mode_modeinfo)
-#define DRM_IOCTL_MODE_RMMODE DRM_IOWR(0xA8, unsigned int)
#define DRM_IOCTL_MODE_ATTACHMODE DRM_IOWR(0xA9, struct drm_mode_mode_cmd)
#define DRM_IOCTL_MODE_DETACHMODE DRM_IOWR(0xAA, struct drm_mode_mode_cmd)