]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove extra waiter kick on legacy resets
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Aug 2018 10:51:01 +0000 (11:51 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Aug 2018 16:08:08 +0000 (17:08 +0100)
commit0b502939d7d28275c467bbceba67b4c16707b936
tree0778993eb2a9995a142b125b0a4d1bc3e9fb98f3
parentf829b30cb8e00a8eaa8248ef2a7502e0f8aee944
drm/i915: Remove extra waiter kick on legacy resets

Now with a more efficacious workaround for the lost interrupts after
reset, we can remove the hack of kicking the waiters after reset. The
issue was that the kick only worked for the immediate window after the
reset (those seqno that would complete in the time it took for the
waiter thread to perform its check) but miss any seqno that lacked an
interrupt afterwards.

References: 839d32a47f5e ("drm/i915: Kick waiters on resetting legacy rings")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180808105101.913-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c