]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Flush GTIIR on clearing CS interrupts during reset
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Feb 2018 14:54:55 +0000 (14:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Feb 2018 20:31:52 +0000 (20:31 +0000)
commit8935b16c50900954c4cee2535db26bf11aa86af2
tree9dab3c9f0f873b5b94b5b2e79197b036d2008fa5
parentbb8cd9e34bb30e492baa347d9b84b57e4b1cd848
drm/i915/execlists: Flush GTIIR on clearing CS interrupts during reset

Be paranoid and flush the GTIIR after clearing the CS interrupt to be
sure it has taken before we re-enable the interrupt handler. We still
see early interrupts following reset, the tasklet handling the mmio read
before it has been written by the CS. This hopefully reduces the
frequency to 0...

References: https://bugs.freedesktop.org/show_bug.cgi?id=104262
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180202145455.29876-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c