[Linux-stm32] [PATCH 16/35] drm/exynos: dpi: set the panel orientation on the connector
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Mon Oct 26 11:10:05 UTC 2026
The panel is used directly, without the panel bridge, so nothing sets
its orientation on the connector apart from the workaround in the
get_modes() of some panel drivers, which runs too late.
Assisted-by: LLM
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
---
drivers/gpu/drm/exynos/exynos_drm_dpi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
index 74d3a2bebb74..05014c2e7d92 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dpi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dpi.c
@@ -109,6 +109,7 @@ static int exynos_dpi_create_connector(struct drm_encoder *encoder)
}
drm_connector_helper_add(connector, &exynos_dpi_connector_helper_funcs);
+ drm_connector_set_orientation_from_panel(connector, ctx->panel);
drm_connector_attach_encoder(connector, encoder);
return 0;
--
2.47.3
More information about the Linux-stm32
mailing list