disp: msm: dsi: Send report_panel_dead in underflow or overflow cases

In the case of DSI underflow or overflow, skip enabling back the DSI error
interrupts and instead send panel_dead. The error interrupt will be enabled
later by HAL as part of handling panel_dead event. Not enabling back the
DSI error interrupts immediately can prevent IRQ storm from occurring.

Change-Id: I769872bb5ac9ef8826c3e4caaab7723901dfc7d8
Signed-off-by: Rohith Iyer <quic_rohiiyer@quicinc.com>
这个提交包含在:
Rohith Iyer
2023-07-12 15:21:06 -07:00
父节点 17ec75404a
当前提交 5413180441
修改 5 个文件,包含 37 行新增4 行删除

查看文件

@@ -848,4 +848,11 @@ int dsi_display_update_transfer_time(void *display, u32 transfer_time);
*/
int dsi_display_get_panel_scan_line(void *display, u16 *scan_line, ktime_t *scan_line_ts);
/**
* dsi_display_report_dead() - report panel dead and cancel work queue
* @display: handle to display
*
*/
void dsi_display_report_dead(struct dsi_display *display);
#endif /* _DSI_DISPLAY_H_ */