On 2023-03-07 15:36, Luben Tuikov wrote:
> +                     job = container_of(old, struct amdgpu_job, hw_fence);
> +                     if (!job->base.s_fence && !dma_fence_is_signaled(old))
> +                             dma_fence_signal(old);

Thinking about this more, is !job->base.s_fence condition here
enough to mean "non-sched jobs like ib_test"?

I feel that it is a bit overloaded here--could we have this condition
satisfied,yet we can't willy-nilly signal the fence here?
-- 
Regards,
Luben

Reply via email to