/linux-6.3-rc2/drivers/gpu/drm/ttm/ |
A D | ttm_device.c | 152 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_swapout() 236 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_device_fini() 238 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, NULL); in ttm_device_fini() 290 for (i = TTM_PL_SYSTEM; i < TTM_NUM_MEM_TYPES; ++i) { in ttm_device_clear_dma_mappings()
|
A D | ttm_sys_manager.c | 47 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_sys_man_init()
|
A D | ttm_bo.c | 141 if (mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem() 494 if (bo->resource->mem_type == TTM_PL_SYSTEM) in ttm_bo_eviction_valuable() 908 if (!bo->resource || bo->resource->mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate() 956 static const struct ttm_place sys_mem = { .mem_type = TTM_PL_SYSTEM }; in ttm_bo_init_reserved() 1160 if (bo->resource->mem_type != TTM_PL_SYSTEM) { in ttm_bo_swapout() 1166 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
|
A D | ttm_bo_vm.c | 418 case TTM_PL_SYSTEM: in ttm_bo_vm_access()
|
A D | ttm_bo_util.c | 707 static const struct ttm_place sys_mem = { .mem_type = TTM_PL_SYSTEM }; in ttm_bo_pipeline_gutting()
|
/linux-6.3-rc2/drivers/gpu/drm/qxl/ |
A D | qxl_ttm.c | 57 .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 D | qxl_object.c | 81 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-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | radeon_ttm.c | 88 .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()
|
A D | radeon_object.h | 47 case TTM_PL_SYSTEM: in radeon_mem_type_to_domain()
|
A D | radeon_object.c | 107 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()
|
/linux-6.3-rc2/include/drm/ttm/ |
A D | ttm_placement.h | 51 #define TTM_PL_SYSTEM 0 macro
|
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_ttm_buffer.c | 41 .mem_type = TTM_PL_SYSTEM, 133 .mem_type = TTM_PL_SYSTEM, 540 case TTM_PL_SYSTEM: in vmw_ttm_io_mem_reserve() 590 return mem_type == TTM_PL_SYSTEM || mem_type == VMW_PL_SYSTEM; in vmw_memtype_is_system()
|
A D | vmwgfx_gem.c | 195 case TTM_PL_SYSTEM: in vmw_bo_print_info()
|
A D | vmwgfx_resource.c | 834 if (new_mem->mem_type == TTM_PL_SYSTEM && in vmw_query_move_notify()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_bo.c | 366 pl[*n].mem_type = TTM_PL_SYSTEM; in set_placement_list() 933 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy() 1028 if (!old_reg || (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1034 if (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1041 new_reg->mem_type == TTM_PL_SYSTEM) { in nouveau_bo_move() 1050 if ((old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1053 new_reg->mem_type == TTM_PL_SYSTEM)) { in nouveau_bo_move() 1117 case TTM_PL_SYSTEM: in nouveau_ttm_io_mem_reserve() 1239 if (bo->resource->mem_type != TTM_PL_SYSTEM) in nouveau_ttm_fault_reserve_notify()
|
A D | nouveau_vmm.c | 99 if (nvbo->bo.resource->mem_type != TTM_PL_SYSTEM && in nouveau_vma_new()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ttm.h | 64 #define I915_PL_SYSTEM TTM_PL_SYSTEM
|
A D | i915_gem_ttm_move.c | 585 if (dst_mem->mem_type != TTM_PL_SYSTEM) { in i915_ttm_move() 586 hop->mem_type = TTM_PL_SYSTEM; in i915_ttm_move()
|
/linux-6.3-rc2/drivers/gpu/drm/ |
A D | drm_gem_ttm_helper.c | 29 [ TTM_PL_SYSTEM ] = "system", in drm_gem_ttm_print_info()
|
A D | drm_gem_vram_helper.c | 158 gbo->placements[c].mem_type = TTM_PL_SYSTEM; in drm_gem_vram_placement() 256 gbo->bo.resource->mem_type == TTM_PL_SYSTEM)) in drm_gem_vram_pg_offset() 930 case TTM_PL_SYSTEM: /* nothing to do */ in bo_driver_io_mem_reserve()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_ttm.c | 100 .mem_type = TTM_PL_SYSTEM, in amdgpu_evict_flags() 423 if (mem->mem_type == TTM_PL_SYSTEM || in amdgpu_mem_visible() 476 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 481 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 489 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move() 521 if (((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 524 new_mem->mem_type == TTM_PL_SYSTEM))) { in amdgpu_bo_move() 569 case TTM_PL_SYSTEM: in amdgpu_ttm_io_mem_reserve() 1266 if (mem && mem->mem_type != TTM_PL_SYSTEM) in amdgpu_ttm_tt_pde_flags() 1326 if (bo->resource->mem_type == TTM_PL_SYSTEM) in amdgpu_ttm_bo_eviction_valuable()
|
A D | amdgpu_object.c | 163 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() 1253 bo->resource->mem_type != TTM_PL_SYSTEM) in amdgpu_bo_move_notify() 1474 WARN_ON_ONCE(bo->tbo.resource->mem_type == TTM_PL_SYSTEM); in amdgpu_bo_gpu_offset()
|
A D | amdgpu_object.h | 147 case TTM_PL_SYSTEM: in amdgpu_mem_type_to_domain()
|
A D | amdgpu_dma_buf.c | 375 if (!bo->tbo.resource || bo->tbo.resource->mem_type == TTM_PL_SYSTEM) in amdgpu_dma_buf_move_notify()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | intel_region_ttm.c | 63 return TTM_PL_SYSTEM; in intel_region_to_ttm_type()
|