Home
last modified time | relevance | path

Searched refs:TTM_PL_SYSTEM (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_ttm.c58 .mem_type = TTM_PL_SYSTEM, in qxl_evict_flags()
80 case TTM_PL_SYSTEM: in qxl_ttm_io_mem_reserve()
167 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
Dqxl_object.c78 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()
82 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_placement.h40 #define TTM_PL_SYSTEM 0 macro
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c50 .mem_type = TTM_PL_SYSTEM,
57 .mem_type = TTM_PL_SYSTEM,
186 .mem_type = TTM_PL_SYSTEM,
210 .mem_type = TTM_PL_SYSTEM,
747 case TTM_PL_SYSTEM: in vmw_ttm_io_mem_reserve()
Dvmwgfx_resource.c876 if (mem->mem_type == TTM_PL_SYSTEM && bo->mem.mem_type == VMW_PL_MOB) { in vmw_query_move_notify()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo.c262 if (mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem()
272 if (bo->mem.mem_type == TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem()
998 if (bo->mem.mem_type == TTM_PL_SYSTEM && !list_empty(&bo->lru)) { in ttm_bo_mem_space()
1112 if (bo->mem.mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate()
1168 bo->mem.mem_type = TTM_PL_SYSTEM; in ttm_bo_init_reserved()
1395 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_bo_device_release()
1397 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, NULL); in ttm_bo_device_release()
1432 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_bo_init_sysman()
1556 if (bo->mem.mem_type != TTM_PL_SYSTEM || in ttm_bo_swapout()
1564 evict_mem.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
Dttm_bo_util.c61 if (old_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
72 old_mem->mem_type = TTM_PL_SYSTEM; in ttm_bo_move_ttm()
79 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
649 bo->mem.mem_type = TTM_PL_SYSTEM; in ttm_bo_pipeline_gutting()
Dttm_resource.c51 res->mem_type = TTM_PL_SYSTEM; in ttm_resource_free()
Dttm_bo_vm.c502 case TTM_PL_SYSTEM: in ttm_bo_vm_access()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_ttm_helper.c27 [ TTM_PL_SYSTEM ] = "system", in drm_gem_ttm_print_info()
Ddrm_gem_vram_helper.c156 gbo->placements[c].mem_type = TTM_PL_SYSTEM; in drm_gem_vram_placement()
990 case TTM_PL_SYSTEM: /* nothing to do */ in bo_driver_io_mem_reserve()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c91 .mem_type = TTM_PL_SYSTEM, in radeon_evict_flags()
317 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in radeon_bo_move()
322 new_mem->mem_type == TTM_PL_SYSTEM) || in radeon_bo_move()
323 (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
336 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move()
339 } else if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
367 case TTM_PL_SYSTEM: in radeon_ttm_io_mem_reserve()
Dradeon_object.c148 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
154 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
159 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
165 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
Dradeon_object.h47 case TTM_PL_SYSTEM: in radeon_mem_type_to_domain()
Dradeon_vm.c950 if (mem->mem_type != TTM_PL_SYSTEM) in radeon_vm_bo_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_bo.c374 pl[*n].mem_type = TTM_PL_SYSTEM; in set_placement_list()
997 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy()
1077 if (old_reg->mem_type == TTM_PL_SYSTEM && !bo->ttm) { in nouveau_bo_move()
1084 if (new_reg->mem_type == TTM_PL_SYSTEM) in nouveau_bo_move()
1088 else if (old_reg->mem_type == TTM_PL_SYSTEM) in nouveau_bo_move()
1157 case TTM_PL_SYSTEM: in nouveau_ttm_io_mem_reserve()
1271 if (bo->mem.mem_type == TTM_PL_SYSTEM) { in nouveau_ttm_fault_reserve_notify()
Dnouveau_vmm.c99 if (nvbo->bo.mem.mem_type != TTM_PL_SYSTEM && in nouveau_vma_new()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c94 .mem_type = TTM_PL_SYSTEM, in amdgpu_evict_flags()
635 if (mem->mem_type == TTM_PL_SYSTEM || in amdgpu_mem_visible()
670 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in amdgpu_bo_move()
675 new_mem->mem_type == TTM_PL_SYSTEM) || in amdgpu_bo_move()
676 (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
699 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move()
701 } else if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
749 case TTM_PL_SYSTEM: in amdgpu_ttm_io_mem_reserve()
1527 if (mem && mem->mem_type != TTM_PL_SYSTEM) in amdgpu_ttm_tt_pde_flags()
2561 { "amdgpu_iomem", &amdgpu_ttm_iomem_fops, TTM_PL_SYSTEM },
Damdgpu_object.c168 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain()
205 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain()
1295 bo->mem.mem_type != TTM_PL_SYSTEM) in amdgpu_bo_move_notify()
1490 WARN_ON_ONCE(bo->tbo.mem.mem_type == TTM_PL_SYSTEM); in amdgpu_bo_gpu_offset()
Damdgpu_object.h135 case TTM_PL_SYSTEM: in amdgpu_mem_type_to_domain()
Damdgpu_dma_buf.c525 if (bo->tbo.mem.mem_type == TTM_PL_SYSTEM) in amdgpu_dma_buf_move_notify()
Damdgpu_amdkfd_gpuvm.c1410 bo->tbo.mem.mem_type == TTM_PL_SYSTEM) in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()