Re: [PATCH 06/11] accel/ivpu: Use xa_alloc_cyclic() instead of custom function

2024-10-18 Thread Jeffrey Hugo
On 10/17/2024 8:58 AM, Jacek Lawrynowicz wrote: From: Karol Wachowski Remove custom ivpu_id_alloc() wrapper used for ID allocations and replace it with standard xa_alloc_cyclic() API. The idea behind ivpu_id_alloc() was to have monotonic IDs, so the driver is easier to debug because same IDs a

[PATCH 06/11] accel/ivpu: Use xa_alloc_cyclic() instead of custom function

2024-10-17 Thread Jacek Lawrynowicz
From: Karol Wachowski Remove custom ivpu_id_alloc() wrapper used for ID allocations and replace it with standard xa_alloc_cyclic() API. The idea behind ivpu_id_alloc() was to have monotonic IDs, so the driver is easier to debug because same IDs are not reused all over. The same can be achieved j