]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: declare wedged upon GuC load failure
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 23 Apr 2024 22:18:15 +0000 (18:18 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 24 Apr 2024 16:12:58 +0000 (12:12 -0400)
commit692818678e80e5999ee1975953f7c6f82cb4a2be
tree967f143c0301672d6c811723ec130172c3227b60
parentfb74b205cdd26357469cab8957f5935f10b810e2
drm/xe: declare wedged upon GuC load failure

Let's block the device upon any GuC load failure.
But let's continue with the probe so guc logs can be read
from the debugfs.

v2: - s/wedged/busted
    - do not block probe or we lose guc_logs in debugfs (Matt)

v3: - s/busted/wedged

v4: Do not change __xe_guc_upload return. (Himal)

Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240423221817.1285081-2-rodrigo.vivi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc.c