drm/msm/dsi: set cmd dma done mask before triggering cmds
Make sure that cmd dma done mask is set before sending dma commands. This will make sure that we don't timeout if the refcnt's are not properly handled. Many oem's have their own customizations around this which maynot handle the refcnt's correctly. Change-Id: If7f5ed1fae20b57f6e9147cae2caa3c5097466c9 Signed-off-by: Vara Reddy <varar@codeaurora.org> Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
This commit is contained in:

committed by
Satya Rama Aditya Pinapala

parent
918f7479dd
commit
294db87b1f
@@ -2677,6 +2677,10 @@ void dsi_ctrl_enable_status_interrupt(struct dsi_ctrl *dsi_ctrl,
|
|||||||
dsi_ctrl->hw.ops.enable_status_interrupts(&dsi_ctrl->hw,
|
dsi_ctrl->hw.ops.enable_status_interrupts(&dsi_ctrl->hw,
|
||||||
dsi_ctrl->irq_info.irq_stat_mask);
|
dsi_ctrl->irq_info.irq_stat_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (intr_idx == DSI_SINT_CMD_MODE_DMA_DONE)
|
||||||
|
dsi_ctrl->hw.ops.enable_status_interrupts(&dsi_ctrl->hw,
|
||||||
|
dsi_ctrl->irq_info.irq_stat_mask);
|
||||||
++(dsi_ctrl->irq_info.irq_stat_refcount[intr_idx]);
|
++(dsi_ctrl->irq_info.irq_stat_refcount[intr_idx]);
|
||||||
|
|
||||||
if (event_info)
|
if (event_info)
|
||||||
|
Reference in New Issue
Block a user