Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/agp/
Dintel-gtt.c520 unsigned int aperture_size; in intel_gtt_mappable_entries() local
530 aperture_size = MB(32); in intel_gtt_mappable_entries()
532 aperture_size = MB(64); in intel_gtt_mappable_entries()
540 aperture_size = MB(64); in intel_gtt_mappable_entries()
542 aperture_size = MB(128); in intel_gtt_mappable_entries()
545 aperture_size = pci_resource_len(intel_private.pcidev, 2); in intel_gtt_mappable_entries()
548 return aperture_size >> PAGE_SHIFT; in intel_gtt_mappable_entries()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.c95 size_t *aperture_size, in amdgpu_doorbell_get_kfd_info() argument
110 *aperture_size = 0; in amdgpu_doorbell_get_kfd_info()
115 *aperture_size = adev->doorbell.size; in amdgpu_doorbell_get_kfd_info()
119 *aperture_size = 0; in amdgpu_doorbell_get_kfd_info()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_ioc32.c645 u32 aperture_size; /* bytes */ member
670 i32.aperture_size = info.aperture_size; in compat_drm_agp_info()
Ddrm_agpsupport.c71 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_legacy_agp_info()
/linux-6.1.9/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 = pci_resource_len(pdev, 2); 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.c476 int aperture_size, stolen_size = 0; in intelfb_pci_register() local
579 if (intelfbhw_get_memory(pdev, &aperture_size, &stolen_size)) { in intelfb_pci_register()
588 BtoMB(aperture_size), BtoKB(stolen_size)); in intelfb_pci_register()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_agp.c210 info->aperture_size = kern->aper_size * 1024 * 1024; in radeon_agp_head_info()
Dradeon.h1123 unsigned long aperture_size; /* bytes */ member
/linux-6.1.9/tools/include/uapi/drm/
Ddrm.h573 unsigned long aperture_size; /* bytes */ member
/linux-6.1.9/include/uapi/drm/
Ddrm.h573 unsigned long aperture_size; /* bytes */ member