drm: qxl: Enable atomic modesetting ioctl
authorGabriel Krisman Bertazi <[email protected]>
Mon, 27 Feb 2017 20:43:28 +0000 (17:43 -0300)
committerGerd Hoffmann <[email protected]>
Tue, 28 Feb 2017 16:26:22 +0000 (17:26 +0100)
Now that atomic support is implemented, enable the atomic flag.

Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
drivers/gpu/drm/qxl/qxl_drv.c

index 67e94f4f3ce80fa1c570e37d8fed9d0055625202..215ef001b718a87f0a6c91805675bffc21b7d1dd 100644 (file)
@@ -259,7 +259,8 @@ static struct pci_driver qxl_pci_driver = {
 
 static struct drm_driver qxl_driver = {
        .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_PRIME |
-                          DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED,
+                          DRIVER_HAVE_IRQ | DRIVER_IRQ_SHARED |
+                          DRIVER_ATOMIC,
 
        .set_busid = drm_pci_set_busid,