drm_gpusvm_...lid_unlocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gpusvm_pages_valid_unlocked(9) β€” from the Kernel API Manual, bestie ✨

okay so you're in the Kernel API Manual (drm_gpusvm_...lid_unlocked(9)) and this is the page you want, and honestly? it's a short one, we love that for us.


🌸 NAME 🌸

drm_gpusvm_pages_valid_unlocked β€” literally just "GPU SVM pages valid unlocked", no cap, that's the whole name 🫢


✨ SYNOPSIS ✨

bool drm_gpusvm_pages_valid_unlocked (struct drm_gpusvm *gpusvm , struct
drm_gpusvm_pages *svm_pages );

she returns a bool, she takes two struct pointers, she's iconic πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • gpusvm β€” Pointer to the GPU SVM structure. yes girl, the main character struct πŸ’–
  • svm_pages β€” Pointer to the GPU SVM pages structure. this one too πŸ¦‹

πŸ”₯ DESCRIPTION πŸ”₯

so this function determines if a GPU SVM pages are valid β€” vibe check on the pages, basically ✨

and here's the part you cannot skip: it's expected be called without holding gpusvm->notifier_lock 🚨 like, that's the whole point of the _unlocked in the name, bestie, do not come in here holding that lock, i'm literally begging πŸ™ˆ


⭐ RETURN ⭐

  • True if GPU SVM pages are valid πŸ‘‘
  • False otherwise πŸ’€

that's it. that's the return. binary queen 🌈


🧚 SEE ALSO 🧚

the kernel file itself, ./drivers/gpu/drm/drm_gpusvm.c, plus the entire extended friend group of sibling pages, all of them, in order, no one left behind 🫢:


and that's the page babes πŸ’œ this one lives in ./drivers/gpu/drm, dated October 2026, and yes the footer still says drm_gpusvm_...lid_unlocked(9) β€” she's consistent, we stan a consistent queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from