From 22ad13d1ea16a5512afc63886f1ffcb2ab65f922 Mon Sep 17 00:00:00 2001 From: Matthew Brost Date: Tue, 20 Aug 2024 10:29:55 -0700 Subject: [PATCH] drm/xe: Drop warn on xe_guc_pc_gucrc_disable in guc pc fini BugLink: https://bugs.launchpad.net/bugs/2089884 [ Upstream commit a323782567812ee925e9b7926445532c7afe331b ] Not a big deal if CT is down as driver is unloading, no need to warn. Signed-off-by: Matthew Brost Reviewed-by: Jagmeet Randhawa Link: https://patchwork.freedesktop.org/patch/msgid/20240820172958.1095143-4-matthew.brost@intel.com Signed-off-by: Sasha Levin [koichiroden: adjusted context due to missing unrelated commits] Signed-off-by: Koichiro Den Signed-off-by: Roxana Nicolescu --- drivers/gpu/drm/xe/xe_guc_pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_guc_pc.c b/drivers/gpu/drm/xe/xe_guc_pc.c index c5145e00ecf0..7f22540b3f6c 100644 --- a/drivers/gpu/drm/xe/xe_guc_pc.c +++ b/drivers/gpu/drm/xe/xe_guc_pc.c @@ -918,7 +918,7 @@ int xe_guc_pc_stop(struct xe_guc_pc *pc) */ void xe_guc_pc_fini(struct xe_guc_pc *pc) { - XE_WARN_ON(xe_guc_pc_gucrc_disable(pc)); + xe_guc_pc_gucrc_disable(pc); XE_WARN_ON(xe_guc_pc_stop(pc)); mutex_destroy(&pc->freq_lock); }