[PATCH dev-5.0 7/7] ARM: dts: romulus: Enable video engine
Joel Stanley
joel at jms.id.au
Wed Mar 27 17:11:53 AEDT 2019
On Thu, 21 Mar 2019 at 19:30, Eddie James <eajames at linux.ibm.com> wrote:
>
> Enable the video engine and set it's required memory-region property.
>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> ---
> arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> index ee1a460..6b24608 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> @@ -37,7 +37,7 @@
> };
>
> gfx_memory: framebuffer {
> - size = <0x01000000>;
> + size = <0x04000000>;
You're using the memory region we have set aside for the gfx device -
the thing that you plug a monitor into the back of a machine with. Are
you sure that is what we want to do?
> alignment = <0x01000000>;
> compatible = "shared-dma-pool";
> reusable;
> @@ -315,4 +315,9 @@
> memory-region = <&gfx_memory>;
> };
>
> +&video {
> + status = "okay";
> + memory-region = <&gfx_memory>;
> +};
> +
> #include "ibm-power9-dual.dtsi"
> --
> 1.8.3.1
>
More information about the openbmc
mailing list