drm/nouveau/kms: reference vblank for crtc during pageflip.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Wed, 11 Jun 2014 07:51:23 +0000 (09:51 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 17 Jun 2014 04:41:41 +0000 (14:41 +1000)
commitba124a41058b300a5464206d2d33803cc3dc82ec
tree63fd879b9a4254355fcbeb7c85c53acc7b9fa09b
parent86899b39b53bfcfb0c01151c52d4b1272306fc92
drm/nouveau/kms: reference vblank for crtc during pageflip.

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nouveau_display.c