drm/vc4: Allow vblank to be disabled
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 2 Jul 2015 16:20:21 +0000 (11:20 -0500)
committerEric Anholt <eric@anholt.net>
Wed, 21 Oct 2015 09:33:13 +0000 (10:33 +0100)
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_kms.c

index ee3e0040b1625e70be24c97aede5b58a89717ab5..2e5597d10cc629e08ccde726a64d6e36da69a48f 100644 (file)
@@ -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);