linux_dsm_epyc7002/drivers/gpu/drm/bridge
Torsten Duwe 3e138a63d6 drm/bridge: analogix-anx78xx: Fix drm_dp_link helper removal
drm_dp_link_rate_to_bw_code and ...bw_code_to_link_rate simply divide by
and multiply with 27000, respectively. Avoid an overflow in the u8 dpcd[0]
and the multiply+divide alltogether.

Signed-off-by: Torsten Duwe <duwe@lst.de>
Fixes: ff1e8fb68e ("drm/bridge: analogix-anx78xx: Avoid drm_dp_link helpers")
Cc: Thierry Reding <treding@nvidia.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Jernej Skrabec <jernej.skrabec@siol.net>
Cc: <stable@vger.kernel.org> # v5.5+
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200218155744.9675368BE1@verein.lst.de
2020-02-21 13:22:05 +01:00
..
adv7511 drm: bridge: adv7511: Add support for ADV7535 2020-02-10 10:23:52 +01:00
analogix drm/bridge: analogix-anx78xx: Fix drm_dp_link helper removal 2020-02-21 13:22:05 +01:00
synopsys drm/bridge/synopsys: dsi: missing post disable 2020-02-10 11:07:36 +01:00
cdns-dsi.c drm/bridge: cdns: remove set but not used variable 'nlanes' 2020-01-06 16:08:44 +01:00
dumb-vga-dac.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
Kconfig drm/bridge: sii902x: Select SND_SOC_HDMI_CODEC if SND_SOC is configured 2020-02-10 10:54:59 +01:00
lvds-codec.c drm/bridge: lvds-codec: Simplify panel DT node localisation 2019-12-18 12:26:09 +01:00
Makefile drm/bridge: Add tc358768 driver 2020-02-10 10:49:49 +01:00
megachips-stdpxxxx-ge-b850v3-fw.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
nxp-ptn3460.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
panel.c drm/bridge: panel: Fix typo in drm_panel_bridge_add docs 2020-02-10 11:08:29 +01:00
parade-ps8622.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
parade-ps8640.c drm/bridge: Add I2C based driver for ps8640 bridge 2020-01-22 16:45:50 +01:00
sii902x.c drm: Stop including drm_bridge.h from drm_crtc.h 2019-08-28 22:11:03 +02:00
sii9234.c gpu: drm: bridge: sii9234: convert to devm_i2c_new_dummy_device 2019-10-10 08:57:27 +02:00
sil-sii8620.c drm/bridge: sil_sii8620: make remote control optional. 2019-10-10 10:42:15 +02:00
sil-sii8620.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tc358764.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
tc358767.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
tc358768.c drm/bridge: Add tc358768 driver 2020-02-10 10:49:49 +01:00
thc63lvd1024.c R-Car DU changes for v5.3: 2019-06-11 10:08:49 +02:00
ti-sn65dsi86.c drm/bridge: ti-sn65dsi86: Avoid invalid rates 2020-02-13 10:22:05 +01:00
ti-tfp410.c drm/bridge: tfp410: add pclk limits 2020-02-11 09:17:51 +02:00