drm/amdgpu: Add gfx_off support in smu through pp_set_powergating_by_smu
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 5 Jun 2018 03:46:35 +0000 (11:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:49 +0000 (16:38 -0500)
commit9134c6d7f288f902d932e7cf57fab2f49e8ad70b
tree48592372b204ffe526d897b993bbd83f78fe8adb
parenta214e1c415e70f5cbc7835180cb9ed5c8e4aa35e
drm/amdgpu: Add gfx_off support in smu through pp_set_powergating_by_smu

we can take gfx off feature as gfx power gate. gfx off feature is also
controled by smu. so add gfx_off support in pp_set_powergating_by_smu.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c