]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit7522ffc41b73a3dd1f9d19164f033bd649c0404b
tree76ef11a77fa7dc3cd6aae79d9b58088708a4e76a
parentaad22ca4368082cdd1cff1c55d8607c94ea1a74b
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