]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: grab the id mgr lock while accessing passid_mapping
authorChristian König <christian.koenig@amd.com>
Mon, 9 Sep 2019 11:57:32 +0000 (13:57 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:16:28 +0000 (10:16 -0500)
commite446127aed180c39ba5a6dc44303024dc67f9d71
tree22fe43d097fe2503b347cf6a7e36db2ab73772a7
parentac9f4caf0bcfe3e689198194523060a11f3175c6
drm/amdgpu: grab the id mgr lock while accessing passid_mapping

Need to make sure that we actually dropping the right fence.
Could be done with RCU as well, but to complicated for a fix.

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