Skip to contentSkip to conversation

arm64: tegra: Properly size register regions for GPU on Tegra194

PATCH In review Thierry Reding 2 participants 2 messages Jul 21, 2020 – Jul 24, 2020

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

PATCH 1/1 arm64: tegra: Properly size register regions for GPU on Tegra194

From: Thierry Reding <[email protected]>

Memory I/O regions for the GV11B found on Tegra194 are 16 MiB rather than 256 MiB.

---
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/nvidia/tegra194.dtsi +2 -2
index 48160f48003a..fc36d683049b 100644
@@ -1398,8 +1398,8 @@ sor3: sor@15bc0000 {
 
 		gpu@17000000 {
 			compatible = "nvidia,gv11b";
-			reg = <0x17000000 0x10000000>,
-			      <0x18000000 0x10000000>;
+			reg = <0x17000000 0x1000000>,
+			      <0x18000000 0x1000000>;
 			interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "stall", "nonstall";
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · Thierry Reding

From: Thierry Reding <[email protected]>

Memory I/O regions for the GV11B found on Tegra194 are 16 MiB rather than 256 MiB.

---
  arch/arm64/boot/dts/nvidia/tegra194.dtsi | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/nvidia/tegra194.dtsi +0 -0
index 48160f48003a..fc36d683049b 100644

arch/arm64/boot/dts/nvidia/tegra194.dtsi sor3: sor@15bc0000 { · line 1405

Quoted 10 lines
arch/arm64/boot/dts/nvidia/tegra194.dtsi +2 -2
@@ -1398,8 +1398,8 @@ sor3: sor@15bc0000 {
 
  		gpu@17000000 {
  			compatible = "nvidia,gv11b";
-			reg = <0x17000000 0x10000000>,
-			      <0x18000000 0x10000000>;
+			reg = <0x17000000 0x1000000>,
+			      <0x18000000 0x1000000>;
  			interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
  				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  			interrupt-names = "stall", "nonstall";

Looks good to me.

Terje