drm_dp_mst_...atomic_check(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_dp_mst_...atomic_check(9) πŸ’…

okay so welcome to the Kernel API Manual page for drm_dp_mst_...atomic_check(9) β€” aka the page about drm_dp_mst_root_conn_atomic_check, and bestie, it is literally giving β€œserialize those CRTC commits” energy.


✨ NAME ✨

drm_dp_mst_root_conn_atomic_check β€” Serialize CRTC commits on MST-capable connectors operating in SST mode

πŸŽ€ SYNOPSIS πŸŽ€

int drm_dp_mst_root_conn_atomic_check (struct drm_connector_state
       *new_conn_state , struct drm_dp_mst_topology_mgr *mgr );

🌸 ARGUMENTS 🌸

  • new_conn_state β€” The new connector state of the drm_connector. That’s the fresh state bestie πŸ’…
  • mgr β€” The MST topology manager for the drm_connector. The manager in question, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the situation: MST uses fake drm_encoder structs, which means the generic atomic modesetting code isn’t able to serialize non-blocking commits happening on the real DP connector of an MST topology switching into/away from MST mode β€” as the CRTC on the real DP connector and the CRTCs on the connector’s MST topology will never share the same drm_encoder. messy 😭

This function takes care of this serialization issue, by checking a root MST connector’s atomic state to determine if it is about to have a modeset β€” and then pulling in the MST topology state if so, along with adding any relevant CRTCs to drm_dp_mst_topology_state.pending_crtc_mask. slay ✨

Drivers implementing MST must call this function from the drm_connector_helper_funcs.atomic_check hook of any physical DP drm_connector capable of driving MST sinks. periodt.

πŸ‘‘ RETURN πŸ‘‘

0 on success, negative error code otherwise. zero is the main character; negative is the villain arc 😭

πŸ’– SEE ALSO πŸ’–

🫢 cute sign-off: this came from the Kernel API Manual, source ./drivers/gpu/drm/display, dated October 2026, page drm_dp_mst_...atomic_check(9). bye bestie, go serialize those commits πŸ’…βœ¨
πŸ“¦ where this page comes from