Searched refs:lmem_size (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 50 static void i915_resize_lmem_bar(struct drm_i915_private *i915, resource_size_t lmem_size) in i915_resize_lmem_bar() argument 73 rebar_size >= roundup_pow_of_two(lmem_size)) { in i915_resize_lmem_bar() 74 rebar_size = lmem_size; in i915_resize_lmem_bar() 78 (u64)lmem_size >> 20); in i915_resize_lmem_bar() 83 if (rebar_size != roundup_pow_of_two(lmem_size)) in i915_resize_lmem_bar() 84 rebar_size = lmem_size; in i915_resize_lmem_bar() 116 static void i915_resize_lmem_bar(struct drm_i915_private *i915, resource_size_t lmem_size) {} in i915_resize_lmem_bar() argument 199 resource_size_t lmem_size; in setup_lmem() local 213 lmem_size = lmem_range >> XEHP_TILE_LMEM_RANGE_SHIFT; in setup_lmem() 214 lmem_size *= SZ_1G; in setup_lmem() [all …]
|
D | intel_gsc.c | 89 size_t lmem_size; member 122 .lmem_size = SZ_4M, 210 if (def->lmem_size) { in gsc_init_one() 213 if (gsc_ext_om_alloc(gsc, intf, def->lmem_size)) { in gsc_init_one() 220 adev->ext_op_mem.end = adev->ext_op_mem.start + def->lmem_size; in gsc_init_one()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.c | 805 resource_size_t dsm_size, dsm_base, lmem_size; in i915_gem_stolen_lmem_setup() local 819 lmem_size = pci_resource_len(pdev, GEN12_LMEM_BAR); in i915_gem_stolen_lmem_setup() 820 if (WARN_ON(lmem_size < dsm_base)) in i915_gem_stolen_lmem_setup() 826 lmem_size = lmem_range >> XEHP_TILE_LMEM_RANGE_SHIFT; in i915_gem_stolen_lmem_setup() 827 lmem_size *= SZ_1G; in i915_gem_stolen_lmem_setup() 830 dsm_size = lmem_size - dsm_base; in i915_gem_stolen_lmem_setup() 831 if (pci_resource_len(pdev, GEN12_LMEM_BAR) < lmem_size) { in i915_gem_stolen_lmem_setup()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_params.h | 76 param(unsigned int, lmem_size, 0, 0400) \
|
D | i915_params.c | 217 i915_param_named_unsafe(lmem_size, uint, 0400,
|