Skip to contentSkip to conversation

Make Firefly RK3399 enable the mali GPU

PATCH Superseded Michael Saunders 2 participants 2 messages Feb 5, 2022 – Feb 6, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make Firefly RK3399 enable the mali GPU

The Firefly RK3399 device tree had the GPU status set to disabled as per the default from the rk3399.dtsi. This patch sets the status in the firefly dts to enable it for use. I've tested this successfully on my 2GB Firefly RK3399 board.

---
 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +5 -0
index c4dd2a6b4836..f7b8da4953be 100644
@@ -298,6 +298,11 @@ &gmac {
 	status = "okay";
 };
 
+&gpu {
+  mali-supply = <&vdd_gpu>;
+  status = "okay";
+};
+
 &hdmi {
 	ddc-i2c-bus = <&i2c3>;
 	pinctrl-names = "default";
Signature · 1 line
2.35.1
#1 lore raw
Quoted 15 lines · Michael Saunders

The Firefly RK3399 device tree had the GPU status set to disabled as per the default from the rk3399.dtsi. This patch sets the status in the firefly dts to enable it for use. I've tested this successfully on my 2GB Firefly RK3399 board.

---
 arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +0 -0
index c4dd2a6b4836..f7b8da4953be 100644

arch/arm64/boot/dts/rockchip/rk3399-firefly.dts &gmac { · line 303

Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +3 -0
@@ -298,6 +298,11 @@ &gmac {
 	status = "okay";
 };
 
+&gpu {
+  mali-supply = <&vdd_gpu>;
+  status = "okay";

Thanks for the patch.

Please run scripts/checkpatch.pl, before sending it. You need to correct the indentation - just use the same as other places in the file.

On your future submissions, please use scripts/get_maintainer.pl to get list of people and lists needed for CC. You missed here both rockchip and arm-kernel.

Use "git log --oneline -- ..." to find the proper subject prefix for your subsystem and fix the subject.

Best regards,
Krzysztof