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: 1018709 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=208.118.235.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sifive.com header.i=@sifive.com header.b="a9fyvOqh"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43Q0DZ12pCz9s3l for ; Thu, 27 Dec 2018 04:23:26 +1100 (AEDT) Received: from localhost ([127.0.0.1]:47394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gcCtu-0006it-FM for incoming@patchwork.ozlabs.org; Wed, 26 Dec 2018 12:23:23 -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+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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