aboutsummaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-30 14:42:08 -0700
committerEric Anholt <eric@anholt.net>2008-05-30 14:42:08 -0700
commit461bfa3da6f85b85c21cd84f81bb4eefa5481418 (patch)
tree33e91c8cd024f67922670f9ed6565ceda1e4f3b5 /shared-core/drm.h
parent50bce2bc625deb439dd61f504496dddd0cd4f572 (diff)
parent6e8a2cff66ac0d6afaf9bb233bc81449c2014078 (diff)
Merge commit 'origin/master' into drm-gem
Conflicts: linux-core/Makefile.kernel shared-core/i915_drv.h shared-core/nouveau_state.c
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 7b69a634..2373a22e 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -555,10 +555,9 @@ union drm_wait_vblank {
struct drm_wait_vblank_reply reply;
};
-enum drm_modeset_ctl_cmd {
- _DRM_PRE_MODESET = 1,
- _DRM_POST_MODESET = 2,
-};
+
+#define _DRM_PRE_MODESET 1
+#define _DRM_POST_MODESET 2
/**
* DRM_IOCTL_MODESET_CTL ioctl argument type
@@ -566,8 +565,8 @@ enum drm_modeset_ctl_cmd {
* \sa drmModesetCtl().
*/
struct drm_modeset_ctl {
- unsigned long arg;
- enum drm_modeset_ctl_cmd cmd;
+ uint32_t crtc;
+ uint32_t cmd;
};
/**