commit | a7cf5e49229b05b036e6c4c05a10091aa44999ae | [log] [tgz] |
---|---|---|
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | Mon Jan 18 16:01:13 2021 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 04 11:38:27 2021 +0100 |
tree | ca462cb5dfb3f58225cdd3eb418ee9cb0b96ef4f | |
parent | bdbee7d7fd95ab064ad3d4988f4361c3f0cbafd7 [diff] |
drm/sched: Cancel and flush all outstanding jobs before finish. commit e582951baabba3e278c97169d0acc1e09b24a72e upstream. To avoid any possible use after free. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/414814/ CC: stable@vger.kernel.org Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>