drm/amdgpu: refine gfx_v8 pg code.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 14 Dec 2016 09:14:16 +0000 (17:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:12:47 +0000 (11:12 -0500)
commit5c964221003d9a31ad56d4784773c91a291cba97
tree407b959e5d549126127727a47315696e7b0cd07c
parentf6f534e2af5b518f522b5df244accf945a6207ec
drm/amdgpu: refine gfx_v8 pg code.

move en/disable GFX CP/SMU_HS PG to
function gfx_v8_0_set_powergating_state

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c