]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/nouveau/falcon: protect against concurrent DMEM accesses
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 19 Jan 2017 03:11:15 +0000 (12:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:11 +0000 (17:05 +1000)
commite444de56bc60ce0a388e328bcf86dcd0baabc32e
tree330efb11ac06d379f5cee30b69fc454a09b0f487
parent6bd4b5233d2f0c14344d5a1ae4be8961c4f0edfa
drm/nouveau/falcon: protect against concurrent DMEM accesses

The falcon library may be used concurrently, especially after the
introduction of the msgqueue interface. Make it safe to use it that way.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h
drivers/gpu/drm/nouveau/nvkm/falcon/base.c