All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hw/artist: Reduce default artist screen size to 800x600 pixel
@ 2020-03-02 19:14 Helge Deller
  2020-03-02 23:26 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 2+ messages in thread
From: Helge Deller @ 2020-03-02 19:14 UTC (permalink / raw
  To: qemu-devel, Sven Schnelle

Reduce the default emulated screen size to 800x600 pixel instead of
1280x1024 pixel. With the bigger screen size the emulated graphic card
isn't fully visible on my laptop display, and if people want bigger
sizes it's possible to define it on the command line.

Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/hw/display/artist.c b/hw/display/artist.c
index 65be9e3554..74cff24d7b 100644
--- a/hw/display/artist.c
+++ b/hw/display/artist.c
@@ -1418,8 +1412,8 @@ static const VMStateDescription vmstate_artist = {
 };

 static Property artist_properties[] = {
-    DEFINE_PROP_UINT16("width",        ARTISTState, width, 1280),
-    DEFINE_PROP_UINT16("height",       ARTISTState, height, 1024),
+    DEFINE_PROP_UINT16("width",        ARTISTState, width, 800),
+    DEFINE_PROP_UINT16("height",       ARTISTState, height, 600),
     DEFINE_PROP_UINT16("depth",        ARTISTState, depth, 8),
     DEFINE_PROP_END_OF_LIST(),
 };


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

* Re: [PATCH] hw/artist: Reduce default artist screen size to 800x600 pixel
  2020-03-02 19:14 [PATCH] hw/artist: Reduce default artist screen size to 800x600 pixel Helge Deller
@ 2020-03-02 23:26 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-02 23:26 UTC (permalink / raw
  To: Helge Deller, qemu-devel, Sven Schnelle

On 3/2/20 8:14 PM, Helge Deller wrote:
> Reduce the default emulated screen size to 800x600 pixel instead of
> 1280x1024 pixel. With the bigger screen size the emulated graphic card
> isn't fully visible on my laptop display, and if people want bigger
> sizes it's possible to define it on the command line.
> 
> Signed-off-by: Helge Deller <deller@gmx.de>
> 
> diff --git a/hw/display/artist.c b/hw/display/artist.c
> index 65be9e3554..74cff24d7b 100644
> --- a/hw/display/artist.c
> +++ b/hw/display/artist.c
> @@ -1418,8 +1412,8 @@ static const VMStateDescription vmstate_artist = {
>   };
> 
>   static Property artist_properties[] = {
> -    DEFINE_PROP_UINT16("width",        ARTISTState, width, 1280),
> -    DEFINE_PROP_UINT16("height",       ARTISTState, height, 1024),
> +    DEFINE_PROP_UINT16("width",        ARTISTState, width, 800),
> +    DEFINE_PROP_UINT16("height",       ARTISTState, height, 600),
>       DEFINE_PROP_UINT16("depth",        ARTISTState, depth, 8),
>       DEFINE_PROP_END_OF_LIST(),
>   };
> 

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>



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

end of thread, other threads:[~2020-03-02 23:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-02 19:14 [PATCH] hw/artist: Reduce default artist screen size to 800x600 pixel Helge Deller
2020-03-02 23:26 ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.