]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: adv7511: Enable DRM_BRIDGE_OP_HPD based on HPD interrupt
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 19 Apr 2022 14:24:53 +0000 (15:24 +0100)
committerRobert Foss <robert.foss@linaro.org>
Tue, 19 Apr 2022 16:06:46 +0000 (18:06 +0200)
commitd395975d022ce73410606a3e9abb2897fdb974f1
tree0bbfbb9f1578c7e9f79384d772e8fd901325861a
parent779c195279fec48f733e21033343232aac1c48ff
drm: bridge: adv7511: Enable DRM_BRIDGE_OP_HPD based on HPD interrupt

Connector detection using poll method won't work in case of bridge
attached to the encoder with the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR, as
the code defaults to HPD.

Enable DRM_BRIDGE_OP_HPD based on HPD interrupt availability, so that
it will fall back to polling, if HPD is not available.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220419142453.48839-1-biju.das.jz@bp.renesas.com
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c