/linux-4.4.14/arch/x86/kernel/ |
D | aperture_64.c | 262 u64 aper_base = 0, last_aper_base = 0; in early_gart_iommu_check() local 291 aper_base = read_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE) & 0x7fff; in early_gart_iommu_check() 292 aper_base <<= 25; in early_gart_iommu_check() 296 (aper_base != last_aper_base) || in early_gart_iommu_check() 304 last_aper_base = aper_base; in early_gart_iommu_check() 313 if (!aper_base || !aper_size || aper_base + aper_size > 0x100000000UL) in early_gart_iommu_check() 317 if (e820_any_mapped(aper_base, aper_base + aper_size, in early_gart_iommu_check() 321 aper_base, aper_base + aper_size - 1); in early_gart_iommu_check() 322 e820_add_region(aper_base, aper_size, E820_RESERVED); in early_gart_iommu_check() 357 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.4.14/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.4.14/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.4.14/include/uapi/linux/ |
D | agpgart.h | 65 unsigned long aper_base;/* base of aperture */ member
|
/linux-4.4.14/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.4.14/drivers/video/fbdev/aty/ |
D | radeon_base.c | 2042 u32 aper_base, aper_size; in fixup_memory_mappings() local 2057 aper_base = INREG(CNFG_APER_0_BASE); in fixup_memory_mappings() 2063 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings() 2064 rinfo->fb_local_base = aper_base; in fixup_memory_mappings() 2069 agp_base = aper_base + aper_size; in fixup_memory_mappings() 2071 agp_base = (aper_base | 0x0fffffff) + 1; in fixup_memory_mappings() 2087 OUTREG(DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 2089 OUTREG(CRTC2_DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 2090 OUTREG(OV0_BASE_ADDR, aper_base); in fixup_memory_mappings() 2106 aper_base, in fixup_memory_mappings() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_agpsupport.c | 64 info->aperture_base = kern->aper_base; in drm_agp_info() 421 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.4.14/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 252 info->fix.smem_start = rdev->mc.aper_base + tmp; in radeonfb_create() 271 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base); in radeonfb_create()
|
D | radeon_agp.c | 244 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 | 451 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 | radeon_ttm.c | 480 mem->bus.base = rdev->mc.aper_base; in radeon_ttm_io_mem_reserve()
|
D | r300.c | 489 base = rdev->mc.aper_base; in r300_mc_init()
|
D | r600.c | 1461 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in r600_mc_init() 1488 (unsigned long long)rdev->mc.aper_base, k8_addr); in r600_mc_init() 1489 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 | 1647 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 | 675 resource_size_t aper_base; member
|
D | evergreen.c | 3836 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in evergreen_mc_init()
|
D | si.c | 4246 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in si_mc_init()
|
D | cik.c | 5781 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in cik_mc_init()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 233 info->fix.smem_start = adev->mc.aper_base + tmp; in amdgpufb_create() 252 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)adev->mc.aper_base); in amdgpufb_create()
|
D | amdgpu_object.c | 496 adev->mc.vram_mtrr = arch_phys_wc_add(adev->mc.aper_base, in amdgpu_bo_init()
|
D | gmc_v8_0.c | 444 adev->mc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v8_0_mc_init()
|
D | gmc_v7_0.c | 403 adev->mc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v7_0_mc_init()
|
D | amdgpu_ttm.c | 442 mem->bus.base = adev->mc.aper_base; in amdgpu_ttm_io_mem_reserve()
|
D | amdgpu.h | 724 resource_size_t aper_base; member
|
D | dce_v8_0.c | 2905 adev->ddev->mode_config.fb_base = adev->mc.aper_base; in dce_v8_0_sw_init()
|
D | dce_v11_0.c | 2988 adev->ddev->mode_config.fb_base = adev->mc.aper_base; in dce_v11_0_sw_init()
|
D | dce_v10_0.c | 2995 adev->ddev->mode_config.fb_base = adev->mc.aper_base; in dce_v10_0_sw_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
D | agp.c | 133 pci->agp.base = info.aper_base; in nvkm_agp_ctor()
|