Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/gpu/drm/ttm/
Dttm_device.c152 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_swapout()
242 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_device_fini()
244 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, NULL); in ttm_device_fini()
298 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_clear_dma_mappings()
Dttm_sys_manager.c47 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_sys_man_init()
Dttm_bo.c142 if (mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem()
525 if (bo->resource->mem_type == TTM_PL_SYSTEM) in ttm_bo_eviction_valuable()
914 if (!bo->resource || bo->resource->mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate()
962 static const struct ttm_place sys_mem = { .mem_type = TTM_PL_SYSTEM }; in ttm_bo_init_reserved()
1154 if (bo->resource->mem_type != TTM_PL_SYSTEM) { in ttm_bo_swapout()
1160 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
Dttm_bo_vm.c423 case TTM_PL_SYSTEM: in ttm_bo_vm_access()
Dttm_bo_util.c613 static const struct ttm_place sys_mem = { .mem_type = TTM_PL_SYSTEM }; in ttm_bo_pipeline_gutting()
/Linux-v6.1/drivers/gpu/drm/qxl/
Dqxl_ttm.c57 .mem_type = TTM_PL_SYSTEM, in qxl_evict_flags()
79 case TTM_PL_SYSTEM: in qxl_ttm_io_mem_reserve()
152 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
Dqxl_object.c81 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()
85 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_ttm.c88 .mem_type = TTM_PL_SYSTEM, in radeon_evict_flags()
220 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in radeon_bo_move()
224 if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
231 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move()
239 if ((old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
242 new_mem->mem_type == TTM_PL_SYSTEM)) { in radeon_bo_move()
274 case TTM_PL_SYSTEM: in radeon_ttm_io_mem_reserve()
Dradeon_object.h47 case TTM_PL_SYSTEM: in radeon_mem_type_to_domain()
Dradeon_object.c107 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
112 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
Dradeon_vm.c949 if (mem->mem_type != TTM_PL_SYSTEM) in radeon_vm_bo_update()
/Linux-v6.1/include/drm/ttm/
Dttm_placement.h51 #define TTM_PL_SYSTEM 0 macro
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c42 .mem_type = TTM_PL_SYSTEM,
134 .mem_type = TTM_PL_SYSTEM,
541 case TTM_PL_SYSTEM: in vmw_ttm_io_mem_reserve()
591 return mem_type == TTM_PL_SYSTEM || mem_type == VMW_PL_SYSTEM; in vmw_memtype_is_system()
Dvmwgfx_gem.c195 case TTM_PL_SYSTEM: in vmw_bo_print_info()
Dvmwgfx_resource.c867 if (new_mem->mem_type == TTM_PL_SYSTEM && in vmw_query_move_notify()
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_bo.c365 pl[*n].mem_type = TTM_PL_SYSTEM; in set_placement_list()
928 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy()
1020 if (!old_reg || (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1026 if (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1033 new_reg->mem_type == TTM_PL_SYSTEM) { in nouveau_bo_move()
1042 if ((old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1045 new_reg->mem_type == TTM_PL_SYSTEM)) { in nouveau_bo_move()
1109 case TTM_PL_SYSTEM: in nouveau_ttm_io_mem_reserve()
1231 if (bo->resource->mem_type != TTM_PL_SYSTEM) in nouveau_ttm_fault_reserve_notify()
Dnouveau_vmm.c99 if (nvbo->bo.resource->mem_type != TTM_PL_SYSTEM && in nouveau_vma_new()
/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.h56 #define I915_PL_SYSTEM TTM_PL_SYSTEM
/Linux-v6.1/drivers/gpu/drm/
Ddrm_gem_ttm_helper.c27 [ TTM_PL_SYSTEM ] = "system", in drm_gem_ttm_print_info()
Ddrm_gem_vram_helper.c157 gbo->placements[c].mem_type = TTM_PL_SYSTEM; in drm_gem_vram_placement()
255 gbo->bo.resource->mem_type == TTM_PL_SYSTEM)) in drm_gem_vram_pg_offset()
941 case TTM_PL_SYSTEM: /* nothing to do */ in bo_driver_io_mem_reserve()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c99 .mem_type = TTM_PL_SYSTEM, in amdgpu_evict_flags()
431 if (mem->mem_type == TTM_PL_SYSTEM || in amdgpu_mem_visible()
484 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
489 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
497 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move()
529 if (((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
532 new_mem->mem_type == TTM_PL_SYSTEM))) { in amdgpu_bo_move()
577 case TTM_PL_SYSTEM: in amdgpu_ttm_io_mem_reserve()
1267 if (mem && mem->mem_type != TTM_PL_SYSTEM) in amdgpu_ttm_tt_pde_flags()
1327 if (bo->resource->mem_type == TTM_PL_SYSTEM) in amdgpu_ttm_bo_eviction_valuable()
Damdgpu_object.c163 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain()
195 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain()
1252 bo->resource->mem_type != TTM_PL_SYSTEM) in amdgpu_bo_move_notify()
1473 WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_SYSTEM); in amdgpu_bo_gpu_offset()
Damdgpu_object.h147 case TTM_PL_SYSTEM: in amdgpu_mem_type_to_domain()
Damdgpu_dma_buf.c372 if (!bo->tbo.resource || bo->tbo.resource->mem_type == TTM_PL_SYSTEM) in amdgpu_dma_buf_move_notify()
/Linux-v6.1/drivers/gpu/drm/i915/
Dintel_region_ttm.c64 return TTM_PL_SYSTEM; in intel_region_to_ttm_type()

12