drivers/gpu/drm/panel:Modify the DSI mode to fix the problem that 7.9inch cannot...
authoreng33 <eng33@waveshare.com>
Wed, 3 Jan 2024 03:45:04 +0000 (11:45 +0800)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:30 +0000 (11:35 +0000)
Signed-off-by: eng33 <eng33@waveshare.com>
drivers/gpu/drm/panel/panel-waveshare-dsi.c

index 1f07d65..d441c3e 100644 (file)
@@ -339,9 +339,8 @@ static int ws_panel_probe(struct i2c_client *i2c)
         */
        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;