From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 75985] [NVC1] HDMI audio device only visible after rescan Date: Sun, 27 Oct 2019 17:58:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0883400207==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0883400207== Content-Type: multipart/alternative; boundary="15721991200.8a24AAa.16429" Content-Transfer-Encoding: 7bit --15721991200.8a24AAa.16429 Date: Sun, 27 Oct 2019 17:58:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D75985 --- Comment #118 from Przemys=C5=82aw Kopa --- (In reply to Lukas Wunner from comment #116) > @Przemys=C5=82aw Kopa: >=20 > The fix was applied by Takashi Iwai on Thursday Oct 17 with commit > 94989e318b2f, it was merged to Linus' tree on Friday Oct 18 and will thus= be > part of v5.4-rc4 due out later today. It should appear in v5.3-stable wit= hin > 1 or 2 weeks. You may want to double-check that the issue is gone with th= is > fix. Thanks, I can happily confirm that the issue is fixed in v5.4-rc4. :) > There's one problem remaining, you shouldn't have to manually echo "auto"= to > the HDA's control file because we call pm_runtime_allow() on the HDA devi= ce > in drivers/pci/quirks.c:quirk_gpu_hda() -> pci_create_device_link(). > Something must be calling pm_runtime_forbid() afterwards, perhaps this is > triggered from user space on Arch Linux. I'm attaching a little debug pat= ch > which logs a stacktrace to dmesg whenever pm_runtime_allow() / _forbid() = is > called for a device. Feel free to attach dmesg output with this patch > applied and I'll be happy to take a look at it. I'm attaching dmesg dump - last stack trace is generated after me echoing "auto" to HDA control file. --=20 You are receiving this mail because: You are the assignee for the bug.= --15721991200.8a24AAa.16429 Date: Sun, 27 Oct 2019 17:58:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 118 on bug 75985<= /a> from Przemys=C5=82aw Kopa
(In reply to Lukas Wunner from comment #116)
> @Przemys=C5=82aw Kopa:
>=20
> The fix was applied by Takashi Iwai on Thursday Oct 17 with commit
> 94989e318b2f, it was merged to Linus' tree on Friday Oct 18 and will t=
hus be
> part of v5.4-rc4 due out later today. It should appear in v5.3-stable =
within
> 1 or 2 weeks. You may want to double-check that the issue is gone with=
 this
> fix.

Thanks, I can happily confirm that the issue is fixed in v5.4-rc4. :)

> There's one problem remaining, you shouldn't hav=
e to manually echo "auto" to
> the HDA's control file because we call pm_runtime_allow() on the HDA d=
evice
> in drivers/pci/quirks.c:quirk_gpu_hda() -> pci_create_device_link().
> Something must be calling pm_runtime_forbid() afterwards, perhaps this=
 is
> triggered from user space on Arch Linux. I'm attaching a little debug =
patch
> which logs a stacktrace to dmesg whenever pm_runtime_allow() / _forbid=
() is
> called for a device. Feel free to attach dmesg output with this patch
> applied and I'll be happy to take a look at it.

I'm attaching dmesg dump - last stack trace is generated after me echoing
"auto" to HDA control file.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15721991200.8a24AAa.16429-- --===============0883400207== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1 --===============0883400207==--