]> git.baikalelectronics.ru Git - kernel.git/commit
drm/armada: convert page_flip to use primary plane 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)
commit0347b25a16780163d5290a5554a2077bb2132838
treef875224c918c4570b8260b865d3df38f168ea78d
parent9ef85ab5a0a236412104c10f725045c7a95ed9c2
drm/armada: convert page_flip to use primary plane atomic_update()

page_flip requests happen asynchronously, so we can't wait on the
vblank event before returning to userspace, as the transitional plane
update helper would do.  Craft our own implementation that keeps the
asynchronous behaviour of this request, while making use of the atomic
infrastructure for the primary plane update.

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