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: Mon, 07 Oct 2019 17:51:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1058284572==" 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 --===============1058284572== Content-Type: multipart/alternative; boundary="15704706801.0B5d1c.9879" Content-Transfer-Encoding: 7bit --15704706801.0B5d1c.9879 Date: Mon, 7 Oct 2019 17:51:20 +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 #111 from Przemys=C5=82aw Kopa --- (In reply to Lukas Wunner from comment #110) > What does "cat /sys/bus/pci/devices/0000:01:00.1/hdaudioC1D0/revision_id"= say? It says: 0x100100 > If you add "codec->link_down_at_suspend =3D 1;" to patch_nvhdmi() in > sound/pci/hda/patch_hdmi.c, the issue may go away. >=20 > The only question is whether your card's revision_id is listed in > snd_hda_id_hdmi[] such that patch_nvhdmi() is executed for your card. I added "HDA_CODEC_ENTRY(0x10de0403, "GPU 0403 HDMI/DP", patch_nvhdmi)" to snd_hda_id_hdmi[] (PCI ID of my Nvidia HDA wasn't there) and "codec->link_down_at_suspend =3D 1;" to patch_nvhdmi(). With those changes = dGPU and HDA suspended normally (after echoing "auto" to HDA control file), so I think that this is definiteley the right track! --=20 You are receiving this mail because: You are the assignee for the bug.= --15704706801.0B5d1c.9879 Date: Mon, 7 Oct 2019 17:51:20 +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 # 111 on bug 75985<= /a> from Przemys=C5=82aw Kopa
(In reply to Lukas Wunner from comment #110)
> What does "cat /sys/bus/pci/devices/0000:01=
:00.1/hdaudioC1D0/revision_id" say?
It says: 0x100100

> If you add "codec->link_down_at_suspend =
=3D 1;" to patch_nvhdmi() in
> sound/pci/hda/patch_hdmi.c, the issue may go away.
>=20
> The only question is whether your card's revision_id is listed in
> snd_hda_id_hdmi[] such that patch_nvhdmi() is executed for your card.<=
/span >

I added "HDA_CODEC_ENTRY(0x10de0403, "GPU 0403 HDMI/DP", pat=
ch_nvhdmi)" to
snd_hda_id_hdmi[] (PCI ID of my Nvidia HDA wasn't there) and
"codec->link_down_at_suspend =3D 1;" to patch_nvhdmi(). With t=
hose changes dGPU
and HDA suspended normally (after echoing "auto" to HDA control f=
ile), so I
think that this is definiteley the right track!


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