]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03e1632c1fa67f066bdc5bb1e799d6d265dddcb2
treea66f6747515069b664adaa854d090f0282ee1362
parent974aff904bb1cdd32c4c3816766a9d1ee9dce3d6
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