Patchwork [vgabios] Add 1280x768 mode

login
register
mail settings
Submitter Avi Kivity
Date Nov. 21, 2010, 3:33 p.m.
Message ID <1290353613-21641-1-git-send-email-avi@redhat.com>
Download mbox | patch
Permalink /patch/72443/
State New
Headers show

Comments

Avi Kivity - Nov. 21, 2010, 3:33 p.m.
Signed-off-by: Avi Kivity <avi@redhat.com>
---
 vbetables-gen.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Avi Kivity - Nov. 21, 2010, 3:34 p.m.
On 11/21/2010 05:33 PM, Avi Kivity wrote:
> Signed-off-by: Avi Kivity<avi@redhat.com>
> ---
>   vbetables-gen.c |    3 +++
>   1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/vbetables-gen.c b/vbetables-gen.c
> index 550935a..76b8842 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},

This is of course from qemu-kvm, and was added at a user's request.
Gerd Hoffmann - Nov. 22, 2010, 11:24 a.m.
On 11/21/10 16:33, Avi Kivity wrote:
> +{ 1280, 768, 16                      , 0x175},
> +{ 1280, 768, 24                      , 0x176},
> +{ 1280, 768, 32                      , 0x177},

Acked-by: Gerd Hoffmann <kraxel@redhat.com>

cheers,
   Gerd
Marcelo Tosatti - Nov. 30, 2010, 12:23 p.m.
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

On Mon, Nov 22, 2010 at 12:24:04PM +0100, Gerd Hoffmann wrote:
> On 11/21/10 16:33, Avi Kivity wrote:
> >+{ 1280, 768, 16                      , 0x175},
> >+{ 1280, 768, 24                      , 0x176},
> >+{ 1280, 768, 32                      , 0x177},
> 
> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
> 
> cheers,
>   Gerd
>

Patch

diff --git a/vbetables-gen.c b/vbetables-gen.c
index 550935a..76b8842 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},