mm: CF1 adjust android U T3X cma size without di back-end. [1/1]

PD#SWPL-157407

Problem:
T3X Codec Memory Usage Evaluation for android U.

Solution:
Adjust the T3X codec_mm cma size to 712MB based on TV/ASOP.
Adjust the T3X codec_mm cma size to 692MB based on BDS/ASop.

Verify:
t3x

Change-Id: Ibd8cf17995f7c1316c69519cd2733eb7274c5ba5
Signed-off-by: yu.xie <yu.xie@amlogic.com>
This commit is contained in:
yu.xie
2024-02-22 06:06:19 +00:00
committed by gerrit autosubmit
parent 53770e3ce4
commit 71f081d2dc
4 changed files with 8 additions and 8 deletions
@@ -123,8 +123,8 @@
codec_mm_cma:linux,codec_mm_cma {
compatible = "shared-dma-pool";
reusable;
/*codec_mm_cma 8K + 1080P max can alloc size M*/
size = <0x0 0x54400000>;
/*Primary + Secondary + PIP based on TV/ASOP: max scenario need 712MB*/
size = <0x0 0x2c800000>;
alignment = <0x0 0x400000>;
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
linux,contiguous-region;
@@ -131,8 +131,8 @@
codec_mm_cma:linux,codec_mm_cma {
compatible = "shared-dma-pool";
reusable;
/*codec_mm_cma 8K + 1080P max can alloc size M*/
size = <0x0 0x54400000>;
/*Primary + Secondary + PIP based on BDS/ASOP: max scenario need 692MB*/
size = <0x0 0x2b400000>;
alignment = <0x0 0x400000>;
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
linux,contiguous-region;
@@ -123,8 +123,8 @@
codec_mm_cma:linux,codec_mm_cma {
compatible = "shared-dma-pool";
reusable;
/*codec_mm_cma 8K + 1080P max can alloc size M*/
size = <0x0 0x54400000>;
/*Primary + Secondary + PIP based on TV/ASOP: max scenario need 712MB*/
size = <0x0 0x2c800000>;
alignment = <0x0 0x400000>;
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
linux,contiguous-region;
@@ -124,8 +124,8 @@
codec_mm_cma:linux,codec_mm_cma {
compatible = "shared-dma-pool";
reusable;
/*codec_mm_cma 8K + 1080P max can alloc size M*/
size = <0x0 0x54400000>;
/*Primary + Secondary + PIP based on TV/ASOP: max scenario need 712MB*/
size = <0x0 0x2c800000>;
alignment = <0x0 0x400000>;
alloc-ranges = <0x0 0x0 0x0 0xe0000000>;
linux,contiguous-region;