drm/tegra: Allow VBLANK to be disabled
authorThierry Reding <treding@nvidia.com>
Tue, 21 Jul 2015 14:45:49 +0000 (16:45 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 11:47:22 +0000 (13:47 +0200)
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c

index 427f50c6803cba7d3ed5424547ac7c812d6bb536..497b4a07085dcfc891ea4a200424b289299f2aae 100644 (file)
@@ -182,6 +182,7 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags)
 
        /* syncpoints are used for full 32-bit hardware VBLANK counters */
        drm->max_vblank_count = 0xffffffff;
+       drm->vblank_disable_allowed = true;
 
        err = drm_vblank_init(drm, drm->mode_config.num_crtc);
        if (err < 0)