drivers/gpu/drm/xe/xe_sriov_pf_migration_types.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_sriov_pf_migration_types.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_sriov_pf_migration_types.h
Extension
.h
Size
1068 bytes
Lines
38
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_sriov_pf_migration {
	/** @disabled: indicates whether VF migration feature is disabled */
	bool disabled;
};

/**
 * struct xe_sriov_migration_state - Per VF device-level migration related data
 */
struct xe_sriov_migration_state {
	/** @wq: waitqueue used to avoid busy-waiting for snapshot production/consumption */
	wait_queue_head_t wq;
	/** @lock: Mutex protecting the migration data */
	struct mutex lock;
	/** @pending: currently processed data packet of VF resource */
	struct xe_sriov_packet *pending;
	/** @trailer: data packet used to indicate the end of stream */
	struct xe_sriov_packet *trailer;
	/** @descriptor: data packet containing the metadata describing the device */
	struct xe_sriov_packet *descriptor;
};

#endif

Annotation

Implementation Notes