drm/sti: set DRIVER_ATOMIC for sti
authorbenjamin.gaignard@linaro.org <benjamin.gaignard@linaro.org>
Thu, 7 Jan 2016 13:30:41 +0000 (14:30 +0100)
committerVincent Abriou <vincent.abriou@st.com>
Fri, 26 Feb 2016 09:03:56 +0000 (10:03 +0100)
sti now support of atomic modesetting so set the flag to enable it.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_drv.c

index 506b5626f3ed2ed3a188ff9bc1e51144e40b8932..bcb1861ef871a8d3b7fd7eac74ceb0d829917ef5 100644 (file)
@@ -192,7 +192,7 @@ static struct dma_buf *sti_gem_prime_export(struct drm_device *dev,
 
 static struct drm_driver sti_driver = {
        .driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET |
-           DRIVER_GEM | DRIVER_PRIME,
+           DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC,
        .load = sti_load,
        .gem_free_object = drm_gem_cma_free_object,
        .gem_vm_ops = &drm_gem_cma_vm_ops,