Home
last modified time | relevance | path

Searched refs:new_mem (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnouveau_bo.c485 struct ttm_mem_reg *new_mem) in nouveau_bo_move_accel_cleanup() argument
495 no_wait_reserve, no_wait_gpu, new_mem); in nouveau_bo_move_accel_cleanup()
502 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nvc0_bo_move_m2mf() argument
505 struct nouveau_mem *new_node = new_mem->mm_node; in nvc0_bo_move_m2mf()
507 u32 page_count = new_mem->num_pages; in nvc0_bo_move_m2mf()
517 page_count = new_mem->num_pages; in nvc0_bo_move_m2mf()
548 struct ttm_mem_reg *old_mem, struct ttm_mem_reg *new_mem) in nv50_bo_move_m2mf() argument
551 struct nouveau_mem *new_node = new_mem->mm_node; in nv50_bo_move_m2mf()
553 u64 length = (new_mem->num_pages << PAGE_SHIFT); in nv50_bo_move_m2mf()
570 if (new_mem->mem_type == TTM_PL_VRAM && in nv50_bo_move_m2mf()
[all …]
/linux-2.6.39/drivers/gpu/drm/ttm/
Dttm_bo_util.c47 bool no_wait_gpu, struct ttm_mem_reg *new_mem) in ttm_bo_move_ttm() argument
61 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); in ttm_bo_move_ttm()
65 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
66 ret = ttm_tt_bind(ttm, new_mem); in ttm_bo_move_ttm()
71 *old_mem = *new_mem; in ttm_bo_move_ttm()
72 new_mem->mm_node = NULL; in ttm_bo_move_ttm()
318 struct ttm_mem_reg *new_mem) in ttm_bo_move_memcpy() argument
321 struct ttm_mem_type_manager *man = &bdev->man[new_mem->mem_type]; in ttm_bo_move_memcpy()
336 ret = ttm_mem_reg_ioremap(bdev, new_mem, &new_iomap); in ttm_bo_move_memcpy()
348 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy()
[all …]
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_ttm.c227 struct ttm_mem_reg *new_mem) in radeon_move_null() argument
232 *old_mem = *new_mem; in radeon_move_null()
233 new_mem->mm_node = NULL; in radeon_move_null()
238 struct ttm_mem_reg *new_mem, in radeon_move_blit() argument
252 new_start = new_mem->start << PAGE_SHIFT; in radeon_move_blit()
265 switch (new_mem->mem_type) { in radeon_move_blit()
280 r = radeon_copy(rdev, old_start, new_start, new_mem->num_pages, fence); in radeon_move_blit()
283 evict, no_wait_reserve, no_wait_gpu, new_mem); in radeon_move_blit()
291 struct ttm_mem_reg *new_mem) in radeon_move_vram_ram() argument
301 tmp_mem = *new_mem; in radeon_move_vram_ram()
[all …]
/linux-2.6.39/drivers/staging/gma500/
Dpsb_buffer.c136 struct ttm_mem_reg *new_mem) in psb_move_blit() argument
149 struct ttm_mem_reg *new_mem) in psb_move_flip() argument
157 tmp_mem = *new_mem; in psb_move_flip()
178 ret = ttm_bo_move_ttm(bo, evict, false, no_wait, new_mem); in psb_move_flip()
189 bool no_wait, struct ttm_mem_reg *new_mem) in psb_move() argument
194 (new_mem->mem_type == TTM_PL_RAR)) { in psb_move()
201 *old_mem = *new_mem; in psb_move()
203 return ttm_bo_move_memcpy(bo, evict, false, no_wait, new_mem); in psb_move()
204 } else if (new_mem->mem_type == TTM_PL_SYSTEM) { in psb_move()
206 no_wait, new_mem); in psb_move()
[all …]
/linux-2.6.39/include/drm/ttm/
Dttm_bo_driver.h407 struct ttm_mem_reg *new_mem);
444 struct ttm_mem_reg *new_mem);
971 bool no_wait_gpu, struct ttm_mem_reg *new_mem);
994 bool no_wait_gpu, struct ttm_mem_reg *new_mem);
1030 struct ttm_mem_reg *new_mem);
/linux-2.6.39/drivers/pci/hotplug/
Dibmphp_res.c208 struct resource_node *new_mem = NULL; in ibmphp_rsrc_init() local
301 new_mem = alloc_resources (curr); in ibmphp_rsrc_init()
302 if (!new_mem) in ibmphp_rsrc_init()
304 new_mem->type = MEM; in ibmphp_rsrc_init()
312 if (ibmphp_add_resource (new_mem) < 0) { in ibmphp_rsrc_init()
316 newbus->firstMem = new_mem; in ibmphp_rsrc_init()
318 new_mem->rangeno = -1; in ibmphp_rsrc_init()
320 …y resource for device %x, bus %x, [%x - %x]\n", new_mem->devfunc, new_mem->busno, new_mem->start, in ibmphp_rsrc_init()