Lines Matching refs:old_mem
381 struct ttm_resource *old_mem) in amdgpu_move_blit() argument
391 src.mem = old_mem; in amdgpu_move_blit()
404 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit()
497 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move() local
510 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
516 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
523 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
524 old_mem->mem_type == AMDGPU_PL_PREEMPT) && in amdgpu_bo_move()
537 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
538 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
539 old_mem->mem_type == AMDGPU_PL_OA || in amdgpu_bo_move()
540 old_mem->mem_type == AMDGPU_PL_DOORBELL || in amdgpu_bo_move()
553 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move()
561 ((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
563 (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move()
574 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
580 if (!amdgpu_res_copyable(adev, old_mem) || in amdgpu_bo_move()