From: Vinay Belgaumkar Date: Wed, 4 Feb 2026 01:42:33 +0000 (-0800) Subject: drm/xe: Use FORCEWAKE_GT in xe_guc_pc_fini_hw() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a3f949cd61e0ea1bc93c00241ea1d7d9e1fcb3e9;p=thirdparty%2Fkernel%2Flinux.git drm/xe: Use FORCEWAKE_GT in xe_guc_pc_fini_hw() No need to use FORCEWAKE_ALL since the registers being written are in GT domain. Cc: Michal Wajdeczko Signed-off-by: Vinay Belgaumkar Reviewed-by: Michal Wajdeczko Link: https://patch.msgid.link/20260204014234.2867763-3-vinay.belgaumkar@intel.com --- diff --git a/drivers/gpu/drm/xe/xe_guc_pc.c b/drivers/gpu/drm/xe/xe_guc_pc.c index c8313e308f962..878eb273c3e63 100644 --- a/drivers/gpu/drm/xe/xe_guc_pc.c +++ b/drivers/gpu/drm/xe/xe_guc_pc.c @@ -1300,7 +1300,7 @@ static void xe_guc_pc_fini_hw(void *arg) if (xe_device_wedged(xe)) return; - CLASS(xe_force_wake, fw_ref)(gt_to_fw(pc_to_gt(pc)), XE_FORCEWAKE_ALL); + CLASS(xe_force_wake, fw_ref)(gt_to_fw(pc_to_gt(pc)), XE_FW_GT); XE_WARN_ON(xe_guc_pc_stop(pc)); /* Bind requested freq to mert_freq_cap before unload */