/linux-4.1.27/arch/x86/kernel/ |
D | aperture_64.c | 262 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local 288 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check() 289 aper_base <<= 25; in early_gart_iommu_check() 293 (aper_base != last_aper_base) || in early_gart_iommu_check() 301 last_aper_base = aper_base; in early_gart_iommu_check() 310 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check() 314 if (e820_any_mapped(aper_base, aper_base + aper_size, in early_gart_iommu_check() 318 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check() 319 e820_add_region(aper_base, aper_size, E820_RESERVED); in early_gart_iommu_check() 354 u64 aper_base, last_aper_base = 0; in gart_iommu_hole_init() local [all …]
|
D | amd_gart_64.c | 551 u64 aper_base; in read_aperture() local 557 aper_base = aper_base_32 & 0x7fff; in read_aperture() 558 aper_base <<= 25; in read_aperture() 561 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture() 562 aper_base = 0; in read_aperture() 565 return aper_base; in read_aperture() 645 unsigned aper_base, new_aper_base; in init_amd_gatt() local 652 aper_size = aper_base = info->aper_size = 0; in init_amd_gatt() 660 if (!aper_base) { in init_amd_gatt() 662 aper_base = new_aper_base; in init_amd_gatt() [all …]
|
/linux-4.1.27/arch/x86/include/asm/ |
D | gart.h | 91 static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) in aperture_valid() argument 93 if (!aper_base) in aperture_valid() 96 if (aper_base + aper_size > 0x100000000ULL) { in aperture_valid() 100 if (e820_any_mapped(aper_base, aper_base + aper_size, E820_RAM)) { in aperture_valid()
|
/linux-4.1.27/include/linux/ |
D | agp_backend.h | 50 unsigned long aper_base; member
|
D | agpgart.h | 39 unsigned long aper_base;/* base of aperture */ member
|
/linux-4.1.27/include/uapi/linux/ |
D | agpgart.h | 65 unsigned long aper_base;/* base of aperture */ member
|
/linux-4.1.27/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 | 155 u64 aper_base; in amd64_configure() local 160 aper_base = (aperturebase & PCI_BASE_ADDRESS_MEM_MASK); in amd64_configure() 164 return aper_base; in amd64_configure()
|
D | frontend.c | 604 (kerninfo.aper_base + offset) >> PAGE_SHIFT, in agp_mmap() 621 kerninfo.aper_base >> PAGE_SHIFT, in agp_mmap() 726 userinfo.aper_base = kerninfo.aper_base; in agpioc_info_wrap()
|
D | generic.c | 383 info->aper_base = bridge->gart_bus_addr; in agp_copy_info()
|
/linux-4.1.27/drivers/video/fbdev/aty/ |
D | radeon_base.c | 1919 u32 aper_base, aper_size; in fixup_memory_mappings() local 1934 aper_base = INREG(CNFG_APER_0_BASE); in fixup_memory_mappings() 1940 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings() 1941 rinfo->fb_local_base = aper_base; in fixup_memory_mappings() 1946 agp_base = aper_base + aper_size; in fixup_memory_mappings() 1948 agp_base = (aper_base | 0x0fffffff) + 1; in fixup_memory_mappings() 1964 OUTREG(DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 1966 OUTREG(CRTC2_DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 1967 OUTREG(OV0_BASE_ADDR, aper_base); in fixup_memory_mappings() 1983 aper_base, in fixup_memory_mappings() [all …]
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_agpsupport.c | 66 info->aperture_base = kern->aper_base; in drm_agp_info() 423 head->base = head->agp_info.aper_base; in drm_agp_init()
|
D | drm_pci.c | 242 dev->agp->agp_info.aper_base, in drm_pci_agp_init()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 283 info->fix.smem_start = rdev->mc.aper_base + tmp; in radeonfb_create() 313 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base); in radeonfb_create()
|
D | radeon_agp.c | 241 rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; in radeon_agp_init()
|
D | rs690.c | 160 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rs690_mc_init() 191 (unsigned long long)rdev->mc.aper_base, k8_addr); in rs690_mc_init() 192 rdev->mc.aper_base = (resource_size_t)k8_addr; in rs690_mc_init()
|
D | radeon_object.c | 446 rdev->mc.vram_mtrr = arch_phys_wc_add(rdev->mc.aper_base, in radeon_bo_init()
|
D | rs600.c | 868 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rs600_mc_init()
|
D | r300.c | 464 base = rdev->mc.aper_base; in r300_mc_init()
|
D | radeon_ttm.c | 480 mem->bus.base = rdev->mc.aper_base; in radeon_ttm_io_mem_reserve()
|
D | r600.c | 1414 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in r600_mc_init() 1441 (unsigned long long)rdev->mc.aper_base, k8_addr); in r600_mc_init() 1442 rdev->mc.aper_base = (resource_size_t)k8_addr; in r600_mc_init()
|
D | rv770.c | 1672 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rv770_mc_init()
|
D | radeon_display.c | 1594 rdev->ddev->mode_config.fb_base = rdev->mc.aper_base; in radeon_modeset_init()
|
D | r100.c | 2779 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in r100_vram_init_sizes() 2835 base = rdev->mc.aper_base; in r100_mc_init()
|
D | radeon.h | 676 resource_size_t aper_base; member
|
D | evergreen.c | 3788 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in evergreen_mc_init()
|
D | si.c | 4243 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in si_mc_init()
|
D | cik.c | 5760 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in cik_mc_init()
|