]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commitdiff
vga: raise xres+yres limits
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 May 2012 07:16:29 +0000 (09:16 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jun 2012 08:46:12 +0000 (10:46 +0200)
The vgabios will check whenever any given video mode will fit into the
given video memory before adding it to the list of available modes, so
there is no need to keep xmax * ymax * 32bpp lower than VGA_RAM_SIZE.

Lets raise the limits a bit.  Should be good for a few years, display
sizes are not growing that fast.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/vga_int.h

index d244d8ff99cc794886250cd897590609e79f63bf..ce33e66744ebb855a3755cc005412908a4ac32f6 100644 (file)
@@ -31,8 +31,8 @@
 /* bochs VBE support */
 #define CONFIG_BOCHS_VBE
 
-#define VBE_DISPI_MAX_XRES              1600
-#define VBE_DISPI_MAX_YRES              1200
+#define VBE_DISPI_MAX_XRES              16000
+#define VBE_DISPI_MAX_YRES              12000
 #define VBE_DISPI_MAX_BPP               32
 
 #define VBE_DISPI_INDEX_ID              0x0