drivers/gpu/drm/xe/xe_gt_sriov_pf_service_types.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_gt_sriov_pf_service_types.h
Extension
.h
Size
1379 bytes
Lines
53
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_pf_service_version {
	u16 major;
	u16 minor;
};

/**
 * struct xe_gt_sriov_pf_service_runtime_regs - Runtime data shared with VFs.
 * @regs: pointer to static array with register offsets.
 * @values: pointer to array with captured register values.
 * @size: size of the regs and value arrays.
 */
struct xe_gt_sriov_pf_service_runtime_regs {
	const struct xe_reg *regs;
	u32 *values;
	u32 size;
};

/**
 * struct xe_gt_sriov_pf_service - Data used by the PF service.
 * @version: information about VF/PF ABI versions for current platform.
 * @version.base: lowest VF/PF ABI version that could be negotiated with VF.
 * @version.latest: latest VF/PF ABI version supported by the PF driver.
 * @runtime: runtime data shared with VFs.
 */
struct xe_gt_sriov_pf_service {
	struct {
		struct xe_gt_sriov_pf_service_version base;
		struct xe_gt_sriov_pf_service_version latest;
	} version;
	struct xe_gt_sriov_pf_service_runtime_regs runtime;
};

#endif

Annotation

Implementation Notes