diff options
author | Dave Airlie <airlied@redhat.com> | 2011-03-03 23:50:28 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-03-04 00:56:22 -0500 |
commit | e73f88af66fcc50083fae4b7e1c39b469179a97a (patch) | |
tree | 5c4a7a9a9c7223d017f3ab17708d6f57cebdb8d7 /include | |
parent | 9f35421e09c494c36079d7cf5724ae9f832431d7 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
752 | __u32 reserved; | 752 | __u32 reserved; |
753 | }; | 753 | }; |
754 | 754 | ||
755 | #define DRM_CAP_DUMB_BUFFER 0x1 | ||
756 | |||
755 | /* typedef area */ | 757 | /* typedef area */ |
756 | #ifndef __KERNEL__ | 758 | #ifndef __KERNEL__ |
757 | typedef struct drm_clip_rect drm_clip_rect_t; | 759 | typedef struct drm_clip_rect drm_clip_rect_t; |