From 9781483bcc0030f4d9595694dd4fdfe7a99f18da Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Tue, 9 Jan 2024 18:57:25 +0000 Subject: [PATCH] drm/panel/simple: Correct Pi touchscreen HBP The value was supposedly copied from the firmware via panel-raspberrypi-touchscreen, but it was copied incorrectly. The firmware has but the timings here ended up as just 46. Correct them to 44. Signed-off-by: Dave Stevenson --- drivers/gpu/drm/panel/panel-simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index ef0154b5de21c9..846e98df6ade49 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3246,7 +3246,7 @@ static const struct drm_display_mode raspberrypi_7inch_mode = { .hdisplay = 800, .hsync_start = 800 + 59, .hsync_end = 800 + 59 + 2, - .htotal = 800 + 59 + 2 + 46, + .htotal = 800 + 59 + 2 + 44, .vdisplay = 480, .vsync_start = 480 + 7, .vsync_end = 480 + 7 + 2,