forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memory: move some code and data to DRAM
A lot of code isn't performance-critical and can be used directly in DRAM, without being copied into scarce SRAM. This commit selects two functions as first candidates for that. Moving data to DRAM is more difficult. The largest data blobs are audio processing coefficients and they're usually used during audio processing, i.e. when performance is critical. A good candidate for such data relocation is the src component, which has many coefficient sets, of which only some are used at run-time. Follow up work will switch to keeping all src coefficients in DRAM and only copying used ones into dynamically allocated SRAM buffers. This commit only moves several conversion function selection arrays into DRAM. Those arrays are small so this won't free a lot of SRAM, but at least this will serve as the first test. Signed-off-by: Guennadi Liakhovetski <[email protected]>
- Loading branch information
Showing
7 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters