[PATCH dev-5.0 v2 5/5] ARM: dts: romulus: Enable video engine
Joel Stanley
joel at jms.id.au
Mon Apr 1 17:27:06 AEDT 2019
On Fri, 29 Mar 2019 at 21:15, Eddie James <eajames at linux.ibm.com> wrote:
>
> Enable the video engine and add it's required reserved memory region.
The upstream bindings don't mention the reserved memory region at all.
>
> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> ---
> 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 ee1a460..54427f4 100644
> --- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
> @@ -42,6 +42,13 @@
> compatible = "shared-dma-pool";
> reusable;
> };
> +
> + ve_memory: jpegbuffer {
video_memory or video_engine_memory
> + size = <0x04000000>; /* 64M */
How do we get to 64MB?
> + alignment = <0x01000000>;
> + compatible = "shared-dma-pool";
> + reusable;
> + };
> };
>
> leds {
> @@ -315,4 +322,9 @@
> memory-region = <&gfx_memory>;
> };
>
> +&video {
> + status = "okay";
> + memory-region = <&ve_memory>;
> +};
> +
> #include "ibm-power9-dual.dtsi"
> --
> 1.8.3.1
>
More information about the openbmc
mailing list