]> 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)
commit606e631f4d9da37af57e042b2a200e76c1766c11
tree0bbfbb9f1578c7e9f79384d772e8fd901325861a
parent137849093251b2ec3437bcba6625ba1901d4c51a
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