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>
Este cometimento está contido em:

cometido por
Alex Deucher

ascendente
3ea81f7125
cometimento
6a96243056
@@ -105,7 +105,7 @@ static void etnaviv_sched_timedout_job(struct drm_sched_job *sched_job)
|
||||
change = dma_addr - gpu->hangcheck_dma_addr;
|
||||
if (change < 0 || change > 16) {
|
||||
gpu->hangcheck_dma_addr = dma_addr;
|
||||
schedule_delayed_work(&sched_job->work_tdr,
|
||||
schedule_delayed_work(&sched_job->sched->work_tdr,
|
||||
sched_job->sched->timeout);
|
||||
return;
|
||||
}
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador