xe_gt_sriov_...reset_engine(9)
β¨ NAME β¨
xe_gt_sriov_pf_policy_get_reset_engine β bestie, this is the little guy that fetches you the current value of the 'reset_engine' policy π
(also lowkey this whole page lives under the Kernel API Manual umbrella, so likeβ¦ that's the vibe, iykyk π«Ά)
πΈ SYNOPSIS πΈ
bool xe_gt_sriov_pf_policy_get_reset_engine (struct xe_gt *gt );
periodt. that's the whole signature, no cap β¨
π ARGUMENTS π
gtβ thexe_gtwhere you're gonna read the policy from π¦ literally just hand it the gt you care about and it does its thing.
π DESCRIPTION π
okay so here's the tea: this function can only be called on PF π₯ that's the one rule, don't come at it from anywhere else, it's not built for that energy π
β RETURN β
it hands you back the value of the 'reset_engine' policy β that's it, that's the whole gift π (a bool, iconic)
ngl it's giving "tiny function, big responsibility" and honestly? we respect it π
π SEE ALSO π
like, all of its besties in the kernel file ./drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c π§ run don't walk:
xe_gt_sriov_pf_policy_set_sched_if_idle_locked(9)xe_gt_sriov_pf_policy_set_sched_if_idle(9)xe_gt_sriov_pf_policy_get_sched_if_idle_locked(9)xe_gt_sriov_pf_policy_get_sched_if_idle(9)xe_gt_sriov_pf_policy_set_reset_engine(9)xe_gt_sriov_pf_policy_set_sample_period(9)xe_gt_sriov_pf_policy_get_sample_period(9)xe_sriov_gt_pf_policy_has_sched_groups_support(9)xe_sriov_gt_pf_policy_has_multi_group_modes(9)xe_sriov_gt_pf_policy_has_sched_group_mode(9)xe_gt_sriov_pf_policy_set_sched_groups_mode(9)xe_gt_sriov_pf_policy_sched_groups_enabled(9)xe_gt_sriov_pf_policy_sanitize(9)xe_gt_sriov_pf_policy_restart(9)xe_gt_sriov_pf_policy_init(9)xe_gt_sriov_pf_policy_print(9)
like the whole group chat honestly ππ
okay that's the page!! sourced straight from ./drivers/gpu/drm/xe, dated October 2026, and yeah we're still calling it xe_gt_sriov_...reset_engine(9) (the ellipsis is doing main character energy, we don't question it π). mwah, go read your policies 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