Pass more appropriate video id to Linux.

* grub-core/loader/i386/linux.c (grub_linux_setup_video): Use
	grub_video_get_driver_id and variable gfxpayloadforcelfb to
	fill have_vga.
	(grub_linux_boot): Rely on grub_linux_setup_video to fill have_vga and
	shift params->lfb_size.
	* include/grub/i386/linux.h: Make an enume out of have_vga values.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-11 00:02:01 +01:00
parent c2fa6cbb42
commit 3395fe5230
4 changed files with 57 additions and 17 deletions

2
BUGS Normal file
View file

@ -0,0 +1,2 @@
Currently search and assembling multidevice abstractions scans all the devices which can be slow.
Cache isn't used correctly for video which results in slowness.