diff options
author | Eddie James <eajames@linux.ibm.com> | 2019-04-02 02:42:30 +0000 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2019-04-04 12:52:10 +1030 |
commit | 1481a047a154837e28f5d9b533138d6bb44c45b4 (patch) | |
tree | c1bb967134fb268c6497ed6379b3623f2eb8a9e2 | |
parent | 474ca49f51777e0393d89ef874298862e337e1ff (diff) | |
download | talos-obmc-linux-1481a047a154837e28f5d9b533138d6bb44c45b4.tar.gz talos-obmc-linux-1481a047a154837e28f5d9b533138d6bb44c45b4.zip |
ARM: dts: romulus: Enable video engine
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 <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts index ee1a4607b88c..8c47c60caba3 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; }; + + video_engine_memory: jpegbuffer { + size = <0x02000000>; /* 32M */ + alignment = <0x01000000>; + compatible = "shared-dma-pool"; + reusable; + }; }; leds { @@ -315,4 +322,9 @@ memory-region = <&gfx_memory>; }; +&video { + status = "okay"; + memory-region = <&video_engine_memory>; +}; + #include "ibm-power9-dual.dtsi" |