]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Flush gen7 even harder
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Nov 2019 16:09:41 +0000 (16:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Nov 2019 16:53:58 +0000 (16:53 +0000)
commit0031210bb94bd30ee584498e0c1e6f124b314640
treeec9777c0ad70cdfc149867ba1386c67de4851582
parenta849cc407b58fcd093f8dd1c3f1f950b37556de3
drm/i915/gt: Flush gen7 even harder

live_blt is still failing on hsw, showing the hallmark of incoherency.
Since we are fairly certain that the interrupt is after the seqno is
visible, the other possibility is that the seqno is before the writes to
memory are flushed. Throw in an TLB invalidate before the breadcrumb as
we are reasonably confident that forces a CS stall.

References: 997c7bc25746 ("drm/i915/gt: Try an extra flush on the Haswell blitter")
References: https://bugs.freedesktop.org/show_bug.cgi?id=112147
Testcase: igt/i915_selftest/live_blt
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/20191112160941.23969-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ring_submission.c