to_xe_range(9)
π 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 thedrm_gpusvm_rangestructure. 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms