Home
last modified time | relevance | path

Searched refs:old_mem (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/ttm/
Dttm_bo_util.c50 struct ttm_mem_reg *old_mem = &bo->mem; in ttm_bo_move_ttm() local
53 if (old_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
56 ttm_flag_masked(&old_mem->placement, TTM_PL_FLAG_SYSTEM, in ttm_bo_move_ttm()
58 old_mem->mem_type = TTM_PL_SYSTEM; in ttm_bo_move_ttm()
71 *old_mem = *new_mem; in ttm_bo_move_ttm()
328 struct ttm_mem_reg *old_mem = &bo->mem; in ttm_bo_move_memcpy() local
329 struct ttm_mem_reg old_copy = *old_mem; in ttm_bo_move_memcpy()
338 ret = ttm_mem_reg_ioremap(bdev, old_mem, &old_iomap); in ttm_bo_move_memcpy()
363 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy()
364 (new_mem->start < old_mem->start + old_mem->size)) { in ttm_bo_move_memcpy()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_ttm.c212 struct ttm_mem_reg *old_mem = &bo->mem; in radeon_move_null() local
214 BUG_ON(old_mem->mm_node != NULL); in radeon_move_null()
215 *old_mem = *new_mem; in radeon_move_null()
222 struct ttm_mem_reg *old_mem) in radeon_move_blit() argument
231 old_start = old_mem->start << PAGE_SHIFT; in radeon_move_blit()
234 switch (old_mem->mem_type) { in radeon_move_blit()
242 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit()
253 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit()
281 struct ttm_mem_reg *old_mem = &bo->mem; in radeon_move_vram_ram() local
312 r = radeon_move_blit(bo, true, no_wait_gpu, &tmp_mem, old_mem); in radeon_move_vram_ram()
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_bo.c589 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nve0_bo_move_copy() argument
591 struct nouveau_mem *node = old_mem->mm_node; in nve0_bo_move_copy()
621 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nvc0_bo_move_copy() argument
623 struct nouveau_mem *node = old_mem->mm_node; in nvc0_bo_move_copy()
659 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nvc0_bo_move_m2mf() argument
661 struct nouveau_mem *node = old_mem->mm_node; in nvc0_bo_move_m2mf()
698 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nva3_bo_move_copy() argument
700 struct nouveau_mem *node = old_mem->mm_node; in nva3_bo_move_copy()
736 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nv98_bo_move_exec() argument
738 struct nouveau_mem *node = old_mem->mm_node; in nv98_bo_move_exec()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_ttm.c342 struct ttm_mem_reg *old_mem = &bo->mem; in qxl_move_null() local
344 BUG_ON(old_mem->mm_node != NULL); in qxl_move_null()
345 *old_mem = *new_mem; in qxl_move_null()
354 struct ttm_mem_reg *old_mem = &bo->mem; in qxl_bo_move() local
355 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()