2019-03-14 08:00:42

by Akash Gajjar

[permalink] [raw]
Subject: [PATCH 0/2] add gpu node support on rock960 and rockpi4

add gpu node support on both rockchip-rk3399 board.
performance tested with freedesktop.org panfrost mali driver.

Akash Gajjar (2):
arm64: dts: rockchip: add mali gpu support on rockpi4
arm64: dts: rockchip: add mali gpu support on rock960

arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 5 +++++
arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 5 +++++
2 files changed, 10 insertions(+)

--
2.17.1



2019-03-14 07:31:02

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH 0/2] add gpu node support on rock960 and rockpi4

Hi,

On Thu, Mar 14, 2019 at 12:48:40PM +0530, Akash Gajjar wrote:
> add gpu node support on both rockchip-rk3399 board.
> performance tested with freedesktop.org panfrost mali driver.
>
> Akash Gajjar (2):
> arm64: dts: rockchip: add mali gpu support on rockpi4
> arm64: dts: rockchip: add mali gpu support on rock960
>

Eze already sent MALI support patches for the above boards and those has
been queued for v5.2.

https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/log/?h=v5.2-armsoc/dts64

Thanks,
Mani

> arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 5 +++++
> arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 5 +++++
> 2 files changed, 10 insertions(+)
>
> --
> 2.17.1
>

2019-03-14 08:15:04

by Akash Gajjar

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: rockchip: add mali gpu support on rockpi4

add gpu node support on board and add the supplying regulator

Signed-off-by: Akash Gajjar <[email protected]>
Signed-off-by: Andrius Štikonas <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts
index 4a543f2117d4..1e479d06e67e 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts
@@ -157,6 +157,11 @@
status = "okay";
};

+&gpu {
+ mali-supply = <&vdd_gpu>;
+ status = "okay";
+};
+
&hdmi {
pinctrl-names = "default";
pinctrl-0 = <&hdmi_cec>;
--
2.17.1


2019-03-14 08:49:32

by Akash Gajjar

[permalink] [raw]
Subject: [PATCH 2/2] arm64: dts: rockchip: add mali gpu support on rock960

add gpu node support on board and add the supplying regulator

Signed-off-by: Akash Gajjar <[email protected]>
Signed-off-by: Andrius Štikonas <[email protected]>
---
arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
index 12285c51cceb..bc8c04190d1a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dts
@@ -62,6 +62,11 @@

};

+&gpu {
+ mali-supply = <&vdd_gpu>;
+ status = "okay";
+};
+
&pcie0 {
ep-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_HIGH>;
};
--
2.17.1