Merge drm/drm-next into drm-misc-next
[sfrench/cifs-2.6.git] / include / drm / drm_drv.h
index a3bce427891a14bb031e740a996546c1e9d93d67..1d76d0686b032e725014c6fdc95c6fd322f4799f 100644 (file)
@@ -96,6 +96,14 @@ enum drm_driver_feature {
         * synchronization of command submission.
         */
        DRIVER_SYNCOBJ_TIMELINE         = BIT(6),
+       /**
+        * @DRIVER_COMPUTE_ACCEL:
+        *
+        * Driver supports compute acceleration devices. This flag is mutually exclusive with
+        * @DRIVER_RENDER and @DRIVER_MODESET. Devices that support both graphics and compute
+        * acceleration should be handled by two drivers that are connected using auxiliary bus.
+        */
+       DRIVER_COMPUTE_ACCEL            = BIT(7),
 
        /* IMPORTANT: Below are all the legacy flags, add new ones above. */