In practice there are multiple DRM syncobj operations (and/or ioctls) per
rendered frame, and vast majority of them operates on a just a couple of
handles, or timeline points.

This series adds a fast path to avoid the temporary allocations for those cases.

Tvrtko Ursulin (3):
  drm/syncobj: Use vmemdup_array_user in drm_syncobj_array_find
  drm/syncobj: Add a fast path to drm_syncobj_array_wait_timeout
  drm/syncobj: Add a fast path to drm_syncobj_array_find

 drivers/gpu/drm/drm_syncobj.c | 141 +++++++++++++++++++++++++---------
 1 file changed, 106 insertions(+), 35 deletions(-)

-- 
2.48.0

Reply via email to