DRM syncobj scoped cleanup and fast path
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/syncobj: Use vmemdup_array_user in drm_syncobj_array_finddrivers/ | +4 | 1 reply | |
| 2/7 | drm/syncobj: Use scoped cleanup for drm_syncobj_array_wait_timeout pointsdrivers/ | +10 | 2 replies | |
| 3/7 | drm/syncobj: Use scoped cleanup for drm_syncobj_array_wait_timeout syncobjsdrivers/ | +40 | 2 replies | |
| 4/7 | drm/syncobj: Use scoped cleanup for drm_syncobj_timeline_signal_ioctl pointsdrivers/ | +5 | 1 reply | |
| 5/7 | drm/syncobj: Use scoped cleanup for drm_syncobj_timeline_signal_ioctl chainsdrivers/ | +29 | 1 reply | |
| 6/7 | drm/syncobj: Use scoped cleanup in drm_syncobj_array_find and callersdrivers/ | +97 | 0 replies | |
| 7/7 | drm/syncobj: Add temporary array allocation fast pathsdrivers/ | +105 | 2 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Christian König | Fei Yu |
|---|---|---|
| Series | T-b | |
| 1/7 | R-b | |
| 2/7 | ||
| 3/7 | ||
| 4/7 | ||
| 5/7 | ||
| 6/7 | ||
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] DRM syncobj scoped cleanup and fast path
A different flavour of:
https://lore.kernel.org/dri-devel/[email protected]/
Where Christian suggested to try with scope based cleanup macros. This is that attempt.
We start with converting all the functions which use temporary arrays to scoped cleanup and then in the last patch fast path is added via two handy macros.
Syncobj IGT pass, light gaming and light desktop as well, and there are no kmemleak reports. Nevertheless this version is a bit more invasive so if the approach is looking good a careful review will be required.
Tvrtko Ursulin (7):
drm/syncobj: Use vmemdup_array_user in drm_syncobj_array_find drm/syncobj: Use scoped cleanup for drm_syncobj_array_wait_timeout
points
drm/syncobj: Use scoped cleanup for drm_syncobj_array_wait_timeout
syncobjs
drm/syncobj: Use scoped cleanup for drm_syncobj_timeline_signal_ioctl
points
drm/syncobj: Use scoped cleanup for drm_syncobj_timeline_signal_ioctl
chains
drm/syncobj: Use scoped cleanup in drm_syncobj_array_find and callers drm/syncobj: Add temporary array allocation fast paths
drivers/gpu/drm/drm_syncobj.c | 384 ++++++++++++++++++++-------------- 1 file changed, 224 insertions(+), 160 deletions(-)
Signature · 1 line
2.56.0