Home
last modified time | relevance | path

Searched refs:lpfn (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_thp.c35 unsigned long lpfn, in vmw_thp_insert_aligned() argument
43 place->fpfn, lpfn, mode); in vmw_thp_insert_aligned()
58 unsigned long lpfn; in vmw_thp_get_node() local
66 lpfn = place->lpfn; in vmw_thp_get_node()
67 if (!lpfn) in vmw_thp_get_node()
68 lpfn = man->size; in vmw_thp_get_node()
79 place, mem, lpfn, mode); in vmw_thp_get_node()
88 lpfn, mode); in vmw_thp_get_node()
95 place->fpfn, lpfn, mode); in vmw_thp_get_node()
Dvmwgfx_ttm_buffer.c35 .lpfn = 0,
42 .lpfn = 0,
49 .lpfn = 0,
56 .lpfn = 0,
63 .lpfn = 0,
70 .lpfn = 0,
77 .lpfn = 0,
84 .lpfn = 0,
99 .lpfn = 0,
104 .lpfn = 0,
[all …]
Dvmwgfx_bo.c226 place.lpfn = bo->num_pages; in vmw_bo_pin_in_start_of_vram()
356 pl.lpfn = 0; in vmw_bo_pin_reserved()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_range_manager.c66 unsigned long lpfn; in ttm_range_man_alloc() local
69 lpfn = place->lpfn; in ttm_range_man_alloc()
70 if (!lpfn) in ttm_range_man_alloc()
71 lpfn = man->size; in ttm_range_man_alloc()
85 place->fpfn, lpfn, mode); in ttm_range_man_alloc()
Dttm_bo.c653 (place->lpfn && place->lpfn <= bo->mem.start)) in ttm_bo_eviction_valuable()
1055 (heap->lpfn != 0 && (mem->start + mem->num_pages) > heap->lpfn))) in ttm_bo_places_compat()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c138 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
143 places[c].lpfn = visible_pfn; in amdgpu_bo_placement_from_domain()
154 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
167 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
180 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
188 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
196 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
204 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
397 (*bo_ptr)->placements[i].lpfn = (offset + size) >> PAGE_SHIFT; in amdgpu_bo_create_kernel_at()
952 unsigned fpfn, lpfn; in amdgpu_bo_pin_restricted() local
[all …]
Damdgpu_vram_mgr.c319 unsigned long lpfn, num_nodes, pages_per_node, pages_left; in amdgpu_vram_mgr_new() local
324 lpfn = place->lpfn; in amdgpu_vram_mgr_new()
325 if (!lpfn) in amdgpu_vram_mgr_new()
326 lpfn = man->size; in amdgpu_vram_mgr_new()
373 place->fpfn, lpfn, in amdgpu_vram_mgr_new()
392 place->fpfn, lpfn, in amdgpu_vram_mgr_new()
Damdgpu_vce.c592 unsigned i, fpfn, lpfn; in amdgpu_vce_validate_bo() local
602 lpfn = 0x100000000ULL >> PAGE_SHIFT; in amdgpu_vce_validate_bo()
605 lpfn = (0x100000000ULL - PAGE_ALIGN(offset)) >> PAGE_SHIFT; in amdgpu_vce_validate_bo()
617 bo->placements[i].lpfn = bo->placements[i].lpfn ? in amdgpu_vce_validate_bo()
618 min(bo->placements[i].lpfn, lpfn) : lpfn; in amdgpu_vce_validate_bo()
Damdgpu_gtt_mgr.c194 if (!place->lpfn) { in amdgpu_gtt_mgr_new()
211 place->lpfn, DRM_MM_INSERT_BEST); in amdgpu_gtt_mgr_new()
Damdgpu_ttm.c93 .lpfn = 0, in amdgpu_evict_flags()
139 abo->placements[0].lpfn = 0; in amdgpu_evict_flags()
539 placements.lpfn = 0; in amdgpu_move_vram_ram()
600 placements.lpfn = 0; in amdgpu_move_ram_vram()
1197 placements.lpfn = adev->gmc.gart_size >> PAGE_SHIFT; in amdgpu_ttm_alloc_gart()
1609 !(place->lpfn && place->lpfn <= node->start)) in amdgpu_ttm_bo_eviction_valuable()
Damdgpu_uvd.c490 abo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; in amdgpu_uvd_force_into_uvd_segment()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_object.c176 rbo->placements[i].lpfn = in radeon_ttm_placement_from_domain()
179 rbo->placements[i].lpfn = 0; in radeon_ttm_placement_from_domain()
366 bo->placements[i].lpfn = in radeon_bo_pin_restricted()
369 bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; in radeon_bo_pin_restricted()
407 bo->placements[i].lpfn = 0; in radeon_bo_unpin()
802 unsigned long offset, size, lpfn; in radeon_bo_fault_reserve_notify() local
824 lpfn = rdev->mc.visible_vram_size >> PAGE_SHIFT; in radeon_bo_fault_reserve_notify()
828 (!rbo->placements[i].lpfn || rbo->placements[i].lpfn > lpfn)) in radeon_bo_fault_reserve_notify()
829 rbo->placements[i].lpfn = lpfn; in radeon_bo_fault_reserve_notify()
Dradeon_ttm.c90 .lpfn = 0, in radeon_evict_flags()
227 placements.lpfn = 0; in radeon_move_vram_ram()
278 placements.lpfn = 0; in radeon_move_ram_vram()
Dradeon_uvd.c309 rbo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()
323 rbo->placements[1].lpfn += (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_bo.c386 unsigned i, fpfn, lpfn; in set_placement_range() local
399 lpfn = ~0; in set_placement_range()
402 lpfn = vram_pages / 2; in set_placement_range()
406 nvbo->placements[i].lpfn = lpfn; in set_placement_range()
410 nvbo->busy_placements[i].lpfn = lpfn; in set_placement_range()
922 .lpfn = 0, in nouveau_bo_move_flipd()
964 .lpfn = 0, in nouveau_bo_move_flips()
1300 nvbo->placements[i].lpfn = mappable; in nouveau_ttm_fault_reserve_notify()
1305 nvbo->busy_placements[i].lpfn = mappable; in nouveau_ttm_fault_reserve_notify()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_placement.h79 unsigned lpfn; member
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_ttm.c57 .lpfn = 0, in qxl_evict_flags()
Dqxl_object.c89 qbo->placements[i].lpfn = 0; in qxl_ttm_placement_from_domain()
/kernel/linux/linux-5.10/mm/
Dswap_state.c739 unsigned long lpfn, in swap_ra_clamp_pfn() argument
744 *start = max3(lpfn, PFN_DOWN(vma->vm_start), in swap_ra_clamp_pfn()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_vram_helper.c166 gbo->placements[i].lpfn = 0; in drm_gem_vram_placement()