intel_modes...n_mask_early(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ‘‘


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