Home
last modified time | relevance | path

Searched refs:TTM_PL_VRAM (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Dradeon_object.c89 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 Dradeon_object.h43 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 Dqxl_object.c67 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 Dqxl_drv.h284 (bo->tbo.resource->mem_type == TTM_PL_VRAM) in qxl_bo_physical_address()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_validate_test.c158 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 Dttm_resource_test.c87 .mem_type = TTM_PL_VRAM,
/linux/include/drm/ttm/
H A Dttm_placement.h53 #define TTM_PL_VRAM 2 macro
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c522 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 Dnouveau_drm.c961 man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_do_suspend()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c130 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 Damdgpu_vram_mgr.c937 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 Damdgpu_dma_buf.c220 case TTM_PL_VRAM: in amdgpu_dma_buf_map()
H A Damdgpu_gmc.c120 case TTM_PL_VRAM: in amdgpu_gmc_get_pde_for_bo()
H A Damdgpu_cs.c1804 if ((*bo)->tbo.resource->mem_type == TTM_PL_VRAM && in amdgpu_cs_find_mapping()
H A Dgmc_v9_0.c1112 bo->tbo.resource->mem_type == TTM_PL_VRAM; in gmc_v9_0_get_coherence_flags()
H A Damdgpu_display.c1909 if (abo->tbo.resource->mem_type != TTM_PL_VRAM) { in amdgpu_display_get_scanout_buffer()
H A Damdgpu_vm.c1305 abo->tbo.resource->mem_type == TTM_PL_VRAM) in amdgpu_vm_bo_update()
H A Damdgpu_device.c5174 ret = amdgpu_ttm_evict_resources(adev, TTM_PL_VRAM); in amdgpu_device_evict_resources()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c211 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 Dvmwgfx_ttm_buffer.c35 .mem_type = TTM_PL_VRAM,
448 case TTM_PL_VRAM: in vmw_ttm_io_mem_reserve()
H A Dvmwgfx_execbuf.c3764 case TTM_PL_VRAM: in vmw_apply_relocations()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.h66 #define I915_PL_STOLEN TTM_PL_VRAM
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_migrate.c44 return addr + amdgpu_ttm_domain_start(adev, TTM_PL_VRAM); in svm_migrate_direct_mapping_addr()