]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: refine pwm1_enable callback functions for Vega10.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 5 May 2017 09:44:32 +0000 (17:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 May 2017 17:36:28 +0000 (13:36 -0400)
commit5cd2348446751a3b30809b5ac69c5326c0e477ea
tree76ef11a77fa7dc3cd6aae79d9b58088708a4e76a
parent6ecec6d5c076abf6eeb8a7f0d3fc31b85a422f3d
drm/amd/powerplay: refine pwm1_enable callback functions for Vega10.

Use the new enums for setting and getting the fan control mode.
Fixes problems due to previous inconsistencies between enums.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.h