]> www.infradead.org Git - users/willy/xarray.git/commit
drm/amd/pm: bug fix for pcie dpm
authorKenneth Feng <kenneth.feng@amd.com>
Tue, 9 Mar 2021 13:10:16 +0000 (21:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:11:01 +0000 (23:11 -0400)
commitbe6523e3a90833ce53942476db4921debe0bf395
tree1cd030a97a7e4e64ec6befb2827366984b028183
parent3f1d1eb2a2561383c84b4400352e721876c565e4
drm/amd/pm: bug fix for pcie dpm

Currently the pcie dpm has two problems.
1. Only the high dpm level speed/width can be overrided
if the requested values are out of the pcie capability.
2. The high dpm level is always overrided though sometimes
it's not necesarry.

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c