Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/radeon/
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()
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()
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()
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()
Dradeon_kms.c125 rdev->agp->agp_info.aper_base, in radeon_driver_load_kms()
/drivers/video/fbdev/aty/
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 …]
/drivers/char/agp/
Dcompat_ioctl.c50 userinfo.aper_base = (compat_long_t)kerninfo.aper_base; in compat_agpioc_info_wrap()
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()
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()
Dcompat_ioctl.h48 compat_long_t aper_base; /* base of aperture */ member
/drivers/gpu/drm/
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()
Ddrm_pci.c140 dev->agp->agp_info.aper_base, in drm_legacy_pci_agp_init()
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dagp.c133 pci->agp.base = info.aper_base; in nvkm_agp_ctor()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gmc.h172 resource_size_t aper_base; member
Damdgpu_fb.c267 DRM_INFO("vram apper at 0x%lX\n", (unsigned long)adev->gmc.aper_base); in amdgpufb_create()
Damdgpu_ttm.c594 mem->bus.offset += adev->gmc.aper_base; in amdgpu_ttm_io_mem_reserve()
611 return (adev->gmc.aper_base + cursor.start) >> PAGE_SHIFT; in amdgpu_ttm_io_mem_pfn()
1694 adev->mman.aper_base_kaddr = ioremap_cache(adev->gmc.aper_base, in amdgpu_ttm_init()
1699 adev->mman.aper_base_kaddr = ioremap_wc(adev->gmc.aper_base, in amdgpu_ttm_init()
Dgmc_v10_0.c788 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v10_0_mc_init()
793 adev->gmc.aper_base = adev->gfxhub.funcs->get_mc_fb_offset(adev); in gmc_v10_0_mc_init()
Damdgpu_object.c1074 arch_io_reserve_memtype_wc(adev->gmc.aper_base, in amdgpu_bo_init()
1078 adev->gmc.vram_mtrr = arch_phys_wc_add(adev->gmc.aper_base, in amdgpu_bo_init()
Damdgpu_vkms.c496 adev_to_drm(adev)->mode_config.fb_base = adev->gmc.aper_base; in amdgpu_vkms_sw_init()
Dgmc_v9_0.c1375 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v9_0_mc_init()
1394 adev->gmc.aper_base = in gmc_v9_0_mc_init()
Dgmc_v7_0.c380 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v7_0_mc_init()
387 adev->gmc.aper_base = ((u64)RREG32(mmMC_VM_FB_OFFSET)) << 22; in gmc_v7_0_mc_init()
Damdgpu_vram_mgr.c573 phys_addr_t phys = cursor.start + adev->gmc.aper_base; in amdgpu_vram_mgr_alloc_sgt()
Dgmc_v8_0.c580 adev->gmc.aper_base = pci_resource_start(adev->pdev, 0); in gmc_v8_0_mc_init()
585 adev->gmc.aper_base = ((u64)RREG32(mmMC_VM_FB_OFFSET)) << 22; in gmc_v8_0_mc_init()
Damdgpu_gmc.c808 return amdgpu_bo_gpu_offset(bo) - adev->gmc.vram_start + adev->gmc.aper_base; in amdgpu_gmc_vram_cpu_pa()
Damdgpu_amdkfd.c415 &adev->gmc.aper_base, in amdgpu_amdkfd_get_local_mem_info()

12