drm/amd/pp: Fix sysfs pp_dpm_pcie bug on CI/VI
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 25 Jan 2018 10:42:08 +0000 (18:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:07 +0000 (14:19 -0500)
commit61e208b16e93747df49ed47fc66443d9d68e996e
treefb675dd68793ce7ead87cd0f381ac7c96f264f98
parent337ecd6a98297493abe826203e553cad6bdfc309
drm/amd/pp: Fix sysfs pp_dpm_pcie bug on CI/VI

when echo "01">pp_dpm_pcie
the pcie dpm will fix in highest link speed.
But user should expect auto speed between
level 0 and level1

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c