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

Commit 0b8185b7 authored by Peter Liu's avatar Peter Liu
Browse files

msm: camera: set src state and frame id



Liveshot RDI case we need to match frame id and meta buffer.
Give userspace the flexibility to
reset the frame id from any input src.

Change-Id: Iae9518e3028fc6617c3ce7a6f94c1ce69968d386
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
parent 408d933c
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1524,6 +1524,8 @@ int msm_isp_set_src_state(struct vfe_device *vfe_dev, void *arg)
		return -EINVAL;
		return -EINVAL;
	vfe_dev->axi_data.src_info[src_state->input_src].active =
	vfe_dev->axi_data.src_info[src_state->input_src].active =
	src_state->src_active;
	src_state->src_active;
	vfe_dev->axi_data.src_info[src_state->input_src].frame_id =
	src_state->src_frame_id;
	return 0;
	return 0;
}
}


+1 −0
Original line number Original line Diff line number Diff line
@@ -395,6 +395,7 @@ struct msm_isp_qbuf_info {
struct msm_vfe_axi_src_state {
struct msm_vfe_axi_src_state {
	enum msm_vfe_input_src input_src;
	enum msm_vfe_input_src input_src;
	uint32_t src_active;
	uint32_t src_active;
	uint32_t src_frame_id;
};
};


enum msm_isp_event_idx {
enum msm_isp_event_idx {