linux/drivers/gpu/drm/lima
Christian König 5918045c4e drm/scheduler: rework job destruction
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
2019-05-02 15:45:48 -05:00
..
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 drm/lima: Use the drm_gem_fence_array_add helpers for our deps. 2019-04-16 15:53:48 -07:00
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 drm/lima: handle shared irq case for lima_pp_bcast_irq_handler 2019-04-20 16:14:09 +08:00
lima_pp.h
lima_regs.h
lima_sched.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
lima_sched.h drm/lima: Use the drm_gem_fence_array_add helpers for our deps. 2019-04-16 15:53:48 -07:00
lima_vm.c
lima_vm.h
Makefile