Lines Matching refs:new_reg

798 		     struct ttm_resource *new_reg)  in nouveau_bo_move_m2mf()  argument
811 ret = nouveau_bo_move_prep(drm, bo, new_reg); in nouveau_bo_move_m2mf()
822 ret = drm->ttm.move(chan, bo, bo->resource, new_reg); in nouveau_bo_move_m2mf()
838 new_reg); in nouveau_bo_move_m2mf()
920 struct ttm_resource *new_reg) in nouveau_bo_move_ntfy() argument
922 struct nouveau_mem *mem = new_reg ? nouveau_mem(new_reg) : NULL; in nouveau_bo_move_ntfy()
933 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy()
948 if (new_reg) in nouveau_bo_move_ntfy()
949 nvbo->offset = (new_reg->start << PAGE_SHIFT); in nouveau_bo_move_ntfy()
954 nouveau_bo_vm_bind(struct ttm_buffer_object *bo, struct ttm_resource *new_reg, in nouveau_bo_vm_bind() argument
960 u64 offset = new_reg->start << PAGE_SHIFT; in nouveau_bo_vm_bind()
963 if (new_reg->mem_type != TTM_PL_VRAM) in nouveau_bo_vm_bind()
997 struct ttm_resource *new_reg, in nouveau_bo_move() argument
1007 if (new_reg->mem_type == TTM_PL_TT) { in nouveau_bo_move()
1008 ret = nouveau_ttm_tt_bind(bo->bdev, bo->ttm, new_reg); in nouveau_bo_move()
1013 nouveau_bo_move_ntfy(bo, new_reg); in nouveau_bo_move()
1022 ret = nouveau_bo_vm_bind(bo, new_reg, &new_tile); in nouveau_bo_move()
1030 ttm_bo_move_null(bo, new_reg); in nouveau_bo_move()
1035 new_reg->mem_type == TTM_PL_TT) { in nouveau_bo_move()
1036 ttm_bo_move_null(bo, new_reg); in nouveau_bo_move()
1041 new_reg->mem_type == TTM_PL_SYSTEM) { in nouveau_bo_move()
1044 ttm_bo_assign_mem(bo, new_reg); in nouveau_bo_move()
1051 new_reg->mem_type == TTM_PL_VRAM) || in nouveau_bo_move()
1053 new_reg->mem_type == TTM_PL_SYSTEM)) { in nouveau_bo_move()
1061 new_reg); in nouveau_bo_move()
1067 ret = ttm_bo_move_memcpy(bo, ctx, new_reg); in nouveau_bo_move()