]> asedeno.scripts.mit.edu Git - linux.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)
commita64c9e15e6247e89ad16021b8d5d6d53c34d7ee7
tree11ffda9682c2fa1256b7d7707fd3abfdc8a3c3e4
parente0aa4a92f76b8b1a361f6ae6b0a51854e3113416
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