drm: atmel-hlcdc: add the missing DRM_ATOMIC flag
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 31 Jul 2015 13:10:26 +0000 (15:10 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 18 Aug 2015 09:02:26 +0000 (11:02 +0200)
The atmel-hlcdc driver already supports atomic operations, add the
missing DRM_ATOMIC flag to expose the atomic features to userspace.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c

index 4bb9462d9884a13ec6bcec0054e2a5c85e4626ca..3555e35e25a19041194b08dbb0d9d9b89588c821 100644 (file)
@@ -486,7 +486,8 @@ static const struct file_operations fops = {
 
 static struct drm_driver atmel_hlcdc_dc_driver = {
        .driver_features = DRIVER_HAVE_IRQ | DRIVER_GEM |
-                          DRIVER_MODESET | DRIVER_PRIME,
+                          DRIVER_MODESET | DRIVER_PRIME |
+                          DRIVER_ATOMIC,
        .preclose = atmel_hlcdc_dc_preclose,
        .lastclose = atmel_hlcdc_dc_lastclose,
        .irq_handler = atmel_hlcdc_dc_irq_handler,