diff options
| author | Alex Deucher <[email protected]> | 2025-03-26 14:54:56 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-09 14:53:11 +0000 |
| commit | c81a3ceedb1c2ee623bf594594fa3a228ac04a8c (patch) | |
| tree | 7eb19836ac5b33a6347efc0226bcdb765cb898a4 /drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | |
| parent | drm/amdgpu/pm: add workload profile pause helper (diff) | |
| download | kernel-c81a3ceedb1c2ee623bf594594fa3a228ac04a8c.tar.gz kernel-c81a3ceedb1c2ee623bf594594fa3a228ac04a8c.zip | |
drm/amdgpu/pm/swsmu: implement pause workload profile
Add the callback for implementation for swsmu.
Reviewed-by: Kenneth Feng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 92e511d1cecc6a8fa7bdfc8657f16ece9ab4d456)
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.h | 1 |
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 3ba169639f54..dd6d0e7aa242 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h @@ -558,6 +558,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]; |
