Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c244 const unsigned int min_alignment = in lowlevel_hole() local
261 aligned_size = max_t(u32, ilog2(min_alignment), size); in lowlevel_hole()
408 const unsigned int min_alignment = in fill_hole() local
411 min_t(u64, ULONG_MAX - 1, (hole_size / 2) >> ilog2(min_alignment)); in fill_hole()
453 min_alignment); in fill_hole()
493 min_alignment); in fill_hole()
532 min_alignment); in fill_hole()
572 min_alignment); in fill_hole()
634 unsigned long min_alignment; in walk_hole() local
644 min_alignment = i915_vm_min_alignment(vm, INTEL_MEMORY_SYSTEM); in walk_hole()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gtt.c269 memset64(vm->min_alignment, I915_GTT_MIN_ALIGNMENT, in i915_address_space_init()
270 ARRAY_SIZE(vm->min_alignment)); in i915_address_space_init()
274 vm->min_alignment[INTEL_MEMORY_LOCAL] = I915_GTT_PAGE_SIZE_2M; in i915_address_space_init()
275 vm->min_alignment[INTEL_MEMORY_STOLEN_LOCAL] = I915_GTT_PAGE_SIZE_2M; in i915_address_space_init()
277 vm->min_alignment[INTEL_MEMORY_LOCAL] = I915_GTT_PAGE_SIZE_64K; in i915_address_space_init()
278 vm->min_alignment[INTEL_MEMORY_STOLEN_LOCAL] = I915_GTT_PAGE_SIZE_64K; in i915_address_space_init()
Dintel_gtt.h239 u64 min_alignment[INTEL_MEMORY_STOLEN_LOCAL + 1]; member
425 if ((int)type >= ARRAY_SIZE(vm->min_alignment)) in i915_vm_min_alignment()
428 return vm->min_alignment[type]; in i915_vm_min_alignment()
/linux-6.1.9/arch/x86/include/uapi/asm/
Dbootparam.h95 __u8 min_alignment; member
/linux-6.1.9/drivers/iommu/amd/
Diommu.c1392 int min_alignment; in domain_flush_pages() local
1402 min_alignment = min(addr_alignment, size_alignment); in domain_flush_pages()
1404 min_alignment = size_alignment; in domain_flush_pages()
1406 flush_size = 1ul << min_alignment; in domain_flush_pages()
/linux-6.1.9/Documentation/x86/
Dboot.rst216 0235/1 2.10+ min_alignment Minimum alignment, as a power of two
662 min_alignment and pref_address field below.
677 Field name: min_alignment
688 kernel_alignment = 1 << min_alignment