drm/radeon: remove vm_manager start/suspend
authorChristian König <deathsimple@vodafone.de>
Thu, 5 Jul 2012 12:32:00 +0000 (14:32 +0200)
committerChristian König <deathsimple@vodafone.de>
Tue, 17 Jul 2012 08:32:55 +0000 (10:32 +0200)
commitc6105f249a637e1bb2b04b1cad7feaf507d06e8c
tree6dfaa699908277f651d60bbea6089bf25ac228ae
parent6f72a631998d37673828b0e97c63dafc8e923382
drm/radeon: remove vm_manager start/suspend

Just restore the page table instead. Addressing three
problem with this change:

1. Calling vm_manager_suspend in the suspend path is
   problematic cause it wants to wait for the VM use
   to end, which in case of a lockup never happens.

2. In case of a locked up memory controller
   unbinding the VM seems to make it even more
   unstable, creating an unrecoverable lockup
   in the end.

3. If we want to backup/restore the leftover ring
   content we must not unbind VMs in between.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_gart.c
drivers/gpu/drm/radeon/si.c