]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Set firmware state to loadable before registering guc_fini_hw
authorMatthew Brost <matthew.brost@intel.com>
Tue, 20 Aug 2024 17:29:54 +0000 (10:29 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 23 Aug 2024 16:54:11 +0000 (09:54 -0700)
commitb5de6a5ced074910b8fe57d3b0ab7f8843f85a3a
tree0f43450151ef015c702c031d28c975c2bf69f11d
parent5b993d00d7f0c970a5e5d34c1031069fb13b6986
drm/xe: Set firmware state to loadable before registering guc_fini_hw

The guc_fini_hw registered calls __xe_uc_fw_status which is only
expected to be called after initializing fw state. Move this before
registering guc_fini_hw.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240820172958.1095143-3-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc.c