xe_gt_sriov_...t_fair_sched(9)
π xe_gt_sriov_...t_fair_sched(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this little cutie is a section 9 page and honestly it's giving "gatekeeper of fairness" energy. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
xe_gt_sriov_pf_config_set_fair_sched β provision PF and VFs with fair scheduling π
like⦠it's the function that makes sure everybody gets their lil slice of the scheduler pie. no cap, it's giving equal-share icon.
β¨ SYNOPSIS β¨
int xe_gt_sriov_pf_config_set_fair_sched (struct xe_gt *gt , unsigned
int num_vfs );
π ARGUMENTS π
gtβ thexe_gt, aka the graphics tile in question. your main character struct, lowkey π¦num_vfsβ how many VFs you wanna provision. and listen: it can't be0π« zero VFs is not a thing here, don't even try it. that's the rule, periodt.
π DESCRIPTION π
This function can only be called on PF. that's it, that's the whole description, bestie β short and iconic π like it literally says nothing else. so yeah, PF only, no VF sneaky business, iykyk.
π RETURN π
0on success π slay- a negative error code on failure π (you'll know, it'll tell you)
β SEE ALSO β
the whole friend group, fr fr. the kernel file lives at ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c and here's everybody it hangs out with π
xe_gt_sriov_pf_config_get_ggtt(9)xe_gt_sriov_pf_config_set_ggtt(9)xe_gt_sriov_pf_config_bulk_set_ggtt(9)xe_gt_sriov_pf_config_set_fair_ggtt(9)xe_gt_sriov_pf_config_ggtt_save(9)xe_gt_sriov_pf_config_ggtt_restore(9)xe_gt_sriov_pf_config_get_ctxs(9)xe_gt_sriov_pf_config_set_ctxs(9)xe_gt_sriov_pf_config_bulk_set_ctxs(9)xe_gt_sriov_pf_config_set_fair_ctxs(9)xe_gt_sriov_pf_config_get_dbs(9)xe_gt_sriov_pf_config_set_dbs(9)xe_gt_sriov_pf_config_bulk_set_dbs(9)xe_gt_sriov_pf_config_set_fair_dbs(9)xe_gt_sriov_pf_config_get_lmem(9)xe_gt_sriov_pf_config_set_lmem(9)xe_gt_sriov_pf_config_bulk_set_lmem_locked(9)xe_gt_sriov_pf_config_bulk_set_lmem(9)xe_gt_sriov_pf_config_get_lmem_locked(9)xe_gt_sriov_pf_config_set_lmem_locked(9)xe_gt_sriov_pf_config_get_lmem_obj(9)xe_gt_sriov_pf_config_set_fair_lmem(9)xe_gt_sriov_pf_config_set_fair(9)xe_gt_sriov_pf_config_set_exec_quantum_locked(9)xe_gt_sriov_pf_config_set_exec_quantum(9)xe_gt_sriov_pf_config_get_exec_quantum_locked(9)xe_gt_sriov_pf_config_get_exec_quantum(9)xe_gt_sriov_pf_config_bulk_set_exec_quantum_locked(9)xe_gt_sriov_pf_config_set_groups_exec_quantums(9)xe_gt_sriov_pf_config_get_groups_exec_quantums(9)xe_gt_sriov_pf_config_set_preempt_timeout_locked(9)xe_gt_sriov_pf_config_set_preempt_timeout(9)xe_gt_sriov_pf_config_get_preempt_timeout_locked(9)xe_gt_sriov_pf_config_get_preempt_timeout(9)xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked(9)xe_gt_sriov_pf_config_set_groups_preempt_timeouts(9)xe_gt_sriov_pf_config_get_groups_preempt_timeouts(9)xe_gt_sriov_pf_config_set_sched_priority(9)xe_gt_sriov_pf_config_get_sched_priority(9)xe_gt_sriov_pf_config_force_sched_priority_locked(9)xe_gt_sriov_pf_config_set_threshold(9)xe_gt_sriov_pf_config_get_threshold(9)xe_gt_sriov_pf_config_release(9)xe_gt_sriov_pf_config_sanitize(9)xe_gt_sriov_pf_config_push(9)xe_gt_sriov_pf_config_is_empty(9)xe_gt_sriov_pf_config_save(9)xe_gt_sriov_pf_config_restore(9)xe_gt_sriov_pf_config_init(9)xe_gt_sriov_pf_config_restart(9)xe_gt_sriov_pf_config_print_ggtt(9)xe_gt_sriov_pf_config_print_ctxs(9)xe_gt_sriov_pf_config_print_dbs(9)xe_gt_sriov_pf_config_print_lmem(9)xe_gt_sriov_pf_config_print_available_ggtt(9)
π reminder bestie: PF only. do not come at this from a VF, it will not end cute.
okay that's the page, mwah π this little legend ships out of ./drivers/gpu/drm/xe and was dated October 2026, filed under xe_gt_sriov_...t_fair_sched(9) β go forth and schedule fairly, queen ππ
π¦ 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