From patchwork Mon Dec 23 12:55:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Wilczynski X-Patchwork-Id: 13919149 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 2B5D2E7718B for ; Mon, 23 Dec 2024 16:05:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E62BD10E570; Mon, 23 Dec 2024 16:05:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="FFbRSTkm"; dkim-atps=neutral Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 02AB310E155 for ; Mon, 23 Dec 2024 12:56:22 +0000 (UTC) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20241223125620euoutp02bca8e19933abac6cc3687a8d4af68b74~Tz6MTGbXd1064210642euoutp02Q for ; Mon, 23 Dec 2024 12:56:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20241223125620euoutp02bca8e19933abac6cc3687a8d4af68b74~Tz6MTGbXd1064210642euoutp02Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1734958580; bh=DgeFHCAIbeFBF+0nDHhjAGX/VqaqfX2KAeQLuxONDpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FFbRSTkmrBB2xjSfQ5ZUkQvppd2Y5yeUxcoi0NQ+wssspQVkdOVRQSKUmUg1baaYS QFdW8igPioeDZoDewlDn+IaonbpUlB+JwEL4AFGzaa0K0TcyRwrba8u/aI/AXexGzs 6GAyHoSsY1OVzCOYQzcTh2iFL5eMDBuV2pd7MCY0= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20241223125620eucas1p22ec4eecf50867d85ecbffc75512531d4~Tz6L5y41N1249712497eucas1p2s; Mon, 23 Dec 2024 12:56:20 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 09.52.20397.4FD59676; Mon, 23 Dec 2024 12:56:20 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20241223125619eucas1p1f9c4afd9b4f458ab92750e0526c95581~Tz6LV23GT1526215262eucas1p1k; Mon, 23 Dec 2024 12:56:19 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20241223125619eusmtrp1305cc10b48ccbacc2ece9ab38be4a231~Tz6LVG0Hf2059320593eusmtrp1E; Mon, 23 Dec 2024 12:56:19 +0000 (GMT) X-AuditID: cbfec7f5-ed1d670000004fad-a6-67695df4a539 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id D4.04.19920.3FD59676; Mon, 23 Dec 2024 12:56:19 +0000 (GMT) Received: from AMDC4942.home (unknown [106.210.136.40]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20241223125618eusmtip2c3abffb1a9d85019fd4b467b1d60676b~Tz6KBDGD90787007870eusmtip2f; Mon, 23 Dec 2024 12:56:18 +0000 (GMT) From: Michal Wilczynski To: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, drew@pdp7.com, guoren@kernel.org, wefu@redhat.com, jassisinghbrar@gmail.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, frank.binns@imgtec.com, matt.coster@imgtec.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, ulf.hansson@linaro.org, jszhang@kernel.org, p.zabel@pengutronix.de, m.szyprowski@samsung.com Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org, Michal Wilczynski Subject: [RFC PATCH v2 14/19] drm/imagination: Enable PowerVR driver for RISC-V Date: Mon, 23 Dec 2024 13:55:48 +0100 Message-Id: <20241223125553.3527812-15-m.wilczynski@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241223125553.3527812-1-m.wilczynski@samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0xbZRjH855zes6hW+FQiHsd4JCkU0HLhsS9TtQtbubsk9u+kMzM2YyT gpaCLZ2CDsa4jEu5TTakg5WNOaDAiNyEZojcWhBWudiCSWFMwa6IMqAQwMCka5379nv+z/95 /8+TvDQu/J7cTcfIEziFXCILIvlEq2Hd9JrjdIx0X/HaDtQ/fhNDLf9oKFTXYcKQttfEQ1Oj zRj6ZWWBRHdmhyn0sCOVQJbqcgqlGRpIZNdMkWhRPcVDY/oyEi3n9QLUupxOovreSQo1rGgx dGOxhUC32vQAZWbf5qGRn46iyal+AtnH1DjK1Hihx3fbKLRl+Y5A1/7upFDzfBEPGesjUXpn MXHoBXZhIoNi5+12gu3JclBsx2oFwbZrJilW3T4E2EZdNslaLXdJ9vrACfZ+rhFjm26lsOn1 Bowt2NzHLvxgJtn8Zh1gR9PGqePCU/yIKE4Wc45ThL7zMT/6R/0SFq+nvyia2cQvgEtUDvCg IRMOC68ObzOfFjLVAP5uKHEXDgANK2bCVSw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: 20241223125619eucas1p1f9c4afd9b4f458ab92750e0526c95581 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20241223125619eucas1p1f9c4afd9b4f458ab92750e0526c95581 References: <20241223125553.3527812-1-m.wilczynski@samsung.com> X-Mailman-Approved-At: Mon, 23 Dec 2024 16:04:53 +0000 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Several RISC-V boards feature Imagination GPUs that are compatible with the PowerVR driver. An example is the IMG BXM-4-64 GPU on the Lichee Pi 4A board. This commit adjusts the driver's Kconfig dependencies to allow the PowerVR driver to be compiled on the RISC-V architecture. By enabling compilation on RISC-V, we expand support for these GPUs, providing graphics acceleration capabilities and enhancing hardware compatibility on RISC-V platforms. Signed-off-by: Michal Wilczynski --- drivers/gpu/drm/imagination/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imagination/Kconfig b/drivers/gpu/drm/imagination/Kconfig index 3bfa2ac212dc..5f218896114c 100644 --- a/drivers/gpu/drm/imagination/Kconfig +++ b/drivers/gpu/drm/imagination/Kconfig @@ -3,7 +3,7 @@ config DRM_POWERVR tristate "Imagination Technologies PowerVR (Series 6 and later) & IMG Graphics" - depends on ARM64 + depends on (ARM64 || RISCV) depends on DRM depends on PM select DRM_EXEC