Skip to contentSkip to conversation

ARM: dts: romulus: Enable the GFX IP

PATCH In review Joel Stanley 2 participants 3 messages Apr 26, 2018 – May 1, 2018

Subsystems (2)
lore
Share & tools
lore

Joel Stanley

author maintainer
#0 lore raw

PATCH v2 1/1 ARM: dts: romulus: Enable the GFX IP

The GFX controller is the internal graphics device used by the SoC (opposed to the one connected via the PCIe device and used by the host).

This configures it with a framebuffer region and enables the GFX node.

---
v2: Fix the commit message, as we do not output bmc kenrel messages to the VGA device with this change

 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +12 -0
index 00812a2fecf0..d746e562e8fd 100644
@@ -30,6 +30,13 @@
 			no-map;
 			reg = <0x98000000 0x04000000>; /* 64M */
 		};
+
+		gfx_memory: framebuffer {
+			size = <0x01000000>;
+			alignment = <0x01000000>;
+			compatible = "shared-dma-pool";
+			reusable;
+		};
 	};
 
 	leds {
@@ -280,3 +287,8 @@
 &ibt {
 	status = "okay";
 };
+
+&gfx {
+     status = "okay";
+     memory-region = <&gfx_memory>;
+};
Signature · 1 line
2.17.0
Acked-by on v2 1/1
#1 lore raw
Quoted 6 lines · Joel Stanley

The GFX controller is the internal graphics device used by the SoC (opposed to the one connected via the PCIe device and used by the host).

This configures it with a framebuffer region and enables the GFX node.

Quoted 38 lines

---
v2: Fix the commit message, as we do not output bmc kenrel messages to the VGA device with this change

 arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/ renamed from arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +0 -0

boot/dts/aspeed-bmc-opp-romulus.dts
index 00812a2fecf0..d746e562e8fd 100644

arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts +12 -0
@@ -30,6 +30,13 @@
 			no-map;
 			reg = <0x98000000 0x04000000>; /* 64M */
 		};
+
+		gfx_memory: framebuffer {
+			size = <0x01000000>;
+			alignment = <0x01000000>;
+			compatible = "shared-dma-pool";
+			reusable;
+		};
 	};
 
 	leds {
@@ -280,3 +287,8 @@
 &ibt {
 	status = "okay";
 };
+
+&gfx {
+     status = "okay";
+     memory-region = <&gfx_memory>;
+};
Signature · 1 line
2.17.0
author maintainer Applied
#2 lore raw
Quoted 9 lines · Andrew Jeffery
Quoted 6 lines · Joel Stanley

The GFX controller is the internal graphics device used by the SoC (opposed to the one connected via the PCIe device and used by the host).

This configures it with a framebuffer region and enables the GFX node.

Merged to dev-4.13.

Cheers,

Joel