]> 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)
commit9cab9315c137276ecadcf366833fb2ee3f47dd0f
tree76ef11a77fa7dc3cd6aae79d9b58088708a4e76a
parent99d153bfa3144376a1db77409480bc1114f8a526
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