linux/drivers/gpu/drm/bridge
Adam Ford 052d22acd7 drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535
[ Upstream commit ee0285e134 ]

When dynamically switching lanes was removed, the intent of the code
was to check to make sure that higher speed items used 4 lanes, but
it had the unintended consequence of removing the slower speeds for
4-lane users.

This attempts to remedy this by doing a check to see that the
max frequency doesn't exceed the chip limit, and a second
check to make sure that the max bit-rate doesn't exceed the
number of lanes * max bit rate / lane.

Fixes: 9a0cdcd664 ("drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge")
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230319125524.58803-1-aford173@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:10 +09:00
..
adv7511 drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535 2023-05-11 23:03:10 +09:00
analogix
cadence
imx
synopsys drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420 2022-12-01 09:24:04 +01:00
cdns-dsi.c
chipone-icn6211.c
chrontel-ch7033.c
cros-ec-anx7688.c
display-connector.c
fsl-ldb.c
ite-it6505.c drm/bridge: it6505: Initialize AUX channel in it6505_i2c_probe 2022-12-31 13:32:03 +01:00
ite-it66121.c
Kconfig
lontium-lt8912b.c drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found 2023-03-30 12:49:27 +02:00
lontium-lt9211.c
lontium-lt9611.c drm/bridge: lt9611: Fix PLL being unable to lock 2023-04-13 16:55:37 +02:00
lontium-lt9611uxc.c
lvds-codec.c
Makefile
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: megachips: Fix error handling in i2c_register_driver() 2023-03-10 09:33:09 +01:00
nwl-dsi.c
nwl-dsi.h
nxp-ptn3460.c
panel.c
parade-ps8622.c
parade-ps8640.c drm/bridge: ps8640: Add back the 50 ms mystery delay after HPD 2022-10-21 08:07:12 -07:00
sii902x.c
sii9234.c
sil-sii8620.c
sil-sii8620.h
simple-bridge.c
tc358762.c
tc358764.c
tc358767.c drm/bridge: tc358767: Set default CLRSIPO count 2023-03-10 09:33:12 +01:00
tc358768.c
tc358775.c
thc63lvd1024.c
ti-dlpc3433.c
ti-sn65dsi83.c drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec 2023-03-10 09:33:09 +01:00
ti-sn65dsi86.c pwm: Make .get_state() callback return an error code 2023-04-13 16:55:18 +02:00
ti-tfp410.c
ti-tpd12s015.c