danvet said about our clock_select detection in vc4_crtc.c:
Hm, so the usual way we solve the "crtc needs information from the encoder
problem" is to add bits to the crtc state, and then fill those out in the
encoders ->atomic_check function. In your case ->clock_select and is_dsi.
The benefit is mostly when you start doing hw readout (which is great even
just to cross-check your modeset code), or when you need that information
to check limits (which sooner or later tends to happen ime).
danvet said about our clock_select detection in
vc4_crtc.c
:Let's try doing this.