disp: msm: dsi: remove dsi FIFO error logs from dsi ISR
Lots of dsi FIFO error logs were printed into serial in dsi ISR. It will make device stuck or deadlock. Remove these logs from dsi ISR, and enable the log in FIFO error workqueue handler. Change-Id: I0e9b2312cb76d345ec5a9b9628c52b47d5163fde Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
d78fbd1952
commit
922e8addd8
@@ -2419,7 +2419,9 @@ static bool dsi_ctrl_check_for_spurious_error_interrupts(
|
||||
|
||||
if ((jiffies_now - dsi_ctrl->jiffies_start) < intr_check_interval) {
|
||||
if (dsi_ctrl->error_interrupt_count > interrupt_threshold) {
|
||||
DSI_CTRL_WARN(dsi_ctrl, "Detected spurious interrupts on dsi ctrl\n");
|
||||
SDE_EVT32_IRQ(dsi_ctrl->cell_index,
|
||||
dsi_ctrl->error_interrupt_count,
|
||||
interrupt_threshold);
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
@@ -2467,7 +2469,6 @@ static void dsi_ctrl_handle_error_status(struct dsi_ctrl *dsi_ctrl,
|
||||
0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
DSI_CTRL_ERR(dsi_ctrl, "tx timeout error: 0x%lx\n", error);
|
||||
}
|
||||
|
||||
/* DSI FIFO OVERFLOW error */
|
||||
@@ -2483,8 +2484,6 @@ static void dsi_ctrl_handle_error_status(struct dsi_ctrl *dsi_ctrl,
|
||||
cb_info.event_idx,
|
||||
dsi_ctrl->cell_index,
|
||||
0, 0, 0, 0);
|
||||
DSI_CTRL_ERR(dsi_ctrl, "dsi FIFO OVERFLOW error: 0x%lx\n",
|
||||
error);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2497,8 +2496,6 @@ static void dsi_ctrl_handle_error_status(struct dsi_ctrl *dsi_ctrl,
|
||||
dsi_ctrl->cell_index,
|
||||
0, 0, 0, 0);
|
||||
}
|
||||
DSI_CTRL_ERR(dsi_ctrl, "dsi FIFO UNDERFLOW error: 0x%lx\n",
|
||||
error);
|
||||
}
|
||||
|
||||
/* DSI PLL UNLOCK error */
|
||||
|
Reference in New Issue
Block a user