- 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. - Also add this check to the atomic_check call as suggested by Maxime in v1 patch. - Move from deprecated enable()/disable() hooks to atomic hooks as suggested in v4 by Sam Testing has been done on AM62X platform which have SII902X HDMI bridge.