drivers/gpu/drm/xe/xe_ras_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_ras_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/xe/xe_ras_types.h- Extension
.h- Size
- 1743 bytes
- Lines
- 74
- 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.h
Detected Declarations
struct xe_ras_error_commonstruct xe_ras_error_unitstruct xe_ras_error_causestruct xe_ras_error_productstruct xe_ras_error_classstruct xe_ras_threshold_crossed
Annotated Snippet
struct xe_ras_error_common {
/** @severity: Error severity */
u8 severity;
/** @component: IP block where error originated */
u8 component;
} __packed;
/**
* struct xe_ras_error_unit - Error unit information
*/
struct xe_ras_error_unit {
/** @tile: Tile identifier */
u8 tile;
/** @instance: Instance identifier specific to IP */
u32 instance;
} __packed;
/**
* struct xe_ras_error_cause - Error cause information
*/
struct xe_ras_error_cause {
/** @cause: Cause/checker */
u32 cause;
/** @reserved: For future use */
u8 reserved;
} __packed;
/**
* struct xe_ras_error_product - Error fields that are specific to the product
*/
struct xe_ras_error_product {
/** @unit: Unit within IP block */
struct xe_ras_error_unit unit;
/** @cause: Cause/checker */
struct xe_ras_error_cause cause;
} __packed;
/**
* struct xe_ras_error_class - Combines common and product-specific parts
*/
struct xe_ras_error_class {
/** @common: Common error type and component */
struct xe_ras_error_common common;
/** @product: Product-specific unit and cause */
struct xe_ras_error_product product;
} __packed;
/**
* struct xe_ras_threshold_crossed - Data for threshold crossed event
*/
struct xe_ras_threshold_crossed {
/** @ncounters: Number of error counters that crossed thresholds */
u32 ncounters;
/** @counters: Array of error counters that crossed threshold */
struct xe_ras_error_class counters[XE_RAS_NUM_COUNTERS];
} __packed;
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct xe_ras_error_common`, `struct xe_ras_error_unit`, `struct xe_ras_error_cause`, `struct xe_ras_error_product`, `struct xe_ras_error_class`, `struct xe_ras_threshold_crossed`.
- 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.