Skip to content

DRM syncobj wait fast path

Tvrtko Ursulin dri-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/syncobj: Use vmemdup_array_user in drm_syncobj_array_finddrivers/gpu/drm/drm_syncobj.c+4 -90 replies
2/3drm/syncobj: Add a fast path to drm_syncobj_array_wait_timeoutdrivers/gpu/drm/drm_syncobj.c+33 -110 replies
3/3drm/syncobj: Add a fast path to drm_syncobj_array_finddrivers/gpu/drm/drm_syncobj.c+73 -190 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMaíra Canal
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] DRM syncobj wait fast path

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(-)
Signature · 1 line
2.48.0