video: driver: add dpb buffer handling for b2b ipsc cases
Currently MSM_VIDC_BUF_DPB buffer allocated and queued to firmware as part of output port streamon. Sometimes firmware raises b2b ipsc with only change in fw_min_count. So client will not follow port reconfig sequence and calls directly HFI_CMD_RESUME on output port. So firmware holds only prev set of DPB buffers, which is not sufficient and it continues to wait for further DPB buffers and that is leading to stall and testcase fails. So added change to requeue new set of DPB buffers, incase of b2b ipsc(with only change in count). Change-Id: I213c752be4ca9dc16f838ab2990c996c4d78e95f Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
@@ -282,6 +282,8 @@ const char *allow_name(enum msm_vidc_allow allow);
|
||||
const char *state_name(enum msm_vidc_inst_state state);
|
||||
int msm_vidc_change_inst_state(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_inst_state request_state, const char *func);
|
||||
int msm_vidc_create_internal_buffer(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_buffer_type buffer_type, u32 index);
|
||||
int msm_vidc_get_internal_buffers(struct msm_vidc_inst *inst,
|
||||
enum msm_vidc_buffer_type buffer_type);
|
||||
int msm_vidc_create_internal_buffers(struct msm_vidc_inst *inst,
|
||||
|
Reference in New Issue
Block a user