]> git.baikalelectronics.ru Git - kernel.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)
commit9b4d7935fe55673cc41db0f0884b14748182ff98
tree9c389b7198096b98949153192c9149854a519998
parent3f88fc347c42a3eae740f49672a8c66e38ce44c6
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