STRUCT XE_SYSCTRL_MAILBOX_COMMAND(9)
β¨ NAME β¨
struct xe_sysctrl_mailbox_command β the System Controller mailbox command, bestie π
okay so picture this: you're the driver, and the System Controller is that one friend who has ALL the tea but only replies if you format the message exactly right. That's literally what this struct is β the little envelope you fill out and slide across the counter. π¨ And yes it lives in the Kernel API Manual, which is giving very "official group chat rules" energy. π
π SYNOPSIS π
struct xe_sysctrl_mailbox_command {
struct xe_sysctrl_app_msg_hdr header;
void *data_in;
size_t data_in_len;
void *data_out;
size_t data_out_len;
};
no cap, that's the whole shape of it β one header, then an in/out pair for the data and an in/out pair for the lengths. iconic symmetry, honestly. π¦
πΈ MEMBERS πΈ
headerβ the application message header, aka where all the command intel lives. This is the "who/what/where" part of your message, the main character of the struct. πdata_inβ pointer to your input payload data. It can beNULLif you've got no input data to send, so don't stress β sometimes you're just vibing with an empty message. πdata_in_lenβ the size of that input payload, in bytes. Set it to0if there's no input data. Numbers, not vibes. π’data_outβ pointer to the output buffer where the response data lands. It can beNULLif there's no response coming β ghosted by the hardware, happens to the best of us. πdata_out_lenβ the size of the output buffer, in bytes. Set it to0if you're not expecting a response. lowkey the most important "am I getting a reply" flag in the whole struct. π
π«Ά SEE ALSO π«Ά
Go read these next, they're the supporting cast and they ate:
- Kernel file
./drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h enum xe_sysctrl_group(9)enum xe_sysctrl_gfsp_cmd(9)
and that's the whole page, periodt. π this little masterpiece comes to you from ./drivers/gpu/drm/xe, dated October 2026, and it answers to the name struct xe_s...lbox_command(9) β yeah the name got truncated, we don't talk about it. slay. β¨πβ
π¦ 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