summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2023-04-26 04:46:54 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-05-04 06:10:02 +0300
commit1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8 (patch)
tree3627f524598e21b20f09e1c2bd8ad803c24a0d7c /tools/perf/scripts/python/syscall-counts.py
parent682439fffad9fa9a38d37dd1b1318e9374232213 (diff)
downloadlinux-1253685f0d3eb3eab0bfc4bf15ab341a5f3da0c8.tar.xz
drm/amdgpu: drop redundant sched job cleanup when cs is aborted
Once command submission failed due to userptr invalidation in amdgpu_cs_submit, legacy code will perform cleanup of scheduler job. However, it's not needed at all, as former commit has integrated job cleanup stuff into amdgpu_job_free. Otherwise, because of double free, a NULL pointer dereference will occur in such scenario. Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2457 Fixes: f7d66fb2ea43 ("drm/amdgpu: cleanup scheduler job initialization v2") Signed-off-by: Guchun Chen <guchun.chen@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions