Searched refs:stolen_size (Results 1 – 7 of 7) sorted by relevance
65 u64 stolen_size; in detect_bar2_dgfx() local77 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() local145 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 …]
300 resource_size_t stolen_size) in i830_stolen_base() argument302 return i830_mem_size() - i830_tseg_size() - stolen_size; in i830_stolen_base()306 resource_size_t stolen_size) in i845_stolen_base() argument308 return i830_mem_size() - i845_tseg_size() - stolen_size; in i845_stolen_base()312 resource_size_t stolen_size) in i85x_stolen_base() argument314 return i85x_mem_size() - i85x_tseg_size() - stolen_size; in i85x_stolen_base()318 resource_size_t stolen_size) in i865_stolen_base() argument328 resource_size_t stolen_size) in gen3_stolen_base() argument343 resource_size_t stolen_size) in gen11_stolen_base() argument464 resource_size_t (*stolen_size)(int num, int slot, int func); member[all …]
84 resource_size_t stolen_size; member345 resource_size_t stolen_size = 0; in intel_gtt_stolen_size() local357 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 …]
334 unsigned long stolen_size, vram_stolen_size; in psb_gem_mm_init() local345 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() local417 stolen_size = vram_stolen_size; in psb_gem_mm_resume()422 if (stolen_size != pg->stolen_size) { in psb_gem_mm_resume()
23 unsigned long stolen_size; member
29 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()
138 stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; in psb_do_init()355 pg->stolen_size >> PAGE_SHIFT, 0); in psb_driver_load()