]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: cleanup the interfaces for powergate setting through SMU
authorEvan Quan <evan.quan@amd.com>
Fri, 3 Jan 2020 09:03:21 +0000 (17:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:01:54 +0000 (12:01 -0500)
commit0f5599f3773fbb37d2a9c477fbb1c65278ce695f
tree11ffda9682c2fa1256b7d7707fd3abfdc8a3c3e4
parenta13abb86dc84a4866e5f1e5ba9d50ae9cee2e2d9
drm/amd/powerplay: cleanup the interfaces for powergate setting through SMU

Provided an unified entry point. And fixed the confusing that the API
usage is conflict with what the naming implies.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c