]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/bridge: ti-sn65dsi86: Enable HPD polling if IRQ is not used
authorFranz Schnyder <franz.schnyder@toradex.com>
Fri, 6 Feb 2026 12:37:36 +0000 (13:37 +0100)
committerDouglas Anderson <dianders@chromium.org>
Fri, 13 Feb 2026 20:42:34 +0000 (12:42 -0800)
commit0b87d51690dd5131cbe9fbd23746b037aab89815
treeb396eafff2b8ae32085e1e431a8495a3fc19c3f8
parentfef0e649f8b42bdffe4a916dd46e1b1e9ad2f207
drm/bridge: ti-sn65dsi86: Enable HPD polling if IRQ is not used

Fallback to polling to detect hotplug events on systems without
interrupts.

On systems where the interrupt line of the bridge is not connected,
the bridge cannot notify hotplug events. Only add the
DRM_BRIDGE_OP_HPD flag if an interrupt has been registered
otherwise remain in polling mode.

Fixes: 55e8ff842051 ("drm/bridge: ti-sn65dsi86: Add HPD for DisplayPort connector type")
Cc: stable@vger.kernel.org # 6.16: 9133bc3f0564: drm/bridge: ti-sn65dsi86: Add
Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
[dianders: Adjusted Fixes/stable line based on discussion]
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20260206123758.374555-1-fra.schnyder@gmail.com
drivers/gpu/drm/bridge/ti-sn65dsi86.c