
For usecase with S2-only or TVM buffers, the mapping needs to be done after the SCM call. This is required to ensure the mapping is done to the correct SID. Previously with S2-only usecase, the map was returning the PA which would remain the same, so there were no issues even though the map sequence was incorrect. But this sequence will cause issues with CSF-2.5 as it uses 2-stage with TVM, and requires the mapping to be done after the scm-call. Fix the sequence for legacy secure-camera preview, legacy secure-display and CSF 2.5 solution. Change-Id: Id663d30fdbf8725f43f61e67d2d7ce72aa9f9506 Signed-off-by: Veera Sundaram Sankaran <quic_veeras@quicinc.com>
7.8 KiB
7.8 KiB