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

Ilia Mirkin imirkin at alum.mit.edu
Mon Aug 13 19:11:28 UTC 2018


On Mon, Aug 13, 2018 at 3:07 PM, Lyude Paul <lyude at redhat.com> 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?


More information about the dri-devel mailing list