intel_displ..._map_cleanup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_displ..._map_cleanup(9) β€” the Kernel API Manual glow-up πŸŽ€

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is intel_displ..._map_cleanup ✨ (yes the title is truncated with dots, that's just how the header rolls, don't come for her πŸ’€).


🌸 NAME 🌸

intel_display_power_map_cleanup β€” cleans up the power domain β†’ power well mappings, no cap πŸ§ΉπŸ’–


✨ SYNOPSIS ✨

void intel_display_power_map_cleanup (struct i915_power_domains
*power_domains );

like, it returns void β€” nothing comes back, she just does the thing and dips 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • power_domains β€” the power domain state. that's it, that's the whole vibe. she needs the state, bestie πŸ’œ

πŸ‘‘ DESCRIPTION πŸ‘‘

She cleans up all the state that was initialized by intel_display_power_map_init. literally the undo button, the cleanup crew, the "okay everyone go home" energy πŸ”₯

think of it as the reverse of intel_display_power_map_init β€” whatever got set up there gets torn down here. iconic paired-function behavior, iykyk πŸ’…


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/gpu/drm/i915/display/intel_display_power_map.c β€” go read the source, it's giving lore πŸ“–
  • intel_display_power_map_init(9) β€” her sister function, the one who sets everything up in the first place 🧚

fr fr, if you're calling the cleanup without ever having called the init, do a vibe check on your code first πŸ™ˆ

and that's the page, babes πŸ’– this one lives in ./drivers/gpu/drm/i915/display, dated October 2026, and it's a section 9 Kernel API Manual moment β€” slay, periodt, go clean up your power map mappings πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from