diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2021-03-26 08:43:14 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-09 23:46:54 +0300 |
commit | f41f8e0886d3443f63240fd95a4e3921ec2da04a (patch) | |
tree | 50dfca7d566aa62e0b7e28c866d524394086841c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | 2d64d23e9596b1815fa1b536b3ac096afac10bd5 (diff) | |
download | linux-f41f8e0886d3443f63240fd95a4e3921ec2da04a.tar.xz |
drm/amd/pm: Fix DPM level count on aldebaran
Firmware returns zero-based max level, increment by one to get
total levels. This fixes the issue of not showing all levels and current
frequency when frequency is at max DPM level.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions