Lines Matching refs:old_mem
376 struct ttm_resource *old_mem) in amdgpu_move_blit() argument
386 src.mem = old_mem; in amdgpu_move_blit()
399 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit()
492 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move() local
505 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
511 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
518 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
519 old_mem->mem_type == AMDGPU_PL_PREEMPT) && in amdgpu_bo_move()
532 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
533 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
534 old_mem->mem_type == AMDGPU_PL_OA || in amdgpu_bo_move()
535 old_mem->mem_type == AMDGPU_PL_DOORBELL || in amdgpu_bo_move()
548 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move()
556 ((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
558 (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move()
569 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
575 if (!amdgpu_res_copyable(adev, old_mem) || in amdgpu_bo_move()