]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Kick waiters on resetting legacy rings
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Aug 2018 10:40:56 +0000 (11:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Aug 2018 11:42:29 +0000 (12:42 +0100)
commitce273ff2bbb3bc8c145a581b2061cb9e48f79c8a
treed07f851a5e9f639ca2a433e174571aa7d1c7709f
parent74cfb284de12b8745bc4c4744958149ebe871b54
drm/i915: Kick waiters on resetting legacy rings

This reapplies commit 839d32a47f5e ("drm/i915: Kick waiters on resetting
legacy rings") after the improved gem_eio was run across all machines we
found that gen3 and early gen4 still lost the immediate interrupt
following reset, and the HWSTAM w/a applied to gen6+ is inadequate.

Unlike the later gen, on gen3/4 the principle (and only tests to fail so
far) are the wait vs reset test cases, whereas the reset stress case
works fine (which was the predominantly failing case for gen6+). That is
enough to suggest the underlying issue is sufficiently different to
support the difference in HWSTAM efficacy.

Testcase: igt/gem_eio/wait-10ms
References: 839d32a47f5e ("drm/i915: Kick waiters on resetting legacy rings")
References: 0b502939d7d2 ("drm/i915: Remove extra waiter kick on legacy resets")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180814104056.27001-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c