msm: camera: isp: Added CSID recovery mechanism
CSID is not able to recover from the fatal errors like lane overflows, continuous unbound frames or ESD errors. To recover from such errors, it is necessary to restart the sensor as just starting the ISP hw do not make any change as the sensor can still be in bad state. This commit implements tasklet based CSID recovery mechanism. On detecting an error in CSID interrupt, tasklet is scheduled which in turn will call the ISP hw manager to notify the ISP context, from here a notification is sent to CRM to send a message to trigger full recovery. This full recovery includes the sensor release and start. This feature is debugfs based. Based on need this can be turned on. CRs-Fixed: 2642216 Change-Id: Iecf9916d3672d71a1367886cc934b5a2b148f918 Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org> Signed-off-by: Vishalsingh Hajeri <vhajeri@codeaurora.org> Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
9b8cae4b7c
commit
5f7b7386cf
@@ -430,6 +430,8 @@ struct cam_mem_cache_ops_cmd {
|
||||
#define CAM_REQ_MGR_ERROR_TYPE_BUFFER 2
|
||||
#define CAM_REQ_MGR_ERROR_TYPE_RECOVERY 3
|
||||
#define CAM_REQ_MGR_ERROR_TYPE_SOF_FREEZE 4
|
||||
#define CAM_REQ_MGR_ERROR_TYPE_FULL_RECOVERY 5
|
||||
|
||||
|
||||
/**
|
||||
* struct cam_req_mgr_error_msg
|
||||
|
Reference in New Issue
Block a user