drm/amd/powerplay: move get_thermal_temperature_range to ppt funcs
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 10 Jun 2019 13:39:29 +0000 (21:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:31 +0000 (18:59 -0500)
commite211580da9a4767b1902a17f0cbed580000f2b66
tree2e60e39bdd9e740beaeb185059730742619eac0f
parent4dc9c8bf3474955cd721991a415df8e2b9e73b84
drm/amd/powerplay: move get_thermal_temperature_range to ppt funcs

The thermal policy could be ASIC specific ones and depends on structures
in pptable. As a result, get_thermal_temperature_range should be implemented
as ppt funcs instead of smu funcs

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c