xe_bo_create_user(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_bo_create_user(9) πŸ’–

Okay bestie, welcome to the Kernel API Manual page for xe_bo_create_user(9). This is the one that creates a user BO, and we’re gonna read it together like the group chat is watching. ✨

🌸 NAME 🌸

xe_bo_create_user β€” Create a user BO

πŸ¦‹ SYNOPSIS πŸ¦‹

struct xe_bo * xe_bo_create_user (struct xe_device *xe , struct xe_vm
       *vm , size_t size , u16 cpu_caching , u32 flags , struct drm_exec *exec
       );

πŸŽ€ ARGUMENTS πŸŽ€

Here’s the cast β€” every single argument, no skips, periodt:

  • xe β€” The xe device. Main character energy, lowkey.
  • vm β€” The local vm, or NULL for external objects. πŸ‘€
  • size β€” The storage size to use for the bo.
  • cpu_caching β€” The caching mode to be used for system backing store.
  • flags β€” XE_BO_FLAG_ flags.
  • exec β€” The drm_exec transaction to use for exhaustive eviction, or NULL if such a transaction should be initiated by the call.

✨ DESCRIPTION ✨

Create a bo on behalf of user-space. Literally that’s the description β€” this function does the BO-making for user-space. 🫢

πŸ”₯ RETURN πŸ”₯

The buffer object on success. Negative error pointer on failure.

So yeah: success gives you the buffer object, failure gives you a negative error pointer β€” and that’s the vibe check. πŸ’…

🌈 SEE ALSO 🌈

Kernel file first, then the whole reference friend group: ./drivers/gpu/drm/xe/xe_bo.c.


🫢 That’s the whole page, bestie! Footer tea: source/version ./drivers/gpu/drm/xe, dated October 2026, and the title is xe_bo_create_user(9). Byeee! πŸ’…βœ¨

πŸ“¦ where this page comes from