Skip to content
Snippets Groups Projects
Commit c80a3f69 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Krzysztof Kozlowski
Browse files

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: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Tested-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
parent 96167bd3
No related branches found
No related tags found
No related merge requests found
......@@ -14,16 +14,18 @@ reserved-memory {
#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>;
};
};
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment