drm/nouveau: fix multihop when move doesn't work.
authorDave Airlie <airlied@redhat.com>
Thu, 17 Dec 2020 20:09:43 +0000 (06:09 +1000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Dec 2020 14:14:03 +0000 (15:14 +0100)
commit660a59953f4ff8a4958e73f7618445ff537582b2
tree7dcfd46a611a4b518a73c5ab7c544d05987845bd
parentefd3043790c6e92f0bbe1fe385db9b544131c59c
drm/nouveau: fix multihop when move doesn't work.

As per the radeon/amdgpu fix don't use multihop if hw moves
aren't enabled.

Reported-by: Mike Galbraith <efault@gmx.de>
Tested-by: Mike Galbraith <efault@gmx.de>
Fixes: 0c8c0659d747 ("drm/nouveau/ttm: use multihop")
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201217200943.30511-1-airlied@gmail.com
drivers/gpu/drm/nouveau/nouveau_bo.c