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>
		
			
				
	
	
		
			26 lines
		
	
	
		
			905 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			905 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 240dad1eea22c7425197a05b8582d39adc5e548b Mon Sep 17 00:00:00 2001
 | 
						|
From: eng33 <eng33@waveshare.com>
 | 
						|
Date: Wed, 3 Jan 2024 11:45:04 +0800
 | 
						|
Subject: [PATCH 0838/1085]  drivers/gpu/drm/panel:Modify the DSI mode to fix
 | 
						|
 the problem that 7.9inch cannot be displayed
 | 
						|
 | 
						|
Signed-off-by: eng33 <eng33@waveshare.com>
 | 
						|
---
 | 
						|
 drivers/gpu/drm/panel/panel-waveshare-dsi.c | 5 ++---
 | 
						|
 1 file changed, 2 insertions(+), 3 deletions(-)
 | 
						|
 | 
						|
--- a/drivers/gpu/drm/panel/panel-waveshare-dsi.c
 | 
						|
+++ b/drivers/gpu/drm/panel/panel-waveshare-dsi.c
 | 
						|
@@ -339,9 +339,8 @@ static int ws_panel_probe(struct i2c_cli
 | 
						|
 	 */
 | 
						|
 	drm_panel_add(&ts->base);
 | 
						|
 
 | 
						|
-	ts->dsi->mode_flags = (MIPI_DSI_MODE_VIDEO |
 | 
						|
-			   MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
 | 
						|
-			   MIPI_DSI_MODE_LPM);
 | 
						|
+	ts->dsi->mode_flags =  MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO |
 | 
						|
+			   MIPI_DSI_CLOCK_NON_CONTINUOUS;
 | 
						|
 	ts->dsi->format = MIPI_DSI_FMT_RGB888;
 | 
						|
 	ts->dsi->lanes = 2;
 | 
						|
 
 |