xe_lrc_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

xe_lrc_create(9) πŸ’–

okay so this one is from the Kernel API Manual, and it's literally all about making a brand-new LRC. bestie, we are so back. 🫢


✨ NAME ✨

xe_lrc_create β€” Create a LRC. that's it, that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

struct xe_lrc * xe_lrc_create (struct xe_hw_engine *hwe , struct xe_vm *vm , void *replay_state , u32 ring_size , u16 msix_vec , u32 flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • hwe β€” the Hardware Engine. the engine in question, no cap. πŸ”₯
  • vm β€” the VM (address space). literally the address space vibe. πŸ¦‹
  • replay_state β€” GPU hang replay state. yes bestie, hang replay state. 😭
  • ring_size β€” LRC ring size. the size of the ring, periodt. πŸŽ€
  • msix_vec β€” MSI-X interrupt vector (for platforms that support it). πŸ’–
  • flags β€” LRC initialization flags. flags for initializing the LRC. 🌸

πŸ’… DESCRIPTION πŸ’…

Allocate and initialize the Logical Ring Context (LRC). that's the whole assignment, and it ate. ✨

Return pointer to created LRC upon success and an error pointer upon failure. so: success = pointer to the created LRC, failure = error pointer. iconic either way. πŸ’œ


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/gpu/drm/xe/xe_lrc.c β€” yes, that file. and these besties right here:


sign-off bestie: this page comes from the ./drivers/gpu/drm/xe source/version corner and is dated October 2026 πŸ’– bye, love u, drink water 🫢

πŸ“¦ where this page comes from