]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: refine pwm1_enable callback functions for CI.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 5 May 2017 09:53:18 +0000 (17:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 May 2017 17:36:42 +0000 (13:36 -0400)
commita48c65ed4d6a94adba1c046a54d6f58519f83f0c
treeef105c321bb074fc4933dca858845e96b03d5809
parent2afbe39a7ec9a58a38676da6ecc8b4af51536d01
drm/amd/powerplay: refine pwm1_enable callback functions for CI.

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/amdgpu/ci_dpm.c