Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_thp.c37 unsigned long lpfn, in vmw_thp_insert_aligned() argument
45 place->fpfn, lpfn, mode); in vmw_thp_insert_aligned()
60 unsigned long lpfn; in vmw_thp_get_node() local
70 lpfn = place->lpfn; in vmw_thp_get_node()
71 if (!lpfn) in vmw_thp_get_node()
72 lpfn = man->size; in vmw_thp_get_node()
84 &node->base, lpfn, mode); in vmw_thp_get_node()
94 lpfn, mode); in vmw_thp_get_node()
102 place->fpfn, lpfn, mode); in vmw_thp_get_node()
A Dvmwgfx_ttm_buffer.c34 .lpfn = 0,
41 .lpfn = 0,
48 .lpfn = 0,
55 .lpfn = 0,
70 .lpfn = 0,
75 .lpfn = 0,
84 .lpfn = 0,
89 .lpfn = 0,
119 .lpfn = 0,
124 .lpfn = 0,
[all …]
A Dvmwgfx_bo.c211 place.lpfn = bo->resource->num_pages; in vmw_bo_pin_in_start_of_vram()
325 pl.lpfn = 0; in vmw_bo_pin_reserved()
/linux/drivers/gpu/drm/ttm/
A Dttm_range_manager.c67 unsigned long lpfn; in ttm_range_man_alloc() local
70 lpfn = place->lpfn; in ttm_range_man_alloc()
71 if (!lpfn) in ttm_range_man_alloc()
72 lpfn = man->size; in ttm_range_man_alloc()
88 place->fpfn, lpfn, mode); in ttm_range_man_alloc()
A Dttm_resource.c82 if (res->start < heap->fpfn || (heap->lpfn && in ttm_resource_places_compat()
83 (res->start + res->num_pages) > heap->lpfn)) in ttm_resource_places_compat()
A Dttm_bo.c584 (place->lpfn && place->lpfn <= bo->resource->start)) in ttm_bo_eviction_valuable()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_object.c135 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
140 places[c].lpfn = visible_pfn; in amdgpu_bo_placement_from_domain()
151 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
161 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
169 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
177 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
185 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
193 places[c].lpfn = 0; in amdgpu_bo_placement_from_domain()
926 unsigned fpfn, lpfn; in amdgpu_bo_pin_restricted() local
934 (lpfn && lpfn < bo->placements[i].lpfn)) in amdgpu_bo_pin_restricted()
[all …]
A Damdgpu_vram_mgr.c373 unsigned long lpfn, num_nodes, pages_per_node, pages_left, pages; in amdgpu_vram_mgr_new() local
383 lpfn = place->lpfn; in amdgpu_vram_mgr_new()
384 if (!lpfn) in amdgpu_vram_mgr_new()
385 lpfn = man->size; in amdgpu_vram_mgr_new()
441 lpfn, mode); in amdgpu_vram_mgr_new()
A Damdgpu_vce.c606 unsigned i, fpfn, lpfn; in amdgpu_vce_validate_bo() local
616 lpfn = 0x100000000ULL >> PAGE_SHIFT; in amdgpu_vce_validate_bo()
619 lpfn = (0x100000000ULL - PAGE_ALIGN(offset)) >> PAGE_SHIFT; in amdgpu_vce_validate_bo()
631 bo->placements[i].lpfn = bo->placements[i].lpfn ? in amdgpu_vce_validate_bo()
632 min(bo->placements[i].lpfn, lpfn) : lpfn; in amdgpu_vce_validate_bo()
A Damdgpu_gtt_mgr.c150 if (place->lpfn) { in amdgpu_gtt_mgr_new()
155 0, place->fpfn, place->lpfn, in amdgpu_gtt_mgr_new()
A Damdgpu_ttm.c96 .lpfn = 0, in amdgpu_evict_flags()
158 abo->placements[0].lpfn = 0; in amdgpu_evict_flags()
536 hop->lpfn = 0; in amdgpu_bo_move()
985 placements.lpfn = adev->gmc.gart_size >> PAGE_SHIFT; in amdgpu_ttm_alloc_gart()
1405 && !(place->lpfn && in amdgpu_ttm_bo_eviction_valuable()
1406 place->lpfn <= PFN_DOWN(cursor.start))) in amdgpu_ttm_bo_eviction_valuable()
A Damdgpu_uvd.c551 abo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; in amdgpu_uvd_force_into_uvd_segment()
/linux/drivers/gpu/drm/radeon/
A Dradeon_object.c144 rbo->placements[i].lpfn = in radeon_ttm_placement_from_domain()
147 rbo->placements[i].lpfn = 0; in radeon_ttm_placement_from_domain()
330 bo->placements[i].lpfn = in radeon_bo_pin_restricted()
333 bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; in radeon_bo_pin_restricted()
750 unsigned long offset, size, lpfn; in radeon_bo_fault_reserve_notify() local
772 lpfn = rdev->mc.visible_vram_size >> PAGE_SHIFT; in radeon_bo_fault_reserve_notify()
776 (!rbo->placements[i].lpfn || rbo->placements[i].lpfn > lpfn)) in radeon_bo_fault_reserve_notify()
777 rbo->placements[i].lpfn = lpfn; in radeon_bo_fault_reserve_notify()
A Dradeon_uvd.c311 rbo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()
325 rbo->placements[1].lpfn += (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()
A Dradeon_ttm.c87 .lpfn = 0, in radeon_evict_flags()
247 hop->lpfn = 0; in radeon_bo_move()
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_bo.c373 unsigned i, fpfn, lpfn; in set_placement_range() local
386 lpfn = ~0; in set_placement_range()
389 lpfn = (vram_size / 2) >> PAGE_SHIFT; in set_placement_range()
393 nvbo->placements[i].lpfn = lpfn; in set_placement_range()
397 nvbo->busy_placements[i].lpfn = lpfn; in set_placement_range()
1028 hop->lpfn = 0; in nouveau_bo_move()
1225 nvbo->placements[i].lpfn = mappable; in nouveau_ttm_fault_reserve_notify()
1230 nvbo->busy_placements[i].lpfn = mappable; in nouveau_ttm_fault_reserve_notify()
/linux/include/drm/ttm/
A Dttm_placement.h68 unsigned lpfn; member
/linux/drivers/gpu/drm/qxl/
A Dqxl_ttm.c56 .lpfn = 0, in qxl_evict_flags()
A Dqxl_object.c92 qbo->placements[i].lpfn = 0; in qxl_ttm_placement_from_domain()
/linux/drivers/gpu/drm/i915/
A Di915_ttm_buddy_manager.c44 GEM_BUG_ON(place->fpfn || place->lpfn); in i915_ttm_buddy_man_alloc()
/linux/mm/
A Dswap_state.c701 unsigned long lpfn, in swap_ra_clamp_pfn() argument
706 *start = max3(lpfn, PFN_DOWN(vma->vm_start), in swap_ra_clamp_pfn()
/linux/drivers/gpu/drm/
A Ddrm_gem_vram_helper.c165 gbo->placements[i].lpfn = 0; in drm_gem_vram_placement()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.c53 .lpfn = 0,

Completed in 44 milliseconds