drm/amd/powerplay: implement the interface for setting soft freq range
authorPrike Liang <Prike.Liang@amd.com>
Tue, 24 Sep 2019 06:40:09 +0000 (14:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:04 +0000 (09:11 -0500)
commit4045f36fce82ba7023bb7849190e04df8595e2f0
tree0b9ec103ec89c31a51a7fe417ddc121b480ad44b
parentaf1ec44f9a56354bac98d000cbac2c8fed1f2e87
drm/amd/powerplay: implement the interface for setting soft freq range

The APU soft freq range set by different way from DGPU, thus need implement
the function respectively base on each common SMU part.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
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/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/smu_v12_0.c