xe_bo_create_pin_range_novm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ xe_bo_create_pin_range_novm(9) β€” Kernel API Manual πŸ‘‘

okay so bestie, welcome to the Kernel API Manual page for xe_bo_create_pin_range_novm(9). This is where we create and pin a BO with range options, and it's giving very specific kernel energy. No cap, the signature is a whole little squad of types, so let's get into it. πŸ’–

🌸 NAME 🌸

xe_bo_create_pin_range_novm β€” create and pin a BO with range options. Periodt. πŸŽ€

✨ SYNOPSIS ✨

The whole signature, exactly as it appears, because we do not mess with code in this house:

struct xe_bo * xe_bo_create_pin_range_novm (struct xe_device *xe ,
struct xe_tile *tile , size_t size , u64 start , u64 end , enum
ttm_bo_type type , u32 flags );

πŸ’… ARGUMENTS πŸ’…

  • xe β€” the xe device. That's the main character of this call. ✨
  • tile β€” the tile to select for migration of this bo, and the tile used for GGTT binding if any. Only to be non-NULL for ttm_bo_type_kernel bos. iykyk.
  • size β€” the storage size to use for the bo. Like, how much room are we booking? simple as that.
  • start β€” start of fixed VRAM range or 0.
  • end β€” end of fixed VRAM range or ~0ULL.
  • type β€” the TTM buffer object type. Gotta know what kind of BO we're creating. fr fr.
  • flags β€” XE_BO_FLAG_ flags. Yes, those flags. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Create an Xe BO with range- and options. That's the whole vibe.

⚠️ If start and end indicate a fixed VRAM range, this must be a ttm_bo_type_kernel bo with VRAM placement only. No cap, that part is a hard requirement.

πŸŽ€ RETURN πŸŽ€

On success, you get the buffer object. On failure, you get a negative error pointer. Slay when it works, sigh when it doesn't. 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/gpu/drm/xe/xe_bo.c is the home base, and the whole friend group is here:


Mwah πŸ’‹ This page comes from ./drivers/gpu/drm/xe β€” that's the source/version line, bestie β€” and it's dated October 2026. It's the xe_bo_create_pin_range_novm(9) manual page, and we are so done here. Bye bestie! πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from