drivers/gpu/drm/xe/xe_mmio_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_mmio_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/xe/xe_mmio_types.h- Extension
.h- Size
- 1516 bytes
- Lines
- 65
- 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_gtstruct xe_tilestruct xe_mmiostruct xe_mmio_range
Annotated Snippet
struct xe_mmio {
/** @tile: Backpointer to tile, used for tracing */
struct xe_tile *tile;
/** @regs: Map used to access registers. */
void __iomem *regs;
/**
* @sriov_vf_gt: Backpointer to GT.
*
* This pointer is only set for GT MMIO regions and only when running
* as an SRIOV VF structure
*/
struct xe_gt *sriov_vf_gt;
/**
* @regs_size: Length of the register region within the map.
*
* The size of the iomap set in *regs is generally larger than the
* register mmio space since it includes unused regions and/or
* non-register regions such as the GGTT PTEs.
*/
size_t regs_size;
/** @adj_limit: adjust MMIO address if address is below this value */
u32 adj_limit;
/** @adj_offset: offset to add to MMIO address when adjusting */
u32 adj_offset;
};
/**
* struct xe_mmio_range - register range structure
*
* @start: first register offset in the range.
* @end: last register offset in the range.
*/
struct xe_mmio_range {
u32 start;
u32 end;
};
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct xe_gt`, `struct xe_tile`, `struct xe_mmio`, `struct xe_mmio_range`.
- 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.