From patchwork Fri Dec 21 16:02:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 10740657 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DC78C14DE for ; Fri, 21 Dec 2018 16:05:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC17C26E3E for ; Fri, 21 Dec 2018 16:05:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFFCD2846C; Fri, 21 Dec 2018 16:05:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 764002849D for ; Fri, 21 Dec 2018 16:05:20 +0000 (UTC) Received: from localhost ([::1]:46412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaNId-0002kG-KU for patchwork-qemu-devel@patchwork.kernel.org; Fri, 21 Dec 2018 11:05:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaNH3-0001K4-Lo for qemu-devel@nongnu.org; Fri, 21 Dec 2018 11:03:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaNH2-00044V-Ro for qemu-devel@nongnu.org; Fri, 21 Dec 2018 11:03:41 -0500 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:35673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gaNH2-00043v-Mr for qemu-devel@nongnu.org; Fri, 21 Dec 2018 11:03:40 -0500 Received: by mail-qt1-x835.google.com with SMTP id v11so6210490qtc.2 for ; Fri, 21 Dec 2018 08:03:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=subject:date:message-id:in-reply-to:references:cc:from:to; bh=aoPFhjxbUzAVpTh1hLfCGhoB6tdZHAOMkudTaz85aXg=; b=btqNQf8pAxtRoVb0/AYmDzQTEp1953NAShlBsgtEVF1f16ssAuDNtJZPcBcioWUNOD Q3KTZR6M5YkeFi2IJ8zNjXgNr+UG540466LUKnlrlB64rOP1oYwHjUw5BhknpMZy5p5R yzB55cvVEidAN29g0GD8lZo7oSCBXiCMPx17VXUpZTqkxhP9s7TQPWudncD9LSSG5Jk1 KdvsB4GJCZ+Oe4EdO6iXeR9x0S23V+tzOS5uWO61TyMANOQkquMaZfC//XJQIu9PT69R x2+hCCvJ9J8BCpknq5Lw5CB+whZIvmQfxO8IIxnEAAd+Xam0lkeFBM2jhYZ4GNhvti7D Y/zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :cc:from:to; bh=aoPFhjxbUzAVpTh1hLfCGhoB6tdZHAOMkudTaz85aXg=; b=V4AGlIRKAV4XxGNRFrZyC8JNLTDHXcLs0J/a7vrS9P9gPuFr0tzAi3DuQeCVm5Z1Ba WONzVlSazpWlEYnHSibDR8/rNfpORU55F1ptT4iykJKHjH65gkvzZ7HtyFE+nl8bSKM3 e/vYBwLwsmZVshMletK1WHFScJ8u7jGjORO3qq4Y+xcCwSEX9mpEqhO0WuYk15fc0bNQ TluO2DFBfRWevEjf9KqF6nQ90uHg4dgJ4QB3Du46aNYdZd3h8IOiZgORAl33rj/K9Nkl Pm62LM1Qu0U+5ALnlj174DTJnPoNVwqxhM/50oLbv/IrxV2o8W5dfdx7HT4GE94K4/De OxWg== X-Gm-Message-State: AJcUukcoUo1TIRa+ZU8Ksu/vMUX0Mf1HoLbuSUlgMi3zTRfn5tSNSr/n KvypcVIYk7bEgHCB2GvGXAMmT6masnY= X-Google-Smtp-Source: ALg8bN7DCwAyAuOeJ/zehciR1DWiClbUrmx+uWx53Bw31G97k2oHFivd1vAZpyMRoLNRjun9CRE8vA== X-Received: by 2002:aed:25a6:: with SMTP id x35mr2939233qtc.228.1545408219922; Fri, 21 Dec 2018 08:03:39 -0800 (PST) Received: from localhost ([2601:182:c980:96c:8dd:4488:90b1:59d1]) by smtp.gmail.com with ESMTPSA id k189sm4685865qkf.64.2018.12.21.08.03.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Dec 2018 08:03:39 -0800 (PST) Date: Fri, 21 Dec 2018 08:02:57 -0800 Message-Id: <20181221160307.14819-5-palmer@sifive.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181221160307.14819-1-palmer@sifive.com> References: <20181221160307.14819-1-palmer@sifive.com> From: Palmer Dabbelt To: qemu-riscv@nongnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::835 Subject: [Qemu-devel] [PULL 04/14] riscv: Enable VGA and PCIE_VGA X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Palmer Dabbelt , Alistair Francis , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Alistair Francis Enable compile support for VGA devices. This allows the user to conenct a display by adding '-device bochs-display -display sdl' to their command line argument. Signed-off-by: Alistair Francis Reviewed-by: Logan Gunthorpe Tested-by: Andrea Bolognani Signed-off-by: Palmer Dabbelt --- default-configs/riscv32-softmmu.mak | 3 +++ default-configs/riscv64-softmmu.mak | 3 +++ 2 files changed, 6 insertions(+) diff --git a/default-configs/riscv32-softmmu.mak b/default-configs/riscv32-softmmu.mak index c5ea36cba597..dbc93982848a 100644 --- a/default-configs/riscv32-softmmu.mak +++ b/default-configs/riscv32-softmmu.mak @@ -8,3 +8,6 @@ CONFIG_VIRTIO_MMIO=y CONFIG_CADENCE=y CONFIG_PCI_GENERIC=y + +CONFIG_VGA=y +CONFIG_VGA_PCI=y diff --git a/default-configs/riscv64-softmmu.mak b/default-configs/riscv64-softmmu.mak index c5ea36cba597..dbc93982848a 100644 --- a/default-configs/riscv64-softmmu.mak +++ b/default-configs/riscv64-softmmu.mak @@ -8,3 +8,6 @@ CONFIG_VIRTIO_MMIO=y CONFIG_CADENCE=y CONFIG_PCI_GENERIC=y + +CONFIG_VGA=y +CONFIG_VGA_PCI=y