]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit8ff64c17f3bec8cdafc68461532e273babe2a605
tree83755dd5a3c6c4250c1d06e0725557465aeae363
parentf114040e3ea6e07372334ade75d1ee0775c355e1
drm/tegra: dc: Add missing call to drm_vblank_on()

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>
drivers/gpu/drm/tegra/dc.c