/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | aperture_64.c | 76 static void __init exclude_from_core(u64 aper_base, u32 aper_order) in exclude_from_core() argument 78 aperture_pfn_start = aper_base >> PAGE_SHIFT; in exclude_from_core() 88 static void exclude_from_core(u64 aper_base, u32 aper_order) in exclude_from_core() argument 294 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local 323 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check() 324 aper_base <<= 25; in early_gart_iommu_check() 328 (aper_base != last_aper_base) || in early_gart_iommu_check() 336 last_aper_base = aper_base; in early_gart_iommu_check() 345 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check() 349 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check() [all …]
|
D | amd_gart_64.c | 523 u64 aper_base; in read_aperture() local 529 aper_base = aper_base_32 & 0x7fff; in read_aperture() 530 aper_base <<= 25; in read_aperture() 533 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture() 534 aper_base = 0; in read_aperture() 537 return aper_base; in read_aperture() 617 unsigned aper_base, new_aper_base; in init_amd_gatt() local 624 aper_size = aper_base = info->aper_size = 0; in init_amd_gatt() 632 if (!aper_base) { in init_amd_gatt() 634 aper_base = new_aper_base; in init_amd_gatt() [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | gart.h | 92 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument 94 if (!aper_base) in aperture_valid() 97 if (aper_base + aper_size > 0x100000000ULL) { in aperture_valid() 101 if (e820__mapped_any(aper_base, aper_base + aper_size, E820_TYPE_RAM)) { in aperture_valid()
|
/kernel/linux/linux-5.10/include/linux/ |
D | agp_backend.h | 50 unsigned long aper_base; member
|
D | agpgart.h | 37 unsigned long aper_base;/* base of aperture */ member
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
D | compat_ioctl.c | 50 userinfo.aper_base = (compat_long_t)kerninfo.aper_base; in compat_agpioc_info_wrap()
|
D | compat_ioctl.h | 48 compat_long_t aper_base; /* base of aperture */ member
|
D | amd64-agp.c | 156 u64 aper_base; in amd64_configure() local 161 aper_base = (aperturebase & PCI_BASE_ADDRESS_MEM_MASK); in amd64_configure() 165 return aper_base; in amd64_configure()
|
D | frontend.c | 602 (kerninfo.aper_base + offset) >> PAGE_SHIFT, in agp_mmap() 619 kerninfo.aper_base >> PAGE_SHIFT, in agp_mmap() 724 userinfo.aper_base = kerninfo.aper_base; in agpioc_info_wrap()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | agpgart.h | 66 unsigned long aper_base;/* base of aperture */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | agpgart.h | 50 unsigned long aper_base; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | agpgart.h | 38 unsigned long aper_base; member
|
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/ |
D | radeon_base.c | 2021 u32 aper_base, aper_size; in fixup_memory_mappings() local 2036 aper_base = INREG(CNFG_APER_0_BASE); in fixup_memory_mappings() 2042 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings() 2043 rinfo->fb_local_base = aper_base; in fixup_memory_mappings() 2048 agp_base = aper_base + aper_size; in fixup_memory_mappings() 2050 agp_base = (aper_base | 0x0fffffff) + 1; in fixup_memory_mappings() 2066 OUTREG(DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 2068 OUTREG(CRTC2_DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 2069 OUTREG(OV0_BASE_ADDR, aper_base); in fixup_memory_mappings() 2085 aper_base, in fixup_memory_mappings() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 269 info->fix.smem_start = rdev->mc.aper_base + tmp; in radeonfb_create() 288 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base); in radeonfb_create()
|
D | radeon_object.c | 458 arch_io_reserve_memtype_wc(rdev->mc.aper_base, in radeon_bo_init() 463 rdev->mc.vram_mtrr = arch_phys_wc_add(rdev->mc.aper_base, in radeon_bo_init() 478 arch_io_free_memtype_wc(rdev->mc.aper_base, rdev->mc.aper_size); in radeon_bo_fini()
|
D | radeon_agp.c | 249 rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; in radeon_agp_init()
|
D | rs690.c | 161 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rs690_mc_init() 192 (unsigned long long)rdev->mc.aper_base, k8_addr); in rs690_mc_init() 193 rdev->mc.aper_base = (resource_size_t)k8_addr; in rs690_mc_init()
|
D | radeon_drv.c | 381 dev->agp->agp_info.aper_base, in radeon_pci_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_agpsupport.c | 71 info->aperture_base = kern->aper_base; in drm_agp_info() 429 head->base = head->agp_info.aper_base; in drm_agp_init()
|
D | drm_pci.c | 190 dev->agp->agp_info.aper_base, in drm_pci_agp_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 249 info->fix.smem_start = adev->gmc.aper_base + tmp; in amdgpufb_create() 268 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)adev->gmc.aper_base); in amdgpufb_create()
|
D | amdgpu_amdkfd.c | 401 resource_size_t aper_limit = adev->gmc.aper_base + adev->gmc.aper_size; in amdgpu_amdkfd_get_local_mem_info() 404 if (!(adev->gmc.aper_base & address_mask || aper_limit & address_mask)) { in amdgpu_amdkfd_get_local_mem_info() 415 &adev->gmc.aper_base, &aper_limit, in amdgpu_amdkfd_get_local_mem_info()
|
D | amdgpu_gmc.h | 161 resource_size_t aper_base; member
|
D | amdgpu_object.c | 1086 arch_io_reserve_memtype_wc(adev->gmc.aper_base, in amdgpu_bo_init() 1090 adev->gmc.vram_mtrr = arch_phys_wc_add(adev->gmc.aper_base, in amdgpu_bo_init() 1127 arch_io_free_memtype_wc(adev->gmc.aper_base, adev->gmc.aper_size); in amdgpu_bo_fini()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | agp.c | 133 pci->agp.base = info.aper_base; in nvkm_agp_ctor()
|