Commit 8117713d authored by Dave Airlie's avatar Dave Airlie

drm/nouveau/ttm: memcpy waits for bo already

no need for driver to wait here.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: default avatarBen Skeggs <bskeggs@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200924051845.397177-29-airlied@gmail.com
parent 12b68474
...@@ -1085,8 +1085,6 @@ nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, ...@@ -1085,8 +1085,6 @@ nouveau_bo_move(struct ttm_buffer_object *bo, bool evict,
} }
/* Fallback to software copy. */ /* Fallback to software copy. */
ret = ttm_bo_wait_ctx(bo, ctx);
if (ret == 0)
ret = ttm_bo_move_memcpy(bo, ctx, new_reg); ret = ttm_bo_move_memcpy(bo, ctx, new_reg);
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment