Re: [PATCH v6 3/5] drm/nouveau: Fix deadlock with fb_helper with async RPM requests

From: Lyude Paul
Date: Mon Aug 13 2018 - 15:12:17 EST


On Mon, 2018-08-13 at 15:11 -0400, Ilia Mirkin wrote:
> On Mon, Aug 13, 2018 at 3:07 PM, Lyude Paul <lyude@xxxxxxxxxx> wrote:
> > +bool
> > +nouveau_fbcon_hotplugged_in_suspend(struct nouveau_fbdev *fbcon)
> > +{
> > + bool hotplug;
> > +
> > + if (!fbcon)
> > + return false;
> > +
> > + mutex_lock(&fbcon->hotplug_lock);
> > + hotplug = fbcon->hotplug_waiting;
> > + mutex_unlock(&fbcon->hotplug_lock);
> > +
> > + return hotplug;
> > +}
>
> I'm probably missing it, but where is this function used?
oh no you aren't, I thought I got rid of that function! will respin in just a
moment
--
Cheers,
Lyude Paul