Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8791e16b authored by Rajeev Kulkarni's avatar Rajeev Kulkarni
Browse files

msm:camera:isp: Sync Raw & Pixel frame IDs in case of offline ISP



Incase of offline isp Raw frame ID need to synchronized  with
pixel frame id.

Change-Id: I95280fd96855a4dedb9cb0c64014e08beb4661f0
Signed-off-by: default avatarRajeev Kulkarni <krajeev@codeaurora.org>
parent 1c6b02e6
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -2428,6 +2428,16 @@ static int msm_isp_start_axi_stream(struct vfe_device *vfe_dev,
			if (SRC_TO_INTF(stream_info->stream_src) >= VFE_RAW_0 &&
				SRC_TO_INTF(stream_info->stream_src) <
				VFE_SRC_MAX) {
				/* Incase PIX and RDI streams are part of same
				 * session, this will ensure RDI stream will
				 * have same frame id as of PIX stream
				 */
				if (stream_cfg_cmd->sync_frame_id_src)
					vfe_dev->axi_data.src_info[SRC_TO_INTF(
					stream_info->stream_src)].frame_id =
					vfe_dev->axi_data.src_info[VFE_PIX_0]
					.frame_id;
				else
					vfe_dev->axi_data.src_info[SRC_TO_INTF(
					stream_info->stream_src)].frame_id = 0;
				vfe_dev->axi_data.src_info[SRC_TO_INTF(
+1 −0
Original line number Diff line number Diff line
@@ -296,6 +296,7 @@ struct msm_vfe_axi_stream_cfg_cmd {
	uint8_t num_streams;
	uint32_t stream_handle[VFE_AXI_SRC_MAX];
	enum msm_vfe_axi_stream_cmd cmd;
	uint8_t sync_frame_id_src;
};

enum msm_vfe_axi_stream_update_type {