intel_displa...nitize_state(9)
πΈ 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:
intel_display_power_is_enabled(9)intel_display_power_set_target_dc_state(9)intel_display_power_get_current_dc_state(9)intel_display_power_get(9)intel_display_power_get_if_enabled(9)__intel_display_power_put_async(9)intel_display_power_flush_work(9)intel_display_power_flush_work_sync(9)intel_display_power_put(9)intel_display_power_put_unchecked(9)intel_display_power_init(9)intel_display_power_cleanup(9)intel_display_power_init_hw(9)intel_display_power_driver_remove(9)intel_display_power_enable(9)intel_display_power_disable(9)intel_power_domains_suspend(9)intel_power_domains_resume(9)intel_power_domains_verify_state(9)
(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
- 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