drm/tegra: dc: Add missing call to drm_vblank_on()
authorThierry Reding <treding@nvidia.com>
Wed, 8 Oct 2014 12:48:51 +0000 (14:48 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 13:07:50 +0000 (14:07 +0100)
When the CRTC is enabled, make sure the VBLANK machinery is enabled.
Failure to do so will cause drm_vblank_get() to not enable the VBLANK on
the CRTC and VBLANK-synchronized page-flips won't work.

While at it, get rid of the legacy drm_vblank_pre_modeset() and
drm_vblank_post_modeset() calls that are replaced by drm_vblank_on()
and drm_vblank_off().

Reported-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

No differences found