MLK-18101-4 gpu: imx: dpu-blit: Refine the first frame irq handle
authorYuchou Gan <yuchou.gan@nxp.com>
Fri, 20 Apr 2018 15:46:22 +0000 (23:46 +0800)
committerYuchou Gan <yuchou.gan@nxp.com>
Fri, 27 Apr 2018 10:00:17 +0000 (18:00 +0800)
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 <yuchou.gan@nxp.com>
drivers/gpu/imx/dpu-blit/dpu-blit.c

index d2f1f22..ae251ec 100644 (file)
@@ -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;
        }