Skip to content

Commit

Permalink
ARM: dts: romulus: Enable video engine
Browse files Browse the repository at this point in the history
Enable the video engine and add it's optional reserved memory region.
Use 32MB for the reserved memory since the video engine could need up to
two 1920x1200@32bpp source buffers.

Source buffers: 2 * 1920 * 1200 * 4 = 18432000 bytes
In addition, the V4L2 subsystem will allocate any number of compression
buffers, each at most 1/8th the size of the source buffer.

OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James <[email protected]>
Signed-off-by: Joel Stanley <[email protected]>
  • Loading branch information
Eddie James authored and shenki committed Apr 4, 2019
1 parent 474ca49 commit 1481a04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@
compatible = "shared-dma-pool";
reusable;
};

video_engine_memory: jpegbuffer {
size = <0x02000000>; /* 32M */
alignment = <0x01000000>;
compatible = "shared-dma-pool";
reusable;
};
};

leds {
Expand Down Expand Up @@ -315,4 +322,9 @@
memory-region = <&gfx_memory>;
};

&video {
status = "okay";
memory-region = <&video_engine_memory>;
};

#include "ibm-power9-dual.dtsi"

0 comments on commit 1481a04

Please sign in to comment.