msm: camera: common: Add buffer send and receive mechanism

Add packet based buffer send and retrieve mechanism for
presil testing.

CRs-Fixed: 2932495
Change-Id: Ifd1e0fdb8b12feabb884e02a07a3813db01a3899
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
This commit is contained in:
Mukund Madhusudan Atre
2021-07-12 20:47:38 -07:00
committed by Gerrit - the friendly Code Review server
parent 37de6613a8
commit 5dba22d1fc
31 changed files with 324 additions and 37 deletions

View File

@@ -209,7 +209,7 @@ static int cam_icp_component_bind(struct device *dev,
for (i = 0; i < CAM_ICP_CTX_MAX; i++) {
g_icp_dev.ctx_icp[i].base = &g_icp_dev.ctx[i];
rc = cam_icp_context_init(&g_icp_dev.ctx_icp[i],
hw_mgr_intf, i);
hw_mgr_intf, i, iommu_hdl);
if (rc) {
CAM_ERR(CAM_ICP, "ICP context init failed");
goto ctx_fail;