Files
linux/drivers/gpu/drm
Guchun Chen 1253685f0d 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: f7d66fb2ea ("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
2023-05-03 23:10:02 -04:00
..
2023-04-06 01:30:12 +03:00
2023-03-14 17:07:48 +01:00
2023-03-29 16:00:23 +02:00
2023-03-14 17:07:48 +01:00
2023-03-14 17:07:48 +01:00
2023-03-29 16:00:23 +02:00
2023-03-22 10:24:47 +01:00
2023-03-29 16:00:23 +02:00
2023-02-20 14:56:52 +01:00