From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeLsn-0007WT-MT for qemu-devel@nongnu.org; Tue, 12 Jun 2012 03:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeLsk-0001Yn-Re for qemu-devel@nongnu.org; Tue, 12 Jun 2012 03:51:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeLsk-0001XS-Jm for qemu-devel@nongnu.org; Tue, 12 Jun 2012 03:51:18 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q5C7pHJg005621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Jun 2012 03:51:17 -0400 From: Gerd Hoffmann Date: Tue, 12 Jun 2012 09:51:10 +0200 Message-Id: <1339487474-8481-7-git-send-email-kraxel@redhat.com> In-Reply-To: <1339487474-8481-1-git-send-email-kraxel@redhat.com> References: <1339487474-8481-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 06/10] vga: raise xres+yres limits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann 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 d244d8f..ce33e66 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