drm/i915: Specify which engines to reset following semaphore/event lockups
authorChris Wilson <[email protected]>
Tue, 20 Mar 2018 10:04:48 +0000 (10:04 +0000)
committerJoonas Lahtinen <[email protected]>
Tue, 27 Mar 2018 08:19:56 +0000 (11:19 +0300)
commit8f30c4085b72485c05e85d56e9a84098da2ba5b7
tree76f73e05e9825c4da3b8cb06a8739405554191f7
parent7a7d58dc2997b6ca5bc1eaa4bd8d019cf7c4a148
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: 14b730fcb8d9 ("drm/i915/tdr: Prepare error handler to accept mask of hung engines")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Michel Thierry <[email protected]>
Reviewed-by: Michel Thierry <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit ca98317b89428e6ac17be0938b467ed78654dd56)
Signed-off-by: Joonas Lahtinen <[email protected]>
drivers/gpu/drm/i915/intel_hangcheck.c