Searched refs:dsm_base (Results 1 – 1 of 1) sorted by relevance
896 resource_size_t dsm_size, dsm_base, lmem_size; in i915_gem_stolen_lmem_setup() local931 dsm_base = SZ_8M; in i915_gem_stolen_lmem_setup()935 GEM_BUG_ON((dsm_base + dsm_size) > lmem_size); in i915_gem_stolen_lmem_setup()938 dsm_base = intel_uncore_read64(uncore, GEN6_DSMBASE) & GEN11_BDSM_MASK; 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()956 io_start = pci_resource_start(pdev, GEN12_LMEM_BAR) + dsm_base; in i915_gem_stolen_lmem_setup()963 mem = intel_memory_region_create(i915, dsm_base, dsm_size, in i915_gem_stolen_lmem_setup()