ENUM XE_GT_SRIOV_CONTROL_BITS(9)
π NAME π
enum xe_gt_sriov_control_bits β okay so this is the enum of various bits used by the PF to represent a VF state, and honestly it's giving state-machine royalty π (and yes bestie, this is straight out of the kernel API manual, we're in the big leagues now)
β¨ SYNOPSIS β¨
enum xe_gt_sriov_control_bits {
XE_GT_SRIOV_STATE_WIP ,
XE_GT_SRIOV_STATE_FLR_WIP ,
XE_GT_SRIOV_STATE_FLR_PREPARE ,
XE_GT_SRIOV_STATE_FLR_SEND_START ,
XE_GT_SRIOV_STATE_FLR_WAIT_GUC ,
XE_GT_SRIOV_STATE_FLR_GUC_DONE ,
XE_GT_SRIOV_STATE_FLR_SYNC ,
XE_GT_SRIOV_STATE_FLR_RESET_CONFIG ,
XE_GT_SRIOV_STATE_FLR_RESET_DATA ,
XE_GT_SRIOV_STATE_FLR_RESET_MMIO ,
XE_GT_SRIOV_STATE_FLR_SEND_FINISH ,
XE_GT_SRIOV_STATE_FLR_FAILED ,
XE_GT_SRIOV_STATE_PAUSE_WIP ,
XE_GT_SRIOV_STATE_PAUSE_SEND_PAUSE ,
XE_GT_SRIOV_STATE_PAUSE_WAIT_GUC ,
XE_GT_SRIOV_STATE_PAUSE_GUC_DONE ,
XE_GT_SRIOV_STATE_PAUSE_FAILED ,
XE_GT_SRIOV_STATE_PAUSED ,
XE_GT_SRIOV_STATE_SAVE_WIP ,
XE_GT_SRIOV_STATE_SAVE_PROCESS_DATA ,
XE_GT_SRIOV_STATE_SAVE_WAIT_DATA ,
XE_GT_SRIOV_STATE_SAVE_DATA_DONE ,
XE_GT_SRIOV_STATE_SAVE_FAILED ,
XE_GT_SRIOV_STATE_SAVED ,
XE_GT_SRIOV_STATE_RESTORE_WIP ,
XE_GT_SRIOV_STATE_RESTORE_PROCESS_DATA ,
XE_GT_SRIOV_STATE_RESTORE_WAIT_DATA ,
XE_GT_SRIOV_STATE_RESTORE_DATA_DONE ,
XE_GT_SRIOV_STATE_RESTORE_FAILED ,
XE_GT_SRIOV_STATE_RESTORED ,
XE_GT_SRIOV_STATE_RESUME_WIP ,
XE_GT_SRIOV_STATE_RESUME_SEND_RESUME ,
XE_GT_SRIOV_STATE_RESUME_FAILED ,
XE_GT_SRIOV_STATE_RESUMED ,
XE_GT_SRIOV_STATE_STOP_WIP ,
XE_GT_SRIOV_STATE_STOP_SEND_STOP ,
XE_GT_SRIOV_STATE_STOP_FAILED ,
XE_GT_SRIOV_STATE_STOPPED ,
XE_GT_SRIOV_STATE_MISMATCH
};
π Constants π
Okay so like, here's every single member and what it's actually saying, no cap π«Ά
XE_GT_SRIOV_STATE_WIPβ the "not me but also yes me" bit π β indicates that some operations are in progress.XE_GT_SRIOV_STATE_FLR_WIPβ indicates that a VF FLR is in progress.XE_GT_SRIOV_STATE_FLR_PREPAREβ indicates that the PF received early VF FLR prepare notification.XE_GT_SRIOV_STATE_FLR_SEND_STARTβ indicates that the PF wants to send a FLR START command.XE_GT_SRIOV_STATE_FLR_WAIT_GUCβ indicates that the PF awaits for a response from the GuC.XE_GT_SRIOV_STATE_FLR_GUC_DONEβ indicates that the PF has received a response from the GuC.XE_GT_SRIOV_STATE_FLR_SYNCβ indicates that the PF awaits to synchronize with other GuCs.XE_GT_SRIOV_STATE_FLR_RESET_CONFIGβ indicates that the PF needs to clear VF's resources.XE_GT_SRIOV_STATE_FLR_RESET_DATAβ indicates that the PF needs to clear VF's data.XE_GT_SRIOV_STATE_FLR_RESET_MMIOβ indicates that the PF needs to reset VF's registers.XE_GT_SRIOV_STATE_FLR_SEND_FINISHβ indicates that the PF wants to send a FLR FINISH message.XE_GT_SRIOV_STATE_FLR_FAILEDβ indicates that VF FLR sequence failed πXE_GT_SRIOV_STATE_PAUSE_WIPβ indicates that a VF pause operation is in progress.XE_GT_SRIOV_STATE_PAUSE_SEND_PAUSEβ indicates that the PF is about to send a PAUSE command.XE_GT_SRIOV_STATE_PAUSE_WAIT_GUCβ indicates that the PF awaits for a response from the GuC.XE_GT_SRIOV_STATE_PAUSE_GUC_DONEβ indicates that the PF has received a response from the GuC.XE_GT_SRIOV_STATE_PAUSE_FAILEDβ indicates that a VF pause operation has failed.XE_GT_SRIOV_STATE_PAUSEDβ indicates that the VF is paused. holding still, main character freeze-frame βXE_GT_SRIOV_STATE_SAVE_WIPβ indicates that VF save operation is in progress.XE_GT_SRIOV_STATE_SAVE_PROCESS_DATAβ indicates that VF migration data is being produced.XE_GT_SRIOV_STATE_SAVE_WAIT_DATAβ indicates that PF awaits for space in migration data ring.XE_GT_SRIOV_STATE_SAVE_DATA_DONEβ indicates that all migration data was produced by Xe.XE_GT_SRIOV_STATE_SAVE_FAILEDβ indicates that VF save operation has failed.XE_GT_SRIOV_STATE_SAVEDβ indicates that VF data is saved. it's locked in, periodt πΎXE_GT_SRIOV_STATE_RESTORE_WIPβ indicates that VF restore operation is in progress.XE_GT_SRIOV_STATE_RESTORE_PROCESS_DATAβ indicates that VF migration data is being consumed.XE_GT_SRIOV_STATE_RESTORE_WAIT_DATAβ indicates that PF awaits for data in migration data ring.XE_GT_SRIOV_STATE_RESTORE_DATA_DONEβ indicates that all migration data was produced by the user.XE_GT_SRIOV_STATE_RESTORE_FAILEDβ indicates that VF restore operation has failed.XE_GT_SRIOV_STATE_RESTOREDβ indicates that VF data is restored.XE_GT_SRIOV_STATE_RESUME_WIPβ indicates that a VF resume operation is in progress.XE_GT_SRIOV_STATE_RESUME_SEND_RESUMEβ indicates that the PF is about to send RESUME command.XE_GT_SRIOV_STATE_RESUME_FAILEDβ indicates that a VF resume operation has failed.XE_GT_SRIOV_STATE_RESUMEDβ indicates that the VF was resumed.XE_GT_SRIOV_STATE_STOP_WIPβ indicates that a VF stop operation is in progress.XE_GT_SRIOV_STATE_STOP_SEND_STOPβ indicates that the PF wants to send a STOP command.XE_GT_SRIOV_STATE_STOP_FAILEDβ indicates that the VF stop operation has failed πXE_GT_SRIOV_STATE_STOPPEDβ indicates that the VF was stopped.XE_GT_SRIOV_STATE_MISMATCHβ indicates that the PF has detected a VF state mismatch. π¨ the vibes do NOT align, bestie
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_control_types.h struct xe_gt_sriov_control_state(9)struct xe_gt_sriov_pf_control(9)
go read those too, iykyk π¦
ok so that's the whole page, no crumbs left behind, fr fr π
kisses bestie, this one's straight out of ./drivers/gpu/drm/xe, dated October 2026 β slay πβ¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms