Home
last modified time | relevance | path

Searched refs:tmp_mem (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_ttm.c317 struct ttm_mem_reg tmp_mem; in radeon_move_vram_ram() local
323 tmp_mem = *new_mem; in radeon_move_vram_ram()
324 tmp_mem.mm_node = NULL; in radeon_move_vram_ram()
332 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, &ctx); in radeon_move_vram_ram()
337 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); in radeon_move_vram_ram()
342 r = ttm_tt_bind(bo->ttm, &tmp_mem, &ctx); in radeon_move_vram_ram()
346 r = radeon_move_blit(bo, true, no_wait_gpu, &tmp_mem, old_mem); in radeon_move_vram_ram()
352 ttm_bo_mem_put(bo, &tmp_mem); in radeon_move_vram_ram()
364 struct ttm_mem_reg tmp_mem; in radeon_move_ram_vram() local
370 tmp_mem = *new_mem; in radeon_move_ram_vram()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c550 struct ttm_mem_reg tmp_mem; in amdgpu_move_vram_ram() local
558 tmp_mem = *new_mem; in amdgpu_move_vram_ram()
559 tmp_mem.mm_node = NULL; in amdgpu_move_vram_ram()
567 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, ctx); in amdgpu_move_vram_ram()
573 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); in amdgpu_move_vram_ram()
579 r = ttm_tt_bind(bo->ttm, &tmp_mem, ctx); in amdgpu_move_vram_ram()
585 r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, &tmp_mem, old_mem); in amdgpu_move_vram_ram()
593 ttm_bo_mem_put(bo, &tmp_mem); in amdgpu_move_vram_ram()
608 struct ttm_mem_reg tmp_mem; in amdgpu_move_ram_vram() local
616 tmp_mem = *new_mem; in amdgpu_move_ram_vram()
[all …]
Damdgpu_amdkfd_gpuvm.c1668 struct kgd_mem *mem, *tmp_mem; in update_invalid_user_pages() local
1676 list_for_each_entry_safe(mem, tmp_mem, in update_invalid_user_pages()
1766 struct kgd_mem *mem, *tmp_mem; in validate_invalid_user_pages() local
1819 list_for_each_entry_safe(mem, tmp_mem, in validate_invalid_user_pages()