]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: reserve the PD during unmap and remove
authorChristian König <christian.koenig@amd.com>
Tue, 8 Mar 2016 16:47:46 +0000 (17:47 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Mar 2016 18:04:01 +0000 (13:04 -0500)
commitb5a5ec55041bf129b767e7a2d282887226f4fae1
treebbd48925df0a3e9b581284dcdaa04524c6fc5373
parentfb29b57c34488b343db2e3f00e713901385f8c0d
drm/amdgpu: reserve the PD during unmap and remove

We not only need to protect the mapping tree and freed list itself,
but also the items on those list.

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