From: Johann Klammer <klammerj@a1.net>
To: FlorianSchandinat@gmx.de, linux-kernel@vger.kernel.org,
linux-fbdev@vger.kernel.org
Subject: [PATCH 03/08] viafb: fix a off by one
Date: Sat, 5 Dec 2026 23:21:37 +0100 [thread overview]
Message-ID: <0e730509-d57d-4991-afd7-d6c1db709b2d@a1.net> (raw)
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;
reply other threads:[~2026-12-05 22:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0e730509-d57d-4991-afd7-d6c1db709b2d@a1.net \
--to=klammerj@a1.net \
--cc=FlorianSchandinat@gmx.de \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®