drm/armada: move overlay plane work out from under spinlock
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 8 Jul 2017 09:16:48 +0000 (10:16 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 8 Dec 2017 12:18:46 +0000 (12:18 +0000)
commita3f6a18f9a74b64209f8ab957dd94ade8bf5a7b2
tree3b864dcbd95f86aed5103a5819f30bc9c5fbe960
parentd76dcc7236b8b1b8c2c61b380e7d803d47b20ffa
drm/armada: move overlay plane work out from under spinlock

Move the overlay plane work out from under the spinlock so that both the
primary and overlay planes run their work in the same context.  This is
necessary so that we can use frame works with the overlay plane.

However, we must update the CRTC registers under the spinlock, so fix up
the overlay code for that.

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