]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: just suspend the hw on pci shutdown
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 15:38:29 +0000 (10:38 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Dec 2016 16:17:21 +0000 (11:17 -0500)
commit705d4c94043f8267d763a890f1d3241d3a5f33c5
tree9a22a1a9071737b04cf3b30e32826c4f8203a5d7
parent2d6247624fe4d4242197521e1bfce22a695e4b87
drm/amdgpu: just suspend the hw on pci shutdown

We can't just reuse pci_remove as there may be userspace still
doing things.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98638
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97980
Reviewed-by: Christian König <christian.koenig@amd.com>
Reported-and-tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c