]> Git Repo - linux.git/commit
drm/syncobj: Add a CREATE_SIGNALED flag
authorJason Ekstrand <[email protected]>
Fri, 25 Aug 2017 17:52:25 +0000 (10:52 -0700)
committerDave Airlie <[email protected]>
Mon, 28 Aug 2017 20:27:41 +0000 (06:27 +1000)
commit1fc08218ed2a42c86af5c905fe4c00885376a07e
treed143951efc18fe4669a2944916d07204e9460f4b
parent9c19fb10a5893d6501df4d0fb93d954d5fc1d91b
drm/syncobj: Add a CREATE_SIGNALED flag

This requests that the driver create the sync object such that it
already has a signaled dma_fence attached.  Because we don't need
anything in particular (just something signaled), we use a dummy null
fence.  This is useful for Vulkan which has a similar flag that can be
passed to vkCreateFence.

Signed-off-by: Jason Ekstrand <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
drivers/gpu/drm/drm_syncobj.c
include/uapi/drm/drm.h
This page took 0.054882 seconds and 4 git commands to generate.