From e73f88af66fcc50083fae4b7e1c39b469179a97a Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Fri, 4 Mar 2011 14:50:28 +1000
Subject: drm: add cap bit to denote if dumb ioctl is available or not.

This allows libkms to make an easier decision.

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

(limited to 'include/drm')

diff --git a/include/drm/drm.h b/include/drm/drm.h
index da4efd162d58..9ac431396176 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -752,6 +752,8 @@ struct drm_event_vblank {
 	__u32 reserved;
 };
 
+#define DRM_CAP_DUMB_BUFFER 0x1
+
 /* typedef area */
 #ifndef __KERNEL__
 typedef struct drm_clip_rect drm_clip_rect_t;
-- 
cgit v1.2.3