drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()
authorStefan Agner <stefan@agner.ch>
Fri, 10 Nov 2017 09:15:28 +0000 (10:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Dec 2017 12:40:37 +0000 (13:40 +0100)
commitbacbe44889828852678bc74ad0e942a7684f206f
tree4db2d523eedef0a2a9033ba842d95855a206fe57
parentc8111b1885d3a802e57f895e77aaa1e88de57282
drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume()

commit 9fd99f4f3f5e13ce959900ae57d64b1bdb51d823 upstream.

The resume helpers wait for a vblank to occurre hence IRQ need
to be enabled. This avoids a warning as follows during resume:
  WARNING: CPU: 0 PID: 314 at drivers/gpu/drm/drm_atomic_helper.c:1249 drm_atomic_helper_wait_for_vblanks.part.1+0x284/0x288
  [CRTC:28:crtc-0] vblank wait timed out

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c