/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 58 .mem_type = TTM_PL_SYSTEM, in qxl_evict_flags() 80 case TTM_PL_SYSTEM: in qxl_ttm_io_mem_reserve() 167 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
|
D | qxl_object.c | 78 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain() 82 qbo->placements[c].mem_type = TTM_PL_SYSTEM; in qxl_ttm_placement_from_domain()
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_placement.h | 40 #define TTM_PL_SYSTEM 0 macro
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 50 .mem_type = TTM_PL_SYSTEM, 57 .mem_type = TTM_PL_SYSTEM, 186 .mem_type = TTM_PL_SYSTEM, 210 .mem_type = TTM_PL_SYSTEM, 747 case TTM_PL_SYSTEM: in vmw_ttm_io_mem_reserve()
|
D | vmwgfx_resource.c | 876 if (mem->mem_type == TTM_PL_SYSTEM && bo->mem.mem_type == VMW_PL_MOB) { in vmw_query_move_notify()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 262 if (mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem() 272 if (bo->mem.mem_type == TTM_PL_SYSTEM) { in ttm_bo_handle_move_mem() 998 if (bo->mem.mem_type == TTM_PL_SYSTEM && !list_empty(&bo->lru)) { in ttm_bo_mem_space() 1112 if (bo->mem.mem_type == TTM_PL_SYSTEM) { in ttm_bo_validate() 1168 bo->mem.mem_type = TTM_PL_SYSTEM; in ttm_bo_init_reserved() 1395 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_bo_device_release() 1397 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, NULL); in ttm_bo_device_release() 1432 ttm_set_driver_manager(bdev, TTM_PL_SYSTEM, man); in ttm_bo_init_sysman() 1556 if (bo->mem.mem_type != TTM_PL_SYSTEM || in ttm_bo_swapout() 1564 evict_mem.mem_type = TTM_PL_SYSTEM; in ttm_bo_swapout()
|
D | ttm_bo_util.c | 61 if (old_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm() 72 old_mem->mem_type = TTM_PL_SYSTEM; in ttm_bo_move_ttm() 79 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm() 649 bo->mem.mem_type = TTM_PL_SYSTEM; in ttm_bo_pipeline_gutting()
|
D | ttm_resource.c | 51 res->mem_type = TTM_PL_SYSTEM; in ttm_resource_free()
|
D | ttm_bo_vm.c | 502 case TTM_PL_SYSTEM: in ttm_bo_vm_access()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_ttm_helper.c | 27 [ TTM_PL_SYSTEM ] = "system", in drm_gem_ttm_print_info()
|
D | drm_gem_vram_helper.c | 156 gbo->placements[c].mem_type = TTM_PL_SYSTEM; in drm_gem_vram_placement() 990 case TTM_PL_SYSTEM: /* nothing to do */ in bo_driver_io_mem_reserve()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 91 .mem_type = TTM_PL_SYSTEM, in radeon_evict_flags() 317 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in radeon_bo_move() 322 new_mem->mem_type == TTM_PL_SYSTEM) || in radeon_bo_move() 323 (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 336 new_mem->mem_type == TTM_PL_SYSTEM) { in radeon_bo_move() 339 } else if (old_mem->mem_type == TTM_PL_SYSTEM && in radeon_bo_move() 367 case TTM_PL_SYSTEM: in radeon_ttm_io_mem_reserve()
|
D | radeon_object.c | 148 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain() 154 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain() 159 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain() 165 rbo->placements[c].mem_type = TTM_PL_SYSTEM; in radeon_ttm_placement_from_domain()
|
D | radeon_object.h | 47 case TTM_PL_SYSTEM: in radeon_mem_type_to_domain()
|
D | radeon_vm.c | 950 if (mem->mem_type != TTM_PL_SYSTEM) in radeon_vm_bo_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.c | 374 pl[*n].mem_type = TTM_PL_SYSTEM; in set_placement_list() 997 if (mem && new_reg->mem_type != TTM_PL_SYSTEM && in nouveau_bo_move_ntfy() 1077 if (old_reg->mem_type == TTM_PL_SYSTEM && !bo->ttm) { in nouveau_bo_move() 1084 if (new_reg->mem_type == TTM_PL_SYSTEM) in nouveau_bo_move() 1088 else if (old_reg->mem_type == TTM_PL_SYSTEM) in nouveau_bo_move() 1157 case TTM_PL_SYSTEM: in nouveau_ttm_io_mem_reserve() 1271 if (bo->mem.mem_type == TTM_PL_SYSTEM) { in nouveau_ttm_fault_reserve_notify()
|
D | nouveau_vmm.c | 99 if (nvbo->bo.mem.mem_type != TTM_PL_SYSTEM && in nouveau_vma_new()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 94 .mem_type = TTM_PL_SYSTEM, in amdgpu_evict_flags() 635 if (mem->mem_type == TTM_PL_SYSTEM || in amdgpu_mem_visible() 670 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in amdgpu_bo_move() 675 new_mem->mem_type == TTM_PL_SYSTEM) || in amdgpu_bo_move() 676 (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 699 new_mem->mem_type == TTM_PL_SYSTEM) { in amdgpu_bo_move() 701 } else if (old_mem->mem_type == TTM_PL_SYSTEM && in amdgpu_bo_move() 749 case TTM_PL_SYSTEM: in amdgpu_ttm_io_mem_reserve() 1527 if (mem && mem->mem_type != TTM_PL_SYSTEM) in amdgpu_ttm_tt_pde_flags() 2561 { "amdgpu_iomem", &amdgpu_ttm_iomem_fops, TTM_PL_SYSTEM },
|
D | amdgpu_object.c | 168 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain() 205 places[c].mem_type = TTM_PL_SYSTEM; in amdgpu_bo_placement_from_domain() 1295 bo->mem.mem_type != TTM_PL_SYSTEM) in amdgpu_bo_move_notify() 1490 WARN_ON_ONCE(bo->tbo.mem.mem_type == TTM_PL_SYSTEM); in amdgpu_bo_gpu_offset()
|
D | amdgpu_object.h | 135 case TTM_PL_SYSTEM: in amdgpu_mem_type_to_domain()
|
D | amdgpu_dma_buf.c | 525 if (bo->tbo.mem.mem_type == TTM_PL_SYSTEM) in amdgpu_dma_buf_move_notify()
|
D | amdgpu_amdkfd_gpuvm.c | 1410 bo->tbo.mem.mem_type == TTM_PL_SYSTEM) in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
|