Lines Matching refs:old_mem
360 struct ttm_resource *old_mem) in amdgpu_move_blit() argument
370 src.mem = old_mem; in amdgpu_move_blit()
383 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit()
459 struct ttm_resource *old_mem = bo->resource; in amdgpu_bo_move() local
476 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
481 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
487 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
488 old_mem->mem_type == AMDGPU_PL_PREEMPT) && in amdgpu_bo_move()
500 if (old_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_bo_move()
501 old_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_bo_move()
502 old_mem->mem_type == AMDGPU_PL_OA || in amdgpu_bo_move()
513 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move()
521 if (((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
523 (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move()
532 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
539 if (!amdgpu_mem_visible(adev, old_mem) || in amdgpu_bo_move()