From: Young-Jun Hong <nirvanah@nirvanahyj.com>
Cc: "Adrián Larumbe" <adrian.larumbe@collabora.com>,
"Alexey Sheplyakov" <asheplyakov@basealt.ru>,
"Alim Akhtar" <alim.akhtar@samsung.com>,
"Boris Brezillon" <boris.brezillon@collabora.com>,
"Brian Masney" <bmasney+clk@redhat.com>,
"Chanwoo Choi" <cw00.choi@samsung.com>,
"David Airlie" <airlied@gmail.com>,
dri-devel@lists.freedesktop.org, iommu@lists.linux.dev,
"Jerome Brunet" <jbrunet+clk@baylibre.com>,
"Joerg Roedel (AMD)" <joro@8bytes.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Peter Griffin" <peter.griffin@linaro.org>,
"Rob Herring" <robh@kernel.org>,
"Robin Murphy" <robin.murphy@arm.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Stephen Boyd" <sboyd@kernel.org>,
"Steven Price" <steven.price@arm.com>,
"Sylwester Nawrocki" <s.nawrocki@samsung.com>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Vadim V. Vlasov" <vadim.vlasov@elpitech.ru>,
"Will Deacon" <will@kernel.org>
Subject: [PATCH 0/4] Exynos 5422: Mali-T628 GPU compute fixes
Date: Fri, 6 Nov 2026 14:41:47 +0900 [thread overview]
Message-ID: <20261106054210.2893230-1-nirvanah@nirvanahyj.com> (raw)
These patches make the Mali-T628 MP6 GPU of the Exynos 5422 (Samsung
ARTIK 10, also Odroid-XU3/XU4) usable for OpenCL compute with panfrost
and Mesa Rusticl. They touch three subsystems and can be taken
independently:
1/4 iommu: the GPU is not cache coherent on this SoC; its LPAE page
tables must use inner shareable, or the first large GPU buffer
after boot hangs the SoC.
2/4 clk: VPLL rates for GPU operating points above 600 MHz. The
ARTIK 10 device tree is not in mainline, and the mainline 5422
boards stop at 600 MHz; they can use these rates once higher
OPPs are added.
3/4 drm/panfrost: the job affinity names only the shader cores that
are powered.
4/4 drm/panfrost (RFC): power both core groups and let a job opt in
to all of them; the L2 caches of the two groups are not coherent,
so the default stays on the first group.
1-3 were tested on the board (Linux 6.12.55 based) and cross-compiled
on 7.4-rc1. 4 is compile-tested on 7.4-rc1; the same logic, ported to the
board's 6.12-based panfrost module, was tested with the matching Mesa
change: jobs without the flag stay on the first group, jobs that opt in
use all six cores, and global atomics stay correct.
Background, test programs and results:
https://github.com/nirvanahyj-com/mali-t628-opencl/tree/v1
The analysis, the code and the changelogs were produced with Claude Code
(Anthropic), a coding assistant.
Young-Jun Hong (4):
iommu/io-pgtable-arm: use inner shareable for Mali LPAE on a
non-coherent GPU
clk: samsung: exynos5420: add VPLL rates for 650, 700 and 750 MHz
drm/panfrost: only put powered shader cores in the job affinity
drm/panfrost: let jobs opt in to all core groups
drivers/clk/samsung/clk-exynos5420.c | 3 +++
drivers/gpu/drm/panfrost/panfrost_drv.c | 7 ++++++-
drivers/gpu/drm/panfrost/panfrost_gpu.c | 25 +++++++++++++++----------
drivers/gpu/drm/panfrost/panfrost_gpu.h | 2 ++
drivers/gpu/drm/panfrost/panfrost_job.c | 10 ++++++----
drivers/iommu/io-pgtable-arm.c | 7 +++++++
include/uapi/drm/panfrost_drm.h | 10 ++++++++++
7 files changed, 49 insertions(+), 15 deletions(-)
--
2.47.3
next reply other threads:[~2026-11-06 5:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 5:41 Young-Jun Hong [this message]
2026-11-06 5:41 ` [PATCH 1/4] iommu/io-pgtable-arm: use inner shareable for Mali LPAE on a non-coherent GPU Young-Jun Hong
2026-11-06 5:41 ` [PATCH 2/4] clk: samsung: exynos5420: add VPLL rates for 650, 700 and 750 MHz Young-Jun Hong
2026-11-06 5:41 ` [PATCH 3/4] drm/panfrost: only put powered shader cores in the job affinity Young-Jun Hong
2026-11-06 5:41 ` [PATCH 4/4] drm/panfrost: let jobs opt in to all core groups Young-Jun Hong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261106054210.2893230-1-nirvanah@nirvanahyj.com \
--to=nirvanah@nirvanahyj.com \
--cc=adrian.larumbe@collabora.com \
--cc=airlied@gmail.com \
--cc=alim.akhtar@samsung.com \
--cc=asheplyakov@basealt.ru \
--cc=bmasney+clk@redhat.com \
--cc=boris.brezillon@collabora.com \
--cc=cw00.choi@samsung.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=iommu@lists.linux.dev \
--cc=jbrunet+clk@baylibre.com \
--cc=joro@8bytes.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=peter.griffin@linaro.org \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=s.nawrocki@samsung.com \
--cc=sboyd@kernel.org \
--cc=simona@ffwll.ch \
--cc=steven.price@arm.com \
--cc=tzimmermann@suse.de \
--cc=vadim.vlasov@elpitech.ru \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®