drm/radeon: take a BO reference on VM cleanup
authorChristian König <christian.koenig@amd.com>
Wed, 30 Jul 2014 19:04:57 +0000 (21:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Aug 2014 12:53:54 +0000 (08:53 -0400)
commitee26d83ff030fd2a9952a2c91b94c75819f86973
treec43944990fc628d55f60be7f302424082ff2b162
parent512d8afc5d971be1e32596c6ad0a68abe1373cd9
drm/radeon: take a BO reference on VM cleanup

This closes a small window where the GPU might have accessed freed up memory.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_vm.c