OSDN Git Service

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)
commitf997056d5b17c6b0bdc250d509f384fbd7f8d33a
tree7218b5eeceaddc933d73dcb7313ad5b844d32d97
parent3cd6e8860ecd40f358b9d30d5bfecbc74fd7cfef
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