* [PATCH] arm64: dts: exynos850: Add GPU/Mali Bifrost node [not found] <GVYP280MB12139AB976CA7ACF49FEB768A1A52@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM> @ 2026-08-20 13:35 ` Thomas Turner 2026-08-20 14:13 ` Krzysztof Kozlowski 2026-08-20 14:23 ` [PATCH v2 0/2] Exynos850 GPU support Thomas Turner 1 sibling, 1 reply; 9+ messages in thread From: Thomas Turner @ 2026-08-20 13:35 UTC (permalink / raw) To: semen.protsenko Cc: robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar, linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel, Thomas Turner This can provide basic GPU functionality for the Exynos850 platform. Tested on the SM-A217F device. 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. Signed-off-by: Thomas Turner <tturner@lineageos.org> --- arch/arm64/boot/dts/exynos/exynos850.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi index 3881f573ec08..8ed85c125030 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -296,6 +296,18 @@ cmu_g3d: clock-controller@11400000 { clock-names = "oscclk", "dout_g3d_switch"; }; + gpu: gpu@11500000 { + compatible = "samsung,exynos850-mali", "arm,mali-bifrost"; + reg = <0x11500000 0x5000>; + interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&cmu_g3d CLK_GOUT_G3D_GPU_CLK>; + clock-names = "core"; + status = "disabled"; + }; + cmu_apm: clock-controller@11800000 { compatible = "samsung,exynos850-cmu-apm"; reg = <0x11800000 0x8000>; -- 2.47.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] arm64: dts: exynos850: Add GPU/Mali Bifrost node 2026-08-20 13:35 ` [PATCH] arm64: dts: exynos850: Add GPU/Mali Bifrost node Thomas Turner @ 2026-08-20 14:13 ` Krzysztof Kozlowski 0 siblings, 0 replies; 9+ messages in thread From: Krzysztof Kozlowski @ 2026-08-20 14:13 UTC (permalink / raw) To: Thomas Turner, semen.protsenko Cc: robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar, linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel On 20/08/2026 15:35, Thomas Turner wrote: > This can provide basic GPU functionality for the Exynos850 platform. > Tested on the SM-A217F device. Does not provide support for temperature How? The node is disabled. Please respond to actual comments you received before. Also, you need to version your patches correctly. This is v2. You also need changelog under ---. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 0/2] Exynos850 GPU support [not found] <GVYP280MB12139AB976CA7ACF49FEB768A1A52@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM> 2026-08-20 13:35 ` [PATCH] arm64: dts: exynos850: Add GPU/Mali Bifrost node Thomas Turner @ 2026-08-20 14:23 ` Thomas Turner 2026-08-20 14:23 ` [PATCH v2 1/2] dt-bindings: gpu: arm,mali-bifrost: add exynos850-mali compatible Thomas Turner ` (2 more replies) 1 sibling, 3 replies; 9+ messages in thread From: Thomas Turner @ 2026-08-20 14:23 UTC (permalink / raw) To: krzysztof.kozlowski Cc: semen.protsenko, robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar, linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel, Thomas Turner Hi all, This is my first time sending patches to linux so apologies for mistakes. This series provides basic GPU support to the Exynos850 platform, making use of the Mali G52 GPU through the panfrost driver. Thomas Turner (2): dt-bindings: gpu: arm,mali-bifrost: add exynos850-mali compatible arm64: dts: exynos850: Add GPU/Mali Bifrost node .../devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 + arch/arm64/boot/dts/exynos/exynos850.dtsi | 12 ++++++++++++ 2 files changed, 13 insertions(+) -- 2.47.3 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 1/2] dt-bindings: gpu: arm,mali-bifrost: add exynos850-mali compatible 2026-08-20 14:23 ` [PATCH v2 0/2] Exynos850 GPU support Thomas Turner @ 2026-08-20 14:23 ` Thomas Turner 2026-08-20 14:23 ` [PATCH v2 2/2] arm64: dts: exynos850: Add GPU/Mali Bifrost node Thomas Turner 2026-08-20 14:28 ` [PATCH v2 0/2] Exynos850 GPU support Krzysztof Kozlowski 2 siblings, 0 replies; 9+ messages in thread From: Thomas Turner @ 2026-08-20 14:23 UTC (permalink / raw) To: krzysztof.kozlowski Cc: semen.protsenko, robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar, linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel, Thomas Turner Exynos850 SoC uses the ARM Mali G52 GPU, document its compatible string with the appropriate fallback. Signed-off-by: Thomas Turner <tturner@lineageos.org> --- 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 fully discoverable - items: - enum: -- 2.47.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/2] arm64: dts: exynos850: Add GPU/Mali Bifrost node 2026-08-20 14:23 ` [PATCH v2 0/2] Exynos850 GPU support Thomas Turner 2026-08-20 14:23 ` [PATCH v2 1/2] dt-bindings: gpu: arm,mali-bifrost: add exynos850-mali compatible Thomas Turner @ 2026-08-20 14:23 ` Thomas Turner 2026-08-20 14:28 ` [PATCH v2 0/2] Exynos850 GPU support Krzysztof Kozlowski 2 siblings, 0 replies; 9+ messages in thread From: Thomas Turner @ 2026-08-20 14:23 UTC (permalink / raw) To: krzysztof.kozlowski Cc: semen.protsenko, robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar, linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel, Thomas Turner This can provide basic GPU functionality for the Exynos850 platform. Tested on the SM-A217F device. 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. Signed-off-by: Thomas Turner <tturner@lineageos.org> --- arch/arm64/boot/dts/exynos/exynos850.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi index 3881f573ec08..8ed85c125030 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -296,6 +296,18 @@ cmu_g3d: clock-controller@11400000 { clock-names = "oscclk", "dout_g3d_switch"; }; + gpu: gpu@11500000 { + compatible = "samsung,exynos850-mali", "arm,mali-bifrost"; + reg = <0x11500000 0x5000>; + interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&cmu_g3d CLK_GOUT_G3D_GPU_CLK>; + clock-names = "core"; + status = "disabled"; + }; + cmu_apm: clock-controller@11800000 { compatible = "samsung,exynos850-cmu-apm"; reg = <0x11800000 0x8000>; -- 2.47.3 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2 0/2] Exynos850 GPU support 2026-08-20 14:23 ` [PATCH v2 0/2] Exynos850 GPU support Thomas Turner 2026-08-20 14:23 ` [PATCH v2 1/2] dt-bindings: gpu: arm,mali-bifrost: add exynos850-mali compatible Thomas Turner 2026-08-20 14:23 ` [PATCH v2 2/2] arm64: dts: exynos850: Add GPU/Mali Bifrost node Thomas Turner @ 2026-08-20 14:28 ` Krzysztof Kozlowski [not found] ` <GVYP280MB1213F9511E062056470AE74AA1A42@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM> 2 siblings, 1 reply; 9+ messages in thread From: Krzysztof Kozlowski @ 2026-08-20 14:28 UTC (permalink / raw) To: Thomas Turner, krzysztof.kozlowski Cc: semen.protsenko, robh, krzk+dt, conor+dt, peter.griffin, alim.akhtar, linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel On 20/08/2026 16:23, Thomas Turner wrote: > Hi all, > This is my first time sending patches to linux so apologies for > mistakes. This series provides basic GPU support to the Exynos850 > platform, making use of the Mali G52 GPU through the panfrost driver. > Again: slow down. Why does this appear under empty subject thread? Best regards, Krzysztof ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <GVYP280MB1213F9511E062056470AE74AA1A42@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM>]
* Re: [PATCH v2 0/2] Exynos850 GPU support [not found] ` <GVYP280MB1213F9511E062056470AE74AA1A42@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM> @ 2026-08-20 16:22 ` thomas_turner@talktalk.net 2026-08-20 18:15 ` Krzysztof Kozlowski 0 siblings, 1 reply; 9+ messages in thread From: thomas_turner@talktalk.net @ 2026-08-20 16:22 UTC (permalink / raw) To: Krzysztof Kozlowski, Thomas Turner Cc: semen.protsenko@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, peter.griffin@linaro.org, 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 Apologies, I think I am missing the --thread parameter. The command I ran was git send-email --in-reply-to='<GVYP280MB12139AB976CA7ACF49FEB768A1A52@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM>' \ --to='etc' \ --cc='etc' \ v2-000*.patch I want to avoid spamming the mailing list with null information so I would appreciate some guidance on what I am doing wrong. In regards to your comment, I left it disabled as I was initially unsure whether the E850-96 Board uses Mali G52, however it seems all exynos850 devices share the same GPU, would it be better to have as status="okay" ? As for the comments I believe I already responded to them but I am testing this on the Samsung Galaxy A21s and here are some logs I pulled. [ 0.230437] panfrost 11500000.gpu: clock rate = 377000000 [ 0.230863] panfrost 11500000.gpu: mali-g52 id 0x7212 major 0x0 minor 0x0 status 0x0 [ 0.230945] panfrost 11500000.gpu: features: 00000000,00000df7, issues: 00000000,00000400 [ 0.231026] panfrost 11500000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7 [ 0.231137] panfrost 11500000.gpu: shader_present=0x1 l2_present=0x1 [ 0.232552] panfrost 11500000.gpu: [drm] Using Transparent Hugepage [ 0.233172] [drm] Initialized panfrost 1.6.0 for 11500000.gpu on minor 0 ________________________________________ From: thomas_turner@talktalk.net <thomas_turner@talktalk.net> Sent: Thursday, August 20, 2026 7:39 AM To: Krzysztof Kozlowski; Thomas Turner Cc: semen.protsenko@linaro.org; robh@kernel.org; krzk+dt@kernel.org; conor+dt@kernel.org; peter.griffin@linaro.org; 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 Subject: Re: [PATCH v2 0/2] Exynos850 GPU support Apologies, I think I am missing the --thread parameter. The command I ran was git send-email --in-reply-to='<GVYP280MB12139AB976CA7ACF49FEB768A1A52@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM>' \ --to='etc' \ --cc='etc' \ v2-000*.patch I want to avoid spamming the mailing list with null information so I would appreciate some guidance on what I am doing wrong. In regards to your comment, I left it disabled as I was initially unsure whether the E850-96 Board uses Mali G52, however it seems all exynos850 devices share the same GPU, would it be better to have as status="okay" ? As for the comments I believe I already responded to them but I am testing this on the Samsung Galaxy A21s and here are some logs I pulled. [ 0.230437] panfrost 11500000.gpu: clock rate = 377000000 [ 0.230863] panfrost 11500000.gpu: mali-g52 id 0x7212 major 0x0 minor 0x0 status 0x0 [ 0.230945] panfrost 11500000.gpu: features: 00000000,00000df7, issues: 00000000,00000400 [ 0.231026] panfrost 11500000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7 [ 0.231137] panfrost 11500000.gpu: shader_present=0x1 l2_present=0x1 [ 0.232552] panfrost 11500000.gpu: [drm] Using Transparent Hugepage [ 0.233172] [drm] Initialized panfrost 1.6.0 for 11500000.gpu on minor 0 ________________________________________ From: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Sent: Thursday, August 20, 2026 7:28 AM To: Thomas Turner; krzysztof.kozlowski@oss.qualcomm.com Cc: semen.protsenko@linaro.org; robh@kernel.org; krzk+dt@kernel.org; conor+dt@kernel.org; peter.griffin@linaro.org; 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 Subject: Re: [PATCH v2 0/2] Exynos850 GPU support On 20/08/2026 16:23, Thomas Turner wrote: > Hi all, > This is my first time sending patches to linux so apologies for > mistakes. This series provides basic GPU support to the Exynos850 > platform, making use of the Mali G52 GPU through the panfrost driver. > Again: slow down. Why does this appear under empty subject thread? Best regards, Krzysztof ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 0/2] Exynos850 GPU support 2026-08-20 16:22 ` thomas_turner@talktalk.net @ 2026-08-20 18:15 ` Krzysztof Kozlowski 2026-08-24 10:37 ` Thomas Turner 0 siblings, 1 reply; 9+ messages in thread From: Krzysztof Kozlowski @ 2026-08-20 18:15 UTC (permalink / raw) To: thomas_turner@talktalk.net, Krzysztof Kozlowski Cc: semen.protsenko@linaro.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, peter.griffin@linaro.org, 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 On 20/08/2026 18:22, thomas_turner@talktalk.net wrote: > > Apologies, I think I am missing the --thread parameter. The command I ran was > > git send-email --in-reply-to='<GVYP280MB12139AB976CA7ACF49FEB768A1A52@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM>' \ You almost never use this parameter. git format patch; scripts/getmaintainers; git send email Or just use b4 as all recent guides are asking https://www.linaro.org/blog/becoming-a-kernel-developer-part1-posting-your-first-patch/ Please read: https://subspace.kernel.org/etiquette.html Best regards, Krzysztof ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 0/2] Exynos850 GPU support 2026-08-20 18:15 ` Krzysztof Kozlowski @ 2026-08-24 10:37 ` Thomas Turner 0 siblings, 0 replies; 9+ messages in thread From: Thomas Turner @ 2026-08-24 10:37 UTC (permalink / raw) To: Sam Protsenko, robh, krzk+dt, conor+dt, peter.griffin Cc: alim.akhtar, linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel Hi, > Can you please tell us a bit about how you tested this patch, and on > which board? As DPU is not currently enabled on Exynos850 SoC, I'm not > sure how exactly GPU can be useful. If you have a use case or a > testing procedure we can run on the E850-96 board, please share. I tested this patch by running phosh (PostMarketOS) on the Samsung Galaxy A21s device, in my tests logs indicated that the GPU hardware was probed successfully and things were working. As for DPU, I simply enabled CONFIG_DRM_SIMPLEDRM and that was enough since the bootloader configured the related DPU bits. Since I don't own the e850-96 dev board myself a testing procedure you could do is. 1) Set status="okay" 2) Enable CONFIG_DRM_SIMPLEDRM and CONFIG_DRM_PANFROST 3) Try and boot some form of GUI and compare logs from dmesg with mine. 4) NOTE: we set up fixed regulators during our testing with some support from a secondary bootloader, however it should work with dummy regulators. > Would be nice to have a more detailed commit message overall. In > addition to the above, it probably makes sense to also discuss current > limitations. E.g. thermal, PD, and DVFS, which are enabled in the > downstream kernel's GPU node [1]. Yes, I have updated the commit message in v2 of the patch series to be more descriptive about what does and does not work, I hope that level of detail is sufficient but feel free to point out any sections I may have missed. > How? The node is disabled. Not sure if the e850-96 device supports this functionality so for the mean time I left it as "disabled", but would be interesting to see if Sam or Alexey could test it too. > Also, you need to version your patches correctly. This is v2. You also > need changelog under ---. Again, sorry for not including this I am still getting my head around the process, but in the v3 of the patch series I will make sure to include it. > You almost never use this parameter. > git format patch; scripts/getmaintainers; git send email Got it thanks, Sam has been helping me with some of the kernel etiquette and procedures in a private thread so hopefully the next patch set should be lots clearer :). One other thing I wanted to ask, do you think it would be best to include the logs about the GPU probing in the commit message of v3? In the next patch version I am going to reword the commit msg to be more precise, i.e Add nodes for GPU. Can add more information about how I tested it and possibly logs from dmesg. Cheers, Tom. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-08-24 10:37 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <GVYP280MB12139AB976CA7ACF49FEB768A1A52@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM>
2026-08-20 13:35 ` [PATCH] arm64: dts: exynos850: Add GPU/Mali Bifrost node Thomas Turner
2026-08-20 14:13 ` Krzysztof Kozlowski
2026-08-20 14:23 ` [PATCH v2 0/2] Exynos850 GPU support Thomas Turner
2026-08-20 14:23 ` [PATCH v2 1/2] dt-bindings: gpu: arm,mali-bifrost: add exynos850-mali compatible Thomas Turner
2026-08-20 14:23 ` [PATCH v2 2/2] arm64: dts: exynos850: Add GPU/Mali Bifrost node Thomas Turner
2026-08-20 14:28 ` [PATCH v2 0/2] Exynos850 GPU support Krzysztof Kozlowski
[not found] ` <GVYP280MB1213F9511E062056470AE74AA1A42@GVYP280MB1213.SWEP280.PROD.OUTLOOK.COM>
2026-08-20 16:22 ` thomas_turner@talktalk.net
2026-08-20 18:15 ` Krzysztof Kozlowski
2026-08-24 10:37 ` Thomas Turner
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox