]> git.baikalelectronics.ru Git - kernel.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)
commit67e4e693e0c1f92d1a5e3150a59e8fa79bc36196
tree9cece82033c4a5d5ca25ad68a4fe69390df25eb8
parent3e17945322d35c95231e7a8171b9f3193ba1bde7
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