Lines Matching refs:old_mem
385 struct ttm_resource *old_mem) in amdgpu_move_blit() argument
395 src.mem = old_mem; in amdgpu_move_blit()
410 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit()
505 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move() local
518 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
524 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
531 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
532 old_mem->mem_type == AMDGPU_PL_PREEMPT) && in amdgpu_bo_move()
545 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
546 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
547 old_mem->mem_type == AMDGPU_PL_OA || in amdgpu_bo_move()
548 old_mem->mem_type == AMDGPU_PL_DOORBELL || in amdgpu_bo_move()
549 old_mem->mem_type == AMDGPU_PL_MMIO_REMAP || in amdgpu_bo_move()
563 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move()
571 ((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
573 (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move()
584 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
590 if (!amdgpu_res_copyable(adev, old_mem) || in amdgpu_bo_move()