commit | aa81eec8a36e750636ec7caee8bc30082105817d | [log] [tgz] |
---|---|---|
author | yongchun.li <yongchun.li@amlogic.com> | Wed Aug 26 23:37:11 2020 -0700 |
committer | yongchun.li <yongchun.li@amlogic.com> | Fri Aug 28 17:01:11 2020 -0700 |
tree | 6f7144982b4312de8e29d9970ffd67068605095c | |
parent | 632365ed969144ffce5baa94ca4ceea31a65f135 [diff] |
qsecmemallocator: add API to get available sec buffer size [1/1] PD#SWPL-31275 Problem: secure memory could be used up when upper layer continue feeding then cause error. need upper layer know how much space available Solution: Implement used memory size in buffer pool Add get_free_buf_size() API. Verify: U212 + RDK + Youtube "free to watch with ads" movies Change-Id: I5773b27f2f9ce1dcb23ee87abf6d0cb930f3eb0e Signed-off-by: yongchun.li <yongchun.li@amlogic.com>