From: Boris Brezillon Date: Fri, 31 Jul 2015 13:10:26 +0000 (+0200) Subject: drm: atmel-hlcdc: add the missing DRM_ATOMIC flag X-Git-Tag: v4.3-rc1~75^2~21^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aa690a9edc5750bb5955b524dd7db842e36004eb;p=karo-tx-linux.git drm: atmel-hlcdc: add the missing DRM_ATOMIC flag 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 --- diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c index 4bb9462d9884..3555e35e25a1 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c @@ -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,