Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adsp: lagoon: enarlge adsp cma size to 16M
there are lots of DMA alloc fail from adsprpc, and enlarge the memory according Qcom FAE suggestion: 0-15 08:16:28.815 0 0 E msm_dwc3_perf_vote_work: in_perf_mode:1, interrupts in last sample:2846 0-15 08:16:29.835 0 0 I pm7250b_charger: Defenderault_irq_handler: IRQ: aicl-done 0-15 08:16:30.346 0 0 W fastrpc soc: qcom,msm-adsprpc-mem: swiotlb: coherent allocation failed, size=3145728 0-15 08:16:30.346 0 0 W : CPU: 5 PID: 1594 Comm: adsprpcd Tainted: G S W O 4.19.81-perf+ #1 0-15 08:16:30.346 0 0 W Hardware name: Kiev (DT) 0-15 08:16:30.346 0 0 W Call trace:-- 0-15 08:16:30.346 0 0 W : dump_backtrace+0x0/0x210 0-15 08:16:30.346 0 0 W : show_stack+0x14/0x20 0-15 08:16:30.346 0 0 W : dump_stack+0xc4/0xfc 0-15 08:16:30.346 0 0 W : swiotlb_alloc+0x150/0x158 0-15 08:16:30.346 0 0 W : __dma_alloc+0x128/0x3d8 0-15 08:16:30.346 0 0 W : fastrpc_mmap_create+0x33c/0xa10 0-15 08:16:30.346 0 0 W : fastrpc_internal_mmap+0xe8/0x218 0-15 08:16:30.346 0 0 W : fastrpc_device_ioctl+0x208/0x18f0 0-15 08:16:30.346 0 0 W : do_vfs_ioctl+0x62c/0x9c0 0-15 08:16:30.346 0 0 E adsprpc : adsprpcd: dma_alloc_memory: dma_alloc_attrs failed for size 0x300000, returned 0000000000000000 Qcom case SR: 04880794 Change-Id: I22466958911a9867b51ed07a455b8fc67d7059a2 Reviewed-on: https://gerrit.mot.com/1780625 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Guobin Zhang <[email protected]> Submit-Approved: Jira Key (cherry picked from commit ebc0c76593d02dfbbf08721efbc540df9d971170) Reviewed-on: https://gerrit.mot.com/1781724 Reviewed-by: Xu Zhang <[email protected]> SLTApproved: Xu Zhang <[email protected]> Submit-Approved: Xu Zhang <[email protected]> Tested-by: Xu Zhang <[email protected]> Reviewed-by: Lianlu Chen <[email protected]>
- Loading branch information