From nobody Sat Sep 26 01:55:08 2026 Received: from smtp.forwardemail.net (smtp.forwardemail.net [121.127.44.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 788F44D2ECE for ; Sat, 5 Sep 2026 17:09:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=121.127.44.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788628171; cv=none; b=DMxnsFedg7lgrBZ7lelrM9azpQyq0qxK2WkwgUXY8KmS8I9W7nuVWd/hDxj9y9IOueDmPp7r4Yo7sg+Gl0X88Ufk1zmFQSsKGcoAVsQhigmBlXp8+MmwikMWWxvYwZVdr3qDFeNP7euGaA2UNzXEVEVsFDLCDUFtlj7geyVTIQs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788628171; c=relaxed/simple; bh=zTyJirzSszRFxuUJU2B7RhWAHrtcRnorYI+I8rDYpJg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hB7b74POMM6+7kK3DmB/yIjMDGRVmG1xduC4srgDaC4irsgwgpiyjsa4ecwN9ere21F/X88UsNnlsm08NFIt4YO4sGmN+2aK47Uh0io7ldoEy/bubWTWJpm+3AdDRkXc4F1r1HtldhTBpXBPq0GVX4AMW8E+XUGOOuZBv8AZvJc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lineageos.org; spf=pass smtp.mailfrom=fe-bounces.lineageos.org; dkim=pass (1024-bit key) header.d=lineageos.org header.i=@lineageos.org header.b=nNMqkSjf; arc=none smtp.client-ip=121.127.44.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lineageos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fe-bounces.lineageos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lineageos.org header.i=@lineageos.org header.b="nNMqkSjf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lineageos.org; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-2eefaa527c; t=1788628164; bh=I596eH/N/ALTurMBAJDjCPnR2ONjyLmzJkdM+R3U7Zw=; b=nNMqkSjfaIxADv3bsXaJae3gg1ls+n1Ko/Z1LQVQFxW0QWsmKvmp8PwR+fLQ9IvlZR4EKeW/e x42lDRw8J7GfT7aPhDm98AlnjH6Z8+epOgxrF9XTi37CrccRIuXuKyPEJuwkZVhh+neNS6DIXCE n59jzOHAB3aVys26Ciu6c4A= X-Forward-Email-ID: 6a9c4cc2a8f35195ccacae25 X-Forward-Email-Sender: rfc822; tturner@lineageos.org, smtp.forwardemail.net, 121.127.44.73 X-Forward-Email-Version: 2.14.2 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Thomas Turner To: semen.protsenko@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, peter.griffin@linaro.org Cc: alim.akhtar@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas_turner@talktalk.net Subject: [PATCH v3 1/2] dt-bindings: gpu: arm,mali-bifrost: add exynos850-mali compatible Date: Sat, 5 Sep 2026 18:09:13 +0100 Message-ID: <20260905170914.1640-2-tturner@lineageos.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260905170914.1640-1-tturner@lineageos.org> References: <20260905170914.1640-1-tturner@lineageos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Exynos850 SoC uses the ARM Mali G52 GPU, document its compatible string with the appropriate fallback. Signed-off-by: Thomas Turner Acked-by: Conor Dooley --- Changes in v3: - Add Acked-by tag Changes in v2: - Introduce this patch Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/= Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index 9db9f84ad964..ece2b637cd41 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -34,6 +34,7 @@ properties: - rockchip,rk3562-mali - rockchip,rk3568-mali - rockchip,rk3576-mali + - samsung,exynos850-mali - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is f= ully discoverable - items: - enum: --=20 2.47.3 From nobody Sat Sep 26 01:55:08 2026 Received: from smtp.forwardemail.net (smtp.forwardemail.net [121.127.44.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D03574CB8D4 for ; Sat, 5 Sep 2026 17:09:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=121.127.44.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788628177; cv=none; b=Op/pWSekcd0vcC0ktZPizsnDwNlKAhgBe6a61xqUcZrjh1QMAQ2SX2WtUxafJ+7hGYjnRNLr6VZXEG77F7lAOYd6uy1oE8Q15E6oUqvTnhMycx5z1dIziPftwO+wR5ZTpAgZUGMfG/nZMkTj9reih+kkF60rq9YLyDdrhDva1bI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788628177; c=relaxed/simple; bh=XEoAw4DKPa6yIybongMIDg5i7fjs0rZTNiUMQ13Vtc8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L0L5m1yzrMQvpOsrLiEITO9G3OW+7Ehlykx+6GH6C3VKDnmd1oo7gkGHahuxqBxRuJMNnau0fZ3ikuMmwEvfT9h2eBM7CuwaZchdtY56h+qLSfeTEXF0kUfPDT1EaYN5Ui8DQszkFCq2lH5/UPinaXhM72cGD/HHd10Ay2Fp4kE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lineageos.org; spf=pass smtp.mailfrom=fe-bounces.lineageos.org; dkim=pass (1024-bit key) header.d=lineageos.org header.i=@lineageos.org header.b=Dcs1aoHQ; arc=none smtp.client-ip=121.127.44.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lineageos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fe-bounces.lineageos.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lineageos.org header.i=@lineageos.org header.b="Dcs1aoHQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lineageos.org; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-2eefaa527c; t=1788628168; bh=y4eky23W4x6qwsT9spIefqH8w29vOa9FRVJKGih9qEU=; b=Dcs1aoHQ+5lh3fL88jNGuOHWqD9/cT8sowEHOm3DF4rnb078HNPWJhLtXkOMSZM/ZJsxhrnX3 NG6+qeEmG+6PPYXDulEFIeavjAyIel2wGckLa2oB8x6XxRAoeVIS04PsjAo/c8d3VsEwijA/knI IoJUUtAt4xXVGTNbYIoAgjA= X-Forward-Email-ID: 6a9c4cc4a8f35195ccacae5d X-Forward-Email-Sender: rfc822; tturner@lineageos.org, smtp.forwardemail.net, 121.127.44.73 X-Forward-Email-Version: 2.14.2 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Thomas Turner To: semen.protsenko@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, peter.griffin@linaro.org Cc: alim.akhtar@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, thomas_turner@talktalk.net Subject: [PATCH v3 2/2] arm64: dts: exynos: Add GPU/Mali Bifrost node to Exynos850 Date: Sat, 5 Sep 2026 18:09:14 +0100 Message-ID: <20260905170914.1640-3-tturner@lineageos.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260905170914.1640-1-tturner@lineageos.org> References: <20260905170914.1640-1-tturner@lineageos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add nodes for GPU (Mali Bifrost) to Exynos850. Does not provide support for temperature throttling, DVFS, power domains, governor support, boosting and voltage control. Once PMIC is properly implemented, support will hopefully increase. However, the panfrost driver probes, the Mali-G52 GPU initializes and the core clock is set-up. Testing for this patch was done on a device not currently supported by linux, the Galaxy A21s. After enabling this node for that device locally, I was able to test and confirm basic GPU functionality. As of now, this patch has no users which have tested GPU capabilities and so the node has been set to "disabled". Here are some logs I pulled: panfrost 11500000.gpu: clock rate =3D 377000000 panfrost 11500000.gpu: mali-g52 id 0x7212 major 0x0 minor 0x0 status 0x0 panfrost 11500000.gpu: features: 00000000,00000df7, issues: 00000000,000004= 00 panfrost 11500000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00= 000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7 panfrost 11500000.gpu: shader_present=3D0x1 l2_present=3D0x1 panfrost 11500000.gpu: [drm] Using Transparent Hugepage [drm] Initialized panfrost 1.6.0 for 11500000.gpu on minor 0 OpenGL core profile vendor: Mesa OpenGL core profile renderer: Mali-G52 MC1 (Panfrost) OpenGL core profile version: 3.1 (Core Profile) Mesa 26.1.6 OpenGL core profile shading language version: 1.40 OpenGL compatibility profile vendor: Mesa OpenGL compatibility profile renderer: Mali-G52 MC1 (Panfrost) OpenGL compatibility profile version: 3.1 (Core Profile) Mesa 26.1.6 OpenGL compatibility profile shading language version: 1.40 OpenGL ES profile vendor: Mesa OpenGL ES profile renderer: Mali-G52 MC1 (Panfrost) OpenGL ES profile version: OpenGL ES 3.1 Mesa 26.1.6 OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.10 Signed-off-by: Thomas Turner --- Changes in v3: - Re-word commit message to be less ambiguous - Provide some logs in the commit message - Add a blank line before status property Changes in v2: - Add a patch addressing the samsung,exynos850-mali compatible string arch/arm64/boot/dts/exynos/exynos850.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dt= s/exynos/exynos850.dtsi index 911643008b9f..721b2b2c4ffb 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -310,6 +310,19 @@ cmu_g3d: clock-controller@11400000 { clock-names =3D "oscclk", "dout_g3d_switch"; }; =20 + gpu: gpu@11500000 { + compatible =3D "samsung,exynos850-mali", "arm,mali-bifrost"; + reg =3D <0x11500000 0x5000>; + interrupts =3D , + , + ; + interrupt-names =3D "job", "mmu", "gpu"; + clocks =3D <&cmu_g3d CLK_GOUT_G3D_GPU_CLK>; + clock-names =3D "core"; + + status =3D "disabled"; + }; + cmu_apm: clock-controller@11800000 { compatible =3D "samsung,exynos850-cmu-apm"; reg =3D <0x11800000 0x8000>; --=20 2.47.3