Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/i915/gt/
H A Dintel_region_lmem.c69 current_size = roundup_pow_of_two(pci_resource_len(pdev, GEN12_LMEM_BAR)); in i915_resize_lmem_bar()
76 bar_sizes = pci_rebar_get_possible_sizes(pdev, GEN12_LMEM_BAR); in i915_resize_lmem_bar()
127 _resize_bar(i915, GEN12_LMEM_BAR, rebar_size); in i915_resize_lmem_bar()
255 if (!i915_pci_resource_valid(pdev, GEN12_LMEM_BAR)) in setup_lmem()
294 io_start = pci_resource_start(pdev, GEN12_LMEM_BAR); in setup_lmem()
295 io_size = min(pci_resource_len(pdev, GEN12_LMEM_BAR), lmem_size); in setup_lmem()
302 0x10 + (4 * GEN12_LMEM_BAR)); in setup_lmem()
304 0x10 + (4 * GEN12_LMEM_BAR), type, &io_start, &len, NULL); in setup_lmem()
/openbsd/sys/dev/pci/drm/i915/gem/
H A Di915_gem_stolen.c942 if (!i915_pci_resource_valid(pdev, GEN12_LMEM_BAR)) in i915_gem_stolen_lmem_setup()
946 0x10 + (4 * GEN12_LMEM_BAR)); in i915_gem_stolen_lmem_setup()
948 0x10 + (4 * GEN12_LMEM_BAR), mtype, &lmem_start, &lmem_len, NULL); in i915_gem_stolen_lmem_setup()
955 lmem_size = pci_resource_len(pdev, GEN12_LMEM_BAR); in i915_gem_stolen_lmem_setup()
983 GEM_BUG_ON(pci_resource_len(pdev, GEN12_LMEM_BAR) != SZ_256M); in i915_gem_stolen_lmem_setup()
998 } else if (pci_resource_len(pdev, GEN12_LMEM_BAR) < lmem_size) { in i915_gem_stolen_lmem_setup()
1002 io_start = pci_resource_start(pdev, GEN12_LMEM_BAR) + dsm_base; in i915_gem_stolen_lmem_setup()
/openbsd/sys/dev/pci/drm/i915/
H A Dintel_pci_config.h23 #define GEN12_LMEM_BAR 2 macro