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.

Dependency Surface

Detected Declarations

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

Implementation Notes