ENUM XE_SRIOV_SCHED_GROUP_MODES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ enum xe_sriov_sched_group_modes ✨

okay so bestie, we're deep in the Kernel API Manual today (yes, the whole manual, we're fancy like that πŸ’…) and this page is literally just about one enum β€” enum xe_sriov_sched_group_modes β€” whose entire personality is "list of possible scheduler group modes". that's the NAME energy, no cap.


🌸 SYNOPSIS 🌸

like, here's the whole vibe, character for character, don't touch:

enum xe_sriov_sched_group_modes {
    XE_SRIOV_SCHED_GROUPS_DISABLED ,
    XE_SRIOV_SCHED_GROUPS_MEDIA_SLICES ,
    XE_SRIOV_SCHED_GROUPS_MODES_COUNT

};

yeah that's it. that's the whole struct-shaped moment πŸŽ€


πŸ’– CONSTANTS πŸ’–

okay so these are the actual constants and you're gonna learn them and you're gonna slay:

  • XE_SRIOV_SCHED_GROUPS_DISABLED β€” no separate groups at all, like literally every engine is chilling in group 0. one big group, one big vibe, zero drama 🫢
  • XE_SRIOV_SCHED_GROUPS_MEDIA_SLICES β€” now we do split things up: separate groups for each media slice. main character energy per slice, honestly ✨
  • XE_SRIOV_SCHED_GROUPS_MODES_COUNT β€” the counter bestie, it's just the number of valid modes. not a mode itself, it's the "how many modes exist" girlie πŸ”₯
ngl this enum is short but every single constant above is important β€” don't skip any of them, not even the count one 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

go read the Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy_types.h and then go be obsessed with:

  • struct xe_gt_sriov_scheduler_groups(9)
  • struct xe_gt_sriov_guc_policies(9)
  • struct xe_gt_sriov_pf_policy(9)

iykyk 🌈


🧚 sign-off 🧚

this lil masterpiece lives in ./drivers/gpu/drm/xe, dated October 2026, and yes it's still called enum xe_sri..._group_modes(9) because the page header is a known abbreviator πŸ’€ β€” anyway ily, go read the structs, mwah πŸ’œπŸŽ€

πŸ“¦ where this page comes from