On Thu, Feb 13, 2025 at 06:32:39PM +0200, Dmitry Baryshkov wrote: > On Thu, Feb 13, 2025 at 03:43:50PM +0100, Maxime Ripard wrote: > > Now that connectors are no longer necessarily created by the bridges > > drivers themselves but might be created by drm_bridge_connector, it's > > pretty hard for bridge drivers to retrieve pointers to the connector and > > CRTC they are attached to. > > > > Indeed, the only way to retrieve the CRTC is to follow the drm_bridge > > encoder field, and then the drm_encoder crtc field, both of them being > > deprecated. > > > > And for the connector, since we can have multiple connectors attached to > > a CRTC, we don't really have a reliable way to get it. > > The same comment as for v2: > > It's not very precise: > > connector = drm_atomic_get_new_connector_for_encoder(state, bridge->encoder); > > Is that unreliable somehow? Then I'm not sure what you want here (and in v2) either. Do you want me to drop this patch because it's redundant, drop it, something else? Maxime
Attachment:
signature.asc
Description: PGP signature