Home
last modified time | relevance | path

Searched refs:lmem_size (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_region_lmem.c75 rebar_size = lmem_size; in i915_resize_lmem_bar()
79 (u64)lmem_size >> 20); in i915_resize_lmem_bar()
85 rebar_size = lmem_size; in i915_resize_lmem_bar()
210 resource_size_t lmem_size; in setup_lmem() local
225 lmem_size *= SZ_1G; in setup_lmem()
236 if (tile_stolen == lmem_size) in setup_lmem()
240 lmem_size -= tile_stolen; in setup_lmem()
249 lmem_size = min_t(resource_size_t, lmem_size, in setup_lmem()
262 lmem_size, in setup_lmem()
282 &lmem_size); in setup_lmem()
[all …]
H A Dintel_gsc.c90 size_t lmem_size; member
123 .lmem_size = SZ_4M,
225 if (def->lmem_size) { in gsc_init_one()
228 if (gsc_ext_om_alloc(gsc, intf, def->lmem_size)) { in gsc_init_one()
235 adev->ext_op_mem.end = adev->ext_op_mem.start + def->lmem_size; in gsc_init_one()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_stolen.c878 resource_size_t dsm_size, dsm_base, lmem_size; in i915_gem_stolen_lmem_setup() local
891 lmem_size = pci_resource_len(pdev, GEN12_LMEM_BAR); in i915_gem_stolen_lmem_setup()
896 lmem_size = lmem_range >> XEHP_TILE_LMEM_RANGE_SHIFT; in i915_gem_stolen_lmem_setup()
897 lmem_size *= SZ_1G; in i915_gem_stolen_lmem_setup()
917 GEM_BUG_ON((dsm_base + dsm_size) > lmem_size); in i915_gem_stolen_lmem_setup()
921 if (WARN_ON(lmem_size < dsm_base)) in i915_gem_stolen_lmem_setup()
923 dsm_size = ALIGN_DOWN(lmem_size - dsm_base, SZ_1M); in i915_gem_stolen_lmem_setup()
926 if (pci_resource_len(pdev, GEN12_LMEM_BAR) < lmem_size) { in i915_gem_stolen_lmem_setup()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_params.h79 param(unsigned int, lmem_size, 0, 0400) \
H A Di915_params.c226 i915_param_named_unsafe(lmem_size, uint, 0400,