[Spice-devel] [PATCH] qxl: add 800x480 resolution to qxl_modes (n900 native)

Alexander Larsson alexl at redhat.com
Tue Aug 17 08:18:30 PDT 2010


On Tue, 2010-08-03 at 04:39 -0400, Alon Levy wrote:
> Required for full screen in n900. Our vdagent is currently broken in that if you request a resolution
> that isn't supported by the driver you are left with a white screen, so this fixes "spicec --full-screen=auto-conf"
> for n900.
> 
> Review please.
> 
> ---
>  hw/qxl.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/qxl.c b/hw/qxl.c
> index ab1587a..e91f4b9 100644
> --- a/hw/qxl.c
> +++ b/hw/qxl.c
> @@ -64,6 +64,7 @@
>  
>  static QXLMode qxl_modes[] = {
>      QXL_MODE_EX(640, 480),
> +    QXL_MODE_EX(800, 480),
>      QXL_MODE_EX(800, 600),
>      QXL_MODE_EX(832, 624),
>      QXL_MODE_EX(1024, 768),

This is also the resolution on my phone, so ACK from me. Maybe we should
also add the iphone4 resolution 900xsomething i think.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's an obese alcoholic farmboy haunted by memories of 'Nam. She's a brilliant 
renegade Hell's Angel with a flame-thrower. They fight crime! 



More information about the Spice-devel mailing list