From b8c4fd0ae93c624609d61e4789afa7daaf50a8f1 Mon Sep 17 00:00:00 2001 Message-Id: From: Gerd Hoffmann Date: Wed, 11 Mar 2015 15:10:55 -0500 Subject: [CHANGE 1/9] vga: raise xres+yres limits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: rhvirt-patches@redhat.com, jen@redhat.com RH-Author: Gerd Hoffmann Message-id: <1426086663-17937-2-git-send-email-kraxel@redhat.com> Patchwork-id: 64282 O-Subject: [RHEL-6.7 qemu-kvm PATCH v4 1/9] vga: raise xres+yres limits Bugzilla: 1053039 RH-Acked-by: Dr. David Alan Gilbert RH-Acked-by: Marc-André Lureau RH-Acked-by: Laszlo Ersek 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 (cherry picked from commit e9c6149f6ae6873f14a12eea554925b6aa4c4dec) Signed-off-by: Jeff E. Nelson Conflicts: hw/vga_int.h --- hw/vga_int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Jeff E. Nelson --- hw/vga_int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/vga_int.h b/hw/vga_int.h index 4a82683..1eb5fa7 100644 --- a/hw/vga_int.h +++ b/hw/vga_int.h @@ -33,8 +33,8 @@ /* bochs VBE support */ #define CONFIG_BOCHS_VBE -#define VBE_DISPI_MAX_XRES 2560 -#define VBE_DISPI_MAX_YRES 1600 +#define VBE_DISPI_MAX_XRES 16000 +#define VBE_DISPI_MAX_YRES 12000 #define VBE_DISPI_MAX_BPP 32 #define VBE_DISPI_INDEX_ID 0x0 -- 2.1.0