drm/amdgpu: use a rw_semaphore for MMU notifiers
authorChristian König <christian.koenig@amd.com>
Tue, 5 Sep 2017 12:50:24 +0000 (14:50 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Sep 2017 18:24:27 +0000 (14:24 -0400)
commit60de1c1740f390fe48141b54d04cc53a6073d347
tree23f66c1342080f6dec12481792f02100db6a2e0e
parent1b0c0f9dc5ca6c0c8be21eeac92c7aa77bbf1d33
drm/amdgpu: use a rw_semaphore for MMU notifiers

Allow at least some parallel processing.

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