summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2014-04-10 14:23:12 -0700
committerRob Clark <robclark@freedesktop.org>2014-05-19 19:43:16 -0400
commit8fc62ca8ac010659023bb63c4759eb683de4f9af (patch)
treea11d4011d94824916ad8528464cc2e0e7148a91d /include
parent305478ce02ebd908a75c9830ecea15f6e2469b42 (diff)
drm: Add universal plane capability bit and plane type enums
Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/drm/drm.h b/include/drm/drm.h
index f0b4c16b..229a29f9 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -627,6 +627,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 the full universal plane list
+ * (including primary and cursor planes).
+ */
+#define DRM_CLIENT_CAP_UNIVERSAL_PLANES 2
+
/** DRM_IOCTL_SET_CLIENT_CAP ioctl argument type */
struct drm_set_client_cap {
__u64 capability;