diff options
author | Karol Wachowski <[email protected]> | 2024-10-17 16:58:12 +0200 |
---|---|---|
committer | Jacek Lawrynowicz <[email protected]> | 2024-10-30 10:22:07 +0100 |
commit | ae7af7d8dc2a13a427aa90d003fe4fb2c168342a (patch) | |
tree | 9a66db1498445142c831e0fd2a7d052b101fed4c /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 1fc65fa96ff4703e8d26dda351d942e8940f322f (diff) |
accel/ivpu: Use xa_alloc_cyclic() instead of custom function
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 just by using appropriate Linux API.
Signed-off-by: Karol Wachowski <[email protected]>
Reviewed-by: Jacek Lawrynowicz <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Jacek Lawrynowicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions