Sfoglia il codice sorgente

drm/tegra: Allow VBLANK to be disabled

Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding 10 anni fa
parent
commit
cdc630b6c6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      drivers/gpu/drm/tegra/drm.c

+ 1 - 0
drivers/gpu/drm/tegra/drm.c

@@ -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 */
 	/* syncpoints are used for full 32-bit hardware VBLANK counters */
 	drm->max_vblank_count = 0xffffffff;
 	drm->max_vblank_count = 0xffffffff;
+	drm->vblank_disable_allowed = true;
 
 
 	err = drm_vblank_init(drm, drm->mode_config.num_crtc);
 	err = drm_vblank_init(drm, drm->mode_config.num_crtc);
 	if (err < 0)
 	if (err < 0)