Searched refs:aperture_size (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/char/agp/ |
D | intel-gtt.c | 517 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/ |
D | amdgpu_amdkfd.c | 125 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/ |
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 = 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()
|
D | intelfbhw.h | 562 extern int intelfbhw_get_memory(struct pci_dev *pdev, int *aperture_size,
|
D | intelfbdrv.c | 475 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/ |
D | drm_ioc32.c | 641 u32 aperture_size; /* bytes */ member 666 i32.aperture_size = info.aperture_size; in compat_drm_agp_info()
|
D | drm_agpsupport.c | 72 info->aperture_size = kern->aper_size * 1024 * 1024; in drm_agp_info()
|
/Linux-v5.4/tools/include/uapi/drm/ |
D | drm.h | 574 unsigned long aperture_size; /* bytes */ member
|
/Linux-v5.4/include/uapi/drm/ |
D | drm.h | 574 unsigned long aperture_size; /* bytes */ member
|