OSDN Git Service

drm/amd/powerplay: add function to get thermal range
authorLikun Gao <Likun.Gao@amd.com>
Fri, 4 Jan 2019 08:23:23 +0000 (16:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commit3941b2dbed9b1e2adfc93e479ecc0d28ed9026ba
tree8dfe6b50070b71f3c8f9aa4504e81ac24c7b6db7
parent7457cf02540571e17ce464e5cb1865cfb020de31
drm/amd/powerplay: add function to get thermal range

Add the function to get the min and max thermal value for vega20 with
smu11 architecture.

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/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c