diff options
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r-- | shared-core/drm.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index 3a102735..3092e536 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -554,6 +554,21 @@ union drm_wait_vblank { struct drm_wait_vblank_reply reply; }; +typedef enum { + _DRM_PRE_MODESET = 1, + _DRM_POST_MODESET = 2, +} drm_modeset_ctl_cmd_t; + +/** + * DRM_IOCTL_MODESET_CTL ioctl argument type + * + * \sa drmModesetCtl(). + */ +typedef struct drm_modeset_ctl { + u64 arg; + drm_modeset_ctl_cmd_t cmd; +} drm_modeset_ctl_t; + /** * DRM_IOCTL_AGP_ENABLE ioctl argument type. * @@ -978,6 +993,8 @@ struct drm_mm_init_arg { #define DRM_IOCTL_BO_VERSION DRM_IOR(0xd6, struct drm_bo_version_arg) +#define DRM_IOCTL_MODESET_CTL DRM_IOW(0xa0, drm_modeset_ctl_t) + /*@}*/ /** |