]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/powerplay: correct fine grained dpm force level setting
authorEvan Quan <evan.quan@amd.com>
Thu, 14 Nov 2019 08:58:31 +0000 (16:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Nov 2019 23:40:21 +0000 (18:40 -0500)
commitd2a08e46215ccb0e8d7ea5011ff07abc43d79860
tree41f2ef324c60e21196f865003dcbb56b5b02ac4d
parent355d991cb6ff6ae76b5e28b8edae144124c730e4
drm/amd/powerplay: correct fine grained dpm force level setting

For fine grained dpm, there is only two levels supported. However
to reflect correctly the current clock frequency, there is an
intermediate level faked. Thus on forcing level setting, we
need to treat level 2 correctly as level 1.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c