msm: camera: isp: Get CDM callback done timestamp

Get CDM callback done timestamp for LDAR to know
if CDM write delay. And enlarge event monitor
numbers to make sure dump 10+ frames info.

CRs-Fixed: 3430787
Change-Id: If5a1bd925d5d82d1856d880ccb1f4ed9effc5251
Signed-off-by: Wang Kan <quic_wkan@quicinc.com>
This commit is contained in:
Wang Kan
2023-03-13 15:24:48 +08:00
committed by Camera Software Integration
parent 3afe137a81
commit 409a6016d4
7 changed files with 62 additions and 7 deletions

View File

@@ -33,7 +33,7 @@
/*
* Maximum entries in state monitoring array for error logging
*/
#define CAM_ISP_CTX_STATE_MONITOR_MAX_ENTRIES 40
#define CAM_ISP_CTX_STATE_MONITOR_MAX_ENTRIES 84
/*
* Threshold response time in us beyond which a request is not expected
@@ -113,6 +113,7 @@ enum cam_isp_state_change_trigger {
CAM_ISP_STATE_CHANGE_TRIGGER_SEC_EVT_SOF,
CAM_ISP_STATE_CHANGE_TRIGGER_SEC_EVT_EPOCH,
CAM_ISP_STATE_CHANGE_TRIGGER_FRAME_DROP,
CAM_ISP_STATE_CHANGE_TRIGGER_CDM_DONE,
CAM_ISP_STATE_CHANGE_TRIGGER_MAX
};