mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +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>
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From 6e2c0919cd112b358f3eb4e12c128f4d58afeba7 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Wed, 9 Aug 2023 21:04:40 +0100
|
|
Subject: [PATCH 0747/1085] drm: panel: jdi-lt070me05000: Add
|
|
prepare_upstream_first flag
|
|
|
|
The panel driver wants to send DCS commands from the prepare
|
|
hook, therefore the DSI host wants to be pre_enabled first.
|
|
Set the flag to achieve this.
|
|
|
|
https://forums.raspberrypi.com/viewtopic.php?t=354708
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/gpu/drm/panel/panel-jdi-lt070me05000.c
|
|
+++ b/drivers/gpu/drm/panel/panel-jdi-lt070me05000.c
|
|
@@ -429,6 +429,7 @@ static int jdi_panel_add(struct jdi_pane
|
|
return dev_err_probe(dev, PTR_ERR(jdi->backlight),
|
|
"failed to register backlight %d\n", ret);
|
|
|
|
+ jdi->base.prepare_prev_first = true;
|
|
drm_panel_init(&jdi->base, &jdi->dsi->dev, &jdi_panel_funcs,
|
|
DRM_MODE_CONNECTOR_DSI);
|
|
|