aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsrinivas pulukuru2015-01-29 23:38:13 -0600
committersrinivas pulukuru2015-01-30 16:04:01 -0600
commit5f5fbf49b6baef5996f2cc4ce85175c091083e60 (patch)
treee7639bd97f4396d897d009b45d1038e34367b18d
parent24a14d6419f48ae06dfab5d0d9adf4b8f13a4102 (diff)
downloadlibdrm-5f5fbf49b6baef5996f2cc4ce85175c091083e60.tar.gz
libdrm-5f5fbf49b6baef5996f2cc4ce85175c091083e60.tar.xz
libdrm-5f5fbf49b6baef5996f2cc4ce85175c091083e60.zip
drm: Sync the DRM_SET_CLIENT_CAP ioctl definition
v2: SET_CAP -> SET_CLIENT_CAP renaming Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
-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)