drm/i915: Push EMIT_INVALIDATE at request start to backends
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Dec 2018 09:02:11 +0000 (09:02 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Dec 2018 12:12:50 +0000 (12:12 +0000)
commit5f5800a765de8414f6fb213c4ad4a1cf529e131d
tree10321191c337968106174d39a5684faefe547d8c
parentd8f505311717cfc2033c44a8b26ba96c66187303
drm/i915: Push EMIT_INVALIDATE at request start to backends

Move the common engine->emit_flush(EMIT_INVALIDATE) back to the backends
(where it was once previously) as we seek to specialise it in future
patches.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181207090213.14352-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c