]> 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)
commit44fd9be199b130a69c3a14a7257ec2271278accb
treec2a929f8016b43f1cf3fdf6acc79c7380abccc26
parent52e5532d6050c0ef49103d17e2c37cb53151a126
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