MLK-17889 drm/imx: dpu: crtc: Enable irqs before HWs are triggered in ->enable
authorLiu Ying <victor.liu@nxp.com>
Thu, 22 Mar 2018 03:43:46 +0000 (11:43 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:45:55 +0000 (18:45 +0800)
commit8a410fbf5d5e06b9d5440b6ef1ab96090767b8c0
tree428227176025b6c48b7fd695a3503add888d589e
parent4f47e4e45bd89ee56d2e3b59d04017d5733c1bb4
MLK-17889 drm/imx: dpu: crtc: Enable irqs before HWs are triggered in ->enable

We should enable irqs before HWs are triggered in ->enable and then
wait for shadow loads are done, otherwise we would miss the irqs if
the irqs come right after the triggers although it's not very likely
to happen.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/drm/imx/dpu/dpu-crtc.c