Skip to contentSkip to conversation

ARM: dts: romulus: Enable the GFX IP

PATCH Superseded Joel Stanley 1 participant 2 messages Apr 26, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Joel Stanley

author maintainer
#0 lore raw

PATCH 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 adds it to the command line so kernel boot messages appear on the display.

---
 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
author maintainer
#1 lore raw
Quoted 5 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 adds it to the command line so kernel boot messages appear on the display.

This commit message is incorrect; it does not add the command line option.

I'll send a v2.

Cheers,

Joel

Quoted 36 lines
---
 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 -1
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>;
+};
--

2.17.0