From patchwork Sun Apr 24 16:26:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12824970 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 7072FC433F5 for ; Sun, 24 Apr 2022 16:27:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B947310FCE1; Sun, 24 Apr 2022 16:26:54 +0000 (UTC) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by gabe.freedesktop.org (Postfix) with ESMTPS id C672B10FC55 for ; Sun, 24 Apr 2022 16:26:45 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2454B5C0112; Sun, 24 Apr 2022 12:26:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 24 Apr 2022 12:26:45 -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=1650817605; x=1650904005; bh=rT me4gsdReTHZYq9dpsHcO27YtJUVs0qzpd+cDg5ggo=; b=X/W4BffVrrb4uhmupX KMuImLAYcAXWVPa4+JHnO2l5bgni6xi0Naf2JUh9GGkPjrwTVcDVFuUi6fE2t5UH jKoS3ryXDpXFNn9J7QKGZ4Qba0jfyrbAbstoN8YK1qY9Tvri3x34I1/6n/earTrC LLDwnwAiKF/5VRke1UBS3EP4/QGLP7XLqDQrYQgEP1xF9RtJIzACEB3HWn+JQ8ed sJkIQ6zubQp9ppr2nCy5Nuh/yJY/pUXD2hs0dVK1WRXuP1BNYk+BgaU0Ghje2OpN NzhNEgd6MuJ47dZgeJnLaJFMAgNLOtcvO40BmJiRiqgAL2lhYxpJvGWV7iMT5jIO 3EXg== 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=fm1; t= 1650817605; x=1650904005; bh=rTme4gsdReTHZYq9dpsHcO27YtJUVs0qzpd +cDg5ggo=; b=j7Drb/lCWwJXXD5l4Jyx4Y7FfpMB9Y6vP3Y7QJJk16tYXuZLfqs IF/fdrs2UDqvmA/SfH4O+o4nA9Zn+hoWI1gK8X1WNfuTlzhLpAtDeLsphMj+EKbG +4rphxQb3vPSGXLyxROXrsilJ9EKEWcae6RVJ5gLcdTNt7m+Q/KQ8Z7m3x0W1JJd jeaeewfTZNbOZ38NPPjJXCyVVnz43E6ay8svq2VfALKYodGXIP9P5DClb2R1CAuS xVLSW20g47gS/TFIN1S83Nv/zjnMQdf9CAurKprgbVXwjw4nGpWMEGHsH/xOs0q8 4e6HB8TBWO7h1zj4L1i74Ue0TgLuk5VcEnQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdelgddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Apr 2022 12:26:44 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard Subject: [PATCH v3 05/14] drm/sun4i: Allow building the driver on RISC-V Date: Sun, 24 Apr 2022 11:26:23 -0500 Message-Id: <20220424162633.12369-6-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220424162633.12369-1-samuel@sholland.org> References: <20220424162633.12369-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