xe_vma_has_d...lt_mem_attrs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

xe_vma_has_default_mem_attrs β€” check if a VMA has default memory attributes πŸ’–

✨ SYNOPSIS ✨

bool xe_vma_has_default_mem_attrs (struct xe_vma *vma );

πŸŽ€ ARGUMENTS πŸŽ€

  • vma β€” pointer to the xe_vma structure to check 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay bestie, this function is doing a little vibe check on the given VMA (Virtual Memory Area): does it have its memory attributes set to their default values? Specifically, it checks all of these conditions:

  • atomic_access is DRM_XE_VMA_ATOMIC_UNDEFINED
  • pat_index is equal to default_pat_index
  • preferred_loc.devmem_fd is DRM_XE_PREFERRED_LOC_DEFAULT_DEVICE
  • preferred_loc.migration_policy is DRM_XE_MIGRATE_ALL_PAGES

πŸ‘‘ RETURN πŸ‘‘

true if all attributes are at their default values, false otherwise. no cap πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/xe/xe_vm.c β€” and here are all the related pages, bestie:


source/version: ./drivers/gpu/drm/xe Β· date: October 2026 Β· page: xe_vma_has_d...lt_mem_attrs(9) β€” byeeee bestie, go check those attrs πŸ’–βœ¨

πŸ“¦ where this page comes from