From patchwork Wed Dec 26 17:19:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 10743237 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 398EF13A4 for ; Wed, 26 Dec 2018 17:24:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C963283C9 for ; Wed, 26 Dec 2018 17:24:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 112E228595; Wed, 26 Dec 2018 17:24:09 +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 DFA5B283C9 for ; Wed, 26 Dec 2018 17:24:07 +0000 (UTC) Received: from localhost ([127.0.0.1]:47411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcCud-0000MR-5I for patchwork-qemu-devel@patchwork.kernel.org; Wed, 26 Dec 2018 12:24:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcCrB-00040l-F0 for qemu-devel@nongnu.org; Wed, 26 Dec 2018 12:20:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gcCrA-0007nh-JC for qemu-devel@nongnu.org; Wed, 26 Dec 2018 12:20:33 -0500 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:36336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gcCr2-0007hJ-FN for qemu-devel@nongnu.org; Wed, 26 Dec 2018 12:20:27 -0500 Received: by mail-qt1-x833.google.com with SMTP id t13so17843971qtn.3 for ; Wed, 26 Dec 2018 09:20:21 -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=a9fyvOqhxNRoR5gRRySx2jZCs7uB7JHR94WSLtcoSfx0pcHKubMRd6gNXkQGBKGtUT ytPrbfPHv7ZjJu0RHnR9iWiKX1AkYBXZgGCS/WeYdJSS16p5LQxUd5Eg+0r5oc0a9XI1 ziSQl7j23iT/A6tnjoZh6QDhW+PxkDuoYaW++ZcYLFvfKEMtdwy7FT8mSUTz5IkGrf2e ioABCDuZaYiOv/76qGj6e8U9D4OJLcjglTp/pt4Pphc/cgsq6SBBeoG01LtRzi6jpc7c wSai5QqdbjxdfquASQB4Tm9z+kMZb9Jjakgx5VO0YObCes9kgfy7NGgEy0YGLQmQ7IIs w14Q== 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=BYeoqLWD4sdgt/YBOQp6jNWY9Eer6riQ9gSCv232iz4vGodPTJR0JwpztueudM5lGW 1/Ic5CLU5R2gqk7csDNVRPFhBzRohV2IxuETRO8mlD7huWh9F5coj1AdnQHJe30pCxTe DYXBXpcpG/cxu/zOyaTAwgb3D3DW/obzSORJ+f8F/h1SqAupqCTbCkKUXkekp37KvmiI KVqRzkt/ulwIm4rPl9GsZQoTuAxafK85t139sVFGngFaIs8oyZiuuiO5SCTEiif3G++B u5lshQVb89Czm+J9mRwMEEXpLxbe4LmVSq+i61o2QcujGgzn67eNPZysRxSsLAOCptqG JgYw== X-Gm-Message-State: AJcUukf1EdG49TyKKsUH4jiUxoF8PvBNzUX2Y4sehG3jqnD6WGpVdhwC dhnqeHnbFcmaMEu0RBqg6NqXAg== X-Google-Smtp-Source: ALg8bN6GNpfOsMBrId2R8ngijf2X7V6WB6b+cf34hhrN5qTtd3NkeOxDP+QqSfBiSYzYCTIbQ3FJng== X-Received: by 2002:a0c:fb4c:: with SMTP id b12mr19182997qvq.177.1545844821403; Wed, 26 Dec 2018 09:20:21 -0800 (PST) Received: from localhost ([2601:182:c980:96c:8dd:4488:90b1:59d1]) by smtp.gmail.com with ESMTPSA id q38sm12782813qtj.65.2018.12.26.09.20.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Dec 2018 09:20:20 -0800 (PST) Date: Wed, 26 Dec 2018 09:19:55 -0800 Message-Id: <20181226172005.26990-5-palmer@sifive.com> X-Mailer: git-send-email 2.18.1 In-Reply-To: <20181226172005.26990-1-palmer@sifive.com> References: <20181226172005.26990-1-palmer@sifive.com> From: Palmer Dabbelt To: Peter Maydell X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::833 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: Alistair Francis , Palmer Dabbelt , qemu-riscv@nongnu.org, 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