drm/nouveau/kms: reference vblank for crtc during pageflip.

commit ba124a4105 upstream.

Need to drm_vblank_get/put() the crtc involved in a
pending pageflip, or we might not get vblank irqs and
updates of vblank counts and timestamps for pageflip
events and flip completion.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Mario Kleiner 2014-06-11 09:51:23 +02:00 • committed by Greg Kroah-Hartman
commit 095d255a07