]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/armada: use old_state for update tracking in atomic_update()
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 30 Jul 2018 10:52:34 +0000 (11:52 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 30 Jul 2018 10:52:34 +0000 (11:52 +0100)
commit3acea7b9b62c282ea3d4d0cd156ca8e35dfa8a8c
tree79bb02ca5105290ee7a8f440fe34522b846403fe
parent9c41467c9aa5b3916ff559b8c2b3725d6290e5ec
drm/armada: use old_state for update tracking in atomic_update()

Rather than tracking the register state, we can now check the previous
state and decide which registers need updating from that since the old
plane state indicates the previous state which was programmed into the
hardware.

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