Re: [PATCH 2/7] drm/syncobj: Do not allocate an array to store zeros when waiting

2025-03-24 Thread MaĆ­ra Canal
Hi Tvrtko, On 18/03/25 12:54, Tvrtko Ursulin wrote: When waiting on syncobjs the current code allocates a temporary array only to fill it up with all zeros. We can avoid that by relying on the allocated entry array already being zero allocated. For the timeline mode we can fetch the timeline p

[PATCH 2/7] drm/syncobj: Do not allocate an array to store zeros when waiting

2025-03-18 Thread Tvrtko Ursulin
When waiting on syncobjs the current code allocates a temporary array only to fill it up with all zeros. We can avoid that by relying on the allocated entry array already being zero allocated. For the timeline mode we can fetch the timeline point values as we populate the entries array so also do

[PATCH 2/7] drm/syncobj: Do not allocate an array to store zeros when waiting

2025-01-06 Thread Tvrtko Ursulin
From: Tvrtko Ursulin When waiting on syncobjs the current code allocates a temporary array only to fill it up with all zeros. We can avoid that by relying on the allocated entry array already being zero allocated. For the timeline mode we can fetch the timeline point values as we populate the e