]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3e8cb5af1e2c3ff241d28ac49df3387aed0a5d2
tree6dfaa699908277f651d60bbea6089bf25ac228ae
parent16bca68eb80d9c9ca8cdc4f03d5dd9a5255871bd
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