| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_object.c | 89 rbo->placements[c].mem_type = TTM_PL_VRAM; in radeon_ttm_placement_from_domain() 94 rbo->placements[c].mem_type = TTM_PL_VRAM; in radeon_ttm_placement_from_domain() 119 (rbo->placements[i].mem_type == TTM_PL_VRAM) && in radeon_ttm_placement_from_domain() 307 if ((bo->placements[i].mem_type == TTM_PL_VRAM) && in radeon_bo_pin_restricted() 340 if (bo->tbo.resource->mem_type == TTM_PL_VRAM) in radeon_bo_unpin() 360 man = ttm_manager_type(bdev, TTM_PL_VRAM); in radeon_bo_evict_vram() 418 ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_bo_get_threshold_for_moves() 690 if (bo->tbo.resource->mem_type != TTM_PL_VRAM) { in radeon_bo_check_tiling() 730 if (bo->resource->mem_type != TTM_PL_VRAM) in radeon_bo_fault_reserve_notify() 747 if ((rbo->placements[i].mem_type == TTM_PL_VRAM) && in radeon_bo_fault_reserve_notify()
|
| H A D | radeon_object.h | 43 case TTM_PL_VRAM: in radeon_mem_type_to_domain() 102 case TTM_PL_VRAM: in radeon_bo_gpu_offset()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_object.c | 67 qbo->placements[c].mem_type = TTM_PL_VRAM; in qxl_ttm_placement_from_domain() 73 qbo->placements[c].mem_type = TTM_PL_VRAM; in qxl_ttm_placement_from_domain() 215 if (bo->tbo.resource->mem_type == TTM_PL_VRAM) in qxl_bo_kmap_atomic_page() 269 if ((bo->tbo.resource->mem_type != TTM_PL_VRAM) && in qxl_bo_kunmap_atomic_page() 416 man = ttm_manager_type(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_vram_evict()
|
| H A D | qxl_drv.h | 284 (bo->tbo.resource->mem_type == TTM_PL_VRAM) in qxl_bo_physical_address()
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_bo_validate_test.c | 158 u32 mem_type = TTM_PL_VRAM; in ttm_bo_init_reserved_mock_man() 230 u32 fst_mem = TTM_PL_SYSTEM, snd_mem = TTM_PL_VRAM; in ttm_bo_validate_basic() 305 u32 mem_type = TTM_PL_VRAM; in ttm_bo_validate_failed_alloc() 366 .mem_type = TTM_PL_VRAM, 414 u32 fst_mem = TTM_PL_VRAM, snd_mem = TTM_PL_VRAM + 1; 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() 703 u32 fst_mem = TTM_PL_VRAM, snd_mem = TTM_PL_VRAM + 1; in ttm_bo_validate_move_fence_not_signaled() 764 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT, in ttm_bo_validate_happy_evict() 825 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT; in ttm_bo_validate_all_pinned_evict() 869 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT, in ttm_bo_validate_allowed_only_evict() [all …]
|
| H A D | ttm_resource_test.c | 87 .mem_type = TTM_PL_VRAM,
|
| /linux/include/drm/ttm/ |
| H A D | ttm_placement.h | 53 #define TTM_PL_VRAM 2 macro
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bo.c | 522 pl[*n].mem_type = TTM_PL_VRAM; in nouveau_bo_placement_set() 566 case TTM_PL_VRAM: in nouveau_bo_pin_locked() 601 case TTM_PL_VRAM: in nouveau_bo_pin_locked() 627 case TTM_PL_VRAM: in nouveau_bo_unpin_locked() 891 case TTM_PL_VRAM: in nouveau_bo_evict_flags() 1112 if (new_reg->mem_type != TTM_PL_VRAM) in nouveau_bo_vm_bind() 1198 new_reg->mem_type == TTM_PL_VRAM) || in nouveau_bo_move() 1199 (old_reg->mem_type == TTM_PL_VRAM && in nouveau_bo_move() 1244 case TTM_PL_VRAM: in nouveau_ttm_io_mem_free_locked() 1285 case TTM_PL_VRAM: in nouveau_ttm_io_mem_reserve() [all …]
|
| H A D | nouveau_drm.c | 961 man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_do_suspend()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 130 case TTM_PL_VRAM: in amdgpu_evict_flags() 330 (abo_src->tbo.resource->mem_type == TTM_PL_VRAM)) in amdgpu_ttm_copy_mem_to_mem() 333 (dst->mem->mem_type == TTM_PL_VRAM)) { in amdgpu_ttm_copy_mem_to_mem() 397 if (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_move_blit() 447 if (res->mem_type != TTM_PL_VRAM) in amdgpu_res_cpu_visible() 472 if (mem->mem_type == TTM_PL_VRAM && in amdgpu_res_copyable() 548 new_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move() 549 old_mem->mem_type != TTM_PL_VRAM) { in amdgpu_bo_move() 558 new_mem->mem_type == TTM_PL_VRAM) || in amdgpu_bo_move() 559 (old_mem->mem_type == TTM_PL_VRAM && in amdgpu_bo_move() [all …]
|
| H A D | amdgpu_vram_mgr.c | 937 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_VRAM, &mgr->manager); in amdgpu_vram_mgr_init() 976 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_VRAM, NULL); in amdgpu_vram_mgr_fini()
|
| H A D | amdgpu_dma_buf.c | 220 case TTM_PL_VRAM: in amdgpu_dma_buf_map()
|
| H A D | amdgpu_gmc.c | 120 case TTM_PL_VRAM: in amdgpu_gmc_get_pde_for_bo()
|
| H A D | amdgpu_cs.c | 1804 if ((*bo)->tbo.resource->mem_type == TTM_PL_VRAM && in amdgpu_cs_find_mapping()
|
| H A D | gmc_v9_0.c | 1112 bo->tbo.resource->mem_type == TTM_PL_VRAM; in gmc_v9_0_get_coherence_flags()
|
| H A D | amdgpu_display.c | 1909 if (abo->tbo.resource->mem_type != TTM_PL_VRAM) { in amdgpu_display_get_scanout_buffer()
|
| H A D | amdgpu_vm.c | 1305 abo->tbo.resource->mem_type == TTM_PL_VRAM) in amdgpu_vm_bo_update()
|
| H A D | amdgpu_device.c | 5174 ret = amdgpu_ttm_evict_resources(adev, TTM_PL_VRAM); in amdgpu_device_evict_resources()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_bo.c | 211 if (bo->resource->mem_type == TTM_PL_VRAM && in vmw_bo_pin_in_start_of_vram() 280 if (bo->resource->mem_type == TTM_PL_VRAM) { in vmw_bo_get_guest_ptr() 725 if (mem->mem_type == TTM_PL_VRAM || bo->resource->mem_type == TTM_PL_VRAM) in vmw_bo_move_notify() 774 pl[n].mem_type = TTM_PL_VRAM; in set_placement_list()
|
| H A D | vmwgfx_ttm_buffer.c | 35 .mem_type = TTM_PL_VRAM, 448 case TTM_PL_VRAM: in vmw_ttm_io_mem_reserve()
|
| H A D | vmwgfx_execbuf.c | 3764 case TTM_PL_VRAM: in vmw_apply_relocations()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ttm.h | 66 #define I915_PL_STOLEN TTM_PL_VRAM
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_migrate.c | 44 return addr + amdgpu_ttm_domain_start(adev, TTM_PL_VRAM); in svm_migrate_direct_mapping_addr()
|