If the card was unbooted the VGA core needs to be woken up before poking at it.
Signed-off-by: Daniel Palmer <[email protected]> --- drivers/video/fbdev/tdfxfb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/video/fbdev/tdfxfb.c b/drivers/video/fbdev/tdfxfb.c index 4c1d847c89c9..9d55efd2c934 100644 --- a/drivers/video/fbdev/tdfxfb.c +++ b/drivers/video/fbdev/tdfxfb.c @@ -482,6 +482,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); -- 2.53.0
