Searched refs:aperture_size (Results 1 – 10 of 10) sorted by relevance
/drivers/char/agp/ |
D | intel-gtt.c | 525 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/ |
D | amd_iommu.c | 1539 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 …]
|
D | amd_iommu_types.h | 471 unsigned long aperture_size; member
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_agp.c | 152 drm->agp.size = info.aperture_size; in nouveau_agp_init()
|
/drivers/video/intelfb/ |
D | intelfbhw.c | 173 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()
|
D | intelfbhw.h | 562 extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
|
D | intelfbdrv.c | 506 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/ |
D | i915_dma.c | 1491 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/ |
D | drm_ioc32.c | 749 u32 aperture_size; /* bytes */ member 778 || __get_user(i32.aperture_size, &info->aperture_size) in compat_drm_agp_info()
|
D | drm_agpsupport.c | 66 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()
|