]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/nouveau: queue delayed unmapping of VMAs on client workqueue
authorBen Skeggs <bskeggs@redhat.com>
Tue, 31 Oct 2017 17:56:20 +0000 (03:56 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Nov 2017 03:32:33 +0000 (13:32 +1000)
commit00d041d087c1715039bf7a610140ffe1af347b55
tree9c389b7198096b98949153192c9149854a519998
parent814a23243bd2aaa9aafe03d85d0502a73be42b58
drm/nouveau: queue delayed unmapping of VMAs on client workqueue

VMAs are about to not take references on the VMM they belong to, which
means more care is required when handling delayed unmapping.

Queuing it on the client workqueue ensures all pending VMA unmaps will
have completed before the VMM is destroyed.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_gem.c