Home
last modified time | relevance | path

Searched refs:aperture_size (Results 1 – 10 of 10) sorted by relevance

/drivers/char/agp/
Dintel-gtt.c525 unsigned int aperture_size; in intel_gtt_mappable_entries() local
535 aperture_size = MB(32); in intel_gtt_mappable_entries()
537 aperture_size = MB(64); in intel_gtt_mappable_entries()
545 aperture_size = MB(64); in intel_gtt_mappable_entries()
547 aperture_size = MB(128); in intel_gtt_mappable_entries()
550 aperture_size = pci_resource_len(intel_private.pcidev, 2); in intel_gtt_mappable_entries()
553 return aperture_size >> PAGE_SHIFT; in intel_gtt_mappable_entries()
/drivers/iommu/
Damd_iommu.c1539 if (addr < dma_dom->aperture_size) in dma_ops_unity_map()
1613 unsigned int i, last_page = dom->aperture_size >> PAGE_SHIFT; in dma_ops_reserve_addresses()
1633 int index = dma_dom->aperture_size >> APERTURE_RANGE_SHIFT; in alloc_new_range()
1652 dma_dom->aperture[index]->offset = dma_dom->aperture_size; in alloc_new_range()
1655 unsigned long address = dma_dom->aperture_size; in alloc_new_range()
1671 old_size = dma_dom->aperture_size; in alloc_new_range()
1672 dma_dom->aperture_size += APERTURE_RANGE_SIZE; in alloc_new_range()
1676 dma_dom->aperture_size > MSI_ADDR_BASE_LO) { in alloc_new_range()
1690 && iommu->exclusion_start < dma_dom->aperture_size) { in alloc_new_range()
1707 i < dma_dom->aperture_size; in alloc_new_range()
[all …]
Damd_iommu_types.h471 unsigned long aperture_size; member
/drivers/gpu/drm/nouveau/
Dnouveau_agp.c152 drm->agp.size = info.aperture_size; in nouveau_agp_init()
/drivers/video/intelfb/
Dintelfbhw.c173 int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size, in intelfbhw_get_memory() argument
180 if (!pdev || !aperture_size || !stolen_size) in intelfbhw_get_memory()
206 *aperture_size = MB(128); in intelfbhw_get_memory()
208 *aperture_size = MB(256); in intelfbhw_get_memory()
212 *aperture_size = MB(64); in intelfbhw_get_memory()
214 *aperture_size = MB(128); in intelfbhw_get_memory()
220 stolen_overhead = (*aperture_size / MB(1)) + 4; in intelfbhw_get_memory()
Dintelfbhw.h562 extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
Dintelfbdrv.c506 int aperture_size, stolen_size; in intelfb_pci_register() local
606 if (intelfbhw_get_memory(pdev, &aperture_size,&stolen_size)) { in intelfb_pci_register()
615 BtoMB(aperture_size), BtoKB(stolen_size)); in intelfb_pci_register()
/drivers/gpu/drm/i915/
Di915_dma.c1491 uint32_t aperture_size; in i915_driver_load() local
1567 aperture_size = dev_priv->gtt.mappable_end; in i915_driver_load()
1571 aperture_size); in i915_driver_load()
1578 aperture_size); in i915_driver_load()
1685 aperture_size); in i915_driver_load()
/drivers/gpu/drm/
Ddrm_ioc32.c749 u32 aperture_size; /* bytes */ member
778 || __get_user(i32.aperture_size, &info->aperture_size) in compat_drm_agp_info()
Ddrm_agpsupport.c66 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()