linux/drivers/gpu/drm/amd/pm
Lijo Lazar e943dd8861 drm/amd/pm: Fix showing incorrect frequencies on aldebaran
v1: Use the current and custom pstate frequencies to track the current and
user-set min/max values in manual and determinism mode. Previously, only
actual_* value was used to track the currrent and user requested value.
The value will get reassigned whenever user requests a new value with
pp_od_clk_voltage node. Hence it will show incorrect values when user
requests an invalid value or tries a partial request without committing
the values. Separating out to custom and current variable fixes such
issues.

v2: Remove redundant if-else check

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-19 22:38:17 -04:00
..
inc drm/amd/pm: Add custom/current freq to pstates 2021-05-19 22:38:13 -04:00
powerplay drm/amd/pm: Fix out-of-bounds bug 2021-05-10 18:14:49 -04:00
swsmu drm/amd/pm: Fix showing incorrect frequencies on aldebaran 2021-05-19 22:38:17 -04:00
amdgpu_dpm.c drm/amd/pm: unify the interface for power gating 2021-04-09 16:46:46 -04:00
amdgpu_pm.c drm/amdgpu/pm: add documentation for pp_od_clock_voltage for vangogh 2021-05-10 18:07:08 -04:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00