Re: [PATCH v2] drm: Allow determining if current task is output poll worker

2018-02-14 Thread Lyude Paul
I think your idea of having the extra kerneldoc as a seperate patch to make this easier to backport should work fine :). Thanks for the good work! Reviewed-by: Lyude Paul On Wed, 2018-02-14 at 08:41 +0100, Lukas Wunner wrote: > Introduce a helper to determine if the current task is an output pol

[PATCH v2] drm: Allow determining if current task is output poll worker

2018-02-13 Thread Lukas Wunner
Introduce a helper to determine if the current task is an output poll worker. This allows us to fix a long-standing deadlock in several DRM drivers wherein the ->runtime_suspend callback waits for the output poll worker to finish and the worker in turn calls a ->detect callback which waits for run