Home
last modified time | relevance | path

Searched refs:max_pfn (Results 1 – 25 of 34) sorted by relevance

12

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_csa.c31 uint64_t addr = adev->vm_manager.max_pfn << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_csa_vaddr()
Dgfxhub_v3_0_3.c336 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v3_0_3_setup_vmid_config()
339 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v3_0_3_setup_vmid_config()
Dgfxhub_v2_0.c323 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_0_setup_vmid_config()
326 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_0_setup_vmid_config()
Dgfxhub_v1_0.c303 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v1_0_setup_vmid_config()
306 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v1_0_setup_vmid_config()
Dgfxhub_v3_0.c331 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v3_0_setup_vmid_config()
334 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v3_0_setup_vmid_config()
Dmmhub_v3_0_2.c353 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v3_0_2_setup_vmid_config()
356 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v3_0_2_setup_vmid_config()
Dmmhub_v3_0_1.c348 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v3_0_1_setup_vmid_config()
351 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v3_0_1_setup_vmid_config()
Dmmhub_v2_0.c404 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_0_setup_vmid_config()
407 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_0_setup_vmid_config()
Dmmhub_v2_3.c322 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_3_setup_vmid_config()
325 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v2_3_setup_vmid_config()
Dmmhub_v3_0.c361 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v3_0_setup_vmid_config()
364 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v3_0_setup_vmid_config()
Dgfxhub_v1_2.c377 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v1_2_xcc_setup_vmid_config()
381 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v1_2_xcc_setup_vmid_config()
Dmmhub_v1_0.c281 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_0_setup_vmid_config()
284 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_0_setup_vmid_config()
Dgmc_v6_0.c438 uint32_t high = adev->vm_manager.max_pfn - in gmc_v6_0_set_prt()
519 WREG32(mmVM_CONTEXT1_PAGE_TABLE_END_ADDR, adev->vm_manager.max_pfn - 1); in gmc_v6_0_gart_enable()
Dmmhub_v1_8.c386 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_8_setup_vmid_config()
390 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_8_setup_vmid_config()
Dgfxhub_v2_1.c332 lower_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_1_setup_vmid_config()
335 upper_32_bits(adev->vm_manager.max_pfn - 1)); in gfxhub_v2_1_setup_vmid_config()
Damdgpu_vm.h358 uint64_t max_pfn; member
Dgmc_v7_0.c571 uint32_t high = adev->vm_manager.max_pfn - in gmc_v7_0_set_prt()
669 WREG32(mmVM_CONTEXT1_PAGE_TABLE_END_ADDR, adev->vm_manager.max_pfn - 1); in gmc_v7_0_gart_enable()
Dmmhub_v1_7.c313 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_7_setup_vmid_config()
316 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v1_7_setup_vmid_config()
Damdgpu_vm.c1529 if (lpfn >= adev->vm_manager.max_pfn) in amdgpu_vm_verify_parameters()
2079 adev->vm_manager.max_pfn = (uint64_t)vm_size << 18; in amdgpu_vm_adjust_size()
2081 tmp = roundup_pow_of_two(adev->vm_manager.max_pfn); in amdgpu_vm_adjust_size()
Dgmc_v8_0.c786 uint32_t high = adev->vm_manager.max_pfn - in gmc_v8_0_set_prt()
900 WREG32(mmVM_CONTEXT1_PAGE_TABLE_END_ADDR, adev->vm_manager.max_pfn - 1); in gmc_v8_0_gart_enable()
Damdgpu_amdkfd.c154 .gpuvm_size = min(adev->vm_manager.max_pfn in amdgpu_amdkfd_device_init()
Dmmhub_v9_4.c354 lower_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v9_4_setup_vmid_config()
359 upper_32_bits(adev->vm_manager.max_pfn - 1)); in mmhub_v9_4_setup_vmid_config()
Damdgpu_vm_pt.c82 return round_up(adev->vm_manager.max_pfn, 1ULL << shift) in amdgpu_vm_pt_num_entries()
/drivers/xen/
Dballoon.c692 extra_pfn_end = min(max_pfn, start_pfn + pages); in balloon_add_regions()
712 ? min(xen_start_info->nr_pages - xen_released_pages, max_pfn) in balloon_init()
/drivers/gpu/drm/radeon/
Dradeon_vm.c62 return rdev->vm_manager.max_pfn >> radeon_vm_block_size; in radeon_vm_num_pdes()
467 if (last_pfn >= rdev->vm_manager.max_pfn) { in radeon_vm_bo_set_addr()
469 last_pfn, rdev->vm_manager.max_pfn); in radeon_vm_bo_set_addr()

12