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)
commitc41d271d751ea023f67f1ea755e144b49079b6d5
tree45944f26b707a6dff1b28dfdc31ccc10775aa923
parente7813d0cd8b6183fcd967843ab1f53e43e05423c
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