Searched refs:lmem_size (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/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 74 rebar_size >= roundup_pow_of_two(lmem_size)) { in i915_resize_lmem_bar() 75 rebar_size = lmem_size; in i915_resize_lmem_bar() 79 (u64)lmem_size >> 20); in i915_resize_lmem_bar() 84 if (rebar_size != roundup_pow_of_two(lmem_size)) in i915_resize_lmem_bar() 85 rebar_size = lmem_size; in i915_resize_lmem_bar() 127 static void i915_resize_lmem_bar(struct drm_i915_private *i915, resource_size_t lmem_size) {} in i915_resize_lmem_bar() argument 210 resource_size_t lmem_size; in setup_lmem() local 224 lmem_size = lmem_range >> XEHP_TILE_LMEM_RANGE_SHIFT; in setup_lmem() 225 lmem_size *= SZ_1G; in setup_lmem() [all …]
|
D | intel_gsc.c | 91 size_t lmem_size; member 111 .lmem_size = SZ_4M, 211 if (def->lmem_size) { in gsc_init_one() 214 if (gsc_ext_om_alloc(gsc, intf, def->lmem_size)) { in gsc_init_one() 221 adev->ext_op_mem.end = adev->ext_op_mem.start + def->lmem_size; in gsc_init_one()
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.c | 896 resource_size_t dsm_size, dsm_base, lmem_size; in i915_gem_stolen_lmem_setup() local 909 lmem_size = pci_resource_len(pdev, GEN12_LMEM_BAR); in i915_gem_stolen_lmem_setup() 914 lmem_size = lmem_range >> XEHP_TILE_LMEM_RANGE_SHIFT; in i915_gem_stolen_lmem_setup() 915 lmem_size *= SZ_1G; in i915_gem_stolen_lmem_setup() 935 GEM_BUG_ON((dsm_base + dsm_size) > lmem_size); in i915_gem_stolen_lmem_setup() 939 if (lmem_size < dsm_base) { in i915_gem_stolen_lmem_setup() 942 &lmem_size, &dsm_base); in i915_gem_stolen_lmem_setup() 945 dsm_size = ALIGN_DOWN(lmem_size - dsm_base, SZ_1M); in i915_gem_stolen_lmem_setup() 952 } else if (pci_resource_len(pdev, GEN12_LMEM_BAR) < lmem_size) { in i915_gem_stolen_lmem_setup()
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_gt_sriov_vf.c | 373 if (config->lmem_size && config->lmem_size != size) { in vf_get_lmem_info() 375 size / SZ_1M, config->lmem_size / SZ_1M); in vf_get_lmem_info() 382 config->lmem_size = size; in vf_get_lmem_info() 384 return config->lmem_size ? 0 : -ENODATA; in vf_get_lmem_info() 493 xe_gt_assert(gt, gt->sriov.vf.self_config.lmem_size); in xe_gt_sriov_vf_lmem() 495 return gt->sriov.vf.self_config.lmem_size; in xe_gt_sriov_vf_lmem() 958 string_get_size(config->lmem_size, 1, STRING_UNITS_2, buf, sizeof(buf)); in xe_gt_sriov_vf_print_config() 959 drm_printf(p, "LMEM size:\t%llu (%s)\n", config->lmem_size, buf); in xe_gt_sriov_vf_print_config()
|
D | xe_gt_sriov_pf_config_types.h | 50 u64 lmem_size; member
|
D | xe_gt_sriov_vf_types.h | 44 u64 lmem_size; member
|
D | xe_gt_sriov_pf_config.c | 1231 spare = gt->sriov.pf.spare.lmem_size; in pf_get_spare_lmem() 1245 gt->sriov.pf.spare.lmem_size = size; in pf_set_spare_lmem()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_params.h | 61 param(unsigned int, lmem_size, 0, 0400) \
|
D | i915_params.c | 128 i915_param_named_unsafe(lmem_size, uint, 0400,
|