linux/drivers/gpu/drm/etnaviv
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
..
cmdstream.xml.h drm/etnaviv: Allow DRAW_INSTANCED commands 2016-12-02 19:30:22 +01:00
common.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00
etnaviv_buffer.c drm/etnaviv: remove lastctx member from gpu struct 2018-12-18 11:55:16 +01:00
etnaviv_cmd_parser.c drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_cmdbuf.c drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_cmdbuf.h drm/etnaviv: move job context pointer to etnaviv_gem_submit 2019-01-07 16:10:20 +01:00
etnaviv_drv.c drm: etnaviv: Switch to use drm_gem_object reservation_object 2019-02-19 11:08:40 +01:00
etnaviv_drv.h drm: etnaviv: Switch to use drm_gem_object reservation_object 2019-02-19 11:08:40 +01:00
etnaviv_dump.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
etnaviv_dump.h drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_gem_prime.c drm-misc-next for 5.2: 2019-03-25 11:05:12 +01:00
etnaviv_gem_submit.c drm-misc-next for 5.2: 2019-03-25 11:05:12 +01:00
etnaviv_gem.c drm: etnaviv: Switch to use drm_gem_object reservation_object 2019-02-19 11:08:40 +01:00
etnaviv_gem.h drm-misc-next for 5.2: 2019-03-25 11:05:12 +01:00
etnaviv_gpu.c drm/etnaviv: remove lastctx member from gpu struct 2018-12-18 11:55:16 +01:00
etnaviv_gpu.h drm/etnaviv: remove lastctx member from gpu struct 2018-12-18 11:55:16 +01:00
etnaviv_hwdb.c drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_iommu_v2.c drm/etnaviv: mmuv2: don't map zero page 2019-02-11 11:49:35 +01:00
etnaviv_iommu.c drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_iommu.h drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_mmu.c drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_mmu.h drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_perfmon.c drm/etnaviv: fix some off by one bugs 2019-01-07 16:07:39 +01:00
etnaviv_perfmon.h drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_sched.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
etnaviv_sched.h drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
Kconfig drm/etnaviv: don't restrict to certain architectures 2019-01-17 17:30:48 +01:00
Makefile drm/etnaviv: add hardware database 2018-03-09 12:22:37 +01:00
state_3d.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00
state_blt.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00
state_hi.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00
state.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00