提交 cdc630b6 编写于 作者: T Thierry Reding

drm/tegra: Allow VBLANK to be disabled

Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 15372d4b
...@@ -182,6 +182,7 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags) ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册