From: Yuchou Gan Date: Fri, 20 Apr 2018 15:46:22 +0000 (+0800) Subject: MLK-18101-4 gpu: imx: dpu-blit: Refine the first frame irq handle X-Git-Tag: C0P2-H0.0--20200415~44 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=4021fd69e9342882430524dfb2481a229e1a1125;p=linux.git 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 --- 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; }