[PATCH linux dev-4.13] ARM: dts: romulus: Enable the GFX IP

Joel Stanley joel at jms.id.au
Thu Apr 26 12:07:59 AEST 2018


On 26 April 2018 at 11:07, Joel Stanley <joel at jms.id.au> 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.

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

I'll send a v2.

Cheers,

Joel

>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
> ---
>  arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> index 00812a2fecf0..d746e562e8fd 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> @@ -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
>


More information about the openbmc mailing list