mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 14:04:27 -04:00
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:
committed by
Helge Deller
parent
08364e38de
commit
edfbc5d2ad
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user