]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sched: fix timeout handling v2
authorChristian König <christian.koenig@amd.com>
Mon, 8 Oct 2018 11:30:12 +0000 (13:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Oct 2018 17:52:32 +0000 (12:52 -0500)
commit5b725f10e311918e8ef353d1ec18981b5019ae72
treec62d03c24fb81048755ca69a92ba4f0d912dfa81
parentd47bf7d6bed8917537f5501c10460363d1daa742
drm/sched: fix timeout handling v2

We need to make sure that we don't race between job completion and
timeout.

v2: put revert label after calling the handling manually

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/scheduler/sched_main.c