diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2019-08-20 16:39:53 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-22 06:18:38 +0300 |
commit | 5a6a4c9d1b6743268480b5b5661a35c38d4df424 (patch) | |
tree | f770f59187dca7ea7bcd3a14bea51347f3e27462 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 452575c5703cd7d0cf285ef7a97de52af9a3d70d (diff) | |
download | linux-5a6a4c9d1b6743268480b5b5661a35c38d4df424.tar.xz |
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 <nicolai.haehnle@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions