]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/i915/i915_dma.c
drm: Make vblank_disable_allowed bool
[karo-tx-linux.git] / drivers / gpu / drm / i915 / i915_dma.c
index 512645fdaff5f2d28487b41df4ea6ced0a65bbf5..93cbacba26a212ca3466a0097fd2d547e8f0065b 100644 (file)
@@ -1330,7 +1330,7 @@ static int i915_load_modeset_init(struct drm_device *dev)
 
        /* Always safe in the mode setting case. */
        /* FIXME: do pre/post-mode set stuff in core KMS code */
-       dev->vblank_disable_allowed = 1;
+       dev->vblank_disable_allowed = true;
        if (INTEL_INFO(dev)->num_pipes == 0)
                return 0;