xe_gt_sriov_...on_ring_full(9)
π NAME π
xe_gt_sriov_pf_migration_ring_full β bestie, this one just checks whether a migration ring is full. That's it. That's the whole job. β¨
Oh and hey, welcome to the Kernel API Manual for xe_gt_sriov_...on_ring_full(9) β pull up a chair, we're doing kernel lore today π«Ά
πΈ SYNOPSIS πΈ
bool xe_gt_sriov_pf_migration_ring_full (struct xe_gt *gt , unsigned int vfid );
okay so it's a bool returning function, she takes two things, and she will absolutely tell you yes or no. no in-between, no "it depends", no "u up?". iconic behavior honestly π
π ARGUMENTS π
gtβ thexe_gt. literally the graphics tile struct, the main character of this whole file, she's the context everything hangs off of πvfidβ the VF identifier. that's your Virtual Function's little ID number so the code knows which VF we're talking about π¦
β RETURN β
Returns true if the ring is full, otherwise false. no cap, that's the entire contract π
So like β if you get true, bestie, the ring is FULL full. maybe pump the brakes? if you get false, you've got room, go off π
quick vibe check: this function only tells you the ring state, it doesn't do anything about it. the checking is her job, the deciding is yours π
π₯ SEE ALSO π₯
She lives in the kernel file β go say hi:
./drivers/gpu/drm/xe/xe_gt_sriov_pf_migration.c
And here's the whole friend group, all of them, no gatekeeping:
xe_gt_sriov_pf_migration_ggtt_save(9)xe_gt_sriov_pf_migration_ggtt_restore(9)xe_gt_sriov_pf_migration_guc_save(9)xe_gt_sriov_pf_migration_guc_restore(9)xe_gt_sriov_pf_migration_mmio_save(9)xe_gt_sriov_pf_migration_mmio_restore(9)xe_gt_sriov_pf_migration_vram_save(9)xe_gt_sriov_pf_migration_vram_restore(9)xe_gt_sriov_pf_migration_size(9)xe_gt_sriov_pf_migration_ring_empty(9)xe_gt_sriov_pf_migration_ring_free(9)xe_gt_sriov_pf_migration_save_init(9)xe_gt_sriov_pf_migration_save_data_pending(9)xe_gt_sriov_pf_migration_save_data_complete(9)xe_gt_sriov_pf_migration_save_produce(9)xe_gt_sriov_pf_migration_restore_consume(9)xe_gt_sriov_pf_migration_restore_produce(9)xe_gt_sriov_pf_migration_save_consume(9)xe_gt_sriov_pf_migration_init(9)
like, the whole migration saga. save this, restore that, produce, consume, ring empty, ring free β she's got siblings and they're all doing the most π
and that's the page, bestie!! π this beauty ships out of ./drivers/gpu/drm/xe, dated October 2026, and she's filed under xe_gt_sriov_...on_ring_full(9) β go check your ring, mwah π§β¨
π¦ 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