xe_gt_sriov_...meout_locked(9)
β¨ xe_gt_sriov_...meout_locked(9) β¨
okay so bestie, we're deep in the Kernel API Manual today β like, deep deep, the ./drivers/gpu/drm/xe corner of the kernel where the SR-IOV PF config girlies live π
don't worry, I got you, this one's actually a chill little getter, let's go π«Ά
πΈ NAME πΈ
xe_gt_sriov_pf_config_get_preempt_timeout_locked β bestie. it literally just gets the PF/VF preemption timeout. that's the whole vibe. no cap π
β SYNOPSIS β
u32 xe_gt_sriov_pf_config_get_preempt_timeout_locked (struct xe_gt *gt ,
unsigned int vfid );
like look at her. two args. returns a u32. iconic, unbothered, hydrated π
π¦ ARGUMENTS π¦
gtβ thexe_gt, aka the GT we're talking about. the main character of the operation, fr fr πvfidβ the PF or VF identifier β so, which PF, or which VF, you're asking about. pick your fighter π
π DESCRIPTION π
okay so here's the tea β β this function can only be called on a PF, and you gotta be holding the master mutex. like, _locked is literally in the name bestie, the universe is telling you something π obviously π
not me calling this without the master mutex... that's a vibe check you will FAIL π
π₯ RETURN π₯
the preemption timeout, in microseconds. periodt. π
and if it's infinity? you get 0. yeah, zero means infinity here, don't ask, it's giving off-by-void, but that's what the docs say so we're rolling with it β¨
π§ SEE ALSO π§
the whole friend group showed up, slay π«Ά and the source lives at Kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c β the mothership π
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(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)
like yes, that's a lot of friends. she's popular. iykyk π
π and that's the whole page bestie π
this lil masterpiece comes to you from ./drivers/gpu/drm/xe, dated October 2026, and it goes by xe_gt_sriov_...meout_locked(9). mwah, go hold that master mutex πβ¨
π¦ 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