]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: refine pwm1_enable callback functions for vi.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 5 May 2017 08:50:36 +0000 (16:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 May 2017 17:36:35 +0000 (13:36 -0400)
commit2afbe39a7ec9a58a38676da6ecc8b4af51536d01
tree22b88c42b6c845a21bbaa27212703aab21095851
parent9cab9315c137276ecadcf366833fb2ee3f47dd0f
drm/amd/powerplay: refine pwm1_enable callback functions for vi.

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/smu7_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.c
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_thermal.h
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h