]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: implement fan1_enable hwmon interface for SMU11 (v2)
authorChengming Gui <Jack.Gui@amd.com>
Fri, 25 Jan 2019 10:57:34 +0000 (18:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commit2724bb5f445736bb7918bbd8e517c2e688c81e8b
treec4b44cd4ef52474a9461a3443723fc7c4fc8c554
parentf87c9ba5d8710132f7e362b635b9a4f33456e256
drm/amd/powerplay: implement fan1_enable hwmon interface for SMU11 (v2)

set the fan1_enable hwmon interface to call
smu_get_fan_control_mode and smu_set_fan_control_mode.

v2: fix print value.

Signed-off-by: Chengming Gui <Jack.Gui@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/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c