xe_gt_sriov_...meout_locked(9)
π xe_gt_sriov_pf_config_set_preempt_timeout_locked π
okay so bestie, welcome to the Kernel API Manual</> (section 9, we're fancy here) β this is the page for xe_gt_sriov_pf_config_set_preempt_timeout_locked, and yes the page title really does get truncated like that in the header. iconic little ellipsis moment, no notes π
β¨ NAME β¨
xe_gt_sriov_pf_config_set_preempt_timeout_locked β literally just here to configure the PF/VF preemption timeout. that's it, that's the whole gig π
π¦ SYNOPSIS π¦
int xe_gt_sriov_pf_config_set_preempt_timeout_locked (struct xe_gt *gt ,
unsigned int vfid , u32 preempt_timeout );
πΈ ARGUMENTS πΈ
gtβ thexe_gtπ«Ά that's your graphics tile bestie, the whole reason we're herevfidβ the PF or VF identifier, like the little name tag telling us which function we're configuringpreempt_timeoutβ the preemption timeout you're requesting, measured in microseconds β±οΈ and heads up:0means infinity, which is a whole vibe ngl
π₯ DESCRIPTION π₯
okay so listen π β this function can only be called on the PF, and only with the master mutex held. that's a hard requirement, not a suggestion, so don't come at it sideways.
the way it works is it'll log the provisioned value β or, if things go sideways, it logs the error instead. either way you get receipts πβ¨
β οΈ lowkey important: PF only, and the master mutex must be held. this is not a "try it and see" situation bestie π
β RETURN β
0 on success β slay π β or a negative error code on failure. that's the whole dealio.
π SEE ALSO π
buckle up bestie, this list is long, and every single one of these deserves its moment in the spotlight π
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(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_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)
and the source file itself, bestie, right here in the kernel tree:
./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c
π okay that's the whole page!! this lil number lives over in ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_gt_sriov_...meout_locked(9) β go forth and configure those preemption timeouts responsibly, mutex in hand π«Άβ¨
π¦ 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