intel_displa...nitize_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 intel_display_power_sanitize_state(9) β€” the Kernel API Manual bestie era 🌸

okay so this is a page straight out of the Kernel API Manual, and it's about one very specific little function that cleans up after the BIOS. yes, the BIOS. we love a janitor moment πŸ’…


✨ NAME ✨

intel_display_power_sanitize_state β€” sanitize power domains state 🧼✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void intel_display_power_sanitize_state (struct intel_display *display
);

like, that's it. that's the whole signature. no return value, no drama (well, the good kind). πŸŽ€


🎯 ARGUMENTS 🎯

  • display β€” the display device instance. that's your main character right there πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so the vibe of this function is: sanitize the power domains state during driver loading and system resume. two moments, one job. iconic behavior honestly 🌈

here's the tea: the function will disable all display power wells that BIOS has enabled without a user for it. like, the BIOS just left the lights on in a bunch of rooms and there's nobody in them and this function is the one going around flipping switches off. not me relating to a cleanup function 😭

and the parenthetical that literally matters so much: any user for a power well has taken a reference on it by the time this function is called β€” after the state of all the pipe, encoder, etc. HW resources have been sanitized. so the ordering is real and the reference-counting has already happened, bestie. don't come for this function's timing 🫢


πŸ‘€ SEE ALSO πŸ‘€

the kernel file for this one lives at ./drivers/gpu/drm/i915/display/intel_display_power.c β€” go read it, it's giving main character energy πŸ“–βœ¨

and now the whole friend group, in order, no cap:

(and yes, __intel_display_power_put_async(9) really does start with two underscores. respect the underscore. it's load-bearing πŸ’€)


lowkey reminder that this page's path is ./drivers/gpu/drm/i915/display, and it's dated October 2026 β€” so it's from the future, and it's still doing power well cleanup. slay πŸ’…

and that's the whole page, bestie!! πŸŽ€πŸ¦‹ our footer era, for the record: source ./drivers/gpu/drm/i915/display, dated October 2026, filed under intel_displa...nitize_state(9) β€” the truncated title that ate and left no crumbs βœ¨πŸ’œ

πŸ“¦ where this page comes from