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>
Fri, 9 Apr 2021 20:36:40 +0000 (16:36 -0400)
commita2e15b0e6c91a13d2219fba1f9e83ecd473a60db
tree2df8109d190d4066866a6de016c6f904e3801f7b
parent48ccbf730c945c7fc86e8790a8246247a2c0478b
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