Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/char/agp/
Dintel-gtt.c349 unsigned int stolen_size = 0; in intel_gtt_stolen_size() local
361 stolen_size = KB(512); in intel_gtt_stolen_size()
364 stolen_size = MB(1); in intel_gtt_stolen_size()
367 stolen_size = MB(8); in intel_gtt_stolen_size()
371 stolen_size = (I830_RDRAM_ND(rdct) + 1) * in intel_gtt_stolen_size()
376 stolen_size = 0; in intel_gtt_stolen_size()
387 stolen_size = MB(32); in intel_gtt_stolen_size()
390 stolen_size = MB(64); in intel_gtt_stolen_size()
393 stolen_size = MB(96); in intel_gtt_stolen_size()
396 stolen_size = MB(128); in intel_gtt_stolen_size()
[all …]
/linux-2.6.39/drivers/staging/gma500/
Dpsb_gtt.c78 unsigned long stolen_size, vram_stolen_size, ci_stolen_size; in psb_gtt_init() local
119 stolen_size = vram_stolen_size; in psb_gtt_init()
145 (stolen_size != pg->stolen_size)) { in psb_gtt_init()
152 pg->stolen_size = stolen_size; in psb_gtt_init()
164 pg->vram_addr = ioremap_wc(pg->stolen_base, stolen_size); in psb_gtt_init()
369 tt_start = (pg->stolen_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in psb_gtt_mm_init()
Dpsb_gtt.h42 unsigned long stolen_size; member
Dpsb_drv.c416 stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; in psb_do_init()
/linux-2.6.39/include/drm/
Dintel-gtt.h8 unsigned int stolen_size; member
/linux-2.6.39/drivers/video/intelfb/
Dintelfbhw.c174 int *stolen_size) in intelfbhw_get_memory() argument
180 if (!pdev || !aperture_size || !stolen_size) in intelfbhw_get_memory()
226 *stolen_size = KB(512) - KB(stolen_overhead); in intelfbhw_get_memory()
229 *stolen_size = MB(1) - KB(stolen_overhead); in intelfbhw_get_memory()
232 *stolen_size = MB(8) - KB(stolen_overhead); in intelfbhw_get_memory()
249 *stolen_size = MB(1) - KB(stolen_overhead); in intelfbhw_get_memory()
252 *stolen_size = MB(4) - KB(stolen_overhead); in intelfbhw_get_memory()
255 *stolen_size = MB(8) - KB(stolen_overhead); in intelfbhw_get_memory()
258 *stolen_size = MB(16) - KB(stolen_overhead); in intelfbhw_get_memory()
261 *stolen_size = MB(32) - KB(stolen_overhead); in intelfbhw_get_memory()
[all …]
Dintelfbdrv.c506 int aperture_size, stolen_size; in intelfb_pci_register() local
607 if (intelfbhw_get_memory(pdev, &aperture_size,&stolen_size)) { in intelfb_pci_register()
616 BtoMB(aperture_size), BtoKB(stolen_size)); in intelfb_pci_register()
629 if (ROUND_UP_TO_PAGE(stolen_size) >= MB(vram)) { in intelfb_pci_register()
630 dinfo->fb.size = ROUND_UP_TO_PAGE(stolen_size); in intelfb_pci_register()
660 if (MB(voffset) < stolen_size) in intelfb_pci_register()
661 offset = (stolen_size >> 12); in intelfb_pci_register()
Dintelfbhw.h563 int *stolen_size);
/linux-2.6.39/drivers/gpu/drm/i915/
Di915_dma.c1057 base -= dev_priv->mm.gtt->stolen_size; in i915_stolen_to_phys()
1185 prealloc_size = dev_priv->mm.gtt->stolen_size; in i915_load_modeset_init()