]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Push the flush_pd before the set-context
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Nov 2019 12:05:03 +0000 (12:05 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 30 Nov 2019 15:25:25 +0000 (15:25 +0000)
commit7fad7bcbe0df7b1824f267a51f4167278fb0f15a
tree7218b5eeceaddc933d73dcb7313ad5b844d32d97
parent690e5bfae2479dd9c0e4e2993be020e81d084f89
drm/i915/gt: Push the flush_pd before the set-context

Move our "wait for the PD load to complete" paranoia before the
MI_SET_CONTEXT just in case the context restore tries to access local
addresses.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191130120503.1609483-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ring_submission.c