aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm.h')
-rw-r--r--include/drm/drm.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/drm/drm.h b/include/drm/drm.h
index 4b9498f5..683a47a1 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -618,6 +618,21 @@ struct drm_get_cap {
618 __u64 value; 618 __u64 value;
619}; 619};
620 620
621/**
622 * DRM_CLIENT_CAP_STEREO_3D
623 *
624 * if set to 1, the DRM core will expose the stereo 3D capabilities of the
625 * monitor by advertising the supported 3D layouts in the flags of struct
626 * drm_mode_modeinfo.
627 */
628#define DRM_CLIENT_CAP_STEREO_3D 1
629
630/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
631struct drm_set_client_cap {
632 __u64 capability;
633 __u64 value;
634};
635
621#define DRM_CLOEXEC O_CLOEXEC 636#define DRM_CLOEXEC O_CLOEXEC
622#define DRM_RDWR O_RDWR 637#define DRM_RDWR O_RDWR
623struct drm_prime_handle { 638struct drm_prime_handle {
@@ -651,6 +666,7 @@ struct drm_prime_handle {
651#define DRM_IOCTL_GEM_FLINK DRM_IOWR(0x0a, struct drm_gem_flink) 666#define DRM_IOCTL_GEM_FLINK DRM_IOWR(0x0a, struct drm_gem_flink)
652#define DRM_IOCTL_GEM_OPEN DRM_IOWR(0x0b, struct drm_gem_open) 667#define DRM_IOCTL_GEM_OPEN DRM_IOWR(0x0b, struct drm_gem_open)
653#define DRM_IOCTL_GET_CAP DRM_IOWR(0x0c, struct drm_get_cap) 668#define DRM_IOCTL_GET_CAP DRM_IOWR(0x0c, struct drm_get_cap)
669#define DRM_IOCTL_SET_CLIENT_CAP DRM_IOW( 0x0d, struct drm_set_client_cap)
654 670
655#define DRM_IOCTL_SET_UNIQUE DRM_IOW( 0x10, struct drm_unique) 671#define DRM_IOCTL_SET_UNIQUE DRM_IOW( 0x10, struct drm_unique)
656#define DRM_IOCTL_AUTH_MAGIC DRM_IOW( 0x11, struct drm_auth) 672#define DRM_IOCTL_AUTH_MAGIC DRM_IOW( 0x11, struct drm_auth)