]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/uc: Fix and start using xe_uc_fw_sanitize()
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 13 Jun 2024 15:34:24 +0000 (17:34 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Fri, 14 Jun 2024 21:33:22 +0000 (23:33 +0200)
commit0d2ca8fd2878582e01e933c8d6110860b921c1e6
treebbf64ee0249549650b49d36941be0958997dd55b
parent97fedf015cd908bf4d200b7e510bb6dd93150206
drm/xe/uc: Fix and start using xe_uc_fw_sanitize()

Helper xe_uc_fw_sanitize() was defined but never used. First fix
it by properly exiting also from the LOAD_FAIL state, then use it
in GuC and HuC sanitize code.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240613153424.2120-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_huc.c
drivers/gpu/drm/xe/xe_uc_fw.h