]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/syncobj: add sync_file interaction. (v1.2)
authorDave Airlie <airlied@redhat.com>
Wed, 26 Apr 2017 03:09:02 +0000 (04:09 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 14 Jun 2017 02:11:04 +0000 (12:11 +1000)
commit3ee45a3b533a20ed9fcc11ddb880fc4b30d28f51
tree9cece82033c4a5d5ca25ad68a4fe69390df25eb8
parente9083420bbacce27e43d418064d0d2dfb4b37aaa
drm/syncobj: add sync_file interaction. (v1.2)

This interface allows importing the fence from a sync_file into
an existing drm sync object, or exporting the fence attached to
an existing drm sync object into a new sync file object.

This should only be used to interact with sync files where necessary.

v1.1: fence put fixes (Chris), drop fence from ioctl names (Chris)
fixup for new fence replace API.

Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_syncobj.c
include/uapi/drm/drm.h