diff options
| author | Nicolai Hähnle <[email protected]> | 2019-08-20 15:39:53 +0200 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-21 22:18:38 -0500 |
| commit | 5a6a4c9d1b6743268480b5b5661a35c38d4df424 (patch) | |
| tree | f770f59187dca7ea7bcd3a14bea51347f3e27462 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 452575c5703cd7d0cf285ef7a97de52af9a3d70d (diff) | |
drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl
Error out if the AMDGPU_CS ioctl is called with multiple SYNCOBJ_OUT and/or
TIMELINE_SIGNAL chunks, since otherwise the last chunk wins while the
allocated array as well as the reference counts of sync objects are leaked.
Signed-off-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions