Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_ttm.c263 struct ttm_mem_reg tmp_mem; in radeon_move_vram_ram() local
268 tmp_mem = *new_mem; in radeon_move_vram_ram()
269 tmp_mem.mm_node = NULL; in radeon_move_vram_ram()
277 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, &ctx); in radeon_move_vram_ram()
282 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); in radeon_move_vram_ram()
287 r = ttm_tt_bind(bo->ttm, &tmp_mem, &ctx); in radeon_move_vram_ram()
291 r = radeon_move_blit(bo, true, no_wait_gpu, &tmp_mem, old_mem); in radeon_move_vram_ram()
297 ttm_bo_mem_put(bo, &tmp_mem); in radeon_move_vram_ram()
308 struct ttm_mem_reg tmp_mem; in radeon_move_ram_vram() local
313 tmp_mem = *new_mem; in radeon_move_ram_vram()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c489 struct ttm_mem_reg tmp_mem; in amdgpu_move_vram_ram() local
497 tmp_mem = *new_mem; in amdgpu_move_vram_ram()
498 tmp_mem.mm_node = NULL; in amdgpu_move_vram_ram()
506 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, ctx); in amdgpu_move_vram_ram()
513 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); in amdgpu_move_vram_ram()
519 r = ttm_tt_bind(bo->ttm, &tmp_mem, ctx); in amdgpu_move_vram_ram()
525 r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, &tmp_mem, old_mem); in amdgpu_move_vram_ram()
533 ttm_bo_mem_put(bo, &tmp_mem); in amdgpu_move_vram_ram()
548 struct ttm_mem_reg tmp_mem; in amdgpu_move_ram_vram() local
556 tmp_mem = *new_mem; in amdgpu_move_ram_vram()
[all …]
Damdgpu_amdkfd_gpuvm.c1686 struct kgd_mem *mem, *tmp_mem; in update_invalid_user_pages() local
1694 list_for_each_entry_safe(mem, tmp_mem, in update_invalid_user_pages()
1768 struct kgd_mem *mem, *tmp_mem; in validate_invalid_user_pages() local
1813 list_for_each_entry_safe(mem, tmp_mem, in validate_invalid_user_pages()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c586 struct mlx5dr_rule_member *tmp_mem; in dr_rule_clean_rule_members() local
590 list_for_each_entry_safe(rule_mem, tmp_mem, &nic_rule->rule_members_list, list) { in dr_rule_clean_rule_members()