[PATCH v4 0/2] Add mode_valid and atomic_check hooks for sii902x bridge

Sui Jingfeng sui.jingfeng at linux.dev
Fri May 31 12:55:15 UTC 2024


Hi,

On 5/30/24 17:29, Jayesh Choudhary wrote:
> Move the mode_valid hook to drm_bridge_funcs structure to take care
> of the case when the encoder attaches the bridge chain with the
> DRM_BRIDGE_ATTACH_NO_CONNECTOR flag in which case, the connector is not
> initialized in the bridge's attach call and mode_valid is not called.

Good catch, as modes being supported is actually a capability of the
bridge itself. The move make the driver reflect the hardware more.


More information about the dri-devel mailing list