msm: camera: isp: Add debugfs parameter for state monitor dump

This change adds a debugfs parameter to enable isp context state
monitor dump rather than always print by default. This change
also changes isp context substate to HALT only after stop hw
is complete.

Change-Id: I1025a46e9be63b4ee5808c2eb44672687d901c2e
Signed-off-by: Venkat Chinta <vchinta@codeaurora.org>
This commit is contained in:
Jigarkumar Zala
2019-06-11 11:40:17 -07:00
committed by Gerrit - the friendly Code Review server
parent 7fd239ba24
commit 2c55550c19
2 changed files with 49 additions and 7 deletions

View File

@@ -70,6 +70,18 @@ enum cam_isp_state_change_trigger {
CAM_ISP_STATE_CHANGE_TRIGGER_MAX
};
/**
* struct cam_isp_ctx_debug - Contains debug parameters
*
* @dentry: Debugfs entry
* @enable_state_monitor_dump: Enable isp state monitor dump
*
*/
struct cam_isp_ctx_debug {
struct dentry *dentry;
uint32_t enable_state_monitor_dump;
};
/**
* struct cam_isp_ctx_irq_ops - Function table for handling IRQ callbacks
*