xe_gt_sriov...mpt_timeouts(9)
π xe_gt_sriov...mpt_timeouts(9) β Kernel API Manual, but make it make sense
okay so bestie, you're reading the Kernel API Manual page for xe_gt_sriov...mpt_timeouts(9), and honestly? It's a niche little baddie. Let me walk you through it π
β¨ NAME β¨
xe_gt_sriov_pf_config_set_groups_preempt_timeouts β it configures PF/VF PTs for sched groups. Yes, "PTs" is doing a lot of heavy lifting there, and yes, it's giving "abbreviation that expects you to already know things" π
π¦ SYNOPSIS π¦
int xe_gt_sriov_pf_config_set_groups_preempt_timeouts (struct xe_gt *gt
, unsigned int vfid , u32 *preempt_timeouts , u32 count );
That's the whole signature, no cap. Five things go in, an int comes out π₯
πΈ ARGUMENTS πΈ
gtβ thexe_gt. That's the graphics tile situation, and it's the main character of this whole call.vfidβ the PF or VF identifier. Basically "whose config is this anyway" πpreempt_timeoutsβ an array of requested PTs in microseconds. Oh and heads up:0is infinity. Literally infinity. Iconic of it.countβ number of entries in the array. Keep it honest, bestie, because this is how many it's gonna read.
π DESCRIPTION π
So here's the vibe check: this function can only be called on PF. That's the rule, don't fight it π«Ά
It will log the provisioned value, or β if things go sideways β it'll log an error. Either way, it's logging. It's a talker. We love a transparent function β¨
β RETURN β
0on success π- a negative error code on failure π (that's your "something went wrong" era)
π₯ SEE ALSO π₯
okay this list is long, and every single one of these deserves their moment. Not me leaving a single one out β periodt π
Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.cxe_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_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_fair_sched(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)
Like I said. Every. Single. One. π
also lowkey,preempt_timeoutsisu32 *andcountisu32β matching types, we stan a consistent API π
and that's the page, bestie!! π this lil manual comes from ./drivers/gpu/drm/xe, dated October 2026, and it will forever live on as xe_gt_sriov...mpt_timeouts(9). go forth and configure your sched group preempt timeouts responsibly π§ββοΈβ¨
π¦ 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