Skip to contentSkip to conversation

Add 1280x768 mode

PATCH In review Avi Kivity 3 participants 4 messages Nov 21, 2010 – Nov 30, 2010 KVM

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

PATCH 1/1 Add 1280x768 mode

---
 vbetables-gen.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
vbetables-gen.c +3 -0
index 550935a..76b8842 100644
@@ -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},
Signature · 1 line
1.7.1
author
#1 lore raw
Quoted 10 lines · Avi Kivity
---
  vbetables-gen.c |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)
vbetables-gen.c +0 -0
index 550935a..76b8842 100644

vbetables-gen.c ModeInfo modes[] = { · line 60

Quoted 6 lines
vbetables-gen.c +3 -0
@@ -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},

This is of course from qemu-kvm, and was added at a user's request.

Signature · 1 line
error compiling committee.c: too many arguments to function
#3 lore raw

Anthony,

Can you please apply this patch and update the submodule in QEMU to use it? Its the only diff between qemu-kvm's vgabios and qemu's.

Thanks

Quoted 10 lines · Gerd Hoffmann

vbetables-gen.c ModeInfo modes[] = { · line 60

Quoted 3 lines · Avi Kivity
vbetables-gen.c +3 -0
+{ 1280, 768, 16                      , 0x175},
+{ 1280, 768, 24                      , 0x176},
+{ 1280, 768, 32                      , 0x177},

cheers,
Gerd