msm📷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: Rajeev Kulkarni <krajeev@codeaurora.org>
This commit is contained in:
parent
2b2d38068f
commit
062e988276
|
@ -2343,7 +2343,17 @@ 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) {
|
||||
vfe_dev->axi_data.src_info[SRC_TO_INTF(
|
||||
/* 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(
|
||||
stream_info->stream_src)].active = 1;
|
||||
|
|
|
@ -295,6 +295,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 {
|
||||
|
|
Loading…
Reference in New Issue