intel_atomic_setup_scalers(9)
π 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 β
- Kernel file
./drivers/gpu/drm/i915/display/skl_scaler.c skl_update_scaler_plane(9)
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
- 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