[PATCH] VGA Bios allow 1920x1080

Øyvind Sæther
2010-04-13T04:08:02Z

The patch lets me run 1920x1080 resolution, some displays are only that and
not 1920x1200 these days. Gentoos ebuild doesn't seem to make the vgabios and
only uses /pc-bios/vgabios.bin, making kvm/vgabios and replace vgabios.bin
with the VGABIOS-lgpl-latest.bin it makes works (for me).

--- vbetables-gen.c 2010-04-13 06:04:09.874359455 +0200
+++ vbetables-gen.c.new 2010-04-13 06:04:03.955480621 +0200
@@ -73,12 +73,15 @@
{ 1680, 1050, 16 , 0x184},
{ 1680, 1050, 24 , 0x185},
{ 1680, 1050, 32 , 0x186},
-{ 1920, 1200, 16 , 0x187},
-{ 1920, 1200, 24 , 0x188},
-{ 1920, 1200, 32 , 0x189},
-{ 2560, 1600, 16 , 0x18a},
-{ 2560, 1600, 24 , 0x18b},
-{ 2560, 1600, 32 , 0x18c},
+{ 1920, 1080, 16 , 0x187},
+{ 1920, 1080, 24 , 0x188},
+{ 1920, 1080, 32 , 0x189},
+{ 1920, 1200, 16 , 0x18a},
+{ 1920, 1200, 24 , 0x18b},
+{ 1920, 1200, 32 , 0x18c},
+{ 2560, 1600, 16 , 0x18d},
+{ 2560, 1600, 24 , 0x18e},
+{ 2560, 1600, 32 , 0x18f},
{ 0, },
};