disp: msm: dsi: skip clearing dynamic refresh done status in dsi ctrl ISR

After triggering dynamic refresh, if there is any dsi_ctrl_isr, dynamic
refresh done status also gets cleared as part of it. Because of this,
wait4dynamic_refresh_done timeout error is seen even though dynamic
refresh is done successfully.

Change-Id: I39b42c60d15d9cb0557669f95ff2ed83989f9cd3
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
This commit is contained in:
Ritesh Kumar
2022-11-15 09:15:37 +05:30
committed by Srihitha Tangudu
parent e0174ecff9
commit 62ef8daba0

View File

@@ -1204,11 +1204,12 @@ void dsi_ctrl_hw_cmn_clear_interrupt_status(struct dsi_ctrl_hw *ctrl, u32 ints)
reg |= BIT(30); reg |= BIT(30);
/* /*
* Do not clear error status. * Do not clear error status. It will be cleared as part of error handler function.
* It will be cleared as part of * Do not clear dynamic refresh done status. It will be cleared as part of
* error handler function. * wait4dynamic_refresh_done() function.
*/ */
reg &= ~BIT(24); reg &= ~(BIT(24) | BIT(28));
DSI_W32(ctrl, DSI_INT_CTRL, reg); DSI_W32(ctrl, DSI_INT_CTRL, reg);
DSI_CTRL_HW_DBG(ctrl, "Clear interrupts, ints = 0x%x, INT_CTRL=0x%x\n", DSI_CTRL_HW_DBG(ctrl, "Clear interrupts, ints = 0x%x, INT_CTRL=0x%x\n",