drm/amdgpu: clean up non-DC suspend/resume handling
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Mar 2021 20:34:45 +0000 (16:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Mar 2021 19:24:23 +0000 (15:24 -0400)
commitca8ee26d616b5e1818a0c69285d8f01feec35af9
tree41508e8a9f0e40a93ff2d3209fc15bb25e3cebda
parente13d002bbf1d211cfe831ad2b2ae229a351eb196
drm/amdgpu: clean up non-DC suspend/resume handling

Move the non-DC specific code into the DCE IP blocks similar
to how we handle DC.  This cleans up the common suspend
and resume pathes.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
drivers/gpu/drm/amd/amdgpu/amdgpu_display.h
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
drivers/gpu/drm/amd/amdgpu/dce_virtual.c