From 98a44504541c6befb28366eb9ec432ba44070dd9 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 2 Jul 2015 11:20:21 -0500 Subject: [PATCH] drm/vc4: Allow vblank to be disabled Signed-off-by: Derek Foreman Signed-off-by: Eric Anholt --- drivers/gpu/drm/vc4/vc4_kms.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c index ee3e0040b162..2e5597d10cc6 100644 --- a/drivers/gpu/drm/vc4/vc4_kms.c +++ b/drivers/gpu/drm/vc4/vc4_kms.c @@ -51,6 +51,7 @@ int vc4_kms_load(struct drm_device *dev) dev->mode_config.max_height = 2048; dev->mode_config.funcs = &vc4_mode_funcs; dev->mode_config.preferred_depth = 24; + dev->vblank_disable_allowed = true; drm_mode_config_reset(dev); -- 2.20.1