diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2015-07-31 15:10:26 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2015-08-18 11:02:26 +0200 |
commit | aa690a9edc5750bb5955b524dd7db842e36004eb (patch) | |
tree | 9ba5c578e9cfe01cc8d8eb204ee3e25561fad6ba /drivers/gpu/drm/atmel-hlcdc | |
parent | drm: atmel-hlcdc: add PRIME support (diff) | |
download | linux-aa690a9edc5750bb5955b524dd7db842e36004eb.tar.xz linux-aa690a9edc5750bb5955b524dd7db842e36004eb.zip |
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 <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/gpu/drm/atmel-hlcdc')
-rw-r--r-- | drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |