drm/vc4: Add support for async pageflips.
authorEric Anholt <eric@anholt.net>
Mon, 30 Nov 2015 20:34:01 +0000 (12:34 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 8 Dec 2015 04:10:03 +0000 (20:10 -0800)
commitb501bacc6060fd62654b756469cc3091eb53de3a
tree299d70d456d4b125f16207c6aac4d93c3fbd0333
parentd5b1a78a772f1e31a94f8babfa964152ec5e9aa5
drm/vc4: Add support for async pageflips.

An async pageflip stores the modeset to be done and executes it once
the BOs are ready to be displayed.  This gets us about 3x performance
in full screen rendering with pageflipping.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_gem.c
drivers/gpu/drm/vc4/vc4_kms.c
drivers/gpu/drm/vc4/vc4_plane.c