From: Daniel Palmer Date: Fri, 27 Feb 2026 12:25:00 +0000 (+0900) Subject: fbdev: tdfxfb: Make the VGA register initialisation a bit more obvious X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d95beb0a373ae8b0b213a1f564c735e8ecfa54e2;p=thirdparty%2Fkernel%2Flinux.git fbdev: tdfxfb: Make the VGA register initialisation a bit more obvious For a while I was trying to get this working on m68k, for some reason the card doesn't display anything if it's own video BIOS didn't run.. Anyhow, I spent a long time looking up what each of these offsets were to work out what the code is configuring and eventually replaced them with the human readable defines in video/vga.h. Functionally there is no change but maybe it makes it a bit easier to look at for the next person that finds themselves in here. Tested on a real voodoo 3 on x86_64. Signed-off-by: Daniel Palmer Signed-off-by: Helge Deller --- diff --git a/drivers/video/fbdev/tdfxfb.c b/drivers/video/fbdev/tdfxfb.c index 51ebe78359ec3..7606e024fa3f4 100644 --- a/drivers/video/fbdev/tdfxfb.c +++ b/drivers/video/fbdev/tdfxfb.c @@ -77,6 +77,7 @@ #include #include