]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe: Drop warn on xe_guc_pc_gucrc_disable in guc pc fini
authorMatthew Brost <matthew.brost@intel.com>
Tue, 20 Aug 2024 17:29:55 +0000 (10:29 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 23 Aug 2024 16:54:12 +0000 (09:54 -0700)
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
drivers/gpu/drm/xe/xe_guc_pc.c

index 32e93a8127d4f4b10dcc11212f20a2fdb020039a..def503abeed568797d623330cff4f7a6395b29a5 100644 (file)
@@ -1042,7 +1042,7 @@ static void xe_guc_pc_fini_hw(void *arg)
                return;
 
        XE_WARN_ON(xe_force_wake_get(gt_to_fw(pc_to_gt(pc)), XE_FORCEWAKE_ALL));
-       XE_WARN_ON(xe_guc_pc_gucrc_disable(pc));
+       xe_guc_pc_gucrc_disable(pc);
        XE_WARN_ON(xe_guc_pc_stop(pc));
 
        /* Bind requested freq to mert_freq_cap before unload */