drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h- Extension
.h- Size
- 1683 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.hxe_gt_sriov_pf_config_types.hxe_gt_sriov_pf_control_types.hxe_gt_sriov_pf_migration_types.hxe_gt_sriov_pf_monitor_types.hxe_gt_sriov_pf_policy_types.hxe_gt_sriov_pf_service_types.h
Detected Declarations
struct xe_gt_sriov_metadatastruct xe_gt_sriov_pf_workersstruct xe_gt_sriov_pf
Annotated Snippet
struct xe_gt_sriov_metadata {
/** @config: per-VF provisioning data. */
struct xe_gt_sriov_config config;
/** @monitor: per-VF monitoring data. */
struct xe_gt_sriov_monitor monitor;
/** @control: per-VF control data. */
struct xe_gt_sriov_control_state control;
/** @version: negotiated VF/PF ABI version */
struct xe_gt_sriov_pf_service_version version;
/** @migration: per-VF migration data. */
struct xe_gt_sriov_migration_data migration;
};
/**
* struct xe_gt_sriov_pf_workers - GT level workers used by the PF.
*/
struct xe_gt_sriov_pf_workers {
/** @restart: worker that executes actions post GT reset */
struct work_struct restart;
};
/**
* struct xe_gt_sriov_pf - GT level PF virtualization data.
* @workers: workers data.
* @service: service data.
* @control: control data.
* @policy: policy data.
* @spare: PF-only provisioning configuration.
* @vfs: metadata for all VFs.
*/
struct xe_gt_sriov_pf {
struct xe_gt_sriov_pf_workers workers;
struct xe_gt_sriov_pf_service service;
struct xe_gt_sriov_pf_control control;
struct xe_gt_sriov_pf_policy policy;
struct xe_gt_sriov_spare_config spare;
struct xe_gt_sriov_metadata *vfs;
};
#endif
Annotation
- Immediate include surface: `linux/types.h`, `xe_gt_sriov_pf_config_types.h`, `xe_gt_sriov_pf_control_types.h`, `xe_gt_sriov_pf_migration_types.h`, `xe_gt_sriov_pf_monitor_types.h`, `xe_gt_sriov_pf_policy_types.h`, `xe_gt_sriov_pf_service_types.h`.
- Detected declarations: `struct xe_gt_sriov_metadata`, `struct xe_gt_sriov_pf_workers`, `struct xe_gt_sriov_pf`.
- 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.