diff mbox

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

Message ID 1342259537-29155-1-git-send-email-airlied@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dave Airlie July 14, 2012, 9:52 a.m. UTC
This just moves over some missing caps from the kernel.

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

Comments

Alex Deucher July 14, 2012, 1:59 p.m. UTC | #1
On Sat, Jul 14, 2012 at 5:52 AM, Dave Airlie <airlied@gmail.com> wrote:
> This just moves over some missing caps from the kernel.
>
> Signed-off-by: Dave Airlie <airlied@redhat.com>

For both patches:
Reviewed-by: Alex Deucher <alexander.deucher@amd.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
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

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;