From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXTfO-0006ZL-CH for qemu-devel@nongnu.org; Thu, 24 May 2012 04:45:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXTfH-0008Bk-Ur for qemu-devel@nongnu.org; Thu, 24 May 2012 04:45:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXTfH-0008Aq-My for qemu-devel@nongnu.org; Thu, 24 May 2012 04:44:59 -0400 From: Gerd Hoffmann Date: Thu, 24 May 2012 10:44:54 +0200 Message-Id: <1337849095-21444-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1337849095-21444-1-git-send-email-kraxel@redhat.com> References: <1337849095-21444-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RfC PATCH 1/2] vga: raise xres+yres limits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jan.kiszka@siemens.com, Gerd Hoffmann , kvm@vger.kernel.org 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 --- hw/vga_int.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/vga_int.h b/hw/vga_int.h index 7685b2b..297c2f1 100644 --- a/hw/vga_int.h +++ b/hw/vga_int.h @@ -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 -- 1.7.1