]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ringbuffer: EMIT_INVALIDATE after switch context
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Dec 2018 09:02:12 +0000 (09:02 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Dec 2018 12:12:52 +0000 (12:12 +0000)
commit42ed124d327e7beb244dc93af338fcc4f54f0c93
tree749019ceb06b2aecdd3c432762f2dcfbeef7ead4
parent9d191097361d420b7a916d6e8c34fb75571154eb
drm/i915/ringbuffer: EMIT_INVALIDATE after switch context

The recommend procedure was to switch contexts (and mm) then invalidate
the TLBs. Make it so.

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-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c