From: Derek Foreman Date: Thu, 2 Jul 2015 16:20:21 +0000 (-0500) Subject: drm/vc4: Allow vblank to be disabled X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=98a44504541c6befb28366eb9ec432ba44070dd9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/vc4: Allow vblank to be disabled Signed-off-by: Derek Foreman Signed-off-by: Eric Anholt --- 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);