mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From 42d85600154d779801586c9a2a61d8ec7d1cb5bc 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 0362/1085] 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(+)
|
|
|
|
--- a/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
|
|
+++ b/drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
|
|
@@ -1315,6 +1315,7 @@ static int ili9881c_dsi_probe(struct mip
|
|
ctx->dsi = dsi;
|
|
ctx->desc = of_device_get_match_data(&dsi->dev);
|
|
|
|
+ ctx->panel.prepare_prev_first = true;
|
|
drm_panel_init(&ctx->panel, &dsi->dev, &ili9881c_funcs,
|
|
DRM_MODE_CONNECTOR_DSI);
|
|
|