LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v1 0/4] add Mali-450 support to MT7623 SoC
@ 2018-04-18 10:24 sean.wang
  2018-04-18 10:24 ` [PATCH v1 1/4] dt-bindings: gpu: mali-utgard: add mediatek,mt7623-mali compatible sean.wang
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: sean.wang @ 2018-04-18 10:24 UTC (permalink / raw)
  To: robh+dt, mturquette, sboyd, airlied, matthias.bgg, mark.rutland,
	devicetree, linux-mediatek
  Cc: linux-clk, dri-devel, linux-arm-kernel, linux-kernel, Sean Wang

From: Sean Wang <sean.wang@mediatek.com>

Hi,

The series adds a required resource setup to allow Mali-450 to work on
MT7623. This also can benefits other MediaTek SoCs having Mali-450 device.

In order to prove the setup is proper, I also have added mediatek port to
linux-lima at [1] and make a few of tests along with off-screen rendering
[2][3][4][5][6][7] through mesa-lima [8]. All work correctly.

[1] https://github.com/objelf/linux-lima/tree/mediatek-lima-4.16-rc5
[2] simple triangle: https://github.com/yuq/gfx/tree/master/gbm-surface
[3] vertex shader uniform: https://github.com/yuq/gfx/tree/master/gbm-surface-move
[4] multi varying: https://github.com/yuq/gfx/tree/master/gbm-surface-color
[5] multi draw: https://github.com/yuq/gfx/tree/master/gbm-surface-draw
[6] FBO: https://github.com/yuq/gfx/tree/master/gbm-surface-fbo
[7] kmscube: https://github.com/yuq/kmscube
[8] https://github.com/yuq/mesa-lima

Hope these patches can help people working on BPI-R2.

	Sean

Sean Wang (4):
  dt-bindings: gpu: mali-utgard: add mediatek,mt7623-mali compatible
  dt-bindings: clock: mediatek: add g3dsys bindings
  clk: mediatek: add g3dsys support for MT2701 and MT7623
  arm: dts: mt7623: add Mali-450 and related device nodes

 .../bindings/arm/mediatek/mediatek,g3dsys.txt      | 30 +++++++
 .../devicetree/bindings/gpu/arm,mali-utgard.txt    |  9 ++
 arch/arm/boot/dts/mt7623.dtsi                      | 70 ++++++++++++++++
 arch/arm/boot/dts/mt7623a.dtsi                     |  4 +
 drivers/clk/mediatek/Kconfig                       |  6 ++
 drivers/clk/mediatek/Makefile                      |  1 +
 drivers/clk/mediatek/clk-mt2701-g3d.c              | 95 ++++++++++++++++++++++
 include/dt-bindings/clock/mt2701-clk.h             |  4 +
 include/dt-bindings/reset/mt2701-resets.h          |  3 +
 9 files changed, 222 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt
 create mode 100644 drivers/clk/mediatek/clk-mt2701-g3d.c

-- 
2.7.4

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

end of thread, other threads:[~2018-04-24 15:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 10:24 [PATCH v1 0/4] add Mali-450 support to MT7623 SoC sean.wang
2018-04-18 10:24 ` [PATCH v1 1/4] dt-bindings: gpu: mali-utgard: add mediatek,mt7623-mali compatible sean.wang
2018-04-24 14:37   ` Rob Herring
2018-04-18 10:24 ` [PATCH v1 2/4] dt-bindings: clock: mediatek: add g3dsys bindings sean.wang
2018-04-19  3:18   ` Stephen Boyd
2018-04-19  3:50     ` Sean Wang
2018-04-19 17:25       ` Stephen Boyd
2018-04-24 14:39   ` Rob Herring
2018-04-24 15:45     ` Sean Wang
2018-04-18 10:24 ` [PATCH v1 3/4] clk: mediatek: add g3dsys support for MT2701 and MT7623 sean.wang
2018-04-24 14:40   ` Rob Herring
2018-04-24 15:43     ` Sean Wang
2018-04-18 10:24 ` [PATCH v1 4/4] arm: dts: mt7623: add Mali-450 and related device nodes sean.wang

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).