Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/
H A Dxe_ttm_stolen_mgr.c65 u64 stolen_size; in detect_bar2_dgfx() local
77 stolen_size = tile_size - mgr->stolen_base; in detect_bar2_dgfx()
80 if (mgr->stolen_base + stolen_size <= pci_resource_len(pdev, LMEM_BAR)) in detect_bar2_dgfx()
89 return ALIGN_DOWN(stolen_size, SZ_1M); in detect_bar2_dgfx()
119 u32 stolen_size, wopcm_size; in detect_bar2_integrated() local
145 stolen_size = gms * 32 * SZ_1M; in detect_bar2_integrated()
148 stolen_size = (gms - 0xf0 + 1) * 4 * SZ_1M; in detect_bar2_integrated()
159 stolen_size -= wopcm_size; in detect_bar2_integrated()
174 gscpsmi_base < mgr->io_base + stolen_size) { in detect_bar2_integrated()
177 mgr->io_base + stolen_size - gscpsmi_base); in detect_bar2_integrated()
[all …]
/linux/arch/x86/kernel/
H A Dearly-quirks.c300 resource_size_t stolen_size) in i830_stolen_base() argument
302 return i830_mem_size() - i830_tseg_size() - stolen_size; in i830_stolen_base()
306 resource_size_t stolen_size) in i845_stolen_base() argument
308 return i830_mem_size() - i845_tseg_size() - stolen_size; in i845_stolen_base()
312 resource_size_t stolen_size) in i85x_stolen_base() argument
314 return i85x_mem_size() - i85x_tseg_size() - stolen_size; in i85x_stolen_base()
318 resource_size_t stolen_size) in i865_stolen_base() argument
328 resource_size_t stolen_size) in gen3_stolen_base() argument
343 resource_size_t stolen_size) in gen11_stolen_base() argument
464 resource_size_t (*stolen_size)(int num, int slot, int func); member
[all …]
/linux/drivers/char/agp/
H A Dintel-gtt.c84 resource_size_t stolen_size; member
345 resource_size_t stolen_size = 0; in intel_gtt_stolen_size() local
357 stolen_size = KB(512); in intel_gtt_stolen_size()
360 stolen_size = MB(1); in intel_gtt_stolen_size()
363 stolen_size = MB(8); in intel_gtt_stolen_size()
367 stolen_size = (I830_RDRAM_ND(rdct) + 1) * in intel_gtt_stolen_size()
372 stolen_size = 0; in intel_gtt_stolen_size()
378 stolen_size = MB(1); in intel_gtt_stolen_size()
381 stolen_size = MB(4); in intel_gtt_stolen_size()
384 stolen_size = MB(8); in intel_gtt_stolen_size()
[all …]
/linux/drivers/gpu/drm/gma500/
H A Dgem.c334 unsigned long stolen_size, vram_stolen_size; in psb_gem_mm_init() local
345 stolen_size = vram_stolen_size; in psb_gem_mm_init()
350 pg->stolen_size = stolen_size; in psb_gem_mm_init()
353 dev_priv->vram_addr = ioremap_wc(dev_priv->stolen_base, stolen_size); in psb_gem_mm_init()
409 unsigned long stolen_size, vram_stolen_size; in psb_gem_mm_resume() local
417 stolen_size = vram_stolen_size; in psb_gem_mm_resume()
422 if (stolen_size != pg->stolen_size) { in psb_gem_mm_resume()
H A Dgtt.h23 unsigned long stolen_size; member
H A Dgtt.c29 end = root->start + pdev->gtt.stolen_size - 1; in psb_gtt_allocate_resource()
32 start = root->start + pdev->gtt.stolen_size; in psb_gtt_allocate_resource()
H A Dpsb_drv.c138 stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; in psb_do_init()
355 pg->stolen_size >> PAGE_SHIFT, 0); in psb_driver_load()