xe_res_first_dma(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_res_first_dma(9) β€” the Kernel API Manual glow-up

okay so bestie, welcome to xe_res_first_dma, straight out of the Kernel API Manual. this one is literally just here to initialize a xe_res_cursor with a dma_addr array. that's the whole vibe. let's get into it πŸŽ€


✨ SYNOPSIS ✨

void xe_res_first_dma (const struct drm_pagemap_addr *dma_addr , u64
start , u64 size , struct xe_res_cursor *cur );

no cap, that's the exact signature β€” copy it, don't freestyle it πŸ’–


🫢 ARGUMENTS 🫢

  • dma_addr β€” the struct drm_pagemap_addr array you're gonna walk through. like, the whole lineup. 🌈
  • start β€” where the range begins. the starting line, the main character entrance. ⭐
  • size β€” how big the range is. the amount of stuff we're covering, periodt. πŸ“
  • cur β€” the cursor object you're initializing. it's giving "fresh start, empty canvas". 🎨

🌸 DESCRIPTION 🌸

so here's the tea πŸ“: you call this and it starts walking over the range of allocations between start and size. that's it, that's the function. lowkey iconic for how simple it is. πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

go peek at the kernel file ./drivers/gpu/drm/xe/xe_res_cursor.h (yes, that whole path, iykyk) and these fellow icons:


okay that's the whole page, bestie, you ate that 🫢 this gem lives over in ./drivers/gpu/drm/xe and it's stamped October 2026 β€” go forth and walk those ranges βœ¨πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from