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>
This commit is contained in:
Christian König 2016-02-09 16:13:37 +01:00 • committed by Alex Deucher
commit c41d271d75