[RFC PATCH v4 03/11] drm/simpledrm: Set the DRM_FIRMWARE capability

Javier Martinez Canillas javierm at redhat.com
Fri Apr 29 08:42:45 UTC 2022


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

Signed-off-by: Javier Martinez Canillas <javierm at redhat.com>
---

(no changes since v1)

 drivers/gpu/drm/tiny/simpledrm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/tiny/simpledrm.c b/drivers/gpu/drm/tiny/simpledrm.c
index f5b8e864a5cd..f039419d4d36 100644
--- a/drivers/gpu/drm/tiny/simpledrm.c
+++ b/drivers/gpu/drm/tiny/simpledrm.c
@@ -878,7 +878,7 @@ static struct drm_driver simpledrm_driver = {
 	.date			= DRIVER_DATE,
 	.major			= DRIVER_MAJOR,
 	.minor			= DRIVER_MINOR,
-	.driver_features	= DRIVER_ATOMIC | DRIVER_GEM | DRIVER_MODESET,
+	.driver_features	= DRIVER_ATOMIC | DRIVER_GEM | DRIVER_MODESET | DRIVER_FIRMWARE,
 	.fops			= &simpledrm_fops,
 };
 
-- 
2.35.1



More information about the dri-devel mailing list