summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_connector.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-12-12 17:52:45 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-09 08:32:19 +0100
commitbfa563bae25131fc084c273b43a789819e302fe7 (patch)
tree72767d908b267f415e5d5b1c84cfc4d235b8fd61 /drivers/gpu/drm/nouveau/nouveau_connector.h
parenta5b4c77c92da629bf10926fe05cdf972e0e08f86 (diff)
downloadblackbird-op-linux-bfa563bae25131fc084c273b43a789819e302fe7.tar.gz
blackbird-op-linux-bfa563bae25131fc084c273b43a789819e302fe7.zip
drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas
commit 10dcab3e7f477bffee88d518aad57d06777cfdf4 upstream. TTM was changed a while back to allow for pipelining of buffer moves, and part of this was the removal of waiting for a BO to idle before calling move(), placing the responsibility on the driver to do this if required. That's all well and good, except, we make use of move_notify() to handle mapping/unmapping from the GPU VMM as move() isn't called on all paths. This commit adds a wait before unmapping from a VMM in move_notify(), to prevent GPU page faults where a buffer is still being accessed. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud