aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-drm-core.c
diff options
context:
space:
mode:
authorLiu Ying <gnuiyl@gmail.com>2016-07-08 05:41:02 -0400
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-07-12 12:24:16 -0400
commit8535c0220e0541eeaf5c2feb0d9daacf35fc29b3 (patch)
tree3d68f7dbca9637b07f3ae9e3258e70f8be94ea7f /drivers/gpu/drm/imx/imx-drm-core.c
parentf6e396e5096dec2523fade421bc27f3fae38e31d (diff)
drm/imx: atomic phase 3 step 3: Advertise DRIVER_ATOMIC
With all the beforehand phases and steps done, we can adverstise DRIVER_ATOMIC. Signed-off-by: Liu Ying <gnuiyl@gmail.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r--drivers/gpu/drm/imx/imx-drm-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
index f14ad2bbc1d7..9f7dafce3a4c 100644
--- a/drivers/gpu/drm/imx/imx-drm-core.c
+++ b/drivers/gpu/drm/imx/imx-drm-core.c
@@ -428,7 +428,8 @@ static const struct drm_ioctl_desc imx_drm_ioctls[] = {
428}; 428};
429 429
430static struct drm_driver imx_drm_driver = { 430static struct drm_driver imx_drm_driver = {
431 .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME, 431 .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME |
432 DRIVER_ATOMIC,
432 .load = imx_drm_driver_load, 433 .load = imx_drm_driver_load,
433 .unload = imx_drm_driver_unload, 434 .unload = imx_drm_driver_unload,
434 .lastclose = imx_drm_driver_lastclose, 435 .lastclose = imx_drm_driver_lastclose,