intel_display_power_put(9)
π
intel_display_power_put β a kernel API manual moment, brought to you by the Kernel API Manual β¨
okay so bestie, buckle up, because this one's from the Kernel API Manual and it's genuinely iconic in a quiet, load-bearing way π«Ά
π NAME π
intel_display_power_put β the "okay I'm done with this, you can let go now" of power domain references π
β¨ SYNOPSIS β¨
void intel_display_power_put (struct intel_display *display , enum
intel_display_power_domain domain , struct ref_tracker *wakeref );
that's it. that's the whole vibe. three args, zero drama, one very important refcount π¦
πΈ ARGUMENTS πΈ
displayβ the display device instance. you know, the whole situation, the main character πdomainβ the power domain you're referencing. like, which little slice of hardware are we talking about here πwakerefβ the wakeref that was acquired for the reference you're releasing right now. you gotta hand it back matching the one you got, iykyk π₯
π DESCRIPTION π
okay so here's the tea π: this function drops the power domain reference you got from intel_display_power_get. that's the whole job. no cap.
and like β here's the part that's giving main character energy β it might power down the corresponding hardware block right away if this happens to be the last reference. literally the moment you let go, if nobody else is holding on, the lights go out. periodt π
so yeah, it's a put. but it's a put with consequences, bestie π
π SEE ALSO π
the kernel file where the magic lives: ./drivers/gpu/drm/i915/display/intel_display_power.c π
and the whole friend group, honestly β the way this function has so many siblings:
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_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_sanitize_state(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)
like, get you a family this supportive fr fr π§
aaaaand that's the page, bestie π this one came out of ./drivers/gpu/drm/i915/display and it's dated October 2026 β so like, future vibes, but the refcounting is timeless π slay, go put down your references 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