drm/amd/powerplay: add fan rpm limit interface for hwmon
authorLikun Gao <Likun.Gao@amd.com>
Fri, 25 Jan 2019 10:29:31 +0000 (18:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commit637c1c6644a907a89965fd04d7308fb2e61b6d0c
tree01a6b1ca978b24dc158b922d27f9ad1748fd0b2f
parent4a2700c563889f2c33b993438eacf2d03749b074
drm/amd/powerplay: add fan rpm limit interface for hwmon

Add fan1_min and fan2_max function for hwmon.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c