drm/exynos: Enable atomic modesetting feature
authorGustavo Padovan <[email protected]>
Mon, 24 Aug 2015 11:52:19 +0000 (20:52 +0900)
committerInki Dae <[email protected]>
Sun, 30 Aug 2015 15:27:38 +0000 (00:27 +0900)
From: Gustavo Padovan <[email protected]>

Now that atomic modesetting is implemented for exynos enable the
DRIVER_ATOMIC flag on the driver's features.

Signed-off-by: Gustavo Padovan <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
drivers/gpu/drm/exynos/exynos_drm_drv.c

index 1350c8e2d5878e5e86805b9a4247a5c4dc676c2e..d53e4491460104dbe03ca8951b4d9551df82edb0 100644 (file)
@@ -438,7 +438,8 @@ static const struct file_operations exynos_drm_driver_fops = {
 };
 
 static struct drm_driver exynos_drm_driver = {
-       .driver_features        = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME,
+       .driver_features        = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME
+                                 | DRIVER_ATOMIC,
        .load                   = exynos_drm_load,
        .unload                 = exynos_drm_unload,
        .suspend                = exynos_drm_suspend,