drm/i915/guc: Flag an error if an engine reset fails
authorJohn Harrison <John.C.Harrison@Intel.com>
Sat, 11 Dec 2021 06:58:58 +0000 (22:58 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 20 Dec 2021 23:34:41 +0000 (15:34 -0800)
commitfb3965f9ae28b83290e5b5431a77aace66071ca1
tree3c168bd38af59d212b80959a22e73d3fc484168d
parent0dd8674f2fc926b8a2404570c3cd0129a75dc70b
drm/i915/guc: Flag an error if an engine reset fails

If GuC encounters an error during engine reset, the i915 driver
promotes to full GT reset. This includes an info message about why the
reset is happening. However, that is not treated as a failure by any
of the CI systems because resets are an expected occurrance during
testing. This kind of failure is a major problem and should never
happen. So, complain more loudly and make sure CI notices.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211211065859.2248188-4-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c