| /linux/arch/x86/kernel/ |
| H A D | amd_gart_64.c | 522 u64 aper_base; in read_aperture() local 528 aper_base = aper_base_32 & 0x7fff; in read_aperture() 529 aper_base <<= 25; in read_aperture() 532 if (aper_base + aper_size > 0x100000000UL || !aper_size) in read_aperture() 533 aper_base = 0; in read_aperture() 536 return aper_base; in read_aperture() 620 unsigned aper_base, new_aper_base; in init_amd_gatt() local 627 aper_size = aper_base = info->aper_size = 0; in init_amd_gatt() 635 if (!aper_base) { in init_amd_gatt() 637 aper_base = new_aper_base; in init_amd_gatt() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A 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__mapped_any(aper_base, aper_base + aper_size, E820_TYPE_RAM)) { in aperture_valid()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_agp.c | 157 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()
|
| H A D | radeon_fbdev.c | 254 info->fix.smem_start = rdev->mc.aper_base + tmp; in radeon_fbdev_driver_fbdev_probe() 264 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)rdev->mc.aper_base); in radeon_fbdev_driver_fbdev_probe()
|
| H A D | radeon_object.c | 389 arch_io_reserve_memtype_wc(rdev->mc.aper_base, in radeon_bo_init() 394 rdev->mc.vram_mtrr = arch_phys_wc_add(rdev->mc.aper_base, in radeon_bo_init() 409 arch_io_free_memtype_wc(rdev->mc.aper_base, rdev->mc.aper_size); in radeon_bo_fini()
|
| H A 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()
|
| H A D | radeon_kms.c | 117 rdev->agp->agp_info.aper_base, in radeon_driver_load_kms()
|
| H A D | radeon_ttm.c | 281 mem->bus.offset += rdev->mc.aper_base; in radeon_ttm_io_mem_reserve()
|
| H A D | rs600.c | 883 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in rs600_mc_init()
|
| H A D | r300.c | 491 base = rdev->mc.aper_base; in r300_mc_init()
|
| H A D | r600.c | 1468 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in r600_mc_init() 1495 (unsigned long long)rdev->mc.aper_base, k8_addr); in r600_mc_init() 1496 rdev->mc.aper_base = (resource_size_t)k8_addr; in r600_mc_init()
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | radeon_base.c | 2023 u32 aper_base, aper_size; in fixup_memory_mappings() local 2038 aper_base = INREG(CNFG_APER_0_BASE); in fixup_memory_mappings() 2044 ((aper_base + aper_size - 1) & 0xffff0000) | (aper_base >> 16)); in fixup_memory_mappings() 2045 rinfo->fb_local_base = aper_base; in fixup_memory_mappings() 2050 agp_base = aper_base + aper_size; in fixup_memory_mappings() 2052 agp_base = (aper_base | 0x0fffffff) + 1; in fixup_memory_mappings() 2068 OUTREG(DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 2070 OUTREG(CRTC2_DISPLAY_BASE_ADDR, aper_base); in fixup_memory_mappings() 2071 OUTREG(OV0_BASE_ADDR, aper_base); in fixup_memory_mappings() 2087 aper_base, in fixup_memory_mappings() [all …]
|
| /linux/include/linux/ |
| H A D | agp_backend.h | 50 unsigned long aper_base; member
|
| H A D | agpgart.h | 37 unsigned long aper_base;/* base of aperture */ member
|
| /linux/include/uapi/linux/ |
| H A D | agpgart.h | 65 unsigned long aper_base;/* base of aperture */ member
|
| /linux/drivers/char/agp/ |
| H A 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()
|
| H A D | generic.c | 380 info->aper_base = bridge->gart_bus_addr; in agp_copy_info()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
| H A D | agp.c | 133 pci->agp.base = info.aper_base; in nvkm_agp_ctor()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gmc.h | 226 resource_size_t aper_base; member
|
| H A D | amdgpu_ttm.c | 633 mem->bus.offset += adev->gmc.aper_base; in amdgpu_ttm_io_mem_reserve() 668 return (adev->gmc.aper_base + cursor.start) >> PAGE_SHIFT; in amdgpu_ttm_io_mem_pfn() 2069 adev->mman.aper_base_kaddr = ioremap_cache(adev->gmc.aper_base, in amdgpu_ttm_init() 2077 adev->mman.aper_base_kaddr = ioremap_wc(adev->gmc.aper_base, in amdgpu_ttm_init()
|
| H A D | gmc_v7_0.c | 382 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v7_0_mc_init() 389 adev->gmc.aper_base = ((u64)RREG32(mmMC_VM_FB_OFFSET)) << 22; in gmc_v7_0_mc_init()
|
| H A D | gmc_v8_0.c | 575 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v8_0_mc_init() 580 adev->gmc.aper_base = ((u64)RREG32(mmMC_VM_FB_OFFSET)) << 22; in gmc_v8_0_mc_init()
|
| H A D | gmc_v9_0.c | 1688 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v9_0_mc_init() 1708 adev->gmc.aper_base = in gmc_v9_0_mc_init()
|
| H A D | amdgpu_amdkfd.c | 505 &adev->gmc.aper_base, in amdgpu_amdkfd_get_local_mem_info()
|
| H A D | amdgpu_vram_mgr.c | 714 phys_addr_t phys = cursor.start + adev->gmc.aper_base; in amdgpu_vram_mgr_alloc_sgt()
|