drm/amdgpu/smu: make the set_performance_level logic easier to follow
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Dec 2019 21:34:42 +0000 (16:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 16:56:09 +0000 (11:56 -0500)
commit337443d0e29054c95879a6a3149b29cc8fbd04df
treefa3fffbfff0e799317be7a3103936cbf12498747
parentc00ca07f64d39e242e3b86bb55cfb763b2f31ad5
drm/amdgpu/smu: make the set_performance_level logic easier to follow

Have every asic provide a callback for this rather than a mix
of generic and asic specific code.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/renoir_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c