]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit347167ff29351a118d04d28979891f37e345dd10
tree2e60e39bdd9e740beaeb185059730742619eac0f
parentae145bcb055796dd1076ca7828120be972a08d4b
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