diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-10-02 04:10:41 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-31 04:25:48 -0500 |
commit | 728fea775caf6f72f6139f820df0917239333f1e (patch) | |
tree | c03a277f794d6a506769e9a89f3762f9dafe59ad | |
parent | b75e1513fcdbc6e8988a57bc0d9fc21f8c4d7b2c (diff) |
drm/omap: set DRIVER_ATOMIC for omapdrm
omapdrm supports atomic modesetting, and it seems to work ok. So let's
set the flag to enable the atomic modesetting API support.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_drv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index cc7905566228..dfafdb602ad2 100644 --- a/drivers/gpu/drm/omapdrm/omap_drv.c +++ b/drivers/gpu/drm/omapdrm/omap_drv.c | |||
@@ -832,7 +832,8 @@ static const struct file_operations omapdriver_fops = { | |||
832 | }; | 832 | }; |
833 | 833 | ||
834 | static struct drm_driver omap_drm_driver = { | 834 | static struct drm_driver omap_drm_driver = { |
835 | .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, | 835 | .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | |
836 | DRIVER_ATOMIC, | ||
836 | .load = dev_load, | 837 | .load = dev_load, |
837 | .unload = dev_unload, | 838 | .unload = dev_unload, |
838 | .open = dev_open, | 839 | .open = dev_open, |