Searched refs:old_mem (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/gpu/drm/ttm/ |
D | ttm_bo_util.c | 50 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() 323 struct ttm_mem_reg *old_mem = &bo->mem; in ttm_bo_move_memcpy() local 333 ret = ttm_mem_reg_ioremap(bdev, old_mem, &old_iomap); in ttm_bo_move_memcpy() 348 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy() 349 (new_mem->start < old_mem->start + old_mem->size)) { in ttm_bo_move_memcpy() 357 pgprot_t prot = ttm_io_prot(old_mem->placement, in ttm_bo_move_memcpy() [all …]
|
/linux-2.6.39/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 229 struct ttm_mem_reg *old_mem = &bo->mem; in radeon_move_null() local 231 BUG_ON(old_mem->mm_node != NULL); in radeon_move_null() 232 *old_mem = *new_mem; in radeon_move_null() 239 struct ttm_mem_reg *old_mem) in radeon_move_blit() argument 251 old_start = old_mem->start << PAGE_SHIFT; in radeon_move_blit() 254 switch (old_mem->mem_type) { in radeon_move_blit() 262 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit() 273 DRM_ERROR("Unknown placement %d\n", old_mem->mem_type); in radeon_move_blit() 294 struct ttm_mem_reg *old_mem = &bo->mem; in radeon_move_vram_ram() local 325 r = radeon_move_blit(bo, true, no_wait_reserve, no_wait_gpu, &tmp_mem, old_mem); in radeon_move_vram_ram() [all …]
|
/linux-2.6.39/drivers/staging/gma500/ |
D | psb_buffer.c | 191 struct ttm_mem_reg *old_mem = &bo->mem; in psb_move() local 193 if ((old_mem->mem_type == TTM_PL_RAR) || in psb_move() 195 if (old_mem->mm_node) { in psb_move() 197 drm_mm_put_block(old_mem->mm_node); in psb_move() 200 old_mem->mm_node = NULL; in psb_move() 201 *old_mem = *new_mem; in psb_move() 202 } else if (old_mem->mem_type == TTM_PL_SYSTEM) { in psb_move()
|
/linux-2.6.39/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 502 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nvc0_bo_move_m2mf() argument 504 struct nouveau_mem *old_node = old_mem->mm_node; in nvc0_bo_move_m2mf() 548 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nv50_bo_move_m2mf() argument 550 struct nouveau_mem *old_node = old_mem->mm_node; in nv50_bo_move_m2mf() 592 if (old_mem->mem_type == TTM_PL_VRAM && in nv50_bo_move_m2mf() 653 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nv04_bo_move_m2mf() argument 655 u32 src_offset = old_mem->start << PAGE_SHIFT; in nv04_bo_move_m2mf() 665 OUT_RING (chan, nouveau_bo_mem_ctxdma(bo, chan, old_mem)); in nv04_bo_move_m2mf() 704 struct ttm_mem_reg *old_mem = &bo->mem; in nouveau_bo_move_m2mf() local 718 struct nouveau_mem *node = old_mem->mm_node; in nouveau_bo_move_m2mf() [all …]
|