xe_guc_ads_s...toggle_reset(9)
π xe_guc_ads_s...toggle_reset(9) β from the Kernel API Manual, bestie β¨
okay so bestie, buckle up, because we're diving into xe_guc_ads_scheduler_policy_toggle_reset and honestly? it's giving "small function, big responsibilities." this whole page lives in the Kernel API Manual and it's about flipping the GuC's engine reset policy on and off. no cap. π
β¨ NAME β¨
xe_guc_ads_scheduler_policy_toggle_reset β literally just toggles the reset policy, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
int xe_guc_ads_scheduler_policy_toggle_reset (struct xe_guc_ads *ads ,
bool enable_engine_reset );
like, it takes two things and gives you back an int. simple queen behavior π
π ARGUMENTS π
adsβ the Additional data structures object. yes that's its actual name, and yes it's important, don't forget to pass it π«Άenable_engine_resetβtrueif you wanna enable engine resets,falseif you don't. that's it, that's the whole mood. pick one π
π₯ DESCRIPTION π₯
so what does it actually do? this function updates the GuC's engine reset policy. periodt. that's the tea ββ¨
like, it's not out here reinventing the wheel β it just goes in and updates that policy to match whatever you asked for with enable_engine_reset. lowkey iconic of it ngl π
β RETURN β
0on success β slay, we love a clean win π- a negative error code otherwise β so like, if it's not
0, something went sideways, check that code π
π¦ SEE ALSO π¦
- Kernel file
./drivers/gpu/drm/xe/xe_guc_ads.cβ go read the source bestie, it's right there π xe_guc_ads_init_post_hwconfig(9)β sibling function, same friend group πxe_guc_ads_populate_minimal(9)β also in the group chat, go say hi π§
okk that's the whole page!! source/version is ./drivers/gpu/drm/xe, dated October 2026, and the manual name is xe_guc_ads_s...toggle_reset(9) just so you have receipts πβ¨ go forth and toggle that policy responsibly, ily, bye!! ππ¦π
π¦ 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