[Intel-gfx] [CI] drm/i915: Pull the unconditional GPU cache invalidation into request construction

Chris Wilson chris at chris-wilson.co.uk
Fri Nov 17 16:26:31 UTC 2017


Quoting Chris Wilson (2017-11-17 15:23:58)
> @@ -1818,8 +1814,7 @@ static int eb_move_to_gpu(struct i915_execbuffer *eb)
>         /* Unconditionally flush any chipset caches (for streaming writes). */
>         i915_gem_chipset_flush(eb->i915);
>  
> -       /* Unconditionally invalidate GPU caches and TLBs. */
> -       return eb->engine->emit_flush(eb->request, EMIT_INVALIDATE);
> +       return true;

Oh, idiot at the keyboard again.
-Chris


More information about the Intel-gfx mailing list