xe_lrc_create(9)
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:
xe_gt_lrc_hang_replay_size(9)xe_lrc_reg_size(9)xe_lrc_engine_state_size(9)xe_lrc_ctx_timestamp_ggtt_addr(9)xe_lrc_ctx_timestamp_udw_ggtt_addr(9)xe_lrc_ctx_timestamp(9)xe_lrc_queue_timestamp(9)xe_lrc_ctx_job_timestamp_ggtt_addr(9)xe_lrc_ctx_job_timestamp(9)xe_default_lrc_update_memirq_regs_with_address(9)xe_lrc_update_memirq_regs_with_address(9)xe_lrc_setup_wa_bb_with_scratch(9)xe_lrc_set_multi_queue_priority(9)xe_lrc_destroy(9)xe_lrc_update_hwctx_regs_with_address(9)xe_lrc_alloc_seqno_fence(9)xe_lrc_free_seqno_fence(9)xe_lrc_init_seqno_fence(9)xe_lrc_engine_id(9)xe_lrc_timestamp(9)xe_lrc_update_timestamp(9)xe_lrc_ring_is_idle(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms