diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-30 15:08:40 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-08-30 15:08:40 +0200 |
commit | 14a835be616183e733a2d6a7dcc697b8a6f46caf (patch) | |
tree | adaa844d3d5955681442df5032c4ef8b76683f1d /linux-core/drm_vm.c | |
parent | e47a4fda2ef7aada45b7799ad20e8012102dc12e (diff) |
Buffer object mapping and mapping synchronization for multiple clients.
Diffstat (limited to 'linux-core/drm_vm.c')
-rw-r--r-- | linux-core/drm_vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index 7163341d..69391058 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -713,6 +713,7 @@ static void drm_vm_ttm_close(struct vm_area_struct *vma) dev = ttm->dev; mutex_lock(&dev->struct_mutex); drm_ttm_delete_mm(ttm, vma->vm_mm); + list_del(&ttm_vma->head); drm_free(ttm_vma, sizeof(*ttm_vma), DRM_MEM_VMAS); if (atomic_dec_and_test(&ttm->vma_count)) { if (ttm->destroy) { |