diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2015-07-02 19:20:21 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-10-21 12:33:13 +0300 |
commit | 98a44504541c6befb28366eb9ec432ba44070dd9 (patch) | |
tree | cce8b937923eead3e3075c067fc176276e88d31d /drivers/gpu/drm/vc4/vc4_kms.c | |
parent | 48666d56312b337ff3f04451bf6c3f014fee1eeb (diff) | |
download | linux-98a44504541c6befb28366eb9ec432ba44070dd9.tar.xz |
drm/vc4: Allow vblank to be disabled
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_kms.c')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_kms.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |