diff mbox

vgabios: Sync vbetables-gen.c with the version in http://cvs.savannah.gnu.org/viewvc/?root=vgabios, which has additional resolutions for HDTVs.

Message ID BANLkTi=ZqxXN_AT=biGtKTZujb75CMr8dg@mail.gmail.com
State New
Headers show

Commit Message

Tristan Schmelcher June 16, 2011, 11:06 p.m. UTC
I sent a patch to the vgabios project at
http://savannah.nongnu.org/cvs/?group=vgabios to add HDTV resolutions
a while back and they have accepted it. This patch is to make the same
change to git://git.qemu.org/vgabios.git. It adds 720p, 1080p, and the
less common 1280x768. These are very handy for running a fullscreen VM
on a 16:9 (or 5:3) monitor.

Signed-off-by: Tristan Schmelcher <tristan_schmelcher@alumni.uwaterloo.ca>
---
 vbetables-gen.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/vbetables-gen.c b/vbetables-gen.c
index 550935a..b55c2d1 100644
--- a/vbetables-gen.c
+++ b/vbetables-gen.c
@@ -55,6 +55,9 @@  ModeInfo modes[] = {
 { 1152, 864, 16                      , 0x14a},
 { 1152, 864, 24                      , 0x14b},
 { 1152, 864, 32                      , 0x14c},
+{ 1280, 768, 16                      , 0x175},
+{ 1280, 768, 24                      , 0x176},
+{ 1280, 768, 32                      , 0x177},
 { 1280, 800, 16                      , 0x178},
 { 1280, 800, 24                      , 0x179},
 { 1280, 800, 32                      , 0x17a},
@@ -76,6 +79,12 @@  ModeInfo modes[] = {
 { 2560, 1600, 16                     , 0x18a},
 { 2560, 1600, 24                     , 0x18b},
 { 2560, 1600, 32                     , 0x18c},
+{ 1280, 720, 16                      , 0x18d},
+{ 1280, 720, 24                      , 0x18e},
+{ 1280, 720, 32                      , 0x18f},
+{ 1920, 1080, 16                     , 0x190},
+{ 1920, 1080, 24                     , 0x191},
+{ 1920, 1080, 32                     , 0x192},
 { 0, },
 };