From: Stefan Schake Date: Tue, 24 Apr 2018 22:03:47 +0000 (+0200) Subject: drm/vc4: Enable syncobj support X-Git-Tag: v4.18-rc1~128^2~14^2~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c720d8914397fe8efc568eea71e0dd240755a2d9;p=thirdparty%2Flinux.git drm/vc4: Enable syncobj support 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 Signed-off-by: Eric Anholt Reviewed-by: Eric Anholt Link: https://patchwork.freedesktop.org/patch/msgid/1524607427-12876-4-git-send-email-stschake@gmail.com --- diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index 40ddeaafd65f5..d9b8b701d2cec 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/drivers/gpu/drm/vc4/vc4_drv.c @@ -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,