fbdev: tdfxfb: Wake the VGA core before programming the CRTC

If the card was unbooted the VGA core needs to be woken up before
poking at it.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Daniel Palmer
2026-07-31 21:19:13 +09:00
committed by Helge Deller
parent 08364e38de
commit edfbc5d2ad

View File

@@ -485,6 +485,10 @@ static void do_write_regs(struct fb_info *info, struct banshee_reg *reg)
tdfx_outl(par, MISCINIT1, tdfx_inl(par, MISCINIT1) | 0x01);
/* Wake the VGA core if it hasn't already been woken up */
tdfx_outl(par, VGAINIT0, reg->vgainit0);
vga_outb(par, 0x3c3, 0x01);
crt_outb(par, 0x11, crt_inb(par, 0x11) & 0x7f); /* CRT unprotect */
banshee_make_room(par, 3);