summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_gt_idle.h
diff options
context:
space:
mode:
authorVinay Belgaumkar <vinay.belgaumkar@intel.com>2023-11-18 03:14:49 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:45:08 +0300
commit975e4a3795d4f1373be538177525c0b714e0e65e (patch)
tree3c90febd24b445e133e8d6d4cdd465b1ceebea4c /drivers/gpu/drm/xe/xe_gt_idle.h
parentf1cb5f647e8959a1034941d85b311d7485a7095f (diff)
downloadlinux-975e4a3795d4f1373be538177525c0b714e0e65e.tar.xz
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.h4
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_ */