Commit b2896dc1 authored by Hamad Kadmany's avatar Hamad Kadmany Committed by Neha Pandey
Browse files

media: dvb: mpq: Fix contiguous allocation of TSPP output buffer



TSPP output buffer when allocated as physically contiguous to serve
as input to TrustZone should be allocated from QSEECOM heap and not
CP_MM heap since the latter may be locked in secure playback.

Added a module parameter for the heap to allocate the buffer from,
default is QSEECOM. In addition, the existing implementation allocated
TSPP output buffer once for each demux device though is it not one per
demux device but rather one per TSIF, the allocation was moved to be
done once an output channel from specific TSIF is opened.

Change-Id: Ie606c6074a4f78d9f51f0d47697539567a1643cd
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
Signed-off-by: default avatarNeha Pandey <nehap@codeaurora.org>
parent 2c4cd347
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment