drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h- Extension
.h- Size
- 1457 bytes
- Lines
- 59
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.habi/xe_sysctrl_abi.h
Detected Declarations
struct xe_sysctrl_mailbox_commandenum xe_sysctrl_groupenum xe_sysctrl_gfsp_cmd
Annotated Snippet
struct xe_sysctrl_mailbox_command {
/** @header: Application message header containing command information */
struct xe_sysctrl_app_msg_hdr header;
/** @data_in: Pointer to input payload data (can be NULL if no input data) */
void *data_in;
/** @data_in_len: Size of input payload in bytes (0 if no input data) */
size_t data_in_len;
/** @data_out: Pointer to output buffer for response data (can be NULL if no response) */
void *data_out;
/** @data_out_len: Size of output buffer in bytes (0 if no response expected) */
size_t data_out_len;
};
#define XE_SYSCTRL_MB_FRAME_SIZE 16
#define XE_SYSCTRL_MB_MAX_FRAMES 64
#define XE_SYSCTRL_MB_MAX_MESSAGE_SIZE \
(XE_SYSCTRL_MB_FRAME_SIZE * XE_SYSCTRL_MB_MAX_FRAMES)
#define XE_SYSCTRL_MB_DEFAULT_TIMEOUT_MS 500
#endif
Annotation
- Immediate include surface: `linux/types.h`, `abi/xe_sysctrl_abi.h`.
- Detected declarations: `struct xe_sysctrl_mailbox_command`, `enum xe_sysctrl_group`, `enum xe_sysctrl_gfsp_cmd`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.