to_xe_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… to_xe_range(9) πŸ’…

okay bestie, welcome to the Kernel API Manual entry for to_xe_range β€” yes, it's giving kernel-internals realness, and ngl it's a short one. πŸŽ€


✨ NAME ✨

to_xe_range β€” convert a drm_gpusvm_range pointer to a xe_svm_range

🌸 SYNOPSIS 🌸

struct xe_svm_range * to_xe_range (struct drm_gpusvm_range *r );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • r β€” pointer to the drm_gpusvm_range structure. that's the one being converted, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

okay so picture this: you have a pointer to a drm_gpusvm_range structure. This function takes that pointer and converts it to a pointer to the containing xe_svm_range structure. literally that's the whole vibe ✨

πŸ”₯ RETURN πŸ”₯

Pointer to the xe_svm_range structure. slay πŸ‘‘

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/xe/xe_svm.h, plus struct xe_pagemap(9), xe_svm_range_pages_valid(9), xe_svm_range_has_dma_mapping(9), xe_svm_range_start(9), xe_svm_range_end(9), and xe_svm_range_size(9). iykyk πŸ’…


mwah πŸ’‹ this page comes from the Kernel file ./drivers/gpu/drm/xe, dated October 2026. go off, kernel bestie πŸ§šπŸ’œ

πŸ“¦ where this page comes from