]> 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)
commitf2253bd9859bab65fdbc94bf5ce1876c403a11eb
tree749019ceb06b2aecdd3c432762f2dcfbeef7ead4
parent5f5800a765de8414f6fb213c4ad4a1cf529e131d
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