Re: [PATCH] remoteproc: mediatek: Increase MT8188 SCP core0 DRAM size

From: AngeloGioacchino Del Regno
Date: Thu Jun 06 2024 - 07:00:23 EST


Il 06/06/24 11:06, jason-ch chen ha scritto:
From: Jason Chen <Jason-ch.Chen@xxxxxxxxxxxx>

Increase MT8188 SCP core0 DRAM size for HEVC driver.


....so the second core only gets a maximum of 0x200000 of SRAM?
I'm not sure how useful is the secondary SCP core, at this point, with so little
available SRAM but... okay, as you wish.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>


Signed-off-by: Jason Chen <Jason-ch.Chen@xxxxxxxxxxxx>
---
drivers/remoteproc/mtk_scp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/remoteproc/mtk_scp.c b/drivers/remoteproc/mtk_scp.c
index b885a9a041e4..2119fc62c3f2 100644
--- a/drivers/remoteproc/mtk_scp.c
+++ b/drivers/remoteproc/mtk_scp.c
@@ -1390,7 +1390,7 @@ static const struct mtk_scp_sizes_data default_scp_sizes = {
};
static const struct mtk_scp_sizes_data mt8188_scp_sizes = {
- .max_dram_size = 0x500000,
+ .max_dram_size = 0x800000,
.ipi_share_buffer_size = 600,
};