]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: remove the userptr rmn->lock
authorChristian König <christian.koenig@amd.com>
Tue, 9 Feb 2016 15:13:37 +0000 (16:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Feb 2016 20:32:07 +0000 (15:32 -0500)
commit67d94f209045f873cd3f1a5d827898e5712a1e8f
tree45944f26b707a6dff1b28dfdc31ccc10775aa923
parent79b9d37c7edd4663a8f41f7745aaac8f22dd6d39
drm/amdgpu: remove the userptr rmn->lock

Avoid a lock inversion problem by just using the mmap_sem to
protect the entries of the intervall tree.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c