intel_atomic_setup_scalers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_atomic_setup_scalers(9) β€” Kernel API Manual

okay so bestie, welcome to the Kernel API Manual for intel_atomic_setup_scalers, and we're about to make scaler setup make sense, no cap πŸŽ€


✨ NAME ✨

intel_atomic_setup_scalers β€” setup scalers for crtc per staged requests πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

int intel_atomic_setup_scalers (struct intel_atomic_state *state ,
struct intel_crtc *crtc );

🌸 ARGUMENTS 🌸

  • state β€” the atomic state, literally the whole vibe of what's being staged ✨
  • crtc β€” the crtc, bestie 🫢

πŸ’– DESCRIPTION πŸ’–

So this function sets up scalers based on the staged scaling requests for a crtc and its planes. It gets called from the crtc level check path β€” iykyk, that's the moment where everything gets validated. If the request is a supportable request, it attaches scalers to the requested planes and to the crtc. slay πŸ’…

Also, highkey important: this function takes into account the current scaler(s) in use by any planes not being part of this atomic state. So it's not out here ignoring the rest of the world, it's doing a full vibe check first 🌈


πŸ”₯ RETURN πŸ”₯

  • 0 β€” scalers were setup successfully πŸŽ‰
  • error code β€” otherwise 😭

⭐ SEE ALSO ⭐


and that's the whole page, bestie 🧚 from ./drivers/gpu/drm/i915/display, dated October 2026 β€” this cute lil' sign-off is brought to you by the intel_atomic_setup_scalers(9) girlies πŸ’œβœ¨

πŸ“¦ where this page comes from