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: 13918884 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 4BFD4E7718F for ; Mon, 23 Dec 2024 14:06:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:MIME-Version:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GC4yMfjGU+6Jc91qMLgHD9gqc9kgVMDauUOWrSPhISY=; b=o6adg036Q0c8bh ofAbeS/zbZq5U+UOqfcq/EuV3UzCbUmpAglpwXotm7Z5JthhSesvUd1XXWgYMx4+DW5W117THJ6G4 wEe9OkJZqWpD5Ki2Hc2Ks/3MdW0Tj7rAh9aRt2E+/CFKLNedsvDALnEIDtlAD7onSo6rsbPdaKIDp 9GoBTwyjodIBpu9c8gLi+6zSLoX4pka9dYEVYCXRC68VSBLi1gJ9LVq3BhlXVyf+wI42zBqd/czQa G9U87AAS/u5LyoU9QQddyJv4qhRibkYvR04fjsSFFdZq+M2kYpC8bFHK6EhEEt9ODwNVMkSDBIT0N oXGz8nQNrciWnlEKAI/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tPj4W-0000000A7HO-3omg; Mon, 23 Dec 2024 14:06:12 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tPhyv-0000000A1NB-3uK9 for linux-riscv@lists.infradead.org; Mon, 23 Dec 2024 12:56:23 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20241223125620euoutp01bdd57e09a1b2c902472fde3afa672f15~Tz6MQ1vLt0030300303euoutp018 for ; Mon, 23 Dec 2024 12:56:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20241223125620euoutp01bdd57e09a1b2c902472fde3afa672f15~Tz6MQ1vLt0030300303euoutp018 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-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xYm5xaV66XnJ+ 7iZGYILZduzn5h2M81591DvEyMTBeIhRgoNZSYT3kFBmuhBvSmJlVWpRfnxRaU5q8SFGU6C7 JzJLiSbnA1NcXkm8oZmBqaGJmaWBqaWZsZI4r9vl82lCAumJJanZqakFqUUwfUwcnFINTK3s m8K9g6b9UOJm9U6cbFzGdkInsvqDsa3mvNAPix89ZtmSdu6uwINpPbdLa6aubZyXHqG66e41 qbQTyxojQ9unXJRafVLWkMU9oXu/WonzTmZ1ppA4j3O5EhyXTntt5L7tu/zX1cSN28QvWb04 doMvd/aXI1NZahSdjRdPO/1pxvG0r80CtQ9TrasYc5tyrwhNbdNin7dUz/iiWFOb6muGlY7z NotKmx54pxdb0MNnVvMgK6Nr+/oLij327YX2t7iPXWL9kcWR6J20ruPC3ut7nr8psVPMaWks vaPfpnhtfo2dac4Sz3Bf76n7bf48i2lhjnpxcolgdlDHFRuxcqGNcQfC/5R6WeTr2jArsRRn JBpqMRcVJwIAdjCs2bkDAAA= X-CMS-MailID: 20241223125619eucas1p1f9c4afd9b4f458ab92750e0526c95581 X-Msg-Generator: CA X-RootMTR: 20241223125619eucas1p1f9c4afd9b4f458ab92750e0526c95581 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20241223125619eucas1p1f9c4afd9b4f458ab92750e0526c95581 References: <20241223125553.3527812-1-m.wilczynski@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241223_045622_236872_9E4F82F6 X-CRM114-Status: GOOD ( 14.14 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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