linux/drivers/gpu/drm/bridge
Adam Miotk ce62600c4d
drm/bridge/panel: Fix runtime warning on panel bridge release
Device managed panel bridge wrappers are created by calling to
drm_panel_bridge_add_typed() and registering a release handler for
clean-up when the device gets unbound.

Since the memory for this bridge is also managed and linked to the panel
device, the release function should not try to free that memory.
Moreover, the call to devm_kfree() inside drm_panel_bridge_remove() will
fail in this case and emit a warning because the panel bridge resource
is no longer on the device resources list (it has been removed from
there before the call to release handlers).

Fixes: 67022227ff ("drm/bridge: Add a devm_ allocator for panel bridge.")
Signed-off-by: Adam Miotk <adam.miotk@arm.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240610102739.139852-1-adam.miotk@arm.com
2024-06-10 13:22:05 +02:00
..
adv7511 drm/bridge: adv7511: Attach next bridge without creating connector 2024-05-20 00:23:23 +03:00
analogix Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
cadence Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
imx Revert "drm: Make drivers depends on DRM_DW_HDMI" 2024-05-02 17:59:59 +02:00
synopsys Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
Kconfig Revert "drm: Switch DRM_DISPLAY_HELPER to depends on" 2024-05-02 17:58:23 +02:00
Makefile drm/bridge: add lvds controller support for sam9x7 2024-04-23 09:29:43 +02:00
aux-bridge.c drm/bridge: properly refcount DT nodes in aux bridge drivers 2023-12-19 02:06:16 +02:00
aux-hpd-bridge.c drm/bridge: aux-hpd: separate allocation and registration 2024-02-23 17:00:56 +02:00
chipone-icn6211.c drm/bridge: chipone-icn6211: drop driver owner assignment 2024-04-24 12:42:45 +03:00
chrontel-ch7033.c drm/bridge: chrontel-ch7033: switch to drm_bridge_edid_read() 2024-02-08 17:11:04 +02:00
cros-ec-anx7688.c
display-connector.c drm/bridge: display-connector: switch to ->edid_read callback 2024-02-09 10:15:29 +02:00
fsl-ldb.c
ite-it6505.c drm/print: drop include debugfs.h and include where needed 2024-04-25 17:05:48 +03:00
ite-it66121.c drm/bridge: it66121: Remove a duplicated invoke of of_device_is_available() 2024-03-18 16:16:20 +01:00
lontium-lt8912b.c drm/bridge: lt8912b: Don't log an error when DSI host can't be found 2024-04-16 15:18:53 +02:00
lontium-lt9211.c
lontium-lt9611.c drm/bridge: lt9611: Don't log an error when DSI host can't be found 2024-04-16 15:18:56 +02:00
lontium-lt9611uxc.c drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found 2024-04-16 15:18:59 +02:00
lvds-codec.c
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: megachips: switch to ->edid_read callback 2024-02-09 10:15:41 +02:00
microchip-lvds.c drm/bridge: add lvds controller support for sam9x7 2024-04-23 09:29:43 +02:00
nwl-dsi.c
nwl-dsi.h
nxp-ptn3460.c drm/bridge: nxp-ptn3460: switch to ->edid_read callback 2024-02-09 10:15:43 +02:00
panel.c drm/bridge/panel: Fix runtime warning on panel bridge release 2024-06-10 13:22:05 +02:00
parade-ps8622.c
parade-ps8640.c drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case 2024-01-17 12:08:02 -08:00
samsung-dsim.c Merge drm/drm-next into drm-misc-next 2024-02-07 13:02:20 +01:00
sii902x.c i2c: mux: Remove class argument from i2c_mux_add_adapter() 2024-05-13 16:13:19 +02:00
sii9234.c
sil-sii8620.c
sil-sii8620.h
simple-bridge.c drm: bridge: simple-bridge: clear the EDID property on failures 2024-02-08 17:12:21 +02:00
tc358762.c
tc358764.c drm/bridge: tc358764: drop driver owner assignment 2024-04-24 12:42:45 +03:00
tc358767.c drm/bridge: tc358767: switch to ->edid_read callback 2024-02-09 10:16:16 +02:00
tc358768.c
tc358775.c drm/bridge: tc358775: Configure hs_rate and lp_rate 2024-04-23 17:33:23 +02:00
thc63lvd1024.c drm: bridge: thc63lvd1024: Print error message when DT parsing fails 2024-03-19 16:46:23 +01:00
ti-dlpc3433.c drm/bridge: dpc3433: Don't log an error when DSI host can't be found 2024-04-16 15:19:04 +02:00
ti-sn65dsi83.c Revert "drm/bridge: ti-sn65dsi83: Fix enable error path" 2024-05-02 23:40:13 +02:00
ti-sn65dsi86.c drm for 6.9: 2024-03-13 18:34:05 -07:00
ti-tfp410.c drm/bridge: tfp410: clear the EDID property on failures 2024-02-08 17:12:26 +02:00
ti-tpd12s015.c drm/bridge: tpd12s015: Convert to platform remove callback returning void 2023-11-21 09:17:53 +01:00