xe_svm_range_get_pages(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is xe_svm_range_get_pages(9) from the Kernel API Manual, and it's literally the β€œget pages for a SVM range” girlie. no cap. πŸ’–

🌸 SYNOPSIS 🌸

here's the signature, bestie β€” copy it exactly, don't freestyle:

int xe_svm_range_get_pages (struct xe_vm *vm , struct xe_svm_range
       *range , struct drm_gpusvm_ctx *ctx );

πŸ’… ARGUMENTS πŸ’…

  • vm β€” pointer to the struct xe_vm.
  • range β€” pointer to the xe SVM range structure.
  • ctx β€” GPU SVM context.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function gets pages for a SVM range and ensures they are mapped for DMA access. That's the whole mission, bestie. ✨

In case of failure with -EOPNOTSUPP, it evicts the range. the plot twist is real 😭

⭐ RETURN ⭐

  • 0 on success 🫢
  • negative error code on failure πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Also on the guest list: the kernel file ./drivers/gpu/drm/xe/xe_svm.c, drm_pagemap reference-counting in xe:(9), and these icons:

mwah β€” this page is from ./drivers/gpu/drm/xe, October 2026. stay slay, bestie πŸ’…
πŸ“¦ where this page comes from