mbox series

[v3,0/6] Enable Mali GPU on MediaTek Genio 700 EVK

Message ID 20241002022138.29241-1-pablo.sun@mediatek.com (mailing list archive)
Headers show
Series Enable Mali GPU on MediaTek Genio 700 EVK | expand

Message

Pablo Sun Oct. 2, 2024, 2:21 a.m. UTC
This series is based on linux-next, tag: next-20240927

Enables the GPU on mt8390-genio-700-evk.dts. 
The panfrost driver probed with dmesg:

panfrost 13000000.gpu: clock rate = 390000000
panfrost 13000000.gpu: mali-g57 id 0x9093 major 0x0 minor 0x0 status 0x0
panfrost 13000000.gpu: features: 00000000,000019f7, 
  issues: 00000003,80000400
panfrost 13000000.gpu: Features: L2:0x08130206 Shader:0x00000000
  Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
panfrost 13000000.gpu: shader_present=0x10005 l2_present=0x1
[drm] Initialized panfrost 1.2.0 for 13000000.gpu on minor 0

Changes in v3:
- Drop patch "nvmem: mtk-efuse: Enable postprocess for mt8188 GPU
 speed binning" as suggested by Angelo.
- Add patch "dt-bindings: nvmem: mediatek: efuse: Reuse mt8186-efuse in mt8188"
 to reuse "mediatek,mt8186-efuse" compatible.
- Updated patch "arm64: dts: mediatek: mt8188: Add efuse for GPU speed binning"
 to revise the compatible string and remove Reviewed-By tag.

Pablo Sun (6):
  arm64: dts: mediatek: mt8188: Fix wrong clock provider in MFG1 power
    domain
  clk: mediatek: clk-mt8188-topckgen: Remove univpll from parents of
    mfg_core_tmp
  dt-bindings: nvmem: mediatek: efuse: Reuse mt8186-efuse in mt8188
  arm64: dts: mediatek: mt8188: Add efuse for GPU speed binning
  soc: mediatek: mediatek-regulator-coupler: Support mt8188
  arm64: dts: mediatek: mt8390-genio-700-evk: Enable Mali GPU

 .../bindings/nvmem/mediatek,efuse.yaml        |  4 +++
 arch/arm64/boot/dts/mediatek/mt8188.dtsi      | 13 ++++++--
 .../dts/mediatek/mt8390-genio-700-evk.dts     | 31 +++++++++++++++++++
 drivers/clk/mediatek/clk-mt8188-topckgen.c    |  9 ++++--
 drivers/soc/mediatek/mtk-regulator-coupler.c  |  1 +
 5 files changed, 52 insertions(+), 6 deletions(-)

Comments

AngeloGioacchino Del Regno Oct. 2, 2024, 9:08 a.m. UTC | #1
On Wed, 02 Oct 2024 10:21:32 +0800, Pablo Sun wrote:
> This series is based on linux-next, tag: next-20240927
> 
> Enables the GPU on mt8390-genio-700-evk.dts.
> The panfrost driver probed with dmesg:
> 
> panfrost 13000000.gpu: clock rate = 390000000
> panfrost 13000000.gpu: mali-g57 id 0x9093 major 0x0 minor 0x0 status 0x0
> panfrost 13000000.gpu: features: 00000000,000019f7,
>   issues: 00000003,80000400
> panfrost 13000000.gpu: Features: L2:0x08130206 Shader:0x00000000
>   Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
> panfrost 13000000.gpu: shader_present=0x10005 l2_present=0x1
> [drm] Initialized panfrost 1.2.0 for 13000000.gpu on minor 0
> 
> [...]

Applied to v6.12-next/soc, thanks!

[5/6] soc: mediatek: mediatek-regulator-coupler: Support mt8188
      https://git.kernel.org/mediatek/c/32ab0090

Cheers,
Angelo
AngeloGioacchino Del Regno Oct. 2, 2024, 9:33 a.m. UTC | #2
On Wed, 02 Oct 2024 10:21:32 +0800, Pablo Sun wrote:
> This series is based on linux-next, tag: next-20240927
> 
> Enables the GPU on mt8390-genio-700-evk.dts.
> The panfrost driver probed with dmesg:
> 
> panfrost 13000000.gpu: clock rate = 390000000
> panfrost 13000000.gpu: mali-g57 id 0x9093 major 0x0 minor 0x0 status 0x0
> panfrost 13000000.gpu: features: 00000000,000019f7,
>   issues: 00000003,80000400
> panfrost 13000000.gpu: Features: L2:0x08130206 Shader:0x00000000
>   Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
> panfrost 13000000.gpu: shader_present=0x10005 l2_present=0x1
> [drm] Initialized panfrost 1.2.0 for 13000000.gpu on minor 0
> 
> [...]

Applied to v6.12-next/dts64, thanks!

[1/6] arm64: dts: mediatek: mt8188: Fix wrong clock provider in MFG1 power domain
      https://git.kernel.org/mediatek/c/4007651c
[6/6] arm64: dts: mediatek: mt8390-genio-700-evk: Enable Mali GPU
      https://git.kernel.org/mediatek/c/0158b773

Cheers,
Angelo