Skip to contentSkip to conversation

arm64: tegra: p2180: Explicitly enable GPU

PATCH Applied Aaron Kling 2 participants 3 messages Apr 20, 2025 – May 8, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: tegra: p2180: Explicitly enable GPU

The gpu node originally was explicitly left disabled as it was expected for the bootloader to enable it. However, this is only done in u-boot. If u-boot is not in the boot chain, this will never be enabled. Other Tegra210 devices already explicitly enable the gpu, so make p2180 match.

---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +1 -0
index 9b9d1d15b0c7eafd3895f02db1bc747d7cc8923c..c57bd1356381933a16fc1ee64773961bedae957f 100644
@@ -24,6 +24,7 @@ memory@80000000 {
 
 	gpu@57000000 {
 		vdd-supply = <&vdd_gpu>;
+		status = "okay";
 	};
 
 	/* debug port */

---
base-commit: 9c32cda43eb78f78c73aee4aa344b777714e259b
change-id: 20250420-tx1-gpu-73ac66acbf74

Best regards,

Signature · 1 line
Aaron Kling <[email protected]>
#1 lore raw
Quoted 11 lines · On Sun, Apr 20, 2025 at 05:25:17PM -0500, Aaron Kling via B4 Relay wrote:

From: Aaron Kling <[email protected]>

The gpu node originally was explicitly left disabled as it was expected for the bootloader to enable it. However, this is only done in u-boot. If u-boot is not in the boot chain, this will never be enabled. Other Tegra210 devices already explicitly enable the gpu, so make p2180 match.

---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 1 +
 1 file changed, 1 insertion(+)

This is risky, because the U-Boot code was explicitly added to avoid an issue during boot. It's probably okay to do this nowadays because all of the boot stacks deal with this properly and as evidenced by Jetson Nano, things still seem to work.

It may mean that users of very old L4T releases may have to update, but they probably should do so anyway, so let's give this a go.

Thierry

#2 lore raw
In reply to Aaron Kling

From: Thierry Reding <[email protected]>

Quoted 6 lines · Aaron Kling

The gpu node originally was explicitly left disabled as it was expected for the bootloader to enable it. However, this is only done in u-boot. If u-boot is not in the boot chain, this will never be enabled. Other Tegra210 devices already explicitly enable the gpu, so make p2180 match.

Applied, thanks!

[1/1] arm64: tegra: p2180: Explicitly enable GPU

      commit: d1b72547610497ea4d0917214986cffb752a8710

Best regards,

Signature · 1 line
Thierry Reding <[email protected]>