]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Remove xe_uc_fini_hw
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 19 Jun 2025 10:49:09 +0000 (12:49 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Thu, 26 Jun 2025 20:11:35 +0000 (22:11 +0200)
commita42939ee863efb2420cf6c56f9dfb550eb3cd56a
treeb1d7eb68ec64b445c8554e392573db0e11c00a4f
parent80fa03eb8a703d03ec30a39c8362ff9b9d96eead
drm/xe: Remove xe_uc_fini_hw

xe_uc_init_hw() is called multiple times from xe_gt.c,
and that makes the name xe_uc_fini_hw(), called for a different
reason in xe_guc.c confusing.

Remove it and inline the xe_uc_sanitize_reset into xe_guc.c directly.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250619104858.418440-23-dev@lankhorst.se
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_uc.c
drivers/gpu/drm/xe/xe_uc.h