Lines Matching refs:new_mem

463 			    struct ttm_resource *new_mem,  in amdgpu_move_blit()  argument
475 dst.mem = new_mem; in amdgpu_move_blit()
480 new_mem->num_pages << PAGE_SHIFT, in amdgpu_move_blit()
503 r = ttm_bo_move_accel_cleanup(bo, fence, true, false, new_mem); in amdgpu_move_blit()
505 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit()
523 struct ttm_resource *new_mem) in amdgpu_move_vram_ram() argument
532 tmp_mem = *new_mem; in amdgpu_move_vram_ram()
571 r = ttm_bo_move_ttm(bo, ctx, new_mem); in amdgpu_move_vram_ram()
584 struct ttm_resource *new_mem) in amdgpu_move_ram_vram() argument
593 tmp_mem = *new_mem; in amdgpu_move_ram_vram()
616 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_move_ram_vram()
656 struct ttm_resource *new_mem) in amdgpu_bo_move() argument
671 ttm_bo_move_null(bo, new_mem); in amdgpu_bo_move()
675 new_mem->mem_type == TTM_PL_SYSTEM) || in amdgpu_bo_move()
677 new_mem->mem_type == TTM_PL_TT)) { in amdgpu_bo_move()
679 ttm_bo_move_null(bo, new_mem); in amdgpu_bo_move()
685 new_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
686 new_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
687 new_mem->mem_type == AMDGPU_PL_OA) { in amdgpu_bo_move()
689 ttm_bo_move_null(bo, new_mem); in amdgpu_bo_move()
699 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move()
700 r = amdgpu_move_vram_ram(bo, evict, ctx, new_mem); in amdgpu_bo_move()
702 new_mem->mem_type == TTM_PL_VRAM) { in amdgpu_bo_move()
703 r = amdgpu_move_ram_vram(bo, evict, ctx, new_mem); in amdgpu_bo_move()
706 new_mem, old_mem); in amdgpu_bo_move()
713 !amdgpu_mem_visible(adev, new_mem)) { in amdgpu_bo_move()
718 r = ttm_bo_move_memcpy(bo, ctx, new_mem); in amdgpu_bo_move()
724 new_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move()