Home
last modified time | relevance | path

Searched refs:aper_base (Results 1 – 25 of 51) sorted by relevance

123

/linux/arch/x86/kernel/
A Daperture_64.c304 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local
334 aper_base <<= 25; in early_gart_iommu_check()
346 last_aper_base = aper_base; in early_gart_iommu_check()
355 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check()
359 if (e820__mapped_any(aper_base, aper_base + aper_size, in early_gart_iommu_check()
363 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check()
399 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local
449 aper_base <<= 25; in gart_iommu_hole_init()
452 node, aper_base, aper_base + aper_size - 1, in gart_iommu_hole_init()
458 agp_aper_base == aper_base && in gart_iommu_hole_init()
[all …]
A Damd_gart_64.c523 u64 aper_base; in read_aperture() local
530 aper_base <<= 25; in read_aperture()
534 aper_base = 0; in read_aperture()
537 return aper_base; in read_aperture()
632 if (!aper_base) { in init_amd_gatt()
634 aper_base = new_aper_base; in init_amd_gatt()
639 if (!aper_base) in init_amd_gatt()
642 info->aper_base = aper_base; in init_amd_gatt()
660 aper_base, aper_size>>10); in init_amd_gatt()
743 aper_base = info.aper_base; in gart_iommu_init()
[all …]
/linux/arch/x86/include/asm/
A Dgart.h92 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()
/linux/drivers/gpu/drm/radeon/
A Dradeon_agp.c157 head->base = head->agp_info.aper_base; in radeon_agp_head_init()
209 info->aperture_base = kern->aper_base; in radeon_agp_head_info()
337 rdev->mc.agp_base = rdev->agp->agp_info.aper_base; in radeon_agp_init()
A Dradeon_fb.c270 info->fix.smem_start = rdev->mc.aper_base + tmp; in radeonfb_create()
289 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base); in radeonfb_create()
A Dradeon_object.c409 arch_io_reserve_memtype_wc(rdev->mc.aper_base, in radeon_bo_init()
414 rdev->mc.vram_mtrr = arch_phys_wc_add(rdev->mc.aper_base, in radeon_bo_init()
429 arch_io_free_memtype_wc(rdev->mc.aper_base, rdev->mc.aper_size); in radeon_bo_fini()
A Drs690.c161 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()
/linux/drivers/video/fbdev/aty/
A Dradeon_base.c2021 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 …]
/linux/drivers/char/agp/
A Dcompat_ioctl.c50 userinfo.aper_base = (compat_long_t)kerninfo.aper_base; in compat_agpioc_info_wrap()
A Damd64-agp.c156 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()
A Dfrontend.c602 (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()
A Dcompat_ioctl.h48 compat_long_t aper_base; /* base of aperture */ member
/linux/include/linux/
A Dagp_backend.h50 unsigned long aper_base; member
A Dagpgart.h37 unsigned long aper_base;/* base of aperture */ member
/linux/include/uapi/linux/
A Dagpgart.h66 unsigned long aper_base;/* base of aperture */ member
/linux/drivers/gpu/drm/
A Ddrm_agpsupport.c70 info->aperture_base = kern->aper_base; in drm_legacy_agp_info()
411 head->base = head->agp_info.aper_base; in drm_legacy_agp_init()
A Ddrm_pci.c140 dev->agp->agp_info.aper_base, in drm_legacy_pci_agp_init()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
A Dagp.c133 pci->agp.base = info.aper_base; in nvkm_agp_ctor()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_gmc.h172 resource_size_t aper_base; member
A Damdgpu_fb.c267 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)adev->gmc.aper_base); in amdgpufb_create()
A Damdgpu_ttm.c596 mem->bus.offset += adev->gmc.aper_base; in amdgpu_ttm_io_mem_reserve()
613 return (adev->gmc.aper_base + cursor.start) >> PAGE_SHIFT; in amdgpu_ttm_io_mem_pfn()
1714 adev->mman.aper_base_kaddr = ioremap_cache(adev->gmc.aper_base, in amdgpu_ttm_init()
1719 adev->mman.aper_base_kaddr = ioremap_wc(adev->gmc.aper_base, in amdgpu_ttm_init()
A Dgmc_v10_0.c787 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v10_0_mc_init()
792 adev->gmc.aper_base = adev->gfxhub.funcs->get_mc_fb_offset(adev); in gmc_v10_0_mc_init()
A Damdgpu_vkms.c478 adev_to_drm(adev)->mode_config.fb_base = adev->gmc.aper_base; in amdgpu_vkms_sw_init()
A Damdgpu_object.c1035 arch_io_reserve_memtype_wc(adev->gmc.aper_base, in amdgpu_bo_init()
1039 adev->gmc.vram_mtrr = arch_phys_wc_add(adev->gmc.aper_base, in amdgpu_bo_init()
A Dgmc_v7_0.c380 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v7_0_mc_init()
386 adev->gmc.aper_base = ((u64)RREG32(mmMC_VM_FB_OFFSET)) << 22; in gmc_v7_0_mc_init()

Completed in 39 milliseconds

123