Re: [PATCH] drm/amdgpu: drop redudant sched job cleanup when cs is aborted

2023-04-27 Thread Christian König
Am 27.04.23 um 03:40 schrieb Guchun Chen: 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 f7d66fb2ea43 has integrated job cleanup stuff into amdgpu_job_free. Otherwise, because o

[PATCH] drm/amdgpu: drop redudant sched job cleanup when cs is aborted

2023-04-26 Thread Guchun Chen
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 f7d66fb2ea43 has integrated job cleanup stuff into amdgpu_job_free. Otherwise, because of double free, a NULL pointer dereference wi