summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-14 09:52:16 +0000
committerDave Airlie <airlied@redhat.com>2012-07-16 02:39:12 +0100
commit41dfb20cdc369bb0da880c371a664f25fe665adb (patch)
tree184a0a3b3bf8ff62086c3f013e3be8ad8e05cc0c
parent22574aa887efa879519328acc09cb01d03374bf4 (diff)
libdrm: add missing caps from kernel to drm.h
This just moves over some missing caps from the kernel. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--include/drm/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm.h b/include/drm/drm.h
index 5e6cd291..42133bce 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -776,6 +776,8 @@ struct drm_event_vblank {
#define DRM_CAP_DUMB_BUFFER 0x1
#define DRM_CAP_VBLANK_HIGH_CRTC 0x2
+#define DRM_CAP_DUMB_PREFERRED_DEPTH 0x3
+#define DRM_CAP_DUMB_PREFER_SHADOW 0x4
/* typedef area */
typedef struct drm_clip_rect drm_clip_rect_t;