[PATCH 1/2] libdrm: add missing caps from kernel to drm.h

Dave Airlie airlied at gmail.com
Sat Jul 14 02:52:16 PDT 2012


This just moves over some missing caps from the kernel.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 include/drm/drm.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm/drm.h b/include/drm/drm.h
index 5e6cd29..42133bc 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;
-- 
1.7.10.4



More information about the dri-devel mailing list