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 <matthew.brost@intel.com>
Reviewed-by: Jagmeet Randhawa <jagmeet.randhawa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240820172958.1095143-4-matthew.brost@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
[koichiroden: adjusted context due to missing unrelated commits]
Signed-off-by: Koichiro Den <koichiro.den@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
This commit is contained in:
Matthew Brost
2024-08-20 10:29:55 -07:00
committed by Mehmet Basaran
parent d1fd883fc5
commit 22ad13d1ea
+1 -1
View File
@@ -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);
}