OSDN Git Service

drm/vc4: Enable syncobj support
authorStefan Schake <stschake@gmail.com>
Tue, 24 Apr 2018 22:03:47 +0000 (00:03 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 30 Apr 2018 23:04:27 +0000 (16:04 -0700)
This doesn't require any additional functionality from the driver but
is a prerequisite to userland calling the syncobj ioctls.

Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1524607427-12876-4-git-send-email-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_drv.c

index 40ddeaa..d9b8b70 100644 (file)
@@ -175,7 +175,8 @@ static struct drm_driver vc4_drm_driver = {
                            DRIVER_GEM |
                            DRIVER_HAVE_IRQ |
                            DRIVER_RENDER |
-                           DRIVER_PRIME),
+                           DRIVER_PRIME |
+                           DRIVER_SYNCOBJ),
        .lastclose = drm_fb_helper_lastclose,
        .open = vc4_open,
        .postclose = vc4_close,