]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/guc: Add more GuC load error status codes
authorJohn Harrison <John.C.Harrison@Intel.com>
Sat, 26 Jul 2025 02:43:37 +0000 (19:43 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 28 Jul 2025 21:38:44 +0000 (14:38 -0700)
commit45fbb51050e72723c2bdcedc1ce32305256c70ed
treee480b07a6f81e7f46f467fee9047d8d63089b9ea
parent1ffcf8b8ae8a786b61350ee082b6c82846a31e53
drm/xe/guc: Add more GuC load error status codes

The GuC load process will abort if certain status codes (which are
indicative of a fatal error) are reported. Otherwise, it keeps waiting
until the 'success' code is returned. New error codes have been added
in recent GuC releases, so add support for aborting on those as well.

v2: Shuffle HWCONFIG_START to the front of the switch to keep the
ordering as per the enum define for clarity (review feedback by
Jonathan). Also add a description for the basic 'invalid init data'
code which was missing.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://lore.kernel.org/r/20250726024337.4056272-1-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/abi/guc_errors_abi.h
drivers/gpu/drm/xe/xe_guc.c