drm/amdgpu: use a rw_semaphore for MMU notifiers
authorChristian König <[email protected]>
Tue, 5 Sep 2017 12:50:24 +0000 (14:50 +0200)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c