diff options
| author | Lijo Lazar <lijo.lazar@amd.com> | 2021-05-13 15:51:18 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-19 22:38:17 -0400 |
| commit | e943dd8861f70785fa862ba699c7f3ba22811609 (patch) | |
| tree | 52d2fb1e515d3c10c5364499a7ecbd7027933de1 /scripts/gdb/linux/modules.py | |
| parent | eed13b0e374e752d192b1fc62a7ecdb3938d70a7 (diff) | |
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>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
