Skip to content

Commit

Permalink
drm/panel/simple: Correct Pi touchscreen HBP
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
6by9 committed Jan 9, 2024
1 parent cdfb0cc commit 9781483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/panel/panel-simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9781483

Please sign in to comment.