drm/i915/guc: Add a selftest for FAST_REQUEST errors
authorJohn Harrison <John.C.Harrison@Intel.com>
Tue, 14 Nov 2023 01:00:16 +0000 (17:00 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 30 Nov 2023 21:50:50 +0000 (13:50 -0800)
commit706785c19fe92186815bdb9ae0148c4ba7262669
tree4e390991e1f3bdfbcc0f9008d6f8e5f0337a3c2b
parentb7d2a4da38fb558832b70c6f45929649a9d114a3
drm/i915/guc: Add a selftest for FAST_REQUEST errors

There is a mechanism for reporting errors from fire and forget H2G
messages. This is the only way to find out about almost any error in
the GuC backend submission path. So it would be useful to know that it
is working.

v2: Fix some dumb over-complications and a couple of typos - review
feedback from Daniele.

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/20231114010016.234570-3-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.h
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c
drivers/gpu/drm/i915/gt/uc/selftest_guc.c