secmem: fix get mem size [2/2]

PD#SWPL-38901

Problem:
Cobalt crash during play widevine.
the root cause is TDK reduce secmem size but the size in secmem allocator
is still 16M

Solution:
Add api to get real remain size in secmem

Verify:
T5D + Buildroot

Change-Id: I569c1a5827b2eb67960a4575824aa61343e8425e
Signed-off-by: Tao Guo <tao.guo@amlogic.com>
2 files changed
tree: d820ec2ce80a79ff3d0f612460c131f15569ee05
  1. gst-aml-drm-plugins-1.0/
  2. Config.in
  3. gst-aml-drm-plugins.mk