STRUCT XE_GT_SRIOV_GUC_POLICIES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” a bool that 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 β€” another bool, 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 β€” a u32, 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 β€” a struct 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.h enum
  • 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