aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/kgd_pp_interface.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-03-26 14:26:25 +0000
committerAlex Deucher <[email protected]>2025-04-08 20:05:17 +0000
commit6dafb5d4c7cdfc8f994e789d050e29e0d5ca6efd (patch)
tree5892bc350906a6b28637d487b42b47de3e64ceb6 /drivers/gpu/drm/amd/include/kgd_pp_interface.h
parentdrm/amdgpu/gfx12: dump full CP packet header FIFOs (diff)
downloadkernel-6dafb5d4c7cdfc8f994e789d050e29e0d5ca6efd.tar.gz
kernel-6dafb5d4c7cdfc8f994e789d050e29e0d5ca6efd.zip
drm/amdgpu/pm: add workload profile pause helper
To be used for display idle optimizations when we want to pause non-default profiles. Reviewed-by: Kenneth Feng <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/kgd_pp_interface.h')
-rw-r--r--drivers/gpu/drm/amd/include/kgd_pp_interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
index 2a9606118d89..21dc956b5f35 100644
--- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h
+++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
@@ -429,6 +429,7 @@ struct amd_pm_funcs {
int (*set_pp_table)(void *handle, const char *buf, size_t size);
void (*debugfs_print_current_performance_level)(void *handle, struct seq_file *m);
int (*switch_power_profile)(void *handle, enum PP_SMC_POWER_PROFILE type, bool en);
+ int (*pause_power_profile)(void *handle, bool pause);
/* export to amdgpu */
struct amd_vce_state *(*get_vce_clock_state)(void *handle, u32 idx);
int (*dispatch_tasks)(void *handle, enum amd_pp_task task_id,