disp: msm: dsi: add new function to cleanup post command transfer
Currently we are always doing command transfer cleanup which includes disabling command engine, clocks, gdsc and unmasking overflow interrupt as part of post command transfer function only after CMD DMA wait is done. Cleanup should also be done if an ESD failure happens before kickoff of a batch command. Organize code so that command transfer cleanup can be done irrespective of whether command kickoff is done or not. Change-Id: Ieb92daa7f5da62c16c71f1b23ceff20adfbf3621 Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
8ef80f7cf4
commit
ddb854d52d
@@ -946,4 +946,10 @@ int dsi_ctrl_get_io_resources(struct msm_io_res *io_res);
|
||||
* dsi_ctrl_toggle_error_interrupt_status() - Toggles error interrupt status
|
||||
*/
|
||||
void dsi_ctrl_toggle_error_interrupt_status(struct dsi_ctrl *dsi_ctrl, bool enable);
|
||||
|
||||
/**
|
||||
* dsi_ctrl_transfer_cleanup() - Clean up post command transfer
|
||||
* @dsi_ctrl: DSI controller handle.
|
||||
*/
|
||||
void dsi_ctrl_transfer_cleanup(struct dsi_ctrl *dsi_ctrl);
|
||||
#endif /* _DSI_CTRL_H_ */
|
||||
|
Reference in New Issue
Block a user