drm/amd/pp: Add gfx pg support in smu through set_powergating_by_smu
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 14 Jun 2018 05:07:19 +0000 (13:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:49 +0000 (16:38 -0500)
commit85f80cb3af10f5daf79eee28300c3bbc55a70666
tree74ebaec588c4610e1570ba3b162414103f82a886
parentb92c628712ed3a1cf5d4a144290e8ffc170bf51e
drm/amd/pp: Add gfx pg support in smu through set_powergating_by_smu

gfx ip block can call set_powergating_by_smu to set gfx pg state if
necessary.

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/gfx_v8_0.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c