]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ringbuffer: Remove irq-seqno w/a for gen6/7 rcs
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Dec 2018 17:16:37 +0000 (17:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 31 Dec 2018 15:35:45 +0000 (15:35 +0000)
commit6c664e8f37be42a49cf1fb0b4f9db59818e2b055
tree469dfff4ba2a80dcf001647e0741c73f7743305a
parente3d27c995a66eaa15bd3c54d2276404f41001458
drm/i915/ringbuffer: Remove irq-seqno w/a for gen6/7 rcs

Having transitioned to using PIPECONTROL to combine the flush with the
breadcrumb write using their post-sync functions, assume that this will
resolve the serialisation with the subsequent MI_USER_INTERRUPT. That is
when inspecting the breadcrumb after an interrupt we can rely on the write
being posted (i.e. the HWSP will be coherent).

Testing using gem_sync shows that the PIPECONTROL + CS stall does
serialise the command streamer sufficient that the breadcrumb lands
before the MI_USER_INTERRUPT. The same is not true for MI_FLUSH_DW.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181228171641.16531-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c