aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Roper2014-04-10 16:23:12 -0500
committerRob Clark2014-05-19 18:43:16 -0500
commit8fc62ca8ac010659023bb63c4759eb683de4f9af (patch)
treea11d4011d94824916ad8528464cc2e0e7148a91d /xf86drmMode.h
parent305478ce02ebd908a75c9830ecea15f6e2469b42 (diff)
downloadexternal-libgbm-8fc62ca8ac010659023bb63c4759eb683de4f9af.tar.gz
external-libgbm-8fc62ca8ac010659023bb63c4759eb683de4f9af.tar.xz
external-libgbm-8fc62ca8ac010659023bb63c4759eb683de4f9af.zip
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 'xf86drmMode.h')
-rw-r--r--xf86drmMode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xf86drmMode.h b/xf86drmMode.h
index 6eab5656..b260af7c 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -296,6 +296,10 @@ typedef struct _drmModeConnector {
296 uint32_t *encoders; /**< List of encoder ids */ 296 uint32_t *encoders; /**< List of encoder ids */
297} drmModeConnector, *drmModeConnectorPtr; 297} drmModeConnector, *drmModeConnectorPtr;
298 298
299#define DRM_PLANE_TYPE_OVERLAY 0
300#define DRM_PLANE_TYPE_PRIMARY 1
301#define DRM_PLANE_TYPE_CURSOR 2
302
299typedef struct _drmModeObjectProperties { 303typedef struct _drmModeObjectProperties {
300 uint32_t count_props; 304 uint32_t count_props;
301 uint32_t *props; 305 uint32_t *props;