summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-07-21 17:45:49 +0300
committerThierry Reding <treding@nvidia.com>2015-08-13 14:47:22 +0300
commitcdc630b6c677b6d981b368baf44c8b4297adbb09 (patch)
tree47d0428d686d0192a7e9747db8f8f79da7cf1096 /drivers/gpu/drm/tegra
parent15372d4be7f099662dc84e4e35e844bd4373d959 (diff)
downloadlinux-cdc630b6c677b6d981b368baf44c8b4297adbb09.tar.xz
drm/tegra: Allow VBLANK to be disabled
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r--drivers/gpu/drm/tegra/drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c
index 427f50c6803c..497b4a07085d 100644
--- a/drivers/gpu/drm/tegra/drm.c
+++ b/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 */
drm->max_vblank_count = 0xffffffff;
+ drm->vblank_disable_allowed = true;
err = drm_vblank_init(drm, drm->mode_config.num_crtc);
if (err < 0)