mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 067c6e5a2bcf4ae8ab393701ce11ad08efc72fd4 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 31 Mar 2022 12:05:04 +0100
|
|
Subject: [PATCH 413/726] drm/panel: panel-ilitek9881c: Add
|
|
prepare_upstream_first flag
|
|
|
|
The panel sends MIPI DCS commands during prepare and is expecting
|
|
the bus to remain in LP-11 state in-between.
|
|
|
|
Set the prepare_upstream_first flag so that the upstream DSI host
|
|
is prepared / pre_enabled first, and therefore the bus is in a
|
|
defined state.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c b/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
|
|
index bc4c846bf4a6..6136da4d0af8 100644
|
|
--- a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
|
|
+++ b/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
|
|
@@ -1131,6 +1131,7 @@ static int ili9881c_dsi_probe(struct mipi_dsi_device *dsi)
|
|
ctx->dsi = dsi;
|
|
ctx->desc = of_device_get_match_data(&dsi->dev);
|
|
|
|
+ ctx->panel.prepare_upstream_first = true;
|
|
drm_panel_init(&ctx->panel, &dsi->dev, &ili9881c_funcs,
|
|
DRM_MODE_CONNECTOR_DSI);
|
|
|
|
--
|
|
2.33.1
|
|
|