drm/amdgpu: simplify runtime suspend
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Nov 2019 19:20:32 +0000 (14:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:27:11 +0000 (14:27 -0500)
commit562b49fcd02d1b06f2706c31992d2fbfc011a634
treea66f6747515069b664adaa854d090f0282ee1362
parent7633c5e0bd190393362de46aea8ea34f8732a20e
drm/amdgpu: simplify runtime suspend

In the standard _PR3 case, the pci core handles the pci state.
The driver only needs to handle it in the legacy ATPX case.

This may fix issues with runtime suspend/resume on certain
hybrid graphics laptops.

Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c