The DRIVER_FIRMWARE flag denotes that a DRM driver uses a framebuffer
that was initialized and provided by the system firmware for scanout.

Signed-off-by: Javier Martinez Canillas <[email protected]>
---

(no changes since v1)

 include/drm/drm_drv.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h
index f6159acb8856..abab51705e36 100644
--- a/include/drm/drm_drv.h
+++ b/include/drm/drm_drv.h
@@ -94,6 +94,12 @@ enum drm_driver_feature {
         * synchronization of command submission.
         */
        DRIVER_SYNCOBJ_TIMELINE         = BIT(6),
+       /**
+        * @DRIVER_FIRMWARE:
+        *
+        * Denote a driver using a system framebuffer provided by the firmware.
+        */
+       DRIVER_FIRMWARE                 = BIT(7),
 
        /* IMPORTANT: Below are all the legacy flags, add new ones above. */
 
-- 
2.35.1

Reply via email to