summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-03-26 10:54:56 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-04-08 16:05:23 -0400
commit92e511d1cecc6a8fa7bdfc8657f16ece9ab4d456 (patch)
treef5f168e0d2c0bb21d0d87e716951734b8b41df24 /drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
parent6dafb5d4c7cdfc8f994e789d050e29e0d5ca6efd (diff)
drm/amdgpu/pm/swsmu: implement pause workload profile
Add the callback for implementation for swsmu. Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
index ae89801adeb8..a95a3dd5a895 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
@@ -560,6 +560,7 @@ struct smu_context {
/* asic agnostic workload mask */
uint32_t workload_mask;
+ bool pause_workload;
/* default/user workload preference */
uint32_t power_profile_mode;
uint32_t workload_refcount[PP_SMC_POWER_PROFILE_COUNT];