Lines Matching refs:old_mem
380 struct ttm_resource *old_mem) in amdgpu_move_blit() argument
390 src.mem = old_mem; in amdgpu_move_blit()
403 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit()
496 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move() local
509 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
515 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
522 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
523 old_mem->mem_type == AMDGPU_PL_PREEMPT) && in amdgpu_bo_move()
536 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
537 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
538 old_mem->mem_type == AMDGPU_PL_OA || in amdgpu_bo_move()
539 old_mem->mem_type == AMDGPU_PL_DOORBELL || in amdgpu_bo_move()
552 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move()
560 ((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
562 (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move()
573 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
579 if (!amdgpu_res_copyable(adev, old_mem) || in amdgpu_bo_move()