Home
last modified time | relevance | path

Searched refs:fpfn (Results 1 – 22 of 22) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_ttm_buddy_manager.c186 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_intersects()
196 if (!place->fpfn && in i915_ttm_buddy_man_intersects()
202 unsigned long fpfn = in i915_ttm_buddy_man_intersects() local
204 unsigned long lpfn = fpfn + in i915_ttm_buddy_man_intersects()
207 if (place->fpfn < lpfn && place->lpfn > fpfn) in i915_ttm_buddy_man_intersects()
224 if (!place->fpfn && !place->lpfn) in i915_ttm_buddy_man_compatible()
229 if (!place->fpfn && in i915_ttm_buddy_man_compatible()
235 unsigned long fpfn = in i915_ttm_buddy_man_compatible() local
237 unsigned long lpfn = fpfn + in i915_ttm_buddy_man_compatible()
240 if (fpfn < place->fpfn || lpfn > place->lpfn) in i915_ttm_buddy_man_compatible()
[all …]
A Dintel_region_ttm.c211 if (WARN_ON(overflows_type(offset >> PAGE_SHIFT, place.fpfn))) { in intel_region_ttm_resource_alloc()
215 place.fpfn = offset >> PAGE_SHIFT; in intel_region_ttm_resource_alloc()
216 if (WARN_ON(overflows_type(place.fpfn + (size >> PAGE_SHIFT), place.lpfn))) { in intel_region_ttm_resource_alloc()
220 place.lpfn = place.fpfn + (size >> PAGE_SHIFT); in intel_region_ttm_resource_alloc()
225 place.fpfn = 0; in intel_region_ttm_resource_alloc()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_ttm_buffer.c32 .fpfn = 0,
39 .fpfn = 0,
46 .fpfn = 0,
53 .fpfn = 0,
68 .fpfn = 0,
73 .fpfn = 0,
82 .fpfn = 0,
87 .fpfn = 0,
95 .fpfn = 0,
131 .fpfn = 0,
[all …]
A Dvmwgfx_bo.c310 pl.fpfn = 0; in vmw_bo_pin_reserved()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vram_mgr.c392 u64 size, remaining_size, lpfn, fpfn; in amdgpu_vram_mgr_new() local
402 fpfn = (u64)place->fpfn << PAGE_SHIFT; in amdgpu_vram_mgr_new()
438 if (fpfn || lpfn != mgr->mm.size) in amdgpu_vram_mgr_new()
479 r = drm_buddy_alloc_blocks(mm, fpfn, in amdgpu_vram_mgr_new()
744 unsigned long fpfn = in amdgpu_vram_mgr_intersects() local
746 unsigned long lpfn = fpfn + in amdgpu_vram_mgr_intersects()
749 if (place->fpfn < lpfn && in amdgpu_vram_mgr_intersects()
750 (!place->lpfn || place->lpfn > fpfn)) in amdgpu_vram_mgr_intersects()
777 unsigned long fpfn = in amdgpu_vram_mgr_compatible() local
779 unsigned long lpfn = fpfn + in amdgpu_vram_mgr_compatible()
[all …]
A Damdgpu_object.c135 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain()
151 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain()
161 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain()
169 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain()
177 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain()
185 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain()
193 places[c].fpfn = 0; in amdgpu_bo_placement_from_domain()
938 unsigned fpfn, lpfn; in amdgpu_bo_pin_restricted() local
940 fpfn = min_offset >> PAGE_SHIFT; in amdgpu_bo_pin_restricted()
943 if (fpfn > bo->placements[i].fpfn) in amdgpu_bo_pin_restricted()
[all …]
A Damdgpu_vce.c603 unsigned i, fpfn, lpfn; in amdgpu_vce_validate_bo() local
612 fpfn = PAGE_ALIGN(offset) >> PAGE_SHIFT; in amdgpu_vce_validate_bo()
615 fpfn = 0; in amdgpu_vce_validate_bo()
627 bo->placements[i].fpfn = max(bo->placements[i].fpfn, fpfn); in amdgpu_vce_validate_bo()
A Damdgpu_gtt_mgr.c138 0, place->fpfn, place->lpfn, in amdgpu_gtt_mgr_new()
A Damdgpu_ttm.c98 .fpfn = 0, in amdgpu_evict_flags()
151 abo->placements[0].fpfn = adev->gmc.visible_vram_size >> PAGE_SHIFT; in amdgpu_evict_flags()
525 hop->fpfn = 0; in amdgpu_bo_move()
939 placements.fpfn = 0; in amdgpu_ttm_alloc_gart()
A Damdgpu_uvd.c546 abo->placements[i].fpfn = 0 >> PAGE_SHIFT; in amdgpu_uvd_force_into_uvd_segment()
/linux-6.3-rc2/mm/
A Dswap_state.c703 unsigned long faddr, pfn, fpfn, lpfn, rpfn; in swap_ra_info() local
719 fpfn = PFN_DOWN(faddr); in swap_ra_info()
734 if (fpfn == pfn + 1) { in swap_ra_info()
735 lpfn = fpfn; in swap_ra_info()
736 rpfn = fpfn + win; in swap_ra_info()
737 } else if (pfn == fpfn + 1) { in swap_ra_info()
738 lpfn = fpfn - win + 1; in swap_ra_info()
739 rpfn = fpfn + 1; in swap_ra_info()
743 lpfn = fpfn - left; in swap_ra_info()
744 rpfn = fpfn + win - left; in swap_ra_info()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/ttm/
A Dttm_range_manager.c88 place->fpfn, lpfn, mode); in ttm_range_man_alloc()
125 if (place->fpfn >= (node->start + num_pages) || in ttm_range_man_intersects()
140 if (node->start < place->fpfn || in ttm_range_man_compatible()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_object.c88 rbo->placements[c].fpfn = in radeon_ttm_placement_from_domain()
94 rbo->placements[c].fpfn = 0; in radeon_ttm_placement_from_domain()
100 rbo->placements[c].fpfn = 0; in radeon_ttm_placement_from_domain()
106 rbo->placements[c].fpfn = 0; in radeon_ttm_placement_from_domain()
111 rbo->placements[c].fpfn = 0; in radeon_ttm_placement_from_domain()
122 !rbo->placements[i].fpfn) in radeon_ttm_placement_from_domain()
A Dradeon_ttm.c86 .fpfn = 0, in radeon_evict_flags()
108 unsigned fpfn = rbo->rdev->mc.visible_vram_size >> PAGE_SHIFT; in radeon_evict_flags() local
121 if (rbo->placements[i].fpfn < fpfn) in radeon_evict_flags()
122 rbo->placements[i].fpfn = fpfn; in radeon_evict_flags()
243 hop->fpfn = 0; in radeon_bo_move()
A Dradeon_uvd.c310 rbo->placements[i].fpfn = 0 >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()
324 rbo->placements[1].fpfn += (256 * 1024 * 1024) >> PAGE_SHIFT; in radeon_uvd_force_into_uvd_segment()
/linux-6.3-rc2/include/drm/ttm/
A Dttm_placement.h78 unsigned fpfn; member
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_bo.c376 unsigned i, fpfn, lpfn; in set_placement_range() local
388 fpfn = (vram_size / 2) >> PAGE_SHIFT; in set_placement_range()
391 fpfn = 0; in set_placement_range()
395 nvbo->placements[i].fpfn = fpfn; in set_placement_range()
399 nvbo->busy_placements[i].fpfn = fpfn; in set_placement_range()
1054 hop->fpfn = 0; in nouveau_bo_move()
1251 nvbo->placements[i].fpfn = 0; in nouveau_ttm_fault_reserve_notify()
1256 nvbo->busy_placements[i].fpfn = 0; in nouveau_ttm_fault_reserve_notify()
A Dnouveau_mem.c200 if (place->fpfn >= (res->start + num_pages) || in nouveau_mem_intersects()
214 if (res->start < place->fpfn || in nouveau_mem_compatible()
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.c59 .fpfn = 0,
143 WARN_ON(overflows_type(offset >> PAGE_SHIFT, place->fpfn)); in i915_ttm_place_from_region()
144 place->fpfn = offset >> PAGE_SHIFT; in i915_ttm_place_from_region()
145 WARN_ON(overflows_type(place->fpfn + (size >> PAGE_SHIFT), place->lpfn)); in i915_ttm_place_from_region()
146 place->lpfn = place->fpfn + (size >> PAGE_SHIFT); in i915_ttm_place_from_region()
151 place->fpfn = 0; in i915_ttm_place_from_region()
/linux-6.3-rc2/drivers/gpu/drm/qxl/
A Dqxl_ttm.c55 .fpfn = 0, in qxl_evict_flags()
A Dqxl_object.c91 qbo->placements[i].fpfn = 0; in qxl_ttm_placement_from_domain()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_gem_vram_helper.c166 gbo->placements[i].fpfn = 0; in drm_gem_vram_placement()

Completed in 40 milliseconds