drm/sched: Avoid data corruptions
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 19 May 2021 14:14:07 +0000 (10:14 -0400)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 20 May 2021 03:50:28 +0000 (23:50 -0400)
commit0b10ab80695d61422337ede6ff496552d8ace99d
treef9118b43787f82e25bf3d89b3110d5082969d145
parentc61cdbdbffc169dc7f1e6fe94dfffaf574fe672a
drm/sched: Avoid data corruptions

Wait for all dependencies of a job  to complete before
killing it to avoid data corruptions.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210519141407.88444-1-andrey.grodzovsky@amd.com
drivers/gpu/drm/scheduler/sched_entity.c