]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/scheduler: remove timeout work_struct from drm_sched_job (v3)
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Tue, 25 Sep 2018 17:09:02 +0000 (02:09 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 14:55:45 +0000 (09:55 -0500)
commit6a96243056217662843694a4cbc83158d0e84403
tree7d33791e09caa4839b0963f61eef92c28d0177e3
parent3ea81f7125dfda80e264e4552b1146c88eff1aa7
drm/scheduler: remove timeout work_struct from drm_sched_job (v3)

having a delayed work item per job is redundant as we only need one
per scheduler to track the time out the currently executing job.

v2: the first element of the ring mirror list is the currently
executing job so we don't need a additional variable for it

v3: squash in fixes for v3d and etnaviv

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/etnaviv/etnaviv_sched.c
drivers/gpu/drm/scheduler/sched_main.c
drivers/gpu/drm/v3d/v3d_sched.c
include/drm/gpu_scheduler.h