]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: wire up a pci shutdown callback
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Aug 2016 18:29:44 +0000 (14:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Sep 2016 14:35:57 +0000 (10:35 -0400)
commit8d19607147761af6587bb93668554c535631af63
treed8fb4f9498204a6456cfeb350ec2ac2f50616988
parent46cdf19499dc40c8f16aa4dd3d7e39dd4189e4cc
drm/radeon: wire up a pci shutdown callback

Normally on shutdown or reboot we don't care about necessarily
making sure the hw is in a good state because the system is about
to be powered down or reset.  However, after a shutdown or reboot
in a VM, it's best to tear down the hw properly otherwise there
can be problems with the next VM use.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_drv.c