drm/amd/powerplay: add function to start thermal control
authorLikun Gao <Likun.Gao@amd.com>
Fri, 4 Jan 2019 08:00:48 +0000 (16:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commit74ba3553b2bb26adb36dd7d0b13b85bca64f3ef2
treea0e769543a854e73fde0ff2d82657fc5dc46ab25
parente921ec97fe696f89be5959fdc96dd722026ba5d0
drm/amd/powerplay: add function to start thermal control

Add function to start thermal control for smu11 when smu hw_init.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@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/vega20_ppt.c