diff mbox

[2/2] intel: Add I915_PARAM_HAS_ATOMICS.

Message ID 1380751560-8855-2-git-send-email-currojerez@riseup.net (mailing list archive)
State New, archived
Headers show

Commit Message

Francisco Jerez Oct. 2, 2013, 10:06 p.m. UTC
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
---
 include/drm/i915_drm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Ben Widawsky Oct. 2, 2013, 10:32 p.m. UTC | #1
On Wed, Oct 02, 2013 at 03:06:00PM -0700, Francisco Jerez wrote:
> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
> ---
>  include/drm/i915_drm.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
> index f3be97a..d2a1018 100644
> --- a/include/drm/i915_drm.h
> +++ b/include/drm/i915_drm.h
> @@ -311,6 +311,7 @@ typedef struct drm_i915_irq_wait {
>  #define I915_PARAM_HAS_EXEC_NO_RELOC	 25
>  #define I915_PARAM_HAS_EXEC_HANDLE_LUT   26
>  #define I915_PARAM_HAS_WT     	 	 27
> +#define I915_PARAM_HAS_ATOMICS           28
>  
>  typedef struct drm_i915_getparam {
>  	int param;

Both of these look fine to me. I thought we had a more automated way of
doing this, though I cannot recall.

Acked-by: Ben Widawsky <ben@bwidawsk.net>
Daniel Vetter Oct. 3, 2013, 7:32 a.m. UTC | #2
On Wed, Oct 02, 2013 at 03:32:25PM -0700, Ben Widawsky wrote:
> On Wed, Oct 02, 2013 at 03:06:00PM -0700, Francisco Jerez wrote:
> > Signed-off-by: Francisco Jerez <currojerez@riseup.net>
> > ---
> >  include/drm/i915_drm.h | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
> > index f3be97a..d2a1018 100644
> > --- a/include/drm/i915_drm.h
> > +++ b/include/drm/i915_drm.h
> > @@ -311,6 +311,7 @@ typedef struct drm_i915_irq_wait {
> >  #define I915_PARAM_HAS_EXEC_NO_RELOC	 25
> >  #define I915_PARAM_HAS_EXEC_HANDLE_LUT   26
> >  #define I915_PARAM_HAS_WT     	 	 27
> > +#define I915_PARAM_HAS_ATOMICS           28
> >  
> >  typedef struct drm_i915_getparam {
> >  	int param;
> 
> Both of these look fine to me. I thought we had a more automated way of
> doing this, though I cannot recall.
> 
> Acked-by: Ben Widawsky <ben@bwidawsk.net>

make headers_install + copy it to libdrm + git commit is the most
automated way ...
-Daniel
diff mbox

Patch

diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index f3be97a..d2a1018 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -311,6 +311,7 @@  typedef struct drm_i915_irq_wait {
 #define I915_PARAM_HAS_EXEC_NO_RELOC	 25
 #define I915_PARAM_HAS_EXEC_HANDLE_LUT   26
 #define I915_PARAM_HAS_WT     	 	 27
+#define I915_PARAM_HAS_ATOMICS           28
 
 typedef struct drm_i915_getparam {
 	int param;