drm/amdgpu: add dpm helper function for DF Cstate control
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 24 Feb 2020 06:19:56 +0000 (14:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:17:32 +0000 (14:17 -0500)
commit53e0f1e6beb0fbe83b3be611f717962681dfcef0
tree7838af56bd08e656a32736e7d8021010eba3314b
parent995da6cc4c47c05b16f2099caf99328cd9c719e1
drm/amdgpu: add dpm helper function for DF Cstate control

The helper function hides software smu and legacy powerplay
implementation for DF Cstate control.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Evan Quan <evan.quan@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_dpm.h