msm: camera: cdm: Add CDM hang detect and debug registers dump support
Add support to dump the cdm core debug registers and CDM hang detect support for better debugging purpose in case of cdm timeout at config ife. Add a debugfs for CDM command buffer dump for cdm hang events. Fix the possible NULL derefernce while dumping the cdm registers. Turn on debugfs using following command in adb shell: echo 1 >> /sys/kernel/debug/camera_isp_ctx/enable_cdm_cmd_buffer_dump. CRs-Fixed: 2748715, 2782720, 2770565 Change-Id: Ibb9aa1d232d742ca1b6e64c16e9718bfc0bc8624 Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
This commit is contained in:
@@ -114,13 +114,15 @@ enum cam_isp_state_change_trigger {
|
||||
/**
|
||||
* struct cam_isp_ctx_debug - Contains debug parameters
|
||||
*
|
||||
* @dentry: Debugfs entry
|
||||
* @enable_state_monitor_dump: Enable isp state monitor dump
|
||||
* @dentry: Debugfs entry
|
||||
* @enable_state_monitor_dump: Enable isp state monitor dump
|
||||
* @enable_cdm_cmd_buff_dump: Enable CDM Command buffer dump
|
||||
*
|
||||
*/
|
||||
struct cam_isp_ctx_debug {
|
||||
struct dentry *dentry;
|
||||
uint32_t enable_state_monitor_dump;
|
||||
uint8_t enable_cdm_cmd_buff_dump;
|
||||
};
|
||||
|
||||
/**
|
||||
|
مرجع در شماره جدید
Block a user