Searched refs:GEN12_LMEM_BAR (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 61 current_size = roundup_pow_of_two(pci_resource_len(pdev, GEN12_LMEM_BAR)); in i915_resize_lmem_bar() 68 bar_sizes = pci_rebar_get_possible_sizes(pdev, GEN12_LMEM_BAR); in i915_resize_lmem_bar() 119 _resize_bar(i915, GEN12_LMEM_BAR, rebar_size); in i915_resize_lmem_bar() 216 if (!i915_pci_resource_valid(pdev, GEN12_LMEM_BAR)) in setup_lmem() 253 io_start = pci_resource_start(pdev, GEN12_LMEM_BAR); in setup_lmem() 254 io_size = min(pci_resource_len(pdev, GEN12_LMEM_BAR), lmem_size); in setup_lmem()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | intel_pci_config.h | 23 #define GEN12_LMEM_BAR 2 macro
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ |
D | i915_gem_stolen.c | 905 if (!i915_pci_resource_valid(pdev, GEN12_LMEM_BAR)) in i915_gem_stolen_lmem_setup() 909 lmem_size = pci_resource_len(pdev, GEN12_LMEM_BAR); in i915_gem_stolen_lmem_setup() 934 GEM_BUG_ON(pci_resource_len(pdev, GEN12_LMEM_BAR) != SZ_256M); in i915_gem_stolen_lmem_setup() 952 } else if (pci_resource_len(pdev, GEN12_LMEM_BAR) < lmem_size) { in i915_gem_stolen_lmem_setup() 956 io_start = pci_resource_start(pdev, GEN12_LMEM_BAR) + dsm_base; in i915_gem_stolen_lmem_setup()
|