diff options
author | Dave Airlie <airlied@panoply-rh.(none)> | 2008-03-17 16:37:46 +1000 |
---|---|---|
committer | Dave Airlie <airlied@panoply-rh.(none)> | 2008-03-17 16:38:20 +1000 |
commit | 607964ed9e5f6d86a0960bef2341e7f5de9c71da (patch) | |
tree | 2fa0f3ff0bc57846eded35c4b76e92c08dbec7c5 /shared-core | |
parent | 2d0411cb7544ea45b5879d4f454cb9ee3c9ff5fb (diff) |
drm: add master set/drop protocol
this may not survive long - just need something for testing
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/drm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index a1ebfb93..a72263ae 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -1200,6 +1200,9 @@ struct drm_mode_hotplug { #define DRM_IOCTL_SET_SAREA_CTX DRM_IOW( 0x1c, struct drm_ctx_priv_map) #define DRM_IOCTL_GET_SAREA_CTX DRM_IOWR(0x1d, struct drm_ctx_priv_map) +#define DRM_IOCTL_SET_MASTER DRM_IO(0x1e) +#define DRM_IOCTL_DROP_MASTER DRM_IO(0x1f) + #define DRM_IOCTL_ADD_CTX DRM_IOWR(0x20, struct drm_ctx) #define DRM_IOCTL_RM_CTX DRM_IOWR(0x21, struct drm_ctx) #define DRM_IOCTL_MOD_CTX DRM_IOW( 0x22, struct drm_ctx) |