[Intel-gfx] [PATCH i-g-t] benchmarks/gem_latency: Fix compiler warning

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 24 13:12:05 UTC 2017


On Fri, Feb 24, 2017 at 03:03:32PM +0200, Mika Kahola wrote:
> Fix compiler warning about I915_EXEC_FENCE_OUT definition/redefinition
> as it is defined in libdrm/i915_drm.h:890:0
> 
> gem_latency.c:48:0: warning: "I915_EXEC_FENCE_OUT" redefined
>  #define I915_EXEC_FENCE_OUT (1 << 17)
>   ^
> In file included from ../lib/intel_batchbuffer.h:6:0,
>                  from ../lib/drmtest.h:39,
>                  from ../lib/igt.h:27,
>                  from gem_latency.c:31:
> 
> Signed-off-by: Mika Kahola <mika.kahola at intel.com>

Rb.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list