diff options
author | Stefan Schake <stschake@gmail.com> | 2018-04-25 01:03:45 +0300 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2018-05-01 02:04:14 +0300 |
commit | 818f5c8f4cd27747e8218e8a5fb230c322e02d1e (patch) | |
tree | 6e7fb9ceae3ff664104b17a56ff8a1bb19351e7a /drivers/gpu/drm/vc4/vc4_drv.h | |
parent | 3481fe768faeae3f1d2a929e401748893460d82e (diff) | |
download | linux-818f5c8f4cd27747e8218e8a5fb230c322e02d1e.tar.xz |
drm/vc4: Syncobj import support
Allow userland to specify a syncobj that is waited on before a render job
starts processing.
v2: Use 0 as invalid syncobj to drop flag (Eric)
Drop extra newline (Eric)
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-2-git-send-email-stschake@gmail.com
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_drv.h')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b/drivers/gpu/drm/vc4/vc4_drv.h index 22589d39083c..554a4e810d5b 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.h +++ b/drivers/gpu/drm/vc4/vc4_drv.h @@ -11,6 +11,7 @@ #include <drm/drm_encoder.h> #include <drm/drm_gem_cma_helper.h> #include <drm/drm_atomic.h> +#include <drm/drm_syncobj.h> #include "uapi/drm/vc4_drm.h" |