Claude review: drm/bridge: analogix_dp: Pass struct drm_atomic_state* for analogix_dp_bridge_mode_set()

Claude Code Review Bot
2026-04-12T01:37:41Z

Patch Review

Adds `struct drm_atomic_state *state` parameter to `analogix_dp_bridge_mode_set()` and uses `drm_atomic_get_new_connector_for_encoder()` to obtain the connector, replacing the direct `dp->connector.display_info` access. This is necessary preparation for removing the private connector in patch 11.

The `connector` NULL check with early return is appropriate - if no connector is found, silently returning is safe since the bridge isn't connected.

No issues.

---
Generated by Claude Code Patch Reviewer