qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] add support for higher screen resolutions
@ 2008-09-17 16:50 Andreas Winkelbauer
  2008-09-17 16:55 ` Jamie Lokier
  2008-09-17 20:04 ` Samuel Thibault
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Winkelbauer @ 2008-09-17 16:50 UTC (permalink / raw)
  To: aliguori; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

This patch introduces changes which are necessary for using qemu with
higher screen resolutions than 1600x1200 (with -std-vga).

In addition to this patch, the vgabios needs to be regenerated to
support higher resolutions too. A corresponding patch for the vgabios
has been submitted to Volker Ruppert.

kvm carries this patch since kvm-62 (commit
aaf6c43f811309b3f0546dd74b2543af2fad7f02).

Signed-off-by: Andreas Winkelbauer <andreas.winkelbauer@gmx.at>
---

Since I do not know how you usually generate the vgabios I will send the
 patch for it also to the qemu list. I hope Volker Ruppert will pick up
the patch, so that one could use the upstream version of vgabios directly.

bye,
Andi

[-- Attachment #2: qemu-widescreen.patch --]
[-- Type: text/x-patch, Size: 1011 bytes --]

diff -uNrp trunk.orig/hw/pc.h trunk/hw/pc.h
--- trunk.orig/hw/pc.h	2008-09-17 02:11:50.000000000 +0200
+++ trunk/hw/pc.h	2008-09-17 02:22:03.000000000 +0200
@@ -110,9 +110,9 @@ int piix4_init(PCIBus *bus, int devfn);
 /* vga.c */
 
 #ifndef TARGET_SPARC
-#define VGA_RAM_SIZE (8192 * 1024)
+#define VGA_RAM_SIZE (16 * 1024 * 1024)
 #else
-#define VGA_RAM_SIZE (9 * 1024 * 1024)
+#define VGA_RAM_SIZE (17 * 1024 * 1024)
 #endif
 
 int isa_vga_init(DisplayState *ds, uint8_t *vga_ram_base,
diff -uNrp trunk.orig/hw/vga_int.h trunk/hw/vga_int.h
--- trunk.orig/hw/vga_int.h	2008-09-17 02:11:49.000000000 +0200
+++ trunk/hw/vga_int.h	2008-09-17 02:21:43.000000000 +0200
@@ -30,8 +30,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              2560
+#define VBE_DISPI_MAX_YRES              1600
 #define VBE_DISPI_MAX_BPP               32
 
 #define VBE_DISPI_INDEX_ID              0x0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-22 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 16:50 [Qemu-devel] [PATCH] add support for higher screen resolutions Andreas Winkelbauer
2008-09-17 16:55 ` Jamie Lokier
2008-09-17 20:04 ` Samuel Thibault
2008-09-18  1:17   ` [Qemu-devel] " Andreas Winkelbauer
2008-09-18  5:55     ` Samuel Thibault
2008-09-22 14:38       ` Anthony Liguori

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).