From d95beb0a373ae8b0b213a1f564c735e8ecfa54e2 Mon Sep 17 00:00:00 2001 From: Daniel Palmer Date: Fri, 27 Feb 2026 21:25:00 +0900 Subject: 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 --- drivers/video/fbdev/tdfxfb.c | 109 ++++++++++++++++++++++--------------------- 1 file changed, 55 insertions(+), 54 deletions(-) (limited to 'drivers/video/fbdev') diff --git a/drivers/video/fbdev/tdfxfb.c b/drivers/video/fbdev/tdfxfb.c index 51ebe78359ec..7606e024fa3f 100644 --- a/drivers/video/fbdev/tdfxfb.c +++ b/drivers/video/fbdev/tdfxfb.c @@ -77,6 +77,7 @@ #include #include