/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_thp.c | 37 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 D | vmwgfx_ttm_buffer.c | 34 .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 D | vmwgfx_bo.c | 211 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 D | ttm_range_manager.c | 67 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 D | ttm_resource.c | 82 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 D | ttm_bo.c | 584 (place->lpfn && place->lpfn <= bo->resource->start)) in ttm_bo_eviction_valuable()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_object.c | 135 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 D | amdgpu_vram_mgr.c | 373 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 D | amdgpu_vce.c | 606 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 D | amdgpu_gtt_mgr.c | 150 if (place->lpfn) { in amdgpu_gtt_mgr_new() 155 0, place->fpfn, place->lpfn, in amdgpu_gtt_mgr_new()
|
A D | amdgpu_ttm.c | 96 .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 D | amdgpu_uvd.c | 551 abo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; in amdgpu_uvd_force_into_uvd_segment()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_object.c | 144 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 D | radeon_uvd.c | 311 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 D | radeon_ttm.c | 87 .lpfn = 0, in radeon_evict_flags() 247 hop->lpfn = 0; in radeon_bo_move()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_bo.c | 373 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 D | ttm_placement.h | 68 unsigned lpfn; member
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_ttm.c | 56 .lpfn = 0, in qxl_evict_flags()
|
A D | qxl_object.c | 92 qbo->placements[i].lpfn = 0; in qxl_ttm_placement_from_domain()
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_ttm_buddy_manager.c | 44 GEM_BUG_ON(place->fpfn || place->lpfn); in i915_ttm_buddy_man_alloc()
|
/linux/mm/ |
A D | swap_state.c | 701 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 D | drm_gem_vram_helper.c | 165 gbo->placements[i].lpfn = 0; in drm_gem_vram_placement()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ttm.c | 53 .lpfn = 0,
|