diff options
author | Vinay Belgaumkar <vinay.belgaumkar@intel.com> | 2023-11-18 01:14:49 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 17:45:08 +0100 |
commit | 975e4a3795d4f1373be538177525c0b714e0e65e (patch) | |
tree | 3c90febd24b445e133e8d6d4cdd465b1ceebea4c /drivers/gpu/drm/xe/xe_gt_idle.h | |
parent | drm/xe: Add skip_guc_pc flag (diff) | |
download | linux-975e4a3795d4f1373be538177525c0b714e0e65e.tar.xz linux-975e4a3795d4f1373be538177525c0b714e0e65e.zip |
drm/xe: Manually setup C6 when skip_guc_pc is set
Skip the init/start/stop GuC PC functions and toggle C6 using
register writes instead. Also request max possible frequency
as dynamic freq management is disabled.
v2: Fix compile warning
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt_idle.h')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt_idle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt_idle.h b/drivers/gpu/drm/xe/xe_gt_idle.h index 9b36bf7db3a7..69280fd16b03 100644 --- a/drivers/gpu/drm/xe/xe_gt_idle.h +++ b/drivers/gpu/drm/xe/xe_gt_idle.h @@ -8,6 +8,10 @@ #include "xe_gt_idle_types.h" +struct xe_gt; + void xe_gt_idle_sysfs_init(struct xe_gt_idle *gtidle); +void xe_gt_idle_enable_c6(struct xe_gt *gt); +void xe_gt_idle_disable_c6(struct xe_gt *gt); #endif /* _XE_GT_IDLE_H_ */ |