Searched refs:aperture_size (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/char/agp/ |
D | intel-gtt.c | 520 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.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd.c | 94 size_t *aperture_size, in amdgpu_doorbell_get_kfd_info() argument 109 *aperture_size = 0; in amdgpu_doorbell_get_kfd_info() 114 *aperture_size = adev->doorbell.size; in amdgpu_doorbell_get_kfd_info() 118 *aperture_size = 0; in amdgpu_doorbell_get_kfd_info()
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_ioc32.c | 645 u32 aperture_size; /* bytes */ member 670 i32.aperture_size = info.aperture_size; in compat_drm_agp_info()
|
D | drm_agpsupport.c | 71 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_legacy_agp_info()
|
/linux-6.6.21/drivers/video/fbdev/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() 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()
|
D | intelfbhw.h | 562 extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
|
D | intelfbdrv.c | 479 int aperture_size, stolen_size = 0; in intelfb_pci_register() local 582 if (intelfbhw_get_memory(pdev, &aperture_size, &stolen_size)) { in intelfb_pci_register() 591 BtoMB(aperture_size), BtoKB(stolen_size)); in intelfb_pci_register()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_agp.c | 210 info->aperture_size = kern->aper_size * 1024 * 1024; in radeon_agp_head_info()
|
D | radeon.h | 1086 unsigned long aperture_size; /* bytes */ member
|
/linux-6.6.21/tools/include/uapi/drm/ |
D | drm.h | 573 unsigned long aperture_size; /* bytes */ member
|
/linux-6.6.21/include/uapi/drm/ |
D | drm.h | 573 unsigned long aperture_size; /* bytes */ member
|