diff options
author | Christian König <christian.koenig@amd.com> | 2022-04-22 14:38:47 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-05-04 12:09:53 +0200 |
commit | f778f405faa2cda2342ac290b24c2c17c25d7c16 (patch) | |
tree | d60c23a1bb607b2cff48af3cd2b2c9e1bf1a2625 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | d7442505de9259f8b975232470378d399c25b2fa (diff) |
dma-buf/sync_file: cleanup fence merging a bit
krealloc_array() ignores attempts to reduce the array size, so the attempt
to save memory is completely pointless here.
Also move testing for the no fence case into sync_file_set_fence(), this
way we don't even touch the fence array when we don't have any fences.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220426124637.329764-1-christian.koenig@amd.com
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions