ENUM XE_SRIOV_SCHED_GROUP_MODES(9)
β¨ 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
- 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