diff options
| author | Marek Szyprowski <[email protected]> | 2016-06-07 14:03:36 +0200 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2016-06-08 09:45:59 +0200 |
| commit | c80a3f69ddefdb5c87f7889ba8910906ca019de2 (patch) | |
| tree | 746a6b4eb2aada1a0d54898ba496c1b4d266003c | |
| parent | 96167bd37dd604cbba0aed341765dda8556405b2 (diff) | |
ARM: dts: exynos: replace hardcoded reserved memory ranges with auto-allocated ones
Generic reserved memory regions bindings allow to automatically allocate
region of given parameters (alignment and size), so use this feature
instead of the hardcoded values, which had no dependency on the real
hardware. This patch also increases "left" region from 8MiB to 16MiB to
make the codec really usable with nowadays steams (with 8MiB reserved
region it was not even possible to decode 480p H264 video).
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Tested-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
| -rw-r--r-- | arch/arm/boot/dts/exynos-mfc-reserved-memory.dtsi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/exynos-mfc-reserved-memory.dtsi b/arch/arm/boot/dts/exynos-mfc-reserved-memory.dtsi index c4d063ae6b74..da3ced99ffa2 100644 --- a/arch/arm/boot/dts/exynos-mfc-reserved-memory.dtsi +++ b/arch/arm/boot/dts/exynos-mfc-reserved-memory.dtsi @@ -14,16 +14,18 @@ #size-cells = <1>; ranges; - mfc_left: region@51000000 { + mfc_left: region_mfc_left { compatible = "shared-dma-pool"; no-map; - reg = <0x51000000 0x800000>; + size = <0x1000000>; + alignment = <0x100000>; }; - mfc_right: region@43000000 { + mfc_right: region_mfc_right { compatible = "shared-dma-pool"; no-map; - reg = <0x43000000 0x800000>; + size = <0x800000>; + alignment = <0x100000>; }; }; }; |