Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_region_lmem.c55 resource_size_t rebar_size; in i915_resize_lmem_bar() local
66 rebar_size = i915->params.lmem_bar_size * in i915_resize_lmem_bar()
70 if (rebar_size == current_size) in i915_resize_lmem_bar()
73 if (!(bar_sizes & BIT(pci_rebar_bytes_to_size(rebar_size))) || in i915_resize_lmem_bar()
74 rebar_size >= roundup_pow_of_two(lmem_size)) { in i915_resize_lmem_bar()
75 rebar_size = lmem_size; in i915_resize_lmem_bar()
82 rebar_size = current_size; 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()
119 _resize_bar(i915, GEN12_LMEM_BAR, rebar_size); in i915_resize_lmem_bar()