[Intel-gfx] [PATCH 2/2] intel: Add I915_PARAM_HAS_ATOMICS.

Ben Widawsky ben at bwidawsk.net
Thu Oct 3 00:32:25 CEST 2013


On Wed, Oct 02, 2013 at 03:06:00PM -0700, Francisco Jerez wrote:
> Signed-off-by: Francisco Jerez <currojerez at 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 at bwidawsk.net>

-- 
Ben Widawsky, Intel Open Source Technology Center



More information about the Intel-gfx mailing list