Re: [Intel-gfx] [PATCH] drm/i915: Silence compiler warning for seltests/i915_gem_coherency

2017-02-14 Thread Matthew Auld
On 14 February 2017 at 14:35, Chris Wilson wrote: > In general, the compiler should not be able to detect if we do any > passes through the test loops: > > In file included from drivers/gpu/drm/i915/i915_gem.c:5029: >

[Intel-gfx] [PATCH] drm/i915: Silence compiler warning for seltests/i915_gem_coherency

2017-02-14 Thread Chris Wilson
In general, the compiler should not be able to detect if we do any passes through the test loops: In file included from drivers/gpu/drm/i915/i915_gem.c:5029: drivers/gpu/drm/i915/selftests/i915_gem_coherency.c: In function 'igt_gem_coherency':