intel_display_power_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– intel_display_power_get(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual, and honestly? it's a little baddie. it's called intel_display_power_get(9) and it's about grabbing a power domain reference like your life depends on it (it kinda does, kernel-wise). let's get into it 🫢


✨ NAME ✨

intel_display_power_get β€” grab a power domain reference. that's it. that's the girl. πŸ’…


🌸 SYNOPSIS 🌸

struct ref_tracker * intel_display_power_get (struct intel_display
*display , enum intel_display_power_domain domain );

yes bestie, it returns a struct ref_tracker *, and yes you have to actually care about it. no cap. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • display β€” the display device instance. like, the actual thing you're working with, not a vibe, a real device πŸ–₯️
  • domain β€” the power domain you want to reference. pick your fighter wisely πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it do? this function grabs a power domain reference for domain and makes sure that the power domain and all its parents are powered up. like it's waking up the whole family, not just the one kid 😭

and because of that whole parents thing, the move here is: only grab a reference to the innermost power domain you actually need. don't be out here referencing the whole tree when you need one leaf, iykyk 🌿

⚠️ heads up: any power domain reference you get from this function must have a symmetric call to intel_display_power_put to release the reference again. symmetric. matching. balanced. like a cute little matched set. if you don't put it back, that's not main character energy, that's a leak πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr:


and that's the whole page, bestie πŸ§šπŸ’œ this lil cutie lives over in ./drivers/gpu/drm/i915/display, dated October 2026, and it's giving very much "reference counted and unbothered". go put that reference back when you're done, ily, bye πŸ“πŸ’–

πŸ“¦ where this page comes from