drm/nouveau/gem: lookup VMAs for buffers referenced by pushbuf ioctl
authorBen Skeggs <bskeggs@redhat.com>
Tue, 8 May 2018 10:39:47 +0000 (20:39 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 18 May 2018 05:01:26 +0000 (15:01 +1000)
commit19ca10d82e33bcfe92412c461fc3534ec1e14747
tree87f831e4b1ee78430b39c08e7905df59d6cac5eb
parent4b2c71edf0d7832ef4d2fe5b17402d1130b415dc
drm/nouveau/gem: lookup VMAs for buffers referenced by pushbuf ioctl

We previously only did this for push buffers, but an upcoming patch will
need to attach fences to all VMAs to resolve another issue.

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