drm/i915: enable atomic fb-helper
authorRob Clark <robdclark@gmail.com>
Tue, 25 Aug 2015 19:36:00 +0000 (15:36 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Sep 2015 18:40:03 +0000 (11:40 -0700)
i915 supports enough atomic to have atomic fb-helper paths, even though
it does not yet advertise DRIVER_ATOMIC.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c

index 8c6a6fa460057d38c71fe8f01986cde39f234442..ab2b856d91c3f4209425df0439d72b8ecc72000e 100644 (file)
@@ -689,6 +689,8 @@ int intel_fbdev_init(struct drm_device *dev)
                return ret;
        }
 
+       ifbdev->helper.atomic = true;
+
        dev_priv->fbdev = ifbdev;
        INIT_WORK(&dev_priv->fbdev_suspend_work, intel_fbdev_suspend_worker);