summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2016-02-16 15:29:23 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-02-17 16:10:42 -0500
commitb8ea3783467586246d0b2b08f2e3f42853219d94 (patch)
tree4eb5c6f1a9bc517209f2e8bd3429df6f5503a922 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parent418aa0c296ddb5df90c4e94f995cfd3f3c9e96dc (diff)
drm/amdgpu: Fix race condition in amdgpu_mn_unregister
Exchange locking order of adev->mn_lock and mm_sem, so that rmn->mm->mmap_sem can be taken safely, protected by adev->mn_lock, when amdgpu_mn_destroy runs concurrently. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions