summaryrefslogtreecommitdiff
path: root/include/linux/livepatch.h
diff options
context:
space:
mode:
authorPadmanabhan Komanduru <pkomandu@codeaurora.org>2014-11-17 13:22:47 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:36:13 -0700
commit2ceb2d0ec04ea4eff858f594753941c1378a0b34 (patch)
treea7f31a5dbd0f6966e9731e8a075aee8cbc17a983 /include/linux/livepatch.h
parent4518cd302d95da81e47af1be3d97806f3fcc89f0 (diff)
msm: mdss: avoid corner cases with DSI_INT_CTRL register read/write
To enable/disable a particular interrupt mask for DSI, we currently read the DSI_INT_CTRL register and add/remove the interrupt mask on top of the current register value. With this approach, we sometimes clear some interrupts without handling them. Handle this case by writing back only the required interrupt mask bits to the DSI_INT_CTRL register. Below is an instance of such issue when a DSI register read operation is performed. <3>[ 342.509070] mdss_dsi_isr: ndx=0 isr=3200002 -> At first, DSI error interrupt is received. <3>[ 342.512239] mdss_dsi_err_intr_ctrl: intr=1310003 enable=0 -> During DSI_INT_CTRL read/write operation, we clear the CMD_DMA_DONE interrupt which arrives few milli seconds after DSI error interrupt. <3>[ 342.517620] mdss_dsi_fifo_status: status=44441000 <3>[ 342.522351] mdss_dsi_timeout_status: status=1 <3>[ 342.526980] mdss_dsi_err_intr_ctrl: intr=3210002 enable=1 <3>[ 342.693365] mdss_dsi_cmds_rx: failed to tx cmd = 0xa -> This causes a CMD DMA timeout even though the CMD_DMA_DONE interrupt arrived. Change-Id: I82ba142d4da4ae5f4a1a2761c32b8af7964b538b Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Diffstat (limited to 'include/linux/livepatch.h')
0 files changed, 0 insertions, 0 deletions