intel_modes...n_mask_early(9)
π NAME π
intel_modeset_pipes_in_mask_early β bestie, this one forces a full modeset on a whole set of pipes, no cap
β¨ SYNOPSIS β¨
int intel_modeset_pipes_in_mask_early (struct intel_atomic_state *state
, const char *reason , u8 mask );
π ARGUMENTS π
stateβ the intel atomic state, aka the main character of this whole operation π«reasonβ a lil string that says why we're doing the full modeset. receipts, basically π§Ύmaskβ a mask of the pipes we're modesetting. yes queen, pick your pipes πΈ
π¦ DESCRIPTION π¦
okay so β this function takes the pipes in mask, adds them to state, and then forces a full modeset on the enabled ones, all because of whatever you put in reason. it's giving "do it and here's the why" π
β οΈ timing check, bestie: this function can be called only before new plane states are computed. that's the vibe check it will not pass afterwards, fr fr.
it returns 0 in case of success, and a negative error code otherwise. so like, zero is the slay outcome, negative means something went sideways π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/i915/display/intel_display.cβ go read it, iykyk π intel_modeset_all_pipes_late(9)asynchronous flip implementation(9)intel_atomic_check(9)intel_init_display_hooks(9)
that's the whole page, gorgeous β written from the Kernel API Manual, living under ./drivers/gpu/drm/i915/display, dated October 2026 πβ¨ go forth and modeset responsibly, mwah π«Άπ
π¦ 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