Thread (21 messages) 21 messages, 4 authors, 2025-06-24
STALE389d

[PATCH v2 16/16] drm/tegra: Keep up with refcounting

From: Anusha Srivatsa <hidden>
Date: 2025-06-19 19:20:10
Also in: dri-devel, linux-renesas-soc, linux-samsung-soc, linux-sunxi, linux-tegra, lkml
Subsystem: drm drivers, drm drivers for nvidia tegra, the rest · Maintainers: David Airlie, Simona Vetter, Thierry Reding, Mikko Perttunen, Linus Torvalds

Put the panel reference back when driver is no
longer using it.

Patch added in v2.

Signed-off-by: Anusha Srivatsa <redacted>
---
 drivers/gpu/drm/tegra/dsi.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c
index b5089b7722676cfaee5d28216af4ae706a47f895..830e90178302a76e7c091c92b66ce385ad26207e 100644
--- a/drivers/gpu/drm/tegra/dsi.c
+++ b/drivers/gpu/drm/tegra/dsi.c
@@ -1523,6 +1523,7 @@ static int tegra_dsi_host_detach(struct mipi_dsi_host *host,
 
 	if (output->panel && &device->dev == output->panel->dev) {
 		output->panel = NULL;
+		drm_panel_put(output->panel);
 
 		if (output->connector.dev)
 			drm_helper_hpd_irq_event(output->connector.dev);
-- 
2.48.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help