From 98d4aacadccd9796b74ce4aa169ddf29f48b7e56 Mon Sep 17 00:00:00 2001 From: Serhiy Katsyuba Date: Mon, 10 Mar 2025 17:39:43 +0100 Subject: [PATCH 1/3] MTL: FPGA: Disable SRAM Retention Disabling SRAM retention improves LPSRAM and HPSRAM access time at the cost of slightly higher power consumption. Signed-off-by: Serhiy Katsyuba --- app/overlays/mtl/fpga_overlay.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/overlays/mtl/fpga_overlay.conf b/app/overlays/mtl/fpga_overlay.conf index eebbfee72648..5338ad654a66 100644 --- a/app/overlays/mtl/fpga_overlay.conf +++ b/app/overlays/mtl/fpga_overlay.conf @@ -1,3 +1,6 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=19200000 CONFIG_DAI_DMIC_HW_IOCLK=19200000 CONFIG_XTENSA_CCOUNT_HZ=40000000 + +# improves LPSRAM and HPSRAM access time +CONFIG_SRAM_RETENTION_MODE=n From 76867022beb62c27191dee79475d1912e3a91993 Mon Sep 17 00:00:00 2001 From: Serhiy Katsyuba Date: Mon, 10 Mar 2025 17:51:31 +0100 Subject: [PATCH 2/3] LNL: FPGA: Disable SRAM Retention Disabling SRAM retention improves LPSRAM and HPSRAM access time at the cost of slightly higher power consumption. Signed-off-by: Serhiy Katsyuba --- app/overlays/lnl/fpga_overlay.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/overlays/lnl/fpga_overlay.conf b/app/overlays/lnl/fpga_overlay.conf index eebbfee72648..5338ad654a66 100644 --- a/app/overlays/lnl/fpga_overlay.conf +++ b/app/overlays/lnl/fpga_overlay.conf @@ -1,3 +1,6 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=19200000 CONFIG_DAI_DMIC_HW_IOCLK=19200000 CONFIG_XTENSA_CCOUNT_HZ=40000000 + +# improves LPSRAM and HPSRAM access time +CONFIG_SRAM_RETENTION_MODE=n From 57792df54f7c02ef4a2c732658908f4a31c4108d Mon Sep 17 00:00:00 2001 From: Serhiy Katsyuba Date: Mon, 10 Mar 2025 17:52:22 +0100 Subject: [PATCH 3/3] PTL: FPGA: Disable SRAM Retention Disabling SRAM retention improves LPSRAM and HPSRAM access time at the cost of slightly higher power consumption. On FPGA, with SRAM retention disabled, KPB draining is 2.5 times faster! Signed-off-by: Serhiy Katsyuba --- app/overlays/ptl/fpga_overlay.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/overlays/ptl/fpga_overlay.conf b/app/overlays/ptl/fpga_overlay.conf index 3fdf9d658c3c..bfcb7eae8819 100644 --- a/app/overlays/ptl/fpga_overlay.conf +++ b/app/overlays/ptl/fpga_overlay.conf @@ -3,3 +3,6 @@ CONFIG_DAI_DMIC_HW_IOCLK=19200000 # limit logs to minimize runtime overhead of logging CONFIG_SOF_LOG_LEVEL_ERR=y + +# improves LPSRAM and HPSRAM access time +CONFIG_SRAM_RETENTION_MODE=n