STRUCT XE_GT_SRIOV_GUC_POLICIES(9)
π NAME π
struct xe_gt_sriov_guc_policies β the GuC SR-IOV policies, bestie. Yeah. That whole thing. π
So real quick context before we dive in: this is a page from the Kernel API Manual, and it's documenting one struct out of ./drivers/gpu/drm/xe. It's giving very niche, very internal, very "iykyk" energy β and honestly? Obsessed. π
β¨ SYNOPSIS β¨
Like, here's the whole shape of it, no cap, copied exactly:
struct xe_gt_sriov_guc_policies {
bool sched_if_idle;
bool reset_engine;
u32 sample_period;
struct xe_gt_sriov_scheduler_groups sched_groups;
};
Four members. That's the whole vibe. Let's get into them π
πΈ Members πΈ
sched_if_idleβ aboolthat controls the strict scheduling policy. Like, it's the little switch that decides whether we're being strict about scheduling. Lowkey the bossy one of the group. π«Άreset_engineβ anotherbool, and this one controls the engines reset on VF switch policy. So when a VF switch happens, this is the member that decides what goes down with engine resets. Main character energy fr fr. π₯sample_periodβ au32, and it's the adverse events sampling period, measured in milliseconds. Adverse events! Sampling period! She's out here collecting the drama on a timer. πsched_groupsβ astruct xe_gt_sriov_scheduler_groups, holding the available scheduling group configurations. Basically the closet where all the scheduling group fits live. π
π¦ SEE ALSO π¦
Go check these out when you're done here, they're all linked up:
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy_types.henum xe_sriov_sched_group_modes(9)struct xe_gt_sriov_scheduler_groups(9)struct xe_gt_sriov_pf_policy(9)
π Friendly reminder that this is a header-file struct, so the definitive truth lives in ./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy_types.h β always double-check the source, bestie, don't just trust the vibes.
Okay that's the whole page!! π Big kisses from the Kernel API Manual, page struct xe_g...guc_policies(9), straight outta ./drivers/gpu/drm/xe, dated October 2026. Slay, go read your kernel source, ily, bye ππ§β¨
π¦ 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