Lines Matching refs:new_mem
155 struct ttm_resource *new_mem, in radeon_move_blit() argument
167 new_start = (u64)new_mem->start << PAGE_SHIFT; in radeon_move_blit()
180 switch (new_mem->mem_type) { in radeon_move_blit()
198 num_pages = new_mem->num_pages * (PAGE_SIZE / RADEON_GPU_PAGE_SIZE); in radeon_move_blit()
203 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, new_mem); in radeon_move_blit()
211 struct ttm_resource *new_mem) in radeon_move_vram_ram() argument
220 tmp_mem = *new_mem; in radeon_move_vram_ram()
253 r = ttm_bo_move_ttm(bo, &ctx, new_mem); in radeon_move_vram_ram()
262 struct ttm_resource *new_mem) in radeon_move_ram_vram() argument
271 tmp_mem = *new_mem; in radeon_move_ram_vram()
289 r = radeon_move_blit(bo, true, no_wait_gpu, new_mem, old_mem); in radeon_move_ram_vram()
300 struct ttm_resource *new_mem) in radeon_bo_move() argument
318 ttm_bo_move_null(bo, new_mem); in radeon_bo_move()
322 new_mem->mem_type == TTM_PL_SYSTEM) || in radeon_bo_move()
324 new_mem->mem_type == TTM_PL_TT)) { in radeon_bo_move()
326 ttm_bo_move_null(bo, new_mem); in radeon_bo_move()
336 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move()
338 ctx->no_wait_gpu, new_mem); in radeon_bo_move()
340 new_mem->mem_type == TTM_PL_VRAM) { in radeon_bo_move()
342 ctx->no_wait_gpu, new_mem); in radeon_bo_move()
345 new_mem, old_mem); in radeon_bo_move()
350 r = ttm_bo_move_memcpy(bo, ctx, new_mem); in radeon_bo_move()