]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to (e)DP
authorAradhya Bhatia <a-bhatia1@ti.com>
Wed, 8 Nov 2023 11:27:22 +0000 (13:27 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 22 Jun 2024 12:20:19 +0000 (15:20 +0300)
commit4b12f91a06ee4a18bb30ffa462ff12aeea8b9927
treea4c57a5a9fdfeaeaa8153be59da6b0b489172329
parentfafc8cd097cdfa0884129f7d55cbbe14e4044dd5
drm/bridge: tc358767: Add format negotiation hooks for DPI/DSI to (e)DP

With new connector model, tc358767 will not create the connector, when
DRM_BRIDGE_ATTACH_NO_CONNECTOR is set and display-controller driver will
rely on format negotiation to setup the encoder format.

Add the missing bus format negotiation hooks in the
drm_bridge_funcs to complete DRM_BRIDGE_ATTACH_NO_CONNECTOR support.

Output format, for DPI/DSI to DP, is selected to
MEDIA_BUS_FMT_RGB888_1X24 as default, keeping in mind what the older
model used to support.

Reported-by: Jan Kiszka <jan.kiszka@siemens.com>
Closes: https://lore.kernel.org/all/24282420-b4dd-45b3-bb1c-fc37fe4a8205@siemens.com/
Signed-off-by: Aradhya Bhatia <a-bhatia1@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231108-tc358767-v2-1-25c5f70a2159@ideasonboard.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/bridge/tc358767.c