]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drm/amdgpu: fix amdgpu_vm_fini
authorChristian König <christian.koenig@amd.com>
Thu, 18 Oct 2018 12:29:28 +0000 (14:29 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Oct 2018 19:04:40 +0000 (14:04 -0500)
commit0af5c656fdb797f74ee57414e0c07cd57406d0c3
tree0ffabe681c3f80a1909954df74a41ede03fccfab
parent3732eb0683c17113201cd29fdefd7a58b1acfa7f
drm/amdgpu: fix amdgpu_vm_fini

We should not remove mappings in rbtree_postorder_for_each_entry_safe
because that rebalances the tree.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c