linux-kernelorg-stable/drivers/gpu/drm/bridge
Guido Günther 2f1495fac8 drm/bridge: nwl-dsi: Add atomic_get_input_bus_fmts
Components further up in the chain might ask us for supported formats.

Without this MEDIA_BUS_FMT_FIXED is assumed which then breaks display
output with mxsfb since it can't determine a proper bus format.

We handle the bus formats that correspond to the DSI formats the bridge
can potentially output (see chapter 13.6 of the i.MX 8MQ reference
manual) - which matches what xsfb can input.

Fixes: b776b0f00f ("drm: mxsfb: Use bus_format from the nearest bridge if present")

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1712f2b952694fd4484dfd8576fbc5b4d7adf042.1633959458.git.agx@sigxcpu.org
2021-10-12 11:17:41 +02:00
..
adv7511
analogix
cadence
synopsys
Kconfig
Makefile
cdns-dsi.c
chipone-icn6211.c
chrontel-ch7033.c
cros-ec-anx7688.c
display-connector.c
ite-it66121.c
lontium-lt8912b.c
lontium-lt9611.c
lontium-lt9611uxc.c
lvds-codec.c
megachips-stdpxxxx-ge-b850v3-fw.c
nwl-dsi.c
nwl-dsi.h
nxp-ptn3460.c
panel.c
parade-ps8622.c
parade-ps8640.c
sii902x.c
sii9234.c
sil-sii8620.c
sil-sii8620.h
simple-bridge.c
tc358762.c
tc358764.c
tc358767.c
tc358768.c
tc358775.c
thc63lvd1024.c
ti-sn65dsi83.c
ti-sn65dsi86.c
ti-tfp410.c
ti-tpd12s015.c