drm/i915: Kick waiters on resetting legacy rings
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Jul 2018 07:53:50 +0000 (08:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Jul 2018 09:32:07 +0000 (10:32 +0100)
commit39f3be162c46bc2349ad7a5bd89536eb83561c81
tree963ac95d40ab1b2bf04478299ab1ccb9f338d156
parent86c1c87d0e6241cbe35bd52badfc84b154e1b959
drm/i915: Kick waiters on resetting legacy rings

For reasons unknown, interrupts following a reset do not arrive, but
this can be papered over by kicking any waiter and peeking at the
breadcrumbs following the reset.

Testcase: igt/gem_eio/reset-stress
References: https://bugs.freedesktop.org/show_bug.cgi?id=105957
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180730075351.15569-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c