]> git.ipfire.org Git - thirdparty/openwrt.git/blob
30578f59096f5e690f38b6ccf87d40f05bdbea89
[thirdparty/openwrt.git] /
1 From 240dad1eea22c7425197a05b8582d39adc5e548b Mon Sep 17 00:00:00 2001
2 From: eng33 <eng33@waveshare.com>
3 Date: Wed, 3 Jan 2024 11:45:04 +0800
4 Subject: [PATCH 0838/1085] drivers/gpu/drm/panel:Modify the DSI mode to fix
5 the problem that 7.9inch cannot be displayed
6
7 Signed-off-by: eng33 <eng33@waveshare.com>
8 ---
9 drivers/gpu/drm/panel/panel-waveshare-dsi.c | 5 ++---
10 1 file changed, 2 insertions(+), 3 deletions(-)
11
12 --- a/drivers/gpu/drm/panel/panel-waveshare-dsi.c
13 +++ b/drivers/gpu/drm/panel/panel-waveshare-dsi.c
14 @@ -339,9 +339,8 @@ static int ws_panel_probe(struct i2c_cli
15 */
16 drm_panel_add(&ts->base);
17
18 - ts->dsi->mode_flags = (MIPI_DSI_MODE_VIDEO |
19 - MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
20 - MIPI_DSI_MODE_LPM);
21 + ts->dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO |
22 + MIPI_DSI_CLOCK_NON_CONTINUOUS;
23 ts->dsi->format = MIPI_DSI_FMT_RGB888;
24 ts->dsi->lanes = 2;
25