Searched refs:tmp_mem (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c316 struct ttm_mem_reg tmp_mem; radeon_move_vram_ram() local
322 tmp_mem = *new_mem; radeon_move_vram_ram()
323 tmp_mem.mm_node = NULL; radeon_move_vram_ram()
331 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, radeon_move_vram_ram()
337 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); radeon_move_vram_ram()
342 r = ttm_tt_bind(bo->ttm, &tmp_mem); radeon_move_vram_ram()
346 r = radeon_move_blit(bo, true, no_wait_gpu, &tmp_mem, old_mem); radeon_move_vram_ram()
352 ttm_bo_mem_put(bo, &tmp_mem); radeon_move_vram_ram()
363 struct ttm_mem_reg tmp_mem; radeon_move_ram_vram() local
369 tmp_mem = *new_mem; radeon_move_ram_vram()
370 tmp_mem.mm_node = NULL; radeon_move_ram_vram()
378 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, radeon_move_ram_vram()
383 r = ttm_bo_move_ttm(bo, true, no_wait_gpu, &tmp_mem); radeon_move_ram_vram()
392 ttm_bo_mem_put(bo, &tmp_mem); radeon_move_ram_vram()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c285 struct ttm_mem_reg tmp_mem; amdgpu_move_vram_ram() local
291 tmp_mem = *new_mem; amdgpu_move_vram_ram()
292 tmp_mem.mm_node = NULL; amdgpu_move_vram_ram()
300 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, amdgpu_move_vram_ram()
306 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); amdgpu_move_vram_ram()
311 r = ttm_tt_bind(bo->ttm, &tmp_mem); amdgpu_move_vram_ram()
315 r = amdgpu_move_blit(bo, true, no_wait_gpu, &tmp_mem, old_mem); amdgpu_move_vram_ram()
321 ttm_bo_mem_put(bo, &tmp_mem); amdgpu_move_vram_ram()
332 struct ttm_mem_reg tmp_mem; amdgpu_move_ram_vram() local
338 tmp_mem = *new_mem; amdgpu_move_ram_vram()
339 tmp_mem.mm_node = NULL; amdgpu_move_ram_vram()
347 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, amdgpu_move_ram_vram()
352 r = ttm_bo_move_ttm(bo, true, no_wait_gpu, &tmp_mem); amdgpu_move_ram_vram()
361 ttm_bo_mem_put(bo, &tmp_mem); amdgpu_move_ram_vram()
/linux-4.4.14/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c1165 struct ttm_mem_reg tmp_mem; nouveau_bo_move_flipd() local
1171 tmp_mem = *new_mem; nouveau_bo_move_flipd()
1172 tmp_mem.mm_node = NULL; nouveau_bo_move_flipd()
1173 ret = ttm_bo_mem_space(bo, &placement, &tmp_mem, intr, no_wait_gpu); nouveau_bo_move_flipd()
1177 ret = ttm_tt_bind(bo->ttm, &tmp_mem); nouveau_bo_move_flipd()
1181 ret = nouveau_bo_move_m2mf(bo, true, intr, no_wait_gpu, &tmp_mem); nouveau_bo_move_flipd()
1187 ttm_bo_mem_put(bo, &tmp_mem); nouveau_bo_move_flipd()
1201 struct ttm_mem_reg tmp_mem; nouveau_bo_move_flips() local
1207 tmp_mem = *new_mem; nouveau_bo_move_flips()
1208 tmp_mem.mm_node = NULL; nouveau_bo_move_flips()
1209 ret = ttm_bo_mem_space(bo, &placement, &tmp_mem, intr, no_wait_gpu); nouveau_bo_move_flips()
1213 ret = ttm_bo_move_ttm(bo, true, no_wait_gpu, &tmp_mem); nouveau_bo_move_flips()
1222 ttm_bo_mem_put(bo, &tmp_mem); nouveau_bo_move_flips()
/linux-4.4.14/drivers/gpu/drm/ttm/
H A Dttm_bo.c342 struct ttm_mem_reg tmp_mem = *mem; ttm_bo_handle_move_mem() local
344 bo->mem = tmp_mem; ttm_bo_handle_move_mem()
347 *mem = tmp_mem; ttm_bo_handle_move_mem()

Completed in 127 milliseconds