aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Winkelbauer <andreas.winkelbauer@gmx.at>2008-02-24 10:34:30 +0200
committerAvi Kivity <avi@qumranet.com>2008-02-24 10:34:30 +0200
commitebfac597cf48540b68544375e188daaf906818a4 (patch)
tree135e33df688ebd60da28315e38a9576a27042944
parenta7fe0297840908a4fd65a1cf742481ccd45960eb (diff)
downloadqemu-kvm-ebfac597cf.tar.gz
kvm: vgabios: extend vram size to 16MB, and reorganaize highres modes
Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r--kvm/vgabios/vbetables-gen.c35
1 files changed, 22 insertions, 13 deletions
diff --git a/kvm/vgabios/vbetables-gen.c b/kvm/vgabios/vbetables-gen.c
index b74c282e02e..96ac85a5472 100644
--- a/kvm/vgabios/vbetables-gen.c
+++ b/kvm/vgabios/vbetables-gen.c
@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
-#define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 8
+#define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 16
typedef struct {
int width;
@@ -55,18 +55,27 @@ ModeInfo modes[] = {
{ 1152, 864, 16 , 0x14a},
{ 1152, 864, 24 , 0x14b},
{ 1152, 864, 32 , 0x14c},
-{ 1280, 800, 24 , 0x178},
-{ 1280, 800, 32 , 0x179},
-{ 1280, 960, 24 , 0x180},
-{ 1280, 960, 32 , 0x181},
-{ 1280, 960, 24 , 0x182},
-{ 1280, 960, 32 , 0x183},
-{ 1440, 900, 24 , 0x184},
-{ 1440, 900, 32 , 0x185},
-{ 1400, 1050, 24 , 0x186},
-{ 1400, 1050, 32 , 0x187},
-{ 1680, 1050, 24 , 0x188},
-{ 1680, 1050, 32 , 0x189},
+{ 1280, 800, 16 , 0x178},
+{ 1280, 800, 24 , 0x179},
+{ 1280, 800, 32 , 0x17a},
+{ 1280, 960, 16 , 0x17b},
+{ 1280, 960, 24 , 0x17c},
+{ 1280, 960, 32 , 0x17d},
+{ 1440, 900, 16 , 0x17e},
+{ 1440, 900, 24 , 0x17f},
+{ 1440, 900, 32 , 0x180},
+{ 1400, 1050, 16 , 0x181},
+{ 1400, 1050, 24 , 0x182},
+{ 1400, 1050, 32 , 0x183},
+{ 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},
{ 0, },
};