drivers/gpu/drm/xe/xe_gt_topology.c
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_gt_topology.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/xe/xe_gt_topology.c- Extension
.c- Size
- 10564 bytes
- Lines
- 352
- 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
xe_gt_topology.hgenerated/xe_wa_oob.hlinux/bitmap.hlinux/compiler.hregs/xe_gt_regs.hxe_assert.hxe_gt.hxe_gt_mcr.hxe_gt_printk.hxe_mmio.hxe_wa.h
Detected Declarations
function load_dss_maskfunction load_eu_maskfunction gen_l3_mask_from_patternfunction xe_gt_topology_report_l3function load_l3_bank_maskfunction xe_gt_topology_initfunction xe_gt_topology_dumpfunction groupfunction xe_l3_bank_mask_ffsfunction xe_gt_topology_has_dss_in_quadrantfunction xe_gt_has_geometry_dssfunction xe_gt_has_compute_dssfunction xe_gt_has_discontiguous_dss_groupsfunction for_each_dss_steering
Annotated Snippet
if (last_group != group) {
if (group - last_group > 1)
return true;
last_group = group;
}
}
return false;
}
Annotation
- Immediate include surface: `xe_gt_topology.h`, `generated/xe_wa_oob.h`, `linux/bitmap.h`, `linux/compiler.h`, `regs/xe_gt_regs.h`, `xe_assert.h`, `xe_gt.h`, `xe_gt_mcr.h`.
- Detected declarations: `function load_dss_mask`, `function load_eu_mask`, `function gen_l3_mask_from_pattern`, `function xe_gt_topology_report_l3`, `function load_l3_bank_mask`, `function xe_gt_topology_init`, `function xe_gt_topology_dump`, `function group`, `function xe_l3_bank_mask_ffs`, `function xe_gt_topology_has_dss_in_quadrant`.
- 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.