Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c215 struct ttm_resource tmp_mem; in radeon_move_vram_ram() local
220 tmp_mem = *new_mem; in radeon_move_vram_ram()
221 tmp_mem.mm_node = NULL; in radeon_move_vram_ram()
230 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, &ctx); in radeon_move_vram_ram()
235 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); in radeon_move_vram_ram()
245 r = radeon_ttm_tt_bind(bo->bdev, bo->ttm, &tmp_mem); in radeon_move_vram_ram()
249 r = radeon_move_blit(bo, true, no_wait_gpu, &tmp_mem, old_mem); in radeon_move_vram_ram()
255 ttm_resource_free(bo, &tmp_mem); in radeon_move_vram_ram()
266 struct ttm_resource tmp_mem; in radeon_move_ram_vram() local
271 tmp_mem = *new_mem; in radeon_move_ram_vram()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c526 struct ttm_resource tmp_mem; in amdgpu_move_vram_ram() local
532 tmp_mem = *new_mem; in amdgpu_move_vram_ram()
533 tmp_mem.mm_node = NULL; in amdgpu_move_vram_ram()
542 r = ttm_bo_mem_space(bo, &placement, &tmp_mem, ctx); in amdgpu_move_vram_ram()
549 r = ttm_tt_set_placement_caching(bo->ttm, tmp_mem.placement); in amdgpu_move_vram_ram()
559 r = amdgpu_ttm_backend_bind(bo->bdev, bo->ttm, &tmp_mem); in amdgpu_move_vram_ram()
565 r = amdgpu_move_blit(bo, evict, &tmp_mem, old_mem); in amdgpu_move_vram_ram()
573 ttm_resource_free(bo, &tmp_mem); in amdgpu_move_vram_ram()
587 struct ttm_resource tmp_mem; in amdgpu_move_ram_vram() local
593 tmp_mem = *new_mem; in amdgpu_move_ram_vram()
[all …]
Damdgpu_amdkfd_gpuvm.c1750 struct kgd_mem *mem, *tmp_mem; in update_invalid_user_pages() local
1758 list_for_each_entry_safe(mem, tmp_mem, in update_invalid_user_pages()
1836 struct kgd_mem *mem, *tmp_mem; in validate_invalid_user_pages() local
1880 list_for_each_entry_safe(mem, tmp_mem, in validate_invalid_user_pages()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c585 struct mlx5dr_rule_member *tmp_mem; in dr_rule_clean_rule_members() local
589 list_for_each_entry_safe(rule_mem, tmp_mem, &nic_rule->rule_members_list, list) { in dr_rule_clean_rule_members()