]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sched: Make timeout timer rearm conditional.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Wed, 12 May 2021 14:26:42 +0000 (10:26 -0400)
committerAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 20 May 2021 03:50:28 +0000 (23:50 -0400)
commit75973e5802afece679d3936328e23a1891a9badc
treecdf3c5104652c9b48f95d6e87801a9c824c1d032
parentf89f8c6bafd0692d3afd21488d012ceb1baf6df6
drm/sched: Make timeout timer rearm conditional.

We don't want to rearm the timer if driver hook reports
that the device is gone.

v5: Update drm_gpu_sched_stat values in code.

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/20210512142648.666476-11-andrey.grodzovsky@amd.com
drivers/gpu/drm/scheduler/sched_main.c