msm: camera: smmu: Add support for Camera Security Framework 2.5
Query the CSF version in use from SMMU proxy driver and use noncontiguous system heap in case of CSF 2.5 instead of the contiguous secure display heap. In addition, do not lend the buffer in CSF 2.5. CRs-Fixed: 3424427 Change-Id: I3d5f2402034dd455c304d5726eb9aa8ee2080dcc Signed-off-by: Vijay Kumar Tumati <quic_vtumati@quicinc.com>
Esse commit está contido em:

commit de
Camera Software Integration

pai
8c38f564e3
commit
6dc4887fd9
@@ -89,6 +89,7 @@ struct cam_mem_buf_queue {
|
||||
* @force_cache_allocs: Force all internal buffer allocations with cache
|
||||
* @need_shared_buffer_padding: Whether padding is needed for shared buffer
|
||||
* allocations.
|
||||
* @csf_version: Camera security framework version
|
||||
* @system_heap: Handle to system heap
|
||||
* @system_uncached_heap: Handle to system uncached heap
|
||||
* @camera_heap: Handle to camera heap
|
||||
@@ -104,6 +105,7 @@ struct cam_mem_table {
|
||||
size_t dbg_buf_idx;
|
||||
bool force_cache_allocs;
|
||||
bool need_shared_buffer_padding;
|
||||
struct cam_csf_version csf_version;
|
||||
#if IS_REACHABLE(CONFIG_DMABUF_HEAPS)
|
||||
struct dma_heap *system_heap;
|
||||
struct dma_heap *system_uncached_heap;
|
||||
|
Referência em uma nova issue
Block a user