[PATCH linux dev-4.13 5/5] ARM: dts: witherspoon: Enable the GFX IP
Andrew Jeffery
andrew at aj.id.au
Thu Apr 19 15:58:32 AEST 2018
On Thu, 19 Apr 2018, at 13:50, Joel Stanley wrote:
> 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.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Reviewed-by: Andrew Jeffery <andrew at aj.id.au>
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/
> arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> index e8e4d305a9cf..596608f4b936 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
> @@ -26,6 +26,13 @@
> no-map;
> reg = <0x98000000 0x04000000>; /* 64M */
> };
> +
> + gfx_memory: framebuffer {
> + size = <0x01000000>;
> + alignment = <0x01000000>;
> + compatible = "shared-dma-pool";
> + reusable;
> + };
> };
>
> gpio-keys {
> @@ -617,6 +624,7 @@
>
> &gfx {
> status = "okay";
> + memory-region = <&gfx_memory>;
> };
>
> &pinctrl {
> --
> 2.17.0
>
More information about the openbmc
mailing list