/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_thp.c | 35 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()
|
D | vmwgfx_ttm_buffer.c | 35 .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 …]
|
D | vmwgfx_bo.c | 226 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/ |
D | ttm_range_manager.c | 66 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()
|
D | ttm_bo.c | 653 (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/ |
D | amdgpu_object.c | 138 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 …]
|
D | amdgpu_vram_mgr.c | 319 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()
|
D | amdgpu_vce.c | 592 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()
|
D | amdgpu_gtt_mgr.c | 194 if (!place->lpfn) { in amdgpu_gtt_mgr_new() 211 place->lpfn, DRM_MM_INSERT_BEST); in amdgpu_gtt_mgr_new()
|
D | amdgpu_ttm.c | 93 .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()
|
D | amdgpu_uvd.c | 490 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/ |
D | radeon_object.c | 176 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()
|
D | radeon_ttm.c | 90 .lpfn = 0, in radeon_evict_flags() 227 placements.lpfn = 0; in radeon_move_vram_ram() 278 placements.lpfn = 0; in radeon_move_ram_vram()
|
D | radeon_uvd.c | 309 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/ |
D | nouveau_bo.c | 386 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/ |
D | ttm_placement.h | 79 unsigned lpfn; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 57 .lpfn = 0, in qxl_evict_flags()
|
D | qxl_object.c | 89 qbo->placements[i].lpfn = 0; in qxl_ttm_placement_from_domain()
|
/kernel/linux/linux-5.10/mm/ |
D | swap_state.c | 739 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/ |
D | drm_gem_vram_helper.c | 166 gbo->placements[i].lpfn = 0; in drm_gem_vram_placement()
|