]> git.baikalelectronics.ru Git - 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)
commit98978b6d7c015daf7dc50daaf9533b2d52dc16fe
treebbd48925df0a3e9b581284dcdaa04524c6fc5373
parentd2efabff921b87c7df9b98b0a4c8fea565344018
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