drm_atomic_add_affected_connectors — add connectors for crtc
int drm_atomic_add_affected_connectors ( | struct drm_atomic_state * state, |
struct drm_crtc * crtc) ; |
This function walks the current configuration and adds all connectors
currently using crtc
to the atomic configuration state
. Note that this
function must acquire the connection mutex. This can potentially cause
unneeded seralization if the update is just for the planes on one crtc. Hence
drivers and helpers should only call this when really needed (e.g. when a
full modeset needs to happen due to some change).