mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 10:29:55 +07:00
bb46d1eb41
The sizes of the MFC reserved memory regions for CMA are 16 MiB for the left bank and 8 MiB for the right bank. But this isn't enough to decode high resolution videos so increase the size for the left bank to 36 MiB which is enough for 1080p (1920x1080). Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
36 lines
734 B
Plaintext
36 lines
734 B
Plaintext
/*
|
|
* Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition.
|
|
*
|
|
* Copyright (c) 2016 Samsung Electronics Co., Ltd
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/ {
|
|
reserved-memory {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
mfc_left: region_mfc_left {
|
|
compatible = "shared-dma-pool";
|
|
no-map;
|
|
size = <0x2400000>;
|
|
alignment = <0x100000>;
|
|
};
|
|
|
|
mfc_right: region_mfc_right {
|
|
compatible = "shared-dma-pool";
|
|
no-map;
|
|
size = <0x800000>;
|
|
alignment = <0x100000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&mfc {
|
|
memory-region = <&mfc_left>, <&mfc_right>;
|
|
};
|