drm/sti: set DRIVER_ATOMIC for sti

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>
This commit is contained in:
benjamin.gaignard@linaro.org 2016-01-07 14:30:41 +01:00 committed by Vincent Abriou
parent b83a8b5386
commit f29ddaf17f

View 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,