drm/i915/tgl: Disable preemption while being debugged
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Sep 2019 13:23:13 +0000 (14:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Sep 2019 19:45:23 +0000 (20:45 +0100)
commitee73e2795b416b829f0e00e7c43154922dff495b
tree302ee1146ecbfc8b2cc95b4b7e0e626d6a5bbbc1
parent16ffe73c186b7897a1a6888ffb4949a8b4026624
drm/i915/tgl: Disable preemption while being debugged

We see failures where the context continues executing past a
preemption event, eventually leading to situations where a request has
executed before we have event submitted it to HW! It seems like tgl is
ignoring our RING_TAIL updates, but more likely is that there is a
missing update required for our semaphore waits around preemption.

v2: And disable internal semaphore usage

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