]> git.baikalelectronics.ru Git - kernel.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)
commita0f60e2016aa3bbbaecae8c5506d87a0217e2e96
tree79bb02ca5105290ee7a8f440fe34522b846403fe
parent6c1d9c1bf2f87c5363e8bc18f326c6a9e272545c
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