[Bug 106525] [CI][IGT] DRM-Tip 4.17-rc5 RIP: 0010:snd_hdac_display_power dmesg splat

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 1 14:58:16 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106525

--- Comment #7 from Martin Peres <martin.peres at free.fr> ---
(In reply to Takashi Iwai from comment #6)
> (In reply to Imre Deak from comment #5)
> > Looks like a refcounting bug in the HDA driver:
> > WARN_ON(!bus->drm_power_refcount);
> 
> Hm, the device free gets called during it being suspended.
> A shot in the dark:
> 
> --- a/sound/pci/hda/hda_codec.c
> +++ b/sound/pci/hda/hda_codec.c
> @@ -834,7 +834,8 @@ static int snd_hda_codec_dev_free(struct snd_device
> *device)
>  
>         codec->in_freeing = 1;
>         snd_hdac_device_unregister(&codec->core);
> -       snd_hdac_link_power(&codec->core, false);
> +       if (pm_runtime_active(hda_codec_dev(codec)))
> +               snd_hdac_link_power(&codec->core, false);
>         put_device(hda_codec_dev(codec));
>         return 0;
>  }
> 
> 
> > Takashi, is there a bugzilla for the HDA driver we could we move this ticket
> > to?
> 
> Feel free to move to bugzilla.kernel.org.  Thanks.

Sorry for the delay, too many bugs to track...

Has a bug on bugzilla.kernel.org been written or a patch been made for this
issue?

It seems to happen every 1.5 months. Last time it was seen was 1.5 months ago,
so I guess we'll soon see if progress has been made!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20181101/e58cc34c/attachment.html>


More information about the intel-gfx-bugs mailing list