summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/cmem.inc
Commit message (Collapse)AuthorAgeFilesLines
* cmem: Adding am5729 beagleboneai CMEM configurationCaleb Robey2019-12-091-2/+4
| | | | | | | | | CMEM memory block for bbai should be 402MB to allow full EVE acceleration and DSP use, but accounting for the BBAI only having 1GB of RAM. Signed-off-by: Caleb Robey <c-robey@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* cmem: am5729idk has specific CMEM cfg increased to 512MBDjordje Senicic2019-12-091-4/+5
| | | | | | | - CMEM memory block increased to 512MB to enable TIDL using 4xEVE and 2xDSP Signed-off-by: Djordje Senicic <x0157990@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* cmem: Add CMEM 384MB block to dra76xx to enable opencl and tidlDjordje Senicic2019-06-201-2/+4
| | | | | Signed-off-by: Djordje Senicic <x0157990@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* cmem.inc: add arm64 support for cmem injectionDenys Dmytriyenko2019-01-091-2/+5
| | | | | | | | | | | | Since cmem 4.16 now supports arm64, update cmem injection code accordingly to work with arm64 DTS files. Cc: Sam Nelson <sam.nelson@ti.com> Cc: Jacob Stiffler <j-stiffler@ti.com> Cc: Suman Anna <s-anna@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Reviewed-by: Suman Anna <s-anna@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux: cmem: add am574x injection for am57xx-hs-evmJacob Stiffler2018-12-061-1/+1
| | | | | Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux-ti-staging: Increase CMEM for am574x onlyDjordje Senicic2018-08-221-0/+1
| | | | | | | * CMEM increased to 384MB is required by TIDL to run both DSP and EVEs concurrently Signed-off-by: Djordje Senicic <x0157990@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* meta-ti: cleanup use of d.getVar()Denys Dmytriyenko2018-07-101-8/+8
| | | | | | | | 1. drop use of True as second parameter, which is default, to align with master 2. there were instances of incorrectly passing 'd' as second parameter from previous conversion from bb.data.getVar() usage Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux: cmem: update device trees for kernel 4.14Jacob Stiffler2018-05-021-6/+4
| | | | | Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux: cmem: flag dependent variablesJacob Stiffler2018-05-021-0/+6
| | | | | | | * Flag variables used in setup_cmem to force it to re-run when one changes. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux: cmem: add support for am574xHongmei Gou2017-12-051-1/+2
| | | | | Signed-off-by: Hongmei Gou <a0271529@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux: cmem: update KERNEL_DEVICETREE listsJacob Stiffler2017-06-131-5/+7
| | | | | | | | * Update the device tree lists with the latest DTB names from the machine configuration. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* cmem.inc: only mangle SRC_URI in do_unpack instead of anon functionDenys Dmytriyenko2016-12-211-1/+2
| | | | | | Avoid taskhash mismatch errors. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* cmem: add support for memory carveouts of dra71 variantDenys Dmytriyenko2016-12-091-2/+4
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* Revert "linux/cmem: patch keystone dtsi files to co-exist with new sram driver"Sam Nelson2016-12-061-3/+0
| | | | | | This reverts commit b9dbc83d7663d5517fd9cbcf4bb651e039f134a4. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux/cmem: patch keystone dtsi files to co-exist with new sram driverDenys Dmytriyenko2016-11-181-0/+3
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* cmem: add special handling for dra72x variantDenys Dmytriyenko2016-11-151-1/+6
| | | | Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux: add new method for cmem injectionJacob Stiffler2016-09-161-12/+66
| | | | | | | | | * Add new method to perform CMEM DT injection as it is required to customize at a finer level than machine. * Now CMEM injection can be performed per DT. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux: cmem.inc: Implement way to configure more complex CMEM configJacob Stiffler2015-10-291-7/+2
| | | | | | | | | | * Supply the entire cmem.dtsi per machine - Disabled by default - Currently only supported for dra7xx and k2hk-evm * Enable by setting RESERVE_CMEM = "1" Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
* linux/cmem.inc: Support reserving memory for CMEM.Jacob Stiffler2015-05-191-0/+23
To reserve contiguous memory for CMEM: * include the "recipes-kernel/linux/cmem.inc" * Set CMEM_BASE and CMEM_SIZE to the physical memory address and size, respectively, to reserve for CMEM. Currently limited to reserving a single memory region used to create a single buffer pool of a single buffer. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>