drm/amdgpu: move pci_save_state into suspend path
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Oct 2019 19:33:39 +0000 (14:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:51:39 +0000 (15:51 -0400)
commit803cc26d5cb6a3c93eab9124c1e218dc93066a6c
treef46b84dcd056ebd4d357fd0a411eed4870e9f335
parent1489d17940012ceb39b0b7bed71bda18e9eae804
drm/amdgpu: move pci_save_state into suspend path

for amdgpu_device_suspend.  This follows the logic
in the resume path.

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