diff options
author | John Harrison <[email protected]> | 2021-12-21 13:02:12 -0800 |
---|---|---|
committer | John Harrison <[email protected]> | 2021-12-23 11:43:40 -0800 |
commit | c3c2ac4c77ee2191ae2f1e8d140a59e852104e3b (patch) | |
tree | 13114cf45b60c673f30ae5316696c18f18411f57 /lib/mpi/mpi-div.c | |
parent | a88afcfa258672601eda5966439d2fc310a34cb7 (diff) |
drm/i915/guc: Check for wedged before doing stuff
A fault injection probe test hit a BUG_ON in a GuC error path. It
showed that the GuC code could potentially attempt to do many things
when the device is actually wedged. So, add a check in to prevent that.
v2: Use intel_gt_is_wedged instead of testing bits directly in the
GuC submission code (review feedback from Tvrtko).
Signed-off-by: John Harrison <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions