]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Peek at the next submission for error interrupts
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Apr 2020 11:04:34 +0000 (12:04 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 2 Apr 2020 20:30:30 +0000 (21:30 +0100)
commitbdd9b03b62d0434c7de351f4dd193161c6ba35f7
treec2a929f8016b43f1cf3fdf6acc79c7380abccc26
parent9e98757f93e1f6a26cb9cdd42b74cb274b61ddac
drm/i915/execlists: Peek at the next submission for error interrupts

If we receive the error interrupt before the CS interrupt, we may find
ourselves without an active request to reset, skipping the GPU reset.
All because the attempt to reset was too early.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200401110435.30389-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c