drm/armada: wait and cancel any pending frame work at disable
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 7 Jul 2017 14:56:24 +0000 (15:56 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 8 Dec 2017 12:17:24 +0000 (12:17 +0000)
commit65724a19438ce50a7cf85bc2d3172ea237ab05de
treee77d6b1991746f23c6e554e4873a2e5bce8374d6
parent2839d45c7d92a521364347dbd023d218a5913e26
drm/armada: wait and cancel any pending frame work at disable

Wait for a second, and if we time out, cancel any pending work when
disabling the primary plane.  This ensures that any pending work is
completed or cleaned up prior to the disable taking effect.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/armada/armada_crtc.c
drivers/gpu/drm/armada/armada_overlay.c