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
@@ -6801,13 +6801,15 @@ static void dsi_display_handle_fifo_underflow(struct work_struct *work)
|
||||
return;
|
||||
}
|
||||
|
||||
DSI_DEBUG("handle DSI FIFO underflow error\n");
|
||||
DSI_INFO("handle DSI FIFO underflow error\n");
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
|
||||
|
||||
dsi_display_clk_ctrl(display->dsi_clk_handle,
|
||||
DSI_ALL_CLKS, DSI_CLK_ON);
|
||||
dsi_display_soft_reset(display);
|
||||
dsi_display_clk_ctrl(display->dsi_clk_handle,
|
||||
DSI_ALL_CLKS, DSI_CLK_OFF);
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_EXIT);
|
||||
|
||||
mutex_unlock(&display->display_lock);
|
||||
}
|
||||
@@ -6840,7 +6842,9 @@ static void dsi_display_handle_fifo_overflow(struct work_struct *work)
|
||||
return;
|
||||
}
|
||||
|
||||
DSI_DEBUG("handle DSI FIFO overflow error\n");
|
||||
DSI_INFO("handle DSI FIFO overflow error\n");
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
|
||||
|
||||
dsi_display_clk_ctrl(display->dsi_clk_handle,
|
||||
DSI_ALL_CLKS, DSI_CLK_ON);
|
||||
|
||||
@@ -6886,6 +6890,8 @@ static void dsi_display_handle_fifo_overflow(struct work_struct *work)
|
||||
end:
|
||||
dsi_display_clk_ctrl(display->dsi_clk_handle,
|
||||
DSI_ALL_CLKS, DSI_CLK_OFF);
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_EXIT);
|
||||
|
||||
mutex_unlock(&display->display_lock);
|
||||
}
|
||||
|
||||
@@ -6917,7 +6923,8 @@ static void dsi_display_handle_lp_rx_timeout(struct work_struct *work)
|
||||
return;
|
||||
}
|
||||
|
||||
DSI_DEBUG("handle DSI LP RX Timeout error\n");
|
||||
DSI_INFO("handle DSI LP RX Timeout error\n");
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_ENTRY);
|
||||
|
||||
dsi_display_clk_ctrl(display->dsi_clk_handle,
|
||||
DSI_ALL_CLKS, DSI_CLK_ON);
|
||||
@@ -6964,6 +6971,8 @@ static void dsi_display_handle_lp_rx_timeout(struct work_struct *work)
|
||||
end:
|
||||
dsi_display_clk_ctrl(display->dsi_clk_handle,
|
||||
DSI_ALL_CLKS, DSI_CLK_OFF);
|
||||
SDE_EVT32(SDE_EVTLOG_FUNC_EXIT);
|
||||
|
||||
mutex_unlock(&display->display_lock);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user