From patchwork Mon Mar 2 19:14:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 11416195 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 518C214B4 for ; Mon, 2 Mar 2020 19:16:58 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0810A20842 for ; Mon, 2 Mar 2020 19:16:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="HUJVTks6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0810A20842 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:37586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8qYi-0002Nn-Qe for patchwork-qemu-devel@patchwork.kernel.org; Mon, 02 Mar 2020 14:16:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54192) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8qW7-0000pp-Uk for qemu-devel@nongnu.org; Mon, 02 Mar 2020 14:14:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8qW6-0007WK-LF for qemu-devel@nongnu.org; Mon, 02 Mar 2020 14:14:15 -0500 Received: from mout.gmx.net ([212.227.15.15]:43633) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8qW6-0007UR-86 for qemu-devel@nongnu.org; Mon, 02 Mar 2020 14:14:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1583176450; bh=Cxyrdksecd5F18qZjzSh4eS7I7NqZGMD6yeHdeolhAo=; h=X-UI-Sender-Class:Date:From:To:Subject; b=HUJVTks6hTHb2TTqLqFulIXOdeseX+eMVsxKhR+kqvNSs/4DOQG5zwZavSI3ozniQ mDv0eVSCAUmDFkKX915bpERhS/Y3rr5fk0CEhQBXyekL8dqCiY9LE/YkCrMeeT20rt yggX4VWG/w3c8htrA8H+AyYJfMprN23FY4n/yi5o= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from ls3530.fritz.box ([92.116.130.108]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M3lc9-1j97Mf2aAN-000vam; Mon, 02 Mar 2020 20:14:10 +0100 Date: Mon, 2 Mar 2020 20:14:09 +0100 From: Helge Deller To: qemu-devel@nongnu.org, Sven Schnelle Subject: [PATCH] hw/artist: Reduce default artist screen size to 800x600 pixel Message-ID: <20200302191409.GA4512@ls3530.fritz.box> MIME-Version: 1.0 Content-Disposition: inline X-Provags-ID: V03:K1:Roicp1uANwi0iMJar+jG+juiFi6IijskKnwbk0mkPnkoIqXudZj 6mMVnBeh6kbWRHbzaFrniFfDbikyBAy405BUfwZp0V/ZiREAzuzYZ15K0DBtlrIW+vvASXd nQQPVBT2t//V+8AdLsPPU+2Tv6PQwCpRey4JfrQoJX+rDHha+JQ6TnACgv74dSY8V0mWHA0 3N7zGIoFgQPutY7NO0prg== X-UI-Out-Filterresults: notjunk:1;V03:K0:/bFEFr19/h4=:V/hHiHLw7OYi8HHZaJYbNW 0UAYPQoTiehgqyNHpAre9QRDss5lOFQ2bs3VbpGFiaPdPEKvM2xSA/pW2An8+5mX8mzNYreN3 xYe7Ow4vLrYAkKPXRHgig09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ttQpbKPy8fAwPEiEIG9LyhjIbV3w1Yg0uXfLRz3H497f7fQLUq7l0pkGmUsxlaybcSO8jn0XC hZsdS48HNt2myKE41 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" 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 Reviewed-by: Philippe Mathieu-Daudé 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(), };