From 4021fd69e9342882430524dfb2481a229e1a1125 Mon Sep 17 00:00:00 2001 From: Yuchou Gan Date: Fri, 20 Apr 2018 23:46:22 +0800 Subject: [PATCH] MLK-18101-4 gpu: imx: dpu-blit: Refine the first frame irq handle As the display will also use dprc0-irq, which will disturb the interrupt for blit engine if blit engine use irq. Refine the first frame process so that blit engine never use irq any more. Signed-off-by: yuchou gan --- drivers/gpu/imx/dpu-blit/dpu-blit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/imx/dpu-blit/dpu-blit.c b/drivers/gpu/imx/dpu-blit/dpu-blit.c index d2f1f22a1695..ae251ec74b2e 100644 --- a/drivers/gpu/imx/dpu-blit/dpu-blit.c +++ b/drivers/gpu/imx/dpu-blit/dpu-blit.c @@ -123,7 +123,7 @@ void dpu_be_configure_prefetch(struct dpu_bliteng *dpu_be, dpu_be_wait(dpu_be); if (need_handle_start) { - dprc_irq_handle(dprc); + dprc_first_frame_handle(dprc); need_handle_start = false; } @@ -140,7 +140,6 @@ void dpu_be_configure_prefetch(struct dpu_bliteng *dpu_be, dprc_reg_update(dprc); if (start) { - dprc_enable_ctrl_done_irq(dprc); need_handle_start = true; } -- 2.17.1