Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2608633pxb; Tue, 12 Oct 2021 09:50:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxuB6Xc8a2goksFuDXg3jCTziNETj1V5j+Pnz4zv1a9gnFiY+yGfYF4nn68y8ZXC9P3oT0 X-Received: by 2002:a17:90a:3b49:: with SMTP id t9mr7150841pjf.218.1634057422201; Tue, 12 Oct 2021 09:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634057422; cv=none; d=google.com; s=arc-20160816; b=wd2UzUqqdoscyvjzUniVypToBzkvLb7C6pF7kF8Yo/pKVF4XqUDiaw1Xx5g6+sInHv ddZIOB70GF2yqq+mgxOpc0q6OLL6Saa9afkqyUsrA9DH9fQIhzBTtdA4kxTI5D+w0YhI awq6OKQmkb6BZ1dno7h6VYmcVb2+nEfG/lTS8JxG40AD7ulYO2En8snjNYeKHlHhwmND 3SBVSnbfMRoVb7MpvhbB1k3pqMaIl1QDRwH0Sygj9thij9trXzJX55WAhhn0GvR8atyh 63csB5uugNAFS8JfioUh36q259lFqAXAc+0/9iAwtMBmu6xRT3aCcmuzxlL+DCg3fSLm bRKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/P/G2tQaU+J00Hwl+lWdgaHlFqUMRDqts18zTv/hnao=; b=SWx7QBNJil/t9MgZwrQTvAkxWhppvAbUKb9oxlXW9DoPf55SnlDYDWQNB3/Xs4Z3dB H/MGM+9VEm4qNLvQ222Q34FL9dnTX6+7tZ1i/xTvkbL/2GssWEZUJFQDBnb+kkLMQSm/ 3KUTdbWu2QA+QnfNex8ffcrz1Xhb/TGf6LKSGj/LLcSruHbU4H0BVE5OXy36ka+XxOJl BVRkCwj7LteF2AeSgP++bkIk6pV+FgcX5mkoa3QDPlCkV/XFDOnmmo9aUtLfpN5F/Fmh ciGH9znZNx1SYY7f2CykDCmoST+HVNWegM4JVuSXsp7a2d/771iXcM1MdWh9wrI8zjlj BLaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=wRhM2CKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si2788794pfi.136.2021.10.12.09.50.09; Tue, 12 Oct 2021 09:50:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=wRhM2CKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231622AbhJLQtb (ORCPT + 99 others); Tue, 12 Oct 2021 12:49:31 -0400 Received: from smtp-relay-canonical-0.canonical.com ([185.125.188.120]:33120 "EHLO smtp-relay-canonical-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231565AbhJLQta (ORCPT ); Tue, 12 Oct 2021 12:49:30 -0400 Received: from workstation5.fritz.box (ip-88-152-144-157.hsi03.unitymediagroup.de [88.152.144.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id A750B3FFF7; Tue, 12 Oct 2021 16:47:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1634057248; bh=/P/G2tQaU+J00Hwl+lWdgaHlFqUMRDqts18zTv/hnao=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=wRhM2CKkIllKP94EtAEooVNUqc5wog9LqlVI2CGihLTtA50LpyDCXNHfJssriK+du o1zJTnuW1l5BAukX2YDsqDK0lRfej7OsyZJLq4NS1VDBsYZNThfFeB+uScWZVhSt4K qbz0aBwZrAtr/iUerZdoBEU+xeMdy52gH1M7bpklChMoIYAsZSmAtJ0UJ8FjpRb9Af UzJDs/yquAfxqo3hJvGZxwvYziWFlXb32mzpuuML5ViX0ZohjaST5Tw+/tOtRwclUa 2FQDzTk4rlZtU4eVOLQlnP+5Y0DshVwQudvTFCBYCgW4MKE4ixrdB7b5pJViUDDaeP GGetpzaLavgOQ== From: Heinrich Schuchardt To: Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Anup Patel , Jens Axboe , Sagar Shrikant Kadam , Atish Patra , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Heinrich Schuchardt Subject: [PATCH 1/1] riscv: defconfig: enable DRM_NOUVEAU Date: Tue, 12 Oct 2021 18:46:58 +0200 Message-Id: <20211012164658.81894-1-heinrich.schuchardt@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both RADEON and NOUVEAU graphics cards are supported on RISC-V. Enabling the one and not the other does not make sense. As typically at most one of RADEON, NOUVEAU, or VIRTIO GPU support will be needed DRM drivers should be compiled as modules. Signed-off-by: Heinrich Schuchardt --- arch/riscv/configs/defconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 4ebc80315f01..c252fd5706d2 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -72,9 +72,10 @@ CONFIG_GPIOLIB=y CONFIG_GPIO_SIFIVE=y # CONFIG_PTP_1588_CLOCK is not set CONFIG_POWER_RESET=y -CONFIG_DRM=y -CONFIG_DRM_RADEON=y -CONFIG_DRM_VIRTIO_GPU=y +CONFIG_DRM=m +CONFIG_DRM_RADEON=m +CONFIG_DRM_NOUVEAU=m +CONFIG_DRM_VIRTIO_GPU=m CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_USB=y CONFIG_USB_XHCI_HCD=y -- 2.32.0