Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/
Dearly-quirks.c299 resource_size_t stolen_size) in i830_stolen_base() argument
301 return i830_mem_size() - i830_tseg_size() - stolen_size; in i830_stolen_base()
305 resource_size_t stolen_size) in i845_stolen_base() argument
307 return i830_mem_size() - i845_tseg_size() - stolen_size; in i845_stolen_base()
311 resource_size_t stolen_size) in i85x_stolen_base() argument
313 return i85x_mem_size() - i85x_tseg_size() - stolen_size; in i85x_stolen_base()
317 resource_size_t stolen_size) in i865_stolen_base() argument
327 resource_size_t stolen_size) in gen3_stolen_base() argument
342 resource_size_t stolen_size) in gen11_stolen_base() argument
463 resource_size_t (*stolen_size)(int num, int slot, int func); member
[all …]
/kernel/linux/linux-5.10/drivers/char/agp/
Dintel-gtt.c83 resource_size_t stolen_size; member
344 resource_size_t stolen_size = 0; in intel_gtt_stolen_size() local
356 stolen_size = KB(512); in intel_gtt_stolen_size()
359 stolen_size = MB(1); in intel_gtt_stolen_size()
362 stolen_size = MB(8); in intel_gtt_stolen_size()
366 stolen_size = (I830_RDRAM_ND(rdct) + 1) * in intel_gtt_stolen_size()
371 stolen_size = 0; in intel_gtt_stolen_size()
377 stolen_size = MB(1); in intel_gtt_stolen_size()
380 stolen_size = MB(4); in intel_gtt_stolen_size()
383 stolen_size = MB(8); in intel_gtt_stolen_size()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dgtt.c336 end = r->start + dev_priv->gtt.stolen_size - 1; in psb_gtt_alloc_range()
339 start = r->start + dev_priv->gtt.stolen_size; in psb_gtt_alloc_range()
410 unsigned long stolen_size, vram_stolen_size; in psb_gtt_init() local
486 stolen_size = vram_stolen_size; in psb_gtt_init()
492 (stolen_size != pg->stolen_size)) { in psb_gtt_init()
499 pg->stolen_size = stolen_size; in psb_gtt_init()
516 stolen_size); in psb_gtt_init()
Dgtt.h21 unsigned long stolen_size; member
Dpsb_drv.c119 stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; in psb_do_init()
335 pg->stolen_size >> PAGE_SHIFT, 0); in psb_driver_load()
Dframebuffer.c405 if (dev_priv->gtt.stolen_size) { in psbfb_create()
407 info->apertures->ranges[0].size = dev_priv->gtt.stolen_size; in psbfb_create()
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
Dintelfbhw.c174 int *stolen_size) in intelfbhw_get_memory() argument
180 if (!pdev || !aperture_size || !stolen_size) in intelfbhw_get_memory()
228 *stolen_size = KB(512) - KB(stolen_overhead); in intelfbhw_get_memory()
231 *stolen_size = MB(1) - KB(stolen_overhead); in intelfbhw_get_memory()
234 *stolen_size = MB(8) - KB(stolen_overhead); in intelfbhw_get_memory()
251 *stolen_size = MB(1) - KB(stolen_overhead); in intelfbhw_get_memory()
254 *stolen_size = MB(4) - KB(stolen_overhead); in intelfbhw_get_memory()
257 *stolen_size = MB(8) - KB(stolen_overhead); in intelfbhw_get_memory()
260 *stolen_size = MB(16) - KB(stolen_overhead); in intelfbhw_get_memory()
263 *stolen_size = MB(32) - KB(stolen_overhead); in intelfbhw_get_memory()
[all …]
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()
596 if (ROUND_UP_TO_PAGE(stolen_size) >= MB(vram)) { in intelfb_pci_register()
597 dinfo->fb.size = ROUND_UP_TO_PAGE(stolen_size); in intelfb_pci_register()
627 if (MB(voffset) < stolen_size) in intelfb_pci_register()
628 offset = (stolen_size >> 12); in intelfb_pci_register()
Dintelfbhw.h563 int *stolen_size);