diff options
| author | Harsh Shah <harshs@codeaurora.org> | 2016-04-21 10:56:18 -0700 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-29 11:00:34 -0700 |
| commit | 149dce7c6c3a731f5430edf09e77b25567a20f85 (patch) | |
| tree | c77807f25f4afd68e8cf61097267ee6d8ebf82a5 /include/uapi | |
| parent | 716216089b95b68b5a3a048359109d82651f4b38 (diff) | |
msm: camera: isp: Add drop reporting in RESUMING state
In RESUMING state, WM is stopped causing skip in diverted buffers.
Add drop reporting for these frames, so that modules down stream can
be notified in case of reg_update miss.
CRs-Fixed: 1012335
Change-Id: I67d700c5c844fd6be3bf6ded756fb93e0ebfb537
Signed-off-by: Harsh Shah <harshs@codeaurora.org>
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/media/msmb_isp.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/uapi/media/msmb_isp.h b/include/uapi/media/msmb_isp.h index 7f7ebd3ba21f..e658f4b56df9 100644 --- a/include/uapi/media/msmb_isp.h +++ b/include/uapi/media/msmb_isp.h @@ -719,7 +719,7 @@ struct msm_isp_output_info { /* This structure is piggybacked with SOF event */ struct msm_isp_sof_info { uint8_t regs_not_updated; - /* mask with AXI_SRC for regs not updated */ + /* mask with bufq_handle for regs not updated */ uint16_t reg_update_fail_mask; /* mask with bufq_handle for get_buf failed */ uint32_t stream_get_buf_fail_mask; @@ -727,7 +727,17 @@ struct msm_isp_sof_info { uint16_t stats_get_buf_fail_mask; /* delta between master and slave */ struct msm_isp_ms_delta_info ms_delta_info; + /* + * mask with AXI_SRC in paused state. In PAUSED + * state there is no Buffer output. So this mask is used + * to report drop. + */ + uint16_t axi_updating_mask; + /* extended mask with bufq_handle for regs not updated */ + uint32_t reg_update_fail_mask_ext; }; +#define AXI_UPDATING_MASK 1 +#define REG_UPDATE_FAIL_MASK_EXT 1 struct msm_isp_event_data { /*Wall clock except for buffer divert events |
