]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix lockup when BOs aren't part of the VM on release
authorChristian König <christian.koenig@amd.com>
Mon, 27 Apr 2015 15:04:34 +0000 (17:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Apr 2015 15:27:59 +0000 (11:27 -0400)
commita4c9d6a16f37a2b20617e2f48a2ec6db85ccfd4a
treeb9242dfb94f34298e3a68b7ec7c07322ebf575dd
parent19cc66de34b772b148c51e8911cd8a3627dd5b84
drm/radeon: fix lockup when BOs aren't part of the VM on release

If we unmap BOs before releasing them them the intervall tree locks
up because we try to remove an entry not inside the tree.

Based on a patch from Michel Dänzer.

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