]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Specify which engines to reset following semaphore/event lockups
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Mar 2018 10:04:48 +0000 (10:04 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 21 Mar 2018 14:59:08 +0000 (07:59 -0700)
commit995a2e19d05b5469cf0d86202b4b4e562a326c0e
treedbeedad7d1ca48b8743bab665abce23a39ed5176
parentab74e5818c20d15a1d4066e288acc7b953594879
drm/i915: Specify which engines to reset following semaphore/event lockups

If the GPU is stuck waiting for an event or for a semaphore, we need to
reset the GPU in order to recover. We have to tell the reset routine
which engines we want reset, but we were still using the old interface
and declaring it as "not-fatal".

Fixes: 4bc208f22dfb ("drm/i915/tdr: Prepare error handler to accept mask of hung engines")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320100449.1360-1-chris@chris-wilson.co.uk
(cherry picked from commit ca98317b89428e6ac17be0938b467ed78654dd56)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_hangcheck.c