Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/agp/
Dintel-gtt.c517 unsigned int aperture_size; in intel_gtt_mappable_entries() local
527 aperture_size = MB(32); in intel_gtt_mappable_entries()
529 aperture_size = MB(64); in intel_gtt_mappable_entries()
537 aperture_size = MB(64); in intel_gtt_mappable_entries()
539 aperture_size = MB(128); in intel_gtt_mappable_entries()
542 aperture_size = pci_resource_len(intel_private.pcidev, 2); in intel_gtt_mappable_entries()
545 return aperture_size >> PAGE_SHIFT; in intel_gtt_mappable_entries()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c125 size_t *aperture_size, in amdgpu_doorbell_get_kfd_info() argument
134 *aperture_size = adev->doorbell.size; in amdgpu_doorbell_get_kfd_info()
138 *aperture_size = 0; in amdgpu_doorbell_get_kfd_info()
/Linux-v5.4/drivers/video/fbdev/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()
208 *aperture_size = MB(128); in intelfbhw_get_memory()
210 *aperture_size = MB(256); in intelfbhw_get_memory()
214 *aperture_size = MB(64); in intelfbhw_get_memory()
216 *aperture_size = MB(128); in intelfbhw_get_memory()
222 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.c475 int aperture_size, stolen_size; in intelfb_pci_register() local
574 if (intelfbhw_get_memory(pdev, &aperture_size,&stolen_size)) { in intelfb_pci_register()
583 BtoMB(aperture_size), BtoKB(stolen_size)); in intelfb_pci_register()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_ioc32.c641 u32 aperture_size; /* bytes */ member
666 i32.aperture_size = info.aperture_size; in compat_drm_agp_info()
Ddrm_agpsupport.c72 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()
/Linux-v5.4/tools/include/uapi/drm/
Ddrm.h574 unsigned long aperture_size; /* bytes */ member
/Linux-v5.4/include/uapi/drm/
Ddrm.h574 unsigned long aperture_size; /* bytes */ member