xe_res_dma(9)
πΈ xe_res_dma πΈ
okay so this is a page from the Kernel API Manual β yes bestie, the actual kernel API manual, we're in the big leagues now π
β and it's all about xe_res_dma(9), which is a tiny little icon that hands you the dma address of the cursor at its current position. that's it. that's the whole vibe. short, sweet, slays β¨
π NAME π
xe_res_dma β return dma address of cursor at current position π«Ά
like literally, it gives you back the dma address of wherever the cursor is sitting right now. no cap.
π SYNOPSIS π
u64 xe_res_dma (const struct xe_res_cursor *cur );
so it takes one thing, it gives back a u64. the way that signature is so clean π
β¨ ARGUMENTS β¨
curβ the cursor to return the dma address from. that's the one (1) job. you hand it the cursor, it tells you the dma address. iconic behavior fr fr π¦
π₯ SEE ALSO π₯
okay there's a whole friend group here, go say hi π
- the kernel file
./drivers/gpu/drm/xe/xe_res_cursor.hβ literally the home ofstruct xe_res_cursor(9), the main character herself π xe_res_first(9)__xe_res_dma_next(9)xe_res_first_sg(9)xe_res_first_dma(9)xe_res_next(9)xe_res_is_vram(9)
all of them, together, in ./drivers/gpu/drm/xe β found family energy fr π§π
aaaand that's the page bestie, we ate and left no crumbs π this came out of ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_res_dma(9) β mwah, bye ππ
π¦ 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