Re: [RFC 08/17] drm/scheduler: use dma-fence annotations in main thread

2020-05-25 Thread Daniel Vetter
On Tue, May 12, 2020 at 11:00 AM Daniel Vetter wrote: > > If the scheduler rt thread gets stuck on a mutex that we're holding > while waiting for gpu workloads to complete, we have a problem. > > Add dma-fence annotations so that lockdep can check this for us. > > I've tried to quite carefully rev

[RFC 08/17] drm/scheduler: use dma-fence annotations in main thread

2020-05-12 Thread Daniel Vetter
If the scheduler rt thread gets stuck on a mutex that we're holding while waiting for gpu workloads to complete, we have a problem. Add dma-fence annotations so that lockdep can check this for us. I've tried to quite carefully review this, and I think it's at the right spot. But obviosly no exper