xe_res_first_sg(9)
π xe_res_first_sg(9) π
okay bestie, welcome to the Kernel API Manual page for xe_res_first_sg β it's short, it's sweet, and it's giving "tiny function, big responsibilities" energy β¨
β¨ NAME β¨
xe_res_first_sg β initialize a xe_res_cursor with a scatter gather table π
πΈ SYNOPSIS πΈ
void xe_res_first_sg (const struct sg_table *sg , u64 start , u64 size ,
struct xe_res_cursor *cur );
π¦ ARGUMENTS π¦
sgβ the scatter gather table you're gonna walk, bestie πΆββοΈπ¨startβ where the range starts, like the beginning of the story fr frsizeβ how big the range is πcurβ the cursor object you're initializing. this is the main character, honestly π
π DESCRIPTION π
Start walking over the range of allocations between start and size. that's it, that's the whole vibe β you hand it the range, it sets up the cursor, and off you go β¨ lowkey iconic behavior π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/xe/xe_res_cursor.hstructxe_res_cursor(9) xe_res_first(9)__xe_res_dma_next(9)xe_res_first_dma(9)xe_res_next(9)xe_res_dma(9)xe_res_is_vram(9)
like, go read those too, they're all part of the same little friend group iykyk π
and that's the page!! mwah π this one came from ./drivers/gpu/drm/xe and it's dated October 2026 β no cap, that's literally what it says, catch you on the next manpage 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