[02/35] drm/panel: remove the unused struct panel_bridge

Message ID 20261026-drm-panel-funcs-v1-2-5e3070a3478f@oss.qualcomm.com (mailing list archive)
State New
Headers
Series drm/panel: let the panels use the atomic state |

Commit Message

Dmitry Baryshkov Oct. 26, 2026, 11:09 a.m. UTC
The bridge is embedded into struct drm_panel now, nothing uses the
separate wrapper struct any more.

Assisted-by: LLM
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
 drivers/gpu/drm/drm_panel.c | 7 -------
 1 file changed, 7 deletions(-)
  

Comments

Luca Ceresoli Oct. 30, 2026, 5:28 p.m. UTC | #1
On Mon, 26 Oct 2026 13:09:51 +0200, Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> wrote:
> The bridge is embedded into struct drm_panel now, nothing uses the
> separate wrapper struct any more.

Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
  
Luca Ceresoli Nov. 4, 2026, 5:07 p.m. UTC | #2
On Fri Oct 30, 2026 at 6:28 PM CET, Luca Ceresoli wrote:
> On Mon, 26 Oct 2026 13:09:51 +0200, Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> wrote:
>> The bridge is embedded into struct drm_panel now, nothing uses the
>> separate wrapper struct any more.
>
> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
  

Patch

diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c
index c00529bfb706..268e655140ac 100644
--- a/drivers/gpu/drm/drm_panel.c
+++ b/drivers/gpu/drm/drm_panel.c
@@ -50,13 +50,6 @@  drm_connector_to_panel(const struct drm_connector *connector)
 	return container_of(connector, struct drm_panel, connector);
 }
 
-struct panel_bridge {
-	struct drm_bridge bridge;
-	struct drm_connector connector;
-	struct drm_panel *panel;
-	u32 connector_type;
-};
-
 static int panel_bridge_connector_get_modes(struct drm_connector *connector)
 {
 	struct drm_panel *panel = drm_connector_to_panel(connector);