]> Git Repo - linux.git/commitdiff
drm/xe/xe_gt_idle: use GT forcewake domain assertion
authorRiana Tauro <[email protected]>
Thu, 6 Jun 2024 10:08:41 +0000 (15:38 +0530)
committerRodrigo Vivi <[email protected]>
Thu, 6 Jun 2024 19:07:19 +0000 (15:07 -0400)
The rc6 registers used in disable_c6 function belong
to the GT forcewake domain. Hence change the forcewake
assertion to check GT forcewake domain.

v2: add fixes tag (Himal)

Fixes: 975e4a3795d4 ("drm/xe: Manually setup C6 when skip_guc_pc is set")
Signed-off-by: Riana Tauro <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Himal Prasad Ghimiray <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
drivers/gpu/drm/xe/xe_gt_idle.c

index 0109d1d2e9c40c7d02b3a7f35c54be19f2401b73..a6ab8bb4571d639dae66b7c591ef9ba5dd5cdccb 100644 (file)
@@ -250,7 +250,7 @@ void xe_gt_idle_enable_c6(struct xe_gt *gt)
 void xe_gt_idle_disable_c6(struct xe_gt *gt)
 {
        xe_device_assert_mem_access(gt_to_xe(gt));
-       xe_force_wake_assert_held(gt_to_fw(gt), XE_FORCEWAKE_ALL);
+       xe_force_wake_assert_held(gt_to_fw(gt), XE_FW_GT);
 
        xe_mmio_write32(gt, RC_CONTROL, 0);
        xe_mmio_write32(gt, RC_STATE, 0);
This page took 0.059569 seconds and 4 git commands to generate.