OSDN Git Service

drm/i915/gt: Invalidate as we write the gen7 breadcrumb
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Nov 2019 15:19:56 +0000 (15:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Nov 2019 16:42:10 +0000 (16:42 +0000)
commit9381e2bee8d2199501855a5d5f8dab016d6fb9e5
treee5fa246056553f74afdacdd5382c71622a2c6429
parentbfb0e8e63d865559cc97af235aea583b7dcc235f
drm/i915/gt: Invalidate as we write the gen7 breadcrumb

Still the saga of the hsw live_blt incoherency continues. While it did
seem that the invalidate before the breadcrumb had improved the mtbf,
nevertheless live_blt still failed. Mika's next idea was to pull the
invalidate-stall into the breadcrumb write itself.

References: 860afa086841 ("drm/i915/gt: Flush gen7 even harder")
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/20191113151956.32242-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_ring_submission.c