With the introduction of DBANC framework, the connector is no longer initialised in bridge_attach if that flag is set by the display controller.
This series does some cleanup for legacy !(DRM_BRIDGE_ATTACH_NO_CONNECTOR) usecase and adds fixes for DRM_BRIDGE_ATTACH_NO_CONNECTOR usecase. v4 patch link: <https://lore.kernel.org/all/[email protected]> Changelog v4->v5: - Handle HDCP state in bridge atomic check instead of connector atomic check v3 patch link: <https://lore.kernel.org/all/[email protected]/> Changelog v3->v4: - Fix kernel test robot build warning: <https://lore.kernel.org/all/[email protected]/> v2 patch link: <https://lore.kernel.org/all/[email protected]/> Changelog v2->v3: - Add mode_valid in drm_bridge_funcs to a separate patch - Remove "if (mhdp->connector.dev)" conditions that were missed in v2 - Split out the move of drm_atomic_get_new_connector_for_encoder() to a separate patch - Drop "R-by" considering the changes in v2[1/3] - Add Fixes tag to first 4 patches: commit c932ced6b585 ("drm/tidss: Update encoder/bridge chain connect model") This added DBANC flag in tidss while attaching bridge to the encoder - Drop RFC prefix v1 patch link: <https://lore.kernel.org/all/[email protected]/> Changelog v1->v2: - Remove !DRM_BRIDGE_ATTACH_NO_CONNECTOR entirely - Add mode_valid in drm_bridge_funcs[0] - Fix NULL POINTER differently since we cannot access atomic_state - Reduce log level in cdns_mhdp_transfer call [0]: https://lore.kernel.org/all/[email protected]/ Harikrishna Shenoy (1): drm/bridge: cadence: cdns-mhdp8546-core: Handle HDCP state in bridge atomic check Jayesh Choudhary (5): drm/bridge: cadence: cdns-mhdp8546-core: Remove legacy support for connector initialisation in bridge drm/bridge: cadence: cdns-mhdp8546*: Change drm_connector from structure to pointer drm/bridge: cadence: cdns-mhdp8546-core: Set the mhdp connector earlier in atomic_enable() drm/bridge: cadence: cdns-mhdp8546-core: Add mode_valid hook to drm_bridge_funcs drm/bridge: cadence: cdns-mhdp8546-core: Reduce log level for DPCD read/write .../drm/bridge/cadence/cdns-mhdp8546-core.c | 258 +++++------------- .../drm/bridge/cadence/cdns-mhdp8546-core.h | 2 +- .../drm/bridge/cadence/cdns-mhdp8546-hdcp.c | 8 +- 3 files changed, 72 insertions(+), 196 deletions(-) -- 2.34.1
