diff mbox

[7/7] drm/cirrus: add DRIVER_ATOMIC to .driver_features

Message ID 1438250938-59728-8-git-send-email-zhjwpku@gmail.com
State New, archived
Headers show

Commit Message

John Hunter July 30, 2015, 10:08 a.m. UTC
From: Zhao Junwang <zhjwpku@gmail.com>

Since  driver is now fully atomic, we should add DRIVER_ATOMIC to
.driver_features

Signed-off-by: Zhao Junwang <zhjwpku@gmail.com>
---
 drivers/gpu/drm/cirrus/cirrus_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.c b/drivers/gpu/drm/cirrus/cirrus_drv.c
index 80f1cd2..742647b 100644
--- a/drivers/gpu/drm/cirrus/cirrus_drv.c
+++ b/drivers/gpu/drm/cirrus/cirrus_drv.c
@@ -130,7 +130,7 @@  static const struct file_operations cirrus_driver_fops = {
 #endif
 };
 static struct drm_driver driver = {
-	.driver_features = DRIVER_MODESET | DRIVER_GEM,
+	.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_ATOMIC,
 	.load = cirrus_driver_load,
 	.unload = cirrus_driver_unload,
 	.set_busid = drm_pci_set_busid,