drm/omap: set DRIVER_ATOMIC for omapdrm
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Oct 2015 08:10:41 +0000 (11:10 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 31 Dec 2015 09:25:48 +0000 (11:25 +0200)
omapdrm supports atomic modesetting, and it seems to work ok. So let's
set the flag to enable the atomic modesetting API support.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_drv.c

index cc7905566228338c4a513a4e0cf1e9bce64ca645..dfafdb602ad2a058cde0cf416bf32f4b53ccd7bf 100644 (file)
@@ -832,7 +832,8 @@ static const struct file_operations omapdriver_fops = {
 };
 
 static struct drm_driver omap_drm_driver = {
-       .driver_features = DRIVER_MODESET | DRIVER_GEM  | DRIVER_PRIME,
+       .driver_features = DRIVER_MODESET | DRIVER_GEM  | DRIVER_PRIME |
+               DRIVER_ATOMIC,
        .load = dev_load,
        .unload = dev_unload,
        .open = dev_open,