[Nouveau] [PATCH] drm/nouveau/fbcon: fix deadlock with FBIOPUT_CON2FBMAP

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 15 11:34:08 UTC 2016


On Fri, Jul 15, 2016 at 01:26:22PM +0200, Peter Wu wrote:
> On Wed, Jul 13, 2016 at 06:17:47PM +0100, Chris Wilson wrote:
> > Hmm, since suspend_work can theorectically rearm itself, this should be
> > cancel_work_sync().
> 
> How so? The worker calls with state = FBINFO_STATE_RUNNING and
> synchronous = true, so schedule_work() can never be called.

No wories then, I feel victim to having to read the code again.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Nouveau mailing list