[PATCH 7/7] drm/cirrus: add DRIVER_ATOMIC to .driver_features
zhaojunwang
zhaojunwang at pku.edu.cn
Wed Aug 5 00:14:03 PDT 2015
Can you pls review these patch series, thanks a lot for your time.
------------------ Original ------------------
From: "John Hunter";<zhjwpku at gmail.com>;
Date: Wed, Aug 5, 2015 03:08 PM
To: "dri-devel"<dri-devel at lists.freedesktop.org>;
Cc: "Zhao Junwang"<zhjwpku at gmail.com>; "Daniel Vetter"<daniel.vetter at ffwll.ch>; "Gerd Hoffmann"<kraxel at redhat.com>; "Matthew Garrett"<mjg59 at coreos.com>; "Dave Airlie"<airlied at redhat.com>; "Zhao Junwang"<zhaojunwang at pku.edu.cn>;
Subject: [PATCH 7/7] drm/cirrus: add DRIVER_ATOMIC to .driver_features
From: Zhao Junwang <zhjwpku at gmail.com>
Since driver is now fully atomic, we should add DRIVER_ATOMIC to
.driver_features
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Gerd Hoffmann <kraxel at redhat.com>
Cc: Matthew Garrett <mjg59 at coreos.com>
Cc: Dave Airlie <airlied at redhat.com>
Cc: Zhao Junwang <zhaojunwang at pku.edu.cn>
Signed-off-by: Zhao Junwang <zhjwpku at gmail.com>
---
drivers/gpu/drm/cirrus/cirrus_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
--
1.7.10.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150805/fc0e255a/attachment.html>
More information about the dri-devel
mailing list