[rfc] fix output poll execute lockdep

2017-01-10 Thread Dave Airlie
On 10 Jan. 2017 19:50, "Daniel Vetter" wrote: On Tue, Jan 10, 2017 at 12:12:30PM +1000, Dave Airlie wrote: > On runtime resume, nouveau can try and take the mode_config > mutex in the poll reenable, however a poll can race with this, > and take the mutex and get stuck waiting for the runtime to >

[rfc] fix output poll execute lockdep

2017-01-10 Thread Daniel Vetter
On Tue, Jan 10, 2017 at 09:46:26PM +1000, Dave Airlie wrote: > On 10 Jan. 2017 19:50, "Daniel Vetter" wrote: > > On Tue, Jan 10, 2017 at 12:12:30PM +1000, Dave Airlie wrote: > > On runtime resume, nouveau can try and take the mode_config > > mutex in the poll reenable, however a poll can race wit

[rfc] fix output poll execute lockdep

2017-01-10 Thread Dave Airlie
On runtime resume, nouveau can try and take the mode_config mutex in the poll reenable, however a poll can race with this, and take the mutex and get stuck waiting for the runtime to finish completion. These two patches allow the driver to get hooked in before the mutex is taken. I think radeon/am

[rfc] fix output poll execute lockdep

2017-01-10 Thread Daniel Vetter
On Tue, Jan 10, 2017 at 12:12:30PM +1000, Dave Airlie wrote: > On runtime resume, nouveau can try and take the mode_config > mutex in the poll reenable, however a poll can race with this, > and take the mutex and get stuck waiting for the runtime to > finish completion. These two patches allow the