]> git.baikalelectronics.ru Git - kernel.git/commit
drm/syncobj: Add a syncobj_array_find helper
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 25 Aug 2017 17:52:26 +0000 (10:52 -0700)
committerDave Airlie <airlied@redhat.com>
Mon, 28 Aug 2017 20:28:23 +0000 (06:28 +1000)
commit73ba54f74de79b93d6ce355d2803c6bd6fa3e173
tree85e1a61b5e384970448b03a36b14d0e1a68193e9
parent20e6b89c1746fea8c53ca4a3a242e96f70368ade
drm/syncobj: Add a syncobj_array_find helper

The wait ioctl has a bunch of code to read an syncobj handle array from
userspace and turn it into an array of syncobj pointers.  We're about to
add two new IOCTLs which will need to work with arrays of syncobj
handles so let's make some helpers.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_syncobj.c