mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] SM8350 GPU: memory bandwidth vote and speed bins
@ 2026-11-05 13:29 Demeter Barna via B4 Relay
  2026-11-05 13:30 ` [PATCH 1/5] arm64: dts: qcom: sm8350: Vote the GPU memory bandwidth Demeter Barna via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Demeter Barna via B4 Relay @ 2026-11-05 13:29 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Srinivas Kandagatla,
	Rob Clark, Sean Paul, Akhil P Oommen, Dmitry Baryshkov,
	Abhinav Kumar, Jessica Zhang, Marijn Suijten, David Airlie,
	Simona Vetter
  Cc: linux-arm-msm, devicetree, linux-kernel, dri-devel, freedreno,
	Demeter Barna

Two things are missing for the SM8350 GPU in mainline.

First, the GPU never votes for DDR bandwidth (patch 1). This fix stands
alone and can be taken on its own.

Second, the GPU speed bins are not read, so every part runs up to
840 MHz: parts validated only up to 738 MHz run above their rating, and
parts that support 900 MHz never get it (patches 2-5).

The frequencies, voltage levels and bandwidths all come from Qualcomm's
GPU tables for SM8350.

Patch 5 needs patch 3: without the keepout regions, reading the nvmem
file resets the SoC. Patch 4 alone changes nothing until patch 5 adds
the speed bin cell, and patch 5 without patch 4 keeps every part at
speed bin 0 (up to 840 MHz, as today).

The keepout regions in patch 3 were measured on one device (Razer Edge
5G), one 32-bit word at a time; the 0x128-0x147 one matches SC7180 and
SC7280. If Qualcomm has the documented ranges, I'm happy to use them
instead.

Signed-off-by: Demeter Barna <me@fromdisposition.org>
---
Demeter Barna (5):
      arm64: dts: qcom: sm8350: Vote the GPU memory bandwidth
      dt-bindings: nvmem: qfprom: Add SM8350 compatible
      nvmem: qfprom: Add the SM8350 keepout regions
      drm/msm/adreno: Add speedbins for A660 GPU
      arm64: dts: qcom: sm8350: Add the GPU speed bins

 .../devicetree/bindings/nvmem/qcom,qfprom.yaml     |  1 +
 arch/arm64/boot/dts/qcom/sm8350.dtsi               | 47 +++++++++++++++++++++-
 drivers/gpu/drm/msm/adreno/a6xx_catalog.c          |  8 ++++
 drivers/nvmem/qfprom.c                             | 13 ++++++
 4 files changed, 68 insertions(+), 1 deletion(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261105-b4-sm8350-gpu-ca91cfa9aa2f

Best regards,
--  
Demeter Barna <me@fromdisposition.org>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-19 22:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 13:29 [PATCH 0/5] SM8350 GPU: memory bandwidth vote and speed bins Demeter Barna via B4 Relay
2026-11-05 13:30 ` [PATCH 1/5] arm64: dts: qcom: sm8350: Vote the GPU memory bandwidth Demeter Barna via B4 Relay
2026-11-05 13:30 ` [PATCH 2/5] dt-bindings: nvmem: qfprom: Add SM8350 compatible Demeter Barna via B4 Relay
2026-11-19 22:13   ` Rob Herring (Arm)
2026-11-05 13:30 ` [PATCH 3/5] nvmem: qfprom: Add the SM8350 keepout regions Demeter Barna via B4 Relay
2026-11-05 13:30 ` [PATCH 4/5] drm/msm/adreno: Add speedbins for A660 GPU Demeter Barna via B4 Relay
2026-11-05 13:30 ` [PATCH 5/5] arm64: dts: qcom: sm8350: Add the GPU speed bins Demeter Barna via B4 Relay

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®