]> 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)
commit7230f8ae412af20a09d77a4484d8a9b47957d53d
tree9c389b7198096b98949153192c9149854a519998
parent0c3409ce5500e791132d742a74ebf43ce5fc7549
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