mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
mm: decrease DEFAULT_TVP_SIZE_FOR_4K and reserved-memory
PD#166821: decrease DEFAULT_TVP_SIZE_FOR_4K and reserved-memory DEFAULT_TVP_SIZE_FOR_4K to 192M codec_mm_cma to 208M ion_reserved to 78M Change-Id: I2fd38f40c242ef531f8cf2226822bed4b0250a4f Signed-off-by: Wencai You <wencai.you@amlogic.com>
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
ion_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x7C00000>;
|
||||
size = <0x0 0x4C00000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* ion_codec_mm max can alloc size 80M*/
|
||||
size = <0x0 0x13400000>;
|
||||
size = <0x0 0xd000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
linux,contiguous-region;
|
||||
};
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#define MM_ALIGN_UP2N(addr, alg2n) ((addr+(1<<alg2n)-1)&(~((1<<alg2n)-1)))
|
||||
|
||||
#define RES_IS_MAPED
|
||||
#define DEFAULT_TVP_SIZE_FOR_4K (256 * SZ_1M)
|
||||
#define DEFAULT_TVP_SIZE_FOR_4K (192 * SZ_1M)
|
||||
#define DEFAULT_TVP_SIZE_FOR_NO4K (160 * SZ_1M)
|
||||
|
||||
#define ALLOC_MAX_RETRY 1
|
||||
|
||||
Reference in New Issue
Block a user