linux/drivers/gpu/drm/xlnx
Luca Ceresoli 62f1a79e1b drm: zynqmp_dp: switch to of_drm_get_bridge_by_endpoint()
This driver calls drm_of_find_panel_or_bridge() with a NULL pointer in the
@panel parameter, thus using a reduced feature set of that function.
Replace this call with the simpler of_drm_get_bridge_by_endpoint().

Since of_drm_get_bridge_by_endpoint() increases the refcount of the
returned bridge, ensure it is put on removal. To achieve this, instead of
adding an explicit drm_bridge_put(), migrate to the bridge::next_bridge
pointer which is automatically put when the bridge is eventually freed.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patch.msgid.link/20260511-drm-bridge-alloc-getput-panel_or_bridge-v6-10-f61c9e498b3f@bootlin.com
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
2026-05-19 10:57:26 +02:00
..
Kconfig drm/xlnx/zynqmp-dpsub: Fix dependencies for COMPILE_TEST 2026-05-06 11:00:03 +03:00
Makefile drm: xlnx: zynqmp_dpsub: Add DP audio support 2024-12-19 08:54:00 +02:00
zynqmp_disp_regs.h drm: xlnx: zynqmp_dpsub: Add DP audio support 2024-12-19 08:54:00 +02:00
zynqmp_disp.c drm: xlnx: zynqmp: Add support for XVUY2101010 2026-05-05 14:04:29 +03:00
zynqmp_disp.h drm: xlnx: zynqmp_dpsub: Set input live format 2024-04-24 17:51:19 +03:00
zynqmp_dp_audio.c drm: xlnx: zynqmp_dpsub: use snd_soc_dummy_dlc 2025-04-16 15:01:22 +03:00
zynqmp_dp.c drm: zynqmp_dp: switch to of_drm_get_bridge_by_endpoint() 2026-05-19 10:57:26 +02:00
zynqmp_dp.h drm: xlnx: zynqmp_dpsub: Add DP audio support 2024-12-19 08:54:00 +02:00
zynqmp_dpsub.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
zynqmp_dpsub.h drm: xlnx: zynqmp_dpsub: Fix kernel doc 2025-01-16 12:45:16 +01:00
zynqmp_kms.c Merge drm/drm-next into drm-misc-next 2026-05-07 16:17:01 +02:00
zynqmp_kms.h drm: xlnx: Fix kerneldoc 2024-04-26 20:09:10 +03:00