]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:00:38 +0000 (12:00 +0200)
[ 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>
drivers/gpu/drm/xe/xe_guc_pc.c

index 23382ced4ea7471f860640937e9cd92e097ea0dc..69f8b6fdaeaea5084a0f28a6ef15d5fe96783239 100644 (file)
@@ -897,7 +897,7 @@ static void xe_guc_pc_fini(struct drm_device *drm, void *arg)
        struct xe_guc_pc *pc = arg;
 
        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));
        xe_force_wake_put(gt_to_fw(pc_to_gt(pc)), XE_FORCEWAKE_ALL);
 }