From patchwork Tue Apr 12 04:27:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12810035 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 150A6C433EF for ; Tue, 12 Apr 2022 04:28:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B4FC710E734; Tue, 12 Apr 2022 04:28:28 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id DDAF610E734 for ; Tue, 12 Apr 2022 04:28:26 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 6BAE33200E89; Tue, 12 Apr 2022 00:28:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 12 Apr 2022 00:28:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1649737705; x=1649824105; bh=rT me4gsdReTHZYq9dpsHcO27YtJUVs0qzpd+cDg5ggo=; b=G+N6Zs7JCoYiGdmbR3 Rwf8otMzwqj5blzxGACkhQj2pu5MCAe7gJEJ5c/Mz8AdnskUVugJJRXL2odJeMxs eGVTQC9/nQn6GnDESbn7me3zAcmHLaDGjBIuvadnhnFMxuPg8U6vsInLTyvw6fUa EJ4MlQNg+yQR4ptrFuux6aNDk+ppL+0JyNf/t35L2lGzNpkhajokQKUJ2/sFvuUR jgf38ScgYwhpB6NUF2ERJe20dCLO2y02oG17z9QK9ZCogSxiYRBxWSKkoR+he4+Y fTt0+xAd/DWcT3jtAUhTqxnGEHadrmdZaQZbU5zRF85Yvq8vUE6jiL7Cm4+O/do4 +e5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1649737705; x=1649824105; bh=rTme4gsdReTHZYq9dpsHcO27YtJUVs0qzpd +cDg5ggo=; b=jyKlhTmrOMwsc2JvquM2gixmZn2SvbeJwwU8J9pVHEhDQKobzl9 gXmAkbg7t/q0udzVrBwTUHT2Lk/JpE8WMlvnIPz1/g3F3RjQ3vhpHMdH5/NQh9d6 gUogd4SdiXaTAFZERClBXsvMzeqsNAJlx8Mu/CvXCUFy01utDAgGfCryeACjJYtQ /SuShvNzI2L2Kx909Yf96J/Gz6A0y+46yX9fgPTTSEY8NDYECoflRLc0Wxx3Jeji qS/P4n8jBZ9Bnq+7Fr9Bk3Lk7h5ZAA5Dopjzh+LAoZnDlmpW2iJShN5Ne4Hmpg06 JL9vmXuVDCLaE+a1uoLvpFEfmEA6zKw9y4w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekjedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Apr 2022 00:28:24 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard Subject: [PATCH v2 05/14] drm/sun4i: Allow building the driver on RISC-V Date: Mon, 11 Apr 2022 23:27:57 -0500 Message-Id: <20220412042807.47519-6-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220412042807.47519-1-samuel@sholland.org> References: <20220412042807.47519-1-samuel@sholland.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Samuel Holland , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , Krzysztof Kozlowski , linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Allwinner D1 is a RISC-V SoC which contains a DE 2.0 engine. Let's remove the dependency on a specific CPU architecture, so the driver can be built wherever ARCH_SUNXI is selected. Acked-by: Jernej Skrabec Signed-off-by: Samuel Holland --- (no changes since v1) drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/Kconfig b/drivers/gpu/drm/sun4i/Kconfig index befc5a80222d..3a43c436c74a 100644 --- a/drivers/gpu/drm/sun4i/Kconfig +++ b/drivers/gpu/drm/sun4i/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config DRM_SUN4I tristate "DRM Support for Allwinner A10 Display Engine" - depends on DRM && (ARM || ARM64) && COMMON_CLK + depends on DRM && COMMON_CLK depends on ARCH_SUNXI || COMPILE_TEST select DRM_GEM_CMA_HELPER select DRM_KMS_HELPER