Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/ttm/
A Dttm_device.c151 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_swapout()
238 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_device_fini()
240 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, NULL); in ttm_device_fini()
284 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_clear_dma_mappings()
A Dttm_bo.c200 if (mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem()
577 if (bo->resource->mem_type == TTM_PL_SYSTEM) in ttm_bo_eviction_valuable()
876 if (bo->resource->mem_type == TTM_PL_SYSTEM && !bo->pin_count) in ttm_bo_mem_space()
945 if (bo->resource->mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate()
965 static const struct ttm_place sys_mem = { .mem_type = TTM_PL_SYSTEM }; in ttm_bo_init_reserved()
1132 if (bo->resource->mem_type != TTM_PL_SYSTEM) { in ttm_bo_swapout()
1138 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
A Dttm_sys_manager.c46 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_sys_man_init()
A Dttm_bo_vm.c431 case TTM_PL_SYSTEM: in ttm_bo_vm_access()
A Dttm_bo_util.c585 static const struct ttm_place sys_mem = { .mem_type = TTM_PL_SYSTEM }; in ttm_bo_pipeline_gutting()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_ttm_buffer.c42 .mem_type = TTM_PL_SYSTEM,
120 .mem_type = TTM_PL_SYSTEM,
144 .mem_type = TTM_PL_SYSTEM,
626 case TTM_PL_SYSTEM: in vmw_ttm_io_mem_reserve()
683 if (new_man->use_tt && new_mem->mem_type != TTM_PL_SYSTEM) { in vmw_move()
692 if (bo->resource->mem_type == TTM_PL_SYSTEM) { in vmw_move()
A Dvmwgfx_resource.c877 if (new_mem->mem_type == TTM_PL_SYSTEM && in vmw_query_move_notify()
/linux/drivers/gpu/drm/qxl/
A 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()
A 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/drivers/gpu/drm/radeon/
A Dradeon_ttm.c88 .mem_type = TTM_PL_SYSTEM, in radeon_evict_flags()
223 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in radeon_bo_move()
227 if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
234 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move()
242 if ((old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move()
245 new_mem->mem_type == TTM_PL_SYSTEM)) { in radeon_bo_move()
277 case TTM_PL_SYSTEM: in radeon_ttm_io_mem_reserve()
685 unsigned int old_type = TTM_PL_SYSTEM; in radeon_bo_delete_mem_notify()
A Dradeon_object.h47 case TTM_PL_SYSTEM: in radeon_mem_type_to_domain()
A Dradeon_object.c128 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
133 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_bo.c363 pl[*n].mem_type = TTM_PL_SYSTEM; in set_placement_list()
917 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy()
1002 if (old_reg->mem_type == TTM_PL_SYSTEM && !bo->ttm) { in nouveau_bo_move()
1007 if (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1014 new_reg->mem_type == TTM_PL_SYSTEM) { in nouveau_bo_move()
1023 if ((old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move()
1026 new_reg->mem_type == TTM_PL_SYSTEM)) { in nouveau_bo_move()
1090 case TTM_PL_SYSTEM: in nouveau_ttm_io_mem_reserve()
1212 if (bo->resource->mem_type != TTM_PL_SYSTEM) in nouveau_ttm_fault_reserve_notify()
A Dnouveau_vmm.c99 if (nvbo->bo.resource->mem_type != TTM_PL_SYSTEM && in nouveau_vma_new()
/linux/include/drm/ttm/
A Dttm_placement.h40 #define TTM_PL_SYSTEM 0 macro
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.h57 #define I915_PL_SYSTEM TTM_PL_SYSTEM
A Di915_gem_ttm.c108 return mem->mem_type != TTM_PL_SYSTEM; in gpu_binds_iomem()
114 return mem->mem_type != TTM_PL_SYSTEM; in cpu_maps_iomem()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ttm.c97 .mem_type = TTM_PL_SYSTEM, in amdgpu_evict_flags()
443 if (mem->mem_type == TTM_PL_SYSTEM || in amdgpu_mem_visible()
487 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in amdgpu_bo_move()
491 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
499 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move()
531 if (((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move()
534 new_mem->mem_type == TTM_PL_SYSTEM))) { in amdgpu_bo_move()
579 case TTM_PL_SYSTEM: in amdgpu_ttm_io_mem_reserve()
1302 if (mem && mem->mem_type != TTM_PL_SYSTEM) in amdgpu_ttm_tt_pde_flags()
1362 if (bo->resource->mem_type == TTM_PL_SYSTEM) in amdgpu_ttm_bo_eviction_valuable()
A Damdgpu_res_cursor.h57 if (!res || res->mem_type == TTM_PL_SYSTEM) { in amdgpu_res_first()
A Damdgpu_object.c162 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain()
194 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain()
1223 bo->resource->mem_type != TTM_PL_SYSTEM) in amdgpu_bo_move_notify()
1435 WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_SYSTEM); in amdgpu_bo_gpu_offset()
A Damdgpu_object.h148 case TTM_PL_SYSTEM: in amdgpu_mem_type_to_domain()
A Damdgpu_dma_buf.c387 if (!bo->tbo.resource || bo->tbo.resource->mem_type == TTM_PL_SYSTEM) in amdgpu_dma_buf_move_notify()
/linux/drivers/gpu/drm/
A Ddrm_gem_ttm_helper.c27 [ TTM_PL_SYSTEM ] = "system", in drm_gem_ttm_print_info()
A Ddrm_gem_vram_helper.c156 gbo->placements[c].mem_type = TTM_PL_SYSTEM; in drm_gem_vram_placement()
254 gbo->bo.resource->mem_type == TTM_PL_SYSTEM)) in drm_gem_vram_pg_offset()
924 case TTM_PL_SYSTEM: /* nothing to do */ in bo_driver_io_mem_reserve()
/linux/drivers/gpu/drm/i915/
A Dintel_region_ttm.c63 return TTM_PL_SYSTEM; in intel_region_to_ttm_type()

Completed in 42 milliseconds

12