Re: [PATCH v2 3/7] drm/syncobj: Avoid one temporary allocation in drm_syncobj_array_find

2025-03-27 Thread MaĆ­ra Canal
Hi Tvrtko, On 27/03/25 05:42, Tvrtko Ursulin wrote: Drm_syncobj_array_find() helper is used from many userspace ioctl entry points with the task of looking up userspace handles to internal objects. We can easily avoid one temporary allocation by making it read the handles as it is looking them

[PATCH v2 3/7] drm/syncobj: Avoid one temporary allocation in drm_syncobj_array_find

2025-03-27 Thread Tvrtko Ursulin
Drm_syncobj_array_find() helper is used from many userspace ioctl entry points with the task of looking up userspace handles to internal objects. We can easily avoid one temporary allocation by making it read the handles as it is looking them up. Signed-off-by: Tvrtko Ursulin --- v2: * Fix hand