xe_gt_sriov...meout_locked(9)
π xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked β Kernel API Manual, section 9
okay bestie, sit down, hydrate, and get comfy because we're about to talk about the iconic xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked π
this one lives in the Kernel API Manual (section 9) and honestly? it's giving "quietly important little config function" and I'm obsessed.
β¨ NAME β¨
xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked β like, it configures the PT (that's preemption timeout, keep up π«Ά) for the PF and all the VFs. bulk mode. everyone gets one. slay.
πΈ SYNOPSIS πΈ
int xe_gt_sriov_pf_config_bulk_set_preempt_timeout_locked (struct xe_gt
*gt , u32 preempt_timeout );
look at her. a struct xe_gt * AND a u32. returns an int. simple, elegant, no notes. β¨
π ARGUMENTS π
gtβ thexe_gtyou wanna configure. the main character of this whole operation.preempt_timeoutβ the preemption timeout you're asking for, measured in microseconds. and babes, listen:0is infinity. not zero seconds, not "no timeout" in a cute way, literally infinity. put some respect on it. π
π¦ DESCRIPTION π¦
This function can only be called on a PF with the master mutex hold. that's the whole description. no cap, that's it. it's a strict vibe check and if you're not holding that mutex, don't even try it π
fr fr β PF only, master mutex held. those are the rules, we don't break them.
π RETURN π
0on success π- a negative error code on failure π
that's the whole range. binary queen.
π SEE ALSO π
first up, the source file herself:
- Kernel file
./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
and now the full friend group β every single one of them, in order, no skips, no cuts:
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_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_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, that's a whole squad π«Ά every single one accounted for, I would never do you dirty by trimming the list.
mwah π that's the whole page! this little gem ships out of ./drivers/gpu/drm/xe and the version stamp on it says October 2026. go forth, hold that master mutex, set those timeouts, and remember: 0 means infinity, bestie. periodt. π§ββοΈβ
π¦ 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