summaryrefslogtreecommitdiff
path: root/drivers/gpu/imx
diff options
context:
space:
mode:
authorYuchou Gan <yuchou.gan@nxp.com>2018-05-11 23:53:27 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commitca20cfabdd9d34a66ea5bd041c9e2041d6eb15ec (patch)
treeb5b550bf33216cc86318bb87a7bfd38a6a29c44a /drivers/gpu/imx
parentd46bf3c2951abc2cc2b988ed728a6e2ba7d2624b (diff)
MLK-18283-3 gpu: imx: dpu-blit: sync for cmd sequence finished
As blit engine use cmd sequence and disabled hardware interrupt, sync to wait the cmd sequence idle before execute new cmd sequence Signed-off-by: Yuchou Gan <yuchou.gan@nxp.com>
Diffstat (limited to 'drivers/gpu/imx')
-rw-r--r--drivers/gpu/imx/dpu-blit/dpu-blit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/imx/dpu-blit/dpu-blit.c b/drivers/gpu/imx/dpu-blit/dpu-blit.c
index bac49db2dc71..ef7162a6dbfa 100644
--- a/drivers/gpu/imx/dpu-blit/dpu-blit.c
+++ b/drivers/gpu/imx/dpu-blit/dpu-blit.c
@@ -121,6 +121,8 @@ void dpu_be_configure_prefetch(struct dpu_bliteng *dpu_be,
}
dpu_be_wait(dpu_be);
+ dpu_cs_wait_idle(dpu_be);
+ udelay(10);
if (need_handle_start) {
dprc_first_frame_handle(dprc);