[PATCH v2 0/2] drm/bridge: display-connector: detect DP state if cable is plugged on boot

From: Dmitry Baryshkov

Date: Wed May 13 2026 - 14:26:13 EST


Unlike the USB-C AltMode handling and unlike the DP controller handling
the HPD on its own, if the display-connector is being used to handle the
HPD pin, DP controller might not be able to get either the HPD
notification nor detect the cable state if the cable is plugged in
before the system has booted.

Make the display-connector send the HPD notifications during system
startup for DisplayPort connectors.

It's typically not a problem for other types of display connectors since
there is no special procedure to detect if the monitor is actually
plugged in or not.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Expanded commit message, explaining difference from HDMI (Laurent)
- Link to v1: https://lore.kernel.org/r/20260314-dp-connector-hpd-v1-0-786044cedc17@xxxxxxxxxxxxxxxx

---
Dmitry Baryshkov (2):
drm/bridge: display-connector: don't autoenable HPD IRQ
drm/bridge: display-connector: trigger initial HPD event for DP

drivers/gpu/drm/bridge/display-connector.c | 36 ++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
---
base-commit: e98d21c170b01ddef366f023bbfcf6b31509fa83
change-id: 20260314-dp-connector-hpd-f069e66bc6af

Best regards,
--
With best wishes
Dmitry