Re: who sets boot_params[].screen_info.orig_video_isVGA?

From: Matthew Garrett
Date: Mon Sep 05 2005 - 10:59:05 EST


gl@xxxxxxxxx <gl@xxxxxxxxx> wrote:

> Do I get it right, that, say, if I tell grub to load a kernel and specify
> "vga=xxx" on the kernel command line, grub will interpret it, issue some
> VESA BIOS calls and fill in the screen_info struct? If so, the card often
> supports several modes (VGA, SVGA, VESA, different resolutions, colour
> depths, etc.), right? So, which one will be chosen? Does it depend on the
> specific value I give to "vga="? How do I force VIDEO_TYPE_VLFB (VESA VGA
> in graphic mode) mopde then?

Yup. You probably want to take a look at Documentation/fb/vesafb.txt -
the modes are the same.
--
Matthew Garrett | mjg59-chiark.mail.linux-rutgers.kernel@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/