libdrm: add missing caps from kernel to drm.h
authorDave Airlie <airlied@gmail.com>
Sat, 14 Jul 2012 09:52:16 +0000 (09:52 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 16 Jul 2012 01:39:12 +0000 (02:39 +0100)
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>
include/drm/drm.h

index 5e6cd29..42133bc 100644 (file)
@@ -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;