Lines Matching refs:tmp_mem
489 struct ttm_mem_reg tmp_mem; in amdgpu_move_vram_ram() local
497 tmp_mem = *new_mem; in amdgpu_move_vram_ram()
498 tmp_mem.mm_node = NULL; in amdgpu_move_vram_ram()
506 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, ctx); in amdgpu_move_vram_ram()
513 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); in amdgpu_move_vram_ram()
519 r = ttm_tt_bind(bo->ttm, &tmp_mem, ctx); in amdgpu_move_vram_ram()
525 r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, &tmp_mem, old_mem); in amdgpu_move_vram_ram()
533 ttm_bo_mem_put(bo, &tmp_mem); in amdgpu_move_vram_ram()
548 struct ttm_mem_reg tmp_mem; in amdgpu_move_ram_vram() local
556 tmp_mem = *new_mem; in amdgpu_move_ram_vram()
557 tmp_mem.mm_node = NULL; in amdgpu_move_ram_vram()
565 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, ctx); in amdgpu_move_ram_vram()
572 r = ttm_bo_move_ttm(bo, ctx, &tmp_mem); in amdgpu_move_ram_vram()
583 ttm_bo_mem_put(bo, &tmp_mem); in amdgpu_move_ram_vram()