drm/armada: use drm_plane_helper_check_state()
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 8 Jul 2017 09:22:20 +0000 (10:22 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 8 Dec 2017 12:19:56 +0000 (12:19 +0000)
commit7bfab1ec45b4005d3f12bbb0cc281f0afd29fc3d
treefbfa68274a2fe8cf2c2c08a7033ccccfd0e6a954
parent73c51abd9d9371bc02a8c6717b9758bdee38b20e
drm/armada: use drm_plane_helper_check_state()

Use drm_plane_helper_check_state() to check the overlay plane state
rather than drm_plane_helper_check_update(), as:

(1) using drm_plane_helper_check_state() provides a better migration
    path to atomic modeset
(2) it avoids needless copies of drm rectangle structures, and so is
    more efficient.

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