diff options
| author | Evan Quan <[email protected]> | 2023-05-25 02:30:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-30 17:12:16 +0000 |
| commit | 064329c595da56eff6d7a7e7760660c726433139 (patch) | |
| tree | a50b4b7de4676a0795e0db792f2d8d4f6968a22d /drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | |
| parent | drm/amd/display: 3.2.241 (diff) | |
| download | kernel-064329c595da56eff6d7a7e7760660c726433139.tar.gz kernel-064329c595da56eff6d7a7e7760660c726433139.zip | |
drm/amd/pm: expose swctf threshold setting for legacy powerplay
Preparation for coming optimization which eliminates the influence of
GPU temperature momentary fluctuation.
Signed-off-by: Evan Quan <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h index d178f3f44081..42172b00be66 100644 --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h @@ -89,6 +89,8 @@ struct amdgpu_dpm_thermal { int max_mem_crit_temp; /* memory max emergency(shutdown) temp */ int max_mem_emergency_temp; + /* SWCTF threshold */ + int sw_ctf_threshold; /* was last interrupt low to high or high to low */ bool high_to_low; /* interrupt source */ |
