linux_dsm_epyc7002/drivers/gpu/drm/v3d
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 drm/v3d: Use the new shmem helpers to reduce driver boilerplate. 2019-03-14 12:06:44 -07:00
Makefile
v3d_bo.c drm/v3d: fix a NULL vs error pointer mixup 2019-04-01 09:33:38 -07:00
v3d_debugfs.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_drv.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_drv.h drm/v3d: Add missing implicit synchronization. 2019-04-18 09:54:16 -07:00
v3d_fence.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_gem.c drm/v3d: Add missing implicit synchronization. 2019-04-18 09:54:16 -07:00
v3d_irq.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_mmu.c drm/v3d: Use the new shmem helpers to reduce driver boilerplate. 2019-03-14 12:06:44 -07:00
v3d_regs.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_sched.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
v3d_trace_points.c
v3d_trace.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00