Claude review: drm/bridge: Wire drmm_connector_dp_init() via new DRM_BRIDGE_OP_DP flag

Claude Code Review Bot
2026-04-12T00:51:26Z

Patch Review

Structurally fine. The priority ordering (HDMI checked before DP) is reasonable.

Minor: adding `dp_link_train_caps` pointer to `struct drm_bridge` increases the struct size for all bridges. This is a small cost (~8 bytes on 64-bit) but worth noting. An alternative would be to look it up only when `DRM_BRIDGE_OP_DP` is set, but the current approach is simpler.

The validation in `drm_bridge_connector_init()` (checking for duplicate DP ops and NULL caps) is good.

---
Generated by Claude Code Patch Reviewer