mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
msm: camera: isp: Add handle function for RUP in bubble
When we wait on Bufdone for Bubble Request in Bubble state, We don't know whether the CDM is hung or Bufdone is delayed. This change prints more information for bubble request to ascertain CDM is in good state. CRs-Fixed: 2705745 Change-Id: I98215904b5665281808e775c97c6747a38eb1081 Signed-off-by: Vishalsingh Hajeri <vhajeri@codeaurora.org>
This commit is contained in:
parent
f4fbab5083
commit
3adf5ea68e
1 changed files with 16 additions and 1 deletions
|
|
@ -3463,6 +3463,21 @@ static int __cam_isp_ctx_rdi_only_sof_in_bubble_state(
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int __cam_isp_ctx_rdi_only_reg_upd_in_bubble_state(
|
||||
struct cam_isp_context *ctx_isp, void *evt_data)
|
||||
{
|
||||
struct cam_ctx_request *req = NULL;
|
||||
struct cam_context *ctx = ctx_isp->base;
|
||||
|
||||
req = list_first_entry(&ctx->active_req_list,
|
||||
struct cam_ctx_request, list);
|
||||
|
||||
CAM_INFO(CAM_ISP, "Received RUP for Bubble Request", req->request_id);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __cam_isp_ctx_rdi_only_reg_upd_in_bubble_applied_state(
|
||||
struct cam_isp_context *ctx_isp, void *evt_data)
|
||||
{
|
||||
|
|
@ -3586,7 +3601,7 @@ static struct cam_isp_ctx_irq_ops
|
|||
.irq_ops = {
|
||||
__cam_isp_ctx_handle_error,
|
||||
__cam_isp_ctx_rdi_only_sof_in_bubble_state,
|
||||
NULL,
|
||||
__cam_isp_ctx_rdi_only_reg_upd_in_bubble_state,
|
||||
NULL,
|
||||
NULL,
|
||||
__cam_isp_ctx_buf_done_in_bubble,
|
||||
|
|
|
|||
Loading…
Reference in a new issue