diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2014-04-01 22:22:42 (GMT) |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-04-02 00:18:29 (GMT) |
commit | 681e7ec730444b616a1e7278a22a2691094a64e6 (patch) | |
tree | 950dde2a3943854b0910c684689315febabbf817 /include/uapi/drm | |
parent | 780f59847193eac97901ab6e74683956b4b0cf20 (diff) | |
download | linux-681e7ec730444b616a1e7278a22a2691094a64e6.tar.xz |
drm: Allow userspace to ask for universal plane list (v2)
Userspace clients which wish to receive all DRM planes (primary and
cursor planes in addition to the traditional overlay planes) may set the
DRM_CLIENT_CAP_UNIVERSAL_PLANES capability.
v2: Hide behind drm.universal_planes module option [suggested by
Daniel Vetter]
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index b06c8ed..6e4952b 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -637,6 +637,14 @@ struct drm_get_cap { */ #define DRM_CLIENT_CAP_STEREO_3D 1 +/** + * DRM_CLIENT_CAP_UNIVERSAL_PLANES + * + * If set to 1, the DRM core will expose all planes (overlay, primary, and + * cursor) to userspace. + */ +#define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2 + /** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */ struct drm_set_client_cap { __u64 capability; |