]> 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)
commit45855d9d2b45c77be8e59fa03db73cde7f79c59d
treeb9242dfb94f34298e3a68b7ec7c07322ebf575dd
parentd1db835dbcd68911569f6e46e1e9dd7b65f2a328
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