From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 75985] [NVC1] HDMI audio device only visible after rescan Date: Sun, 20 Oct 2019 07:41:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0530833099==" 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 --===============0530833099== Content-Type: multipart/alternative; boundary="15715572668.C5dc9E23c.4343" Content-Transfer-Encoding: 7bit --15715572668.C5dc9E23c.4343 Date: Sun, 20 Oct 2019 07:41:06 +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 #116 from Lukas Wunner --- @Przemys=C5=82aw Kopa: 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 withi= n 1 or 2 weeks. You may want to double-check that the issue is gone with this f= ix. 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 device= in drivers/pci/quirks.c:quirk_gpu_hda() -> pci_create_device_link(). Something must be calling pm_runtime_forbid() afterwards, perhaps this is triggered f= rom 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15715572668.C5dc9E23c.4343 Date: Sun, 20 Oct 2019 07:41:06 +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 # 116 on bug 75985<= /a> from Lukas Wunner
@Przemys=C5=82aw Kopa:

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 withi=
n 1
or 2 weeks. You may want to double-check that the issue is gone with this f=
ix.

There's one problem remaining, you shouldn't have to manually echo "au=
to" to
the HDA's control file because we call pm_runtime_allow() on the HDA device=
 in
drivers/pci/quirks.c:quirk_gpu_hda() -> pci_create_device_link(). Someth=
ing
must be calling pm_runtime_forbid() afterwards, perhaps this is triggered f=
rom
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.


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