* [PATCH 03/08] viafb: fix a off by one
@ 2026-12-05 22:21 Johann Klammer
0 siblings, 0 replies; only message in thread
From: Johann Klammer @ 2026-12-05 22:21 UTC (permalink / raw)
To: FlorianSchandinat, linux-kernel, linux-fbdev
Motivation: snow on the 1024x600-60 mode
GPT-6 thinks this was wrong.
From: [GPT-6]
Signed-off-by: Johann Klammer <klammerj@a1.net>
---
diff '--color=auto' -uprN -x '*.o' -x '*.ko' -x '*.mod*' -x '*.a' -x '*.cmd' -x modules.order -x Module.symvers -x .tmp_versions linux-7.3.0-gentoo.orig/drivers/video/fbdev/via/via_modesetting.c linux-7.3.0-gentoo.work/drivers/video/fbdev/via/via_modesetting.c
--- linux-7.3.0-gentoo.orig/drivers/video/fbdev/via/via_modesetting.c 2026-12-05 21:06:25.704339068 +0100
+++ linux-7.3.0-gentoo.work/drivers/video/fbdev/via/via_modesetting.c 2026-12-05 21:16:47.056355992 +0100
@@ -21,7 +21,7 @@ void via_set_primary_timing(const struct
raw.hor_total = timing->hor_total / 8 - 5;
raw.hor_addr = timing->hor_addr / 8 - 1;
- raw.hor_blank_start = timing->hor_blank_start / 8 - 1;
+ raw.hor_blank_start = timing->hor_blank_start / 8;
raw.hor_blank_end = timing->hor_blank_end / 8 - 1;
raw.hor_sync_start = timing->hor_sync_start / 8;
raw.hor_sync_end = timing->hor_sync_end / 8;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-05 22:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-05 22:21 [PATCH 03/08] viafb: fix a off by one Johann Klammer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®