]> 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)
commitb56ad5bcf1af10a8d3b4b74e3b441131ca1750fd
tree9a22a1a9071737b04cf3b30e32826c4f8203a5d7
parent49777418dfdc73804b2a7c104eb52e26b8a187d5
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