]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Export fence through syncobj
authorStefan Schake <stschake@gmail.com>
Tue, 24 Apr 2018 22:03:46 +0000 (00:03 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 30 Apr 2018 23:04:23 +0000 (16:04 -0700)
commit9dfaa8fec33900f3e4e3cf2f9706c45d105dfa41
treeee68eb7b0814f397e85b8870fb9504d7effecd63
parentbda49fe258f11af8383ddc22ebbc2b9331a27584
drm/vc4: Export fence through syncobj

Allow specifying a syncobj on render job submission where we store the
fence for the job. This gives userland flexible access to the fence.

v2: Use 0 as invalid syncobj to drop flag (Eric)
    Don't reintroduce the padding (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-3-git-send-email-stschake@gmail.com
drivers/gpu/drm/vc4/vc4_gem.c
include/uapi/drm/vc4_drm.h