drm/i915/execlists: Try rearranging breadcrumb flush
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 29 Aug 2019 08:11:15 +0000 (09:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 29 Aug 2019 22:47:36 +0000 (23:47 +0100)
commit11988e393813f520974f69bf0e55c367a1cbac48
tree088a31837d3014284afd4bebc95a95499b3eed80
parent66d9cec8a6c9f3eb1d81507d5f045e28272359fb
drm/i915/execlists: Try rearranging breadcrumb flush

The addition of the DC_FLUSH failed to ensure sanctity of the post-sync
write as CI immediately got a completion CS-event before the breadcrumb
was coherent. So let's try the other idea of moving the post-sync write
into the CS_STALL.

References: https://bugs.freedesktop.org/show_bug.cgi?id=111514
References: e8f6b4952ec5 ("drm/i915/execlists: Flush the post-sync breadcrumb write harder")
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/20190829081150.10271-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c