msm: camera: isp: Buffer alignment support for TFE WM

This change is added to support buffer alignment for TFE
WM in x and y axis. This change is required in SHDR usecase to
align short exposure frame with long exposure frame.

CRs-Fixed: 3538642
Change-Id: I9a3d35d0884bfbd6f62034b207e5784fdf2f7430
Signed-off-by: Ayush Kumar <quic_ayushkr@quicinc.com>
这个提交包含在:
Ayush Kumar
2023-06-08 18:07:46 +05:30
提交者 Alok Chauhan
父节点 fe4bd2e6a1
当前提交 bfbfc5d3d4
修改 6 个文件,包含 184 行新增10 行删除

查看文件

@@ -2008,12 +2008,15 @@ static int __cam_isp_ctx_handle_buf_done_for_request(
}
if (!req_isp->bubble_detected) {
handle_type = __cam_isp_resource_handle_id_to_type(
ctx_isp->isp_device_type,
req_isp->fence_map_out[j].resource_handle);
CAM_DBG(CAM_ISP,
"Sync with success: req %lld res 0x%x fd 0x%x, ctx %u link: 0x%x",
"Sync with success: req %lld res 0x%x fd 0x%x, ctx %u link: 0x%x port %s",
req->request_id,
req_isp->fence_map_out[j].resource_handle,
req_isp->fence_map_out[j].sync_id,
ctx->ctx_id, ctx->link_hdl);
ctx->ctx_id, ctx->link_hdl, handle_type);
cam_smmu_buffer_tracker_buffer_putref(
req_isp->fence_map_out[j].buffer_tracker);