forked from Minki/linux
5918045c4e
We now destroy finished jobs from the worker thread to make sure that we never destroy a job currently in timeout processing. By this we avoid holding lock around ring mirror list in drm_sched_stop which should solve a deadlock reported by a user. v2: Remove unused variable. v4: Move guilty job free into sched code. v5: Move sched->hw_rq_count to drm_sched_start to account for counter decrement in drm_sched_stop even when we don't call resubmit jobs if guily job did signal. v6: remove unused variable Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109692 Acked-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/1555599624-12285-3-git-send-email-andrey.grodzovsky@amd.com |
||
---|---|---|
.. | ||
Kconfig | ||
lima_bcast.c | ||
lima_bcast.h | ||
lima_ctx.c | ||
lima_ctx.h | ||
lima_device.c | ||
lima_device.h | ||
lima_dlbu.c | ||
lima_dlbu.h | ||
lima_drv.c | ||
lima_drv.h | ||
lima_gem_prime.c | ||
lima_gem_prime.h | ||
lima_gem.c | ||
lima_gem.h | ||
lima_gp.c | ||
lima_gp.h | ||
lima_l2_cache.c | ||
lima_l2_cache.h | ||
lima_mmu.c | ||
lima_mmu.h | ||
lima_object.c | ||
lima_object.h | ||
lima_pmu.c | ||
lima_pmu.h | ||
lima_pp.c | ||
lima_pp.h | ||
lima_regs.h | ||
lima_sched.c | ||
lima_sched.h | ||
lima_vm.c | ||
lima_vm.h | ||
Makefile |