drm/vc4: Fix sending of page flip completion events in FKMS mode.
authorEric Anholt <eric@anholt.net>
Thu, 2 Feb 2017 17:42:18 +0000 (09:42 -0800)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:45:35 +0000 (15:45 +0100)
commit60e6f277fb1d5436217a9156053b803ce3fe04b2
tree8fc2e2c8187954b20138df5cdc20098685f6fda3
parent38228b04f7898a9368a122301ad7aabd036da9de
drm/vc4: Fix sending of page flip completion events in FKMS mode.

In the rewrite of vc4_crtc.c for fkms, I dropped the part of the
CRTC's atomic flush handler that moved the completion event from the
proposed atomic state change to the CRTC's current state.  That meant
that when full screen pageflipping happened (glxgears -fullscreen in
X, compton, por weston), the app would end up blocked firever waiting
to draw its next frame.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_firmware_kms.c