devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/msm: Add support for the A750 GPU found on the SM8650 platform
@ 2024-02-12 10:37 Neil Armstrong
  2024-02-12 10:37 ` [PATCH 1/5] dt-bindings: display/msm/gmu: Document Adreno 750 GMU Neil Armstrong
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Neil Armstrong @ 2024-02-12 10:37 UTC (permalink / raw)
  To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
	Marijn Suijten, David Airlie, Daniel Vetter, Maarten Lankhorst,
	Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Will Deacon, Robin Murphy,
	Joerg Roedel, Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
	linux-arm-kernel, iommu, Neil Armstrong

Unlike the the very close A740 GPU on the SM8550 SoC, the A750 GPU
doesn't have an HWCFG block but a separate register set.

The missing registers are added in the a6xx.xml.h file that would
require a subsequent sync and the non-existent hwcfg is handled
in a6xx_set_hwcg().

The A750 GPU info are added under the adreno_is_a750() macro and
the ADRENO_7XX_GEN3 family id.

This adds:
- the GMU and SMMU bindings
- DRM driver changes
- DT nodes

Dependencies: None

Tested using Mesa's !26934 Merge Request [0] on the SM8650-QRD
and with kmscube & vkcube to test basic rendering.

[0] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26934

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Neil Armstrong (5):
      dt-bindings: display/msm/gmu: Document Adreno 750 GMU
      dt-bindings: arm-smmu: Document SM8650 GPU SMMU
      drm: msm: add support for A750 GPU
      arm64: dts: qcom: sm8650: add GPU nodes
      arm64: dts: qcom: sm8650-qrd: enable GPU

 .../devicetree/bindings/display/msm/gmu.yaml       |   1 +
 .../devicetree/bindings/iommu/arm,smmu.yaml        |   7 +-
 arch/arm64/boot/dts/qcom/sm8650-qrd.dts            |   8 +
 arch/arm64/boot/dts/qcom/sm8650.dtsi               | 169 +++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/a6xx.xml.h              |   8 +
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c              |   2 +
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c              |  29 +++-
 drivers/gpu/drm/msm/adreno/adreno_device.c         |  14 ++
 drivers/gpu/drm/msm/adreno/adreno_gpu.h            |   9 +-
 9 files changed, 241 insertions(+), 6 deletions(-)
---
base-commit: 84baf172e2fa30d6d6d0fb8ed076b47e836b74f1
change-id: 20240208-topic-sm8650-gpu-489d5e2c2b17

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>


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

end of thread, other threads:[~2024-02-15  8:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-12 10:37 [PATCH 0/5] drm/msm: Add support for the A750 GPU found on the SM8650 platform Neil Armstrong
2024-02-12 10:37 ` [PATCH 1/5] dt-bindings: display/msm/gmu: Document Adreno 750 GMU Neil Armstrong
2024-02-12 10:42   ` Konrad Dybcio
2024-02-12 10:37 ` [PATCH 2/5] dt-bindings: arm-smmu: Document SM8650 GPU SMMU Neil Armstrong
2024-02-12 10:37 ` [PATCH 3/5] drm: msm: add support for A750 GPU Neil Armstrong
2024-02-12 10:46   ` Konrad Dybcio
2024-02-12 14:45     ` Neil Armstrong
2024-02-14 21:43       ` Konrad Dybcio
2024-02-15  8:58         ` neil.armstrong
2024-02-12 10:37 ` [PATCH 4/5] arm64: dts: qcom: sm8650: add GPU nodes Neil Armstrong
2024-02-12 10:50   ` Konrad Dybcio
2024-02-12 13:55     ` Neil Armstrong
2024-02-12 10:37 ` [PATCH 5/5] arm64: dts: qcom: sm8650-qrd: enable GPU Neil Armstrong
2024-02-12 10:50   ` Konrad Dybcio
2024-02-12 13:32   ` Dmitry Baryshkov
2024-02-12 13:36     ` Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).