]> 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)
commite796fa1619111914039ba5dded6a029e437c8983
tree45944f26b707a6dff1b28dfdc31ccc10775aa923
parentd2d4599558306a04b6c1916f3d7709552642a676
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