Hi Dmitry, On Wed, 14 Sept 2022 at 17:12, Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx> wrote: > > Add 256MB CMA node to the Orange Pi PC board. This fixes memory allocation > failures for Cedrus video decoder on trying to play a 1080p video with > gstreamer. > > Signed-off-by: Dmitry Osipenko <dmitry.osipenko@xxxxxxxxxxxxx> > --- > arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts > index b96e015f54ee..e655346a9fb4 100644 > --- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts > +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts > @@ -60,6 +60,20 @@ chosen { > stdout-path = "serial0:115200n8"; > }; > > + reserved-memory { > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + linux,cma@40000000 { > + compatible = "shared-dma-pool"; > + alloc-ranges = <0x40000000 0x40000000>; > + size = <0x10000000>; /* 256MiB */ > + linux,cma-default; > + reusable; > + }; > + }; > + This change seems legit for all H3 boards and could be moved to the H3 dtsi, no? Regards, Clement > connector { > compatible = "hdmi-connector"; > type = "a"; > -- > 2.37.3 > >