From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: jan.kiszka@siemens.com, Gerd Hoffmann <kraxel@redhat.com>,
kvm@vger.kernel.org
Subject: [Qemu-devel] [RfC PATCH 1/2] vga: raise xres+yres limits
Date: Thu, 24 May 2012 10:44:54 +0200 [thread overview]
Message-ID: <1337849095-21444-2-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1337849095-21444-1-git-send-email-kraxel@redhat.com>
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 | 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
next prev parent reply other threads:[~2012-05-24 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 8:44 [Qemu-devel] [RfC PATCH 0/2] vga: make ram size configurable Gerd Hoffmann
2012-05-24 8:44 ` Gerd Hoffmann [this message]
2012-05-24 8:44 ` [Qemu-devel] [RfC PATCH 2/2] vga: make vram " Gerd Hoffmann
2012-05-24 12:20 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1337849095-21444-2-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=jan.kiszka@siemens.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).