diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2016-05-06 19:26:06 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-05-31 15:15:35 -0700 |
commit | ee7c10e10b632e2319ed1d2d49d63df51a611e62 (patch) | |
tree | e141ffcf4cf4f59b4d48805569de4d7eea2427bf /drivers/gpu/drm/vc4/vc4_kms.c | |
parent | 792293cfd516a173bbd687b4b26da0f97f97abd2 (diff) | |
download | op-kernel-dev-ee7c10e10b632e2319ed1d2d49d63df51a611e62.zip op-kernel-dev-ee7c10e10b632e2319ed1d2d49d63df51a611e62.tar.gz |
drm/vc4: Fix drm_vblank_put/get imbalance in page flip path.
The async page flip path was missing drm_crtc_vblank_get/put
completely. The sync flip path was missing a vblank put, so async
flips only reported proper pageflip completion events by chance,
and vblank irq's never turned off after a first vsync'ed page flip
until system reboot.
Tested against Raspian kernel 4.4.8 tree on RPi 2B.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Fixes: b501bacc6060 ("drm/vc4: Add support for async pageflips.")
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_kms.c')
0 files changed, 0 insertions, 0 deletions