]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:55 +0000 (12:07 +0200)
commit71dc2d615b2cf49bed7db1f57e41adadd782439f
treec1bab2c1e593da5ca7ed41d29ae5db18eb3b7707
parent9fb93b0ab4be668133f0239da32bed5ac9bff1d9
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/vc4/vc4_firmware_kms.c