| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_resource_test.c | 83 .mem_type = TTM_PL_SYSTEM, 95 .mem_type = TTM_PL_SYSTEM, 121 if (params->mem_type > TTM_PL_SYSTEM) in ttm_resource_init_basic() 159 ttm_init_test_mocks(test, priv, TTM_PL_SYSTEM, 0); in ttm_resource_init_pinned() 189 ttm_init_test_mocks(test, priv, TTM_PL_SYSTEM, 0); in ttm_resource_fini_basic() 236 ttm_init_test_mocks(test, priv, TTM_PL_SYSTEM, TTM_PL_FLAG_TOPDOWN); in ttm_resource_manager_usage_basic() 258 man = ttm_manager_type(priv->devs->ttm_dev, TTM_PL_SYSTEM); in ttm_resource_manager_set_used_basic() 272 u32 mem_type = TTM_PL_SYSTEM; in ttm_sys_man_alloc_basic() 297 u32 mem_type = TTM_PL_SYSTEM; in ttm_sys_man_free_basic()
|
| H A D | ttm_bo_validate_test.c | 119 place = ttm_place_kunit_init(test, TTM_PL_SYSTEM, 0); in ttm_bo_init_reserved_sys_man() 208 place = ttm_place_kunit_init(test, TTM_PL_SYSTEM, 0); in ttm_bo_init_reserved_resv() 230 u32 fst_mem = TTM_PL_SYSTEM, snd_mem = TTM_PL_VRAM; in ttm_bo_validate_basic() 333 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_validate_pinned() 362 .mem_type = TTM_PL_SYSTEM, 387 if (params->mem_type != TTM_PL_SYSTEM) in ttm_bo_validate_same_placement() 408 if (params->mem_type != TTM_PL_SYSTEM) in ttm_bo_validate_same_placement() 428 init_place = ttm_place_kunit_init(test, TTM_PL_SYSTEM, 0); in ttm_bo_validate_busy_placement() 465 u32 fst_mem = TTM_PL_VRAM, tmp_mem = TTM_PL_TT, final_mem = TTM_PL_SYSTEM; in ttm_bo_validate_multihop() 524 u32 mem_type = TTM_PL_SYSTEM; in ttm_bo_validate_no_placement_signaled() [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_ttm_buffer.c | 42 .mem_type = TTM_PL_SYSTEM, 443 case TTM_PL_SYSTEM: in vmw_ttm_io_mem_reserve() 493 return mem_type == TTM_PL_SYSTEM || mem_type == VMW_PL_SYSTEM; in vmw_memtype_is_system() 516 if (!bo->resource || (bo->resource->mem_type == TTM_PL_SYSTEM && in vmw_move()
|
| H A D | vmwgfx_bo.c | 790 pl[n].mem_type = TTM_PL_SYSTEM; in set_placement_list() 800 pl[n].mem_type = TTM_PL_SYSTEM; in set_placement_list() 822 if (bo->tbo.resource->mem_type == TTM_PL_SYSTEM || in vmw_bo_placement_set()
|
| /linux/include/drm/ttm/ |
| H A D | ttm_placement.h | 51 #define TTM_PL_SYSTEM 0 macro
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_sys_manager.c | 47 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_sys_man_init()
|
| H A D | ttm_bo.c | 146 if (mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem() 429 if (bo->resource->mem_type == TTM_PL_SYSTEM) in ttm_bo_eviction_valuable() 741 may_evict = (force_space && place->mem_type != TTM_PL_SYSTEM); in ttm_bo_alloc_resource() 889 if (!bo->resource || bo->resource->mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate() 1150 if (bo->resource->mem_type != TTM_PL_SYSTEM) { in ttm_bo_swapout_cb() 1155 place.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout_cb()
|
| H A D | ttm_bo_vm.c | 443 case TTM_PL_SYSTEM: in ttm_bo_access()
|
| H A D | ttm_bo_util.c | 1094 .mem_type = TTM_PL_SYSTEM, in ttm_bo_shrink() 1106 if (flags.allow_move && bo->resource->mem_type != TTM_PL_SYSTEM) { in ttm_bo_shrink()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ttm.h | 65 #define I915_PL_SYSTEM TTM_PL_SYSTEM
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bo.c | 534 pl[*n].mem_type = TTM_PL_SYSTEM; in nouveau_bo_placement_set() 1080 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy() 1175 if (!old_reg || (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1181 if (old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1188 new_reg->mem_type == TTM_PL_SYSTEM) { in nouveau_bo_move() 1197 if ((old_reg->mem_type == TTM_PL_SYSTEM && in nouveau_bo_move() 1200 new_reg->mem_type == TTM_PL_SYSTEM)) { in nouveau_bo_move() 1265 case TTM_PL_SYSTEM: in nouveau_ttm_io_mem_reserve() 1389 if (bo->resource->mem_type != TTM_PL_SYSTEM) in nouveau_ttm_fault_reserve_notify()
|
| H A D | nouveau_vmm.c | 99 if (nvbo->bo.resource->mem_type != TTM_PL_SYSTEM && in nouveau_vma_new()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 98 .mem_type = TTM_PL_SYSTEM, in amdgpu_evict_flags() 442 if (res->mem_type == TTM_PL_SYSTEM || res->mem_type == TTM_PL_TT || in amdgpu_res_cpu_visible() 504 if (!old_mem || (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 510 if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 519 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move() 557 ((old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 560 new_mem->mem_type == TTM_PL_SYSTEM))) { in amdgpu_bo_move() 605 case TTM_PL_SYSTEM: in amdgpu_ttm_io_mem_reserve() 1323 if (mem && mem->mem_type != TTM_PL_SYSTEM) in amdgpu_ttm_tt_pde_flags() 1385 if (bo->resource->mem_type == TTM_PL_SYSTEM) in amdgpu_ttm_bo_eviction_valuable()
|
| H A D | amdgpu_dma_buf.c | 464 if (!bo->tbo.resource || bo->tbo.resource->mem_type == TTM_PL_SYSTEM) in amdgpu_dma_buf_move_notify()
|
| H A D | amdgpu_amdkfd_gpuvm.c | 2060 bo->tbo.resource->mem_type == TTM_PL_SYSTEM) in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() 2565 if (bo->tbo.resource->mem_type != TTM_PL_SYSTEM) { in update_invalid_user_pages()
|
| H A D | amdgpu_vm.c | 1662 bo_va->base.bo->tbo.resource->mem_type == TTM_PL_SYSTEM)) in amdgpu_vm_handle_moved()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_object.c | 77 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain() 81 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_object.h | 47 case TTM_PL_SYSTEM: in radeon_mem_type_to_domain()
|
| H A D | radeon_object.c | 106 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain() 111 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
|
| H A D | radeon_vm.c | 947 if (mem->mem_type != TTM_PL_SYSTEM) in radeon_vm_bo_update()
|