mirror of https://gitee.com/openkylin/linux.git
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:
parent
b83a8b5386
commit
f29ddaf17f
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue