drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 20 Oct 2021 12:39:45 +0000 (14:39 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 12 Nov 2021 09:10:01 +0000 (10:10 +0100)
commit0af5e0b41110e2da872030395231ab19c45be931
tree6de6a299b8194e7adaa051d7d87ddd7bd6c62cbb
parente67f6037ae1be34b2b686bab72caa41d57714534
drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR

This implements the necessary change to no more use the embedded
connector in dw-hdmi and use the dedicated bridge connector driver
by passing DRM_BRIDGE_ATTACH_NO_CONNECTOR to the bridge attach call.

The necessary connector properties are added to handle the same
functionalities as the embedded dw-hdmi connector, i.e. the HDR
metadata, the CEC notifier & other flags.

The dw-hdmi output_port is set to 1 in order to look for a connector
next bridge in order to get DRM_BRIDGE_ATTACH_NO_CONNECTOR working.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020123947.2585572-5-narmstrong@baylibre.com
drivers/gpu/drm/meson/Kconfig
drivers/gpu/drm/meson/meson_dw_hdmi.c
drivers/gpu/drm/meson/meson_encoder_hdmi.c