xe_bo_dev_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_bo_dev_init(9) β€” like, the whole glow-up guide πŸ’–

okay so real talk: this is a page straight out of the Kernel API Manual, and it's about xe_bo_dev_init(9). yes bestie, we're doing kernel internals today and we're gonna slay it 🫢


✨ NAME ✨

xe_bo_dev_init β€” sets up the BO dev so that async BO freeing actually has somewhere to live πŸ’…

Think of it as: you're giving the BO dev its little management era. Iconic. Necessary. Do not skip.


🌸 SYNOPSIS 🌸

void xe_bo_dev_init (struct xe_bo_dev *bo_dev );

That's it. That's the whole vibe. It returns void, so there's literally nothing to check afterwards β€” it just does the thing and hands you back nothing. No cap.


πŸŽ€ ARGUMENTS πŸŽ€

  • bo_dev β€” the BO dev structure πŸ’– this is the main character of the function; it's the thing that gets initialized. Pass it in and let it become its best self.

πŸ¦‹ SEE ALSO πŸ¦‹

bestie. there are so many siblings. grab a snack, this is a whole family reunion 😭

Oh, and before the list β€” quick heads up, it's all documented in the Kernel file ./drivers/gpu/drm/xe/xe_bo.c. That's the source of truth, go touch grass there if you need more.

Like I said. Whole. Family. Reunion. πŸ“


πŸ’œ friendly reminder: xe_bo_dev_fini(9) is right there at the end of that list β€” it's the counterpart to this function, so when you're done initializing, that's where you go to wrap up. (And yes, the source lives in ./drivers/gpu/drm/xe/xe_bo.c, in case you forgot already πŸ™ˆ)

okay and that's the page!! mwah πŸ’‹ this came from ./drivers/gpu/drm/xe, dated October 2026 β€” so go forth, initialize those BO devs, and remember: async BO freeing doesn't manage itself, bestie πŸ‘‘βœ¨

πŸ“¦ where this page comes from