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 18:12:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2037584146==" 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 --===============2037584146== Content-Type: multipart/alternative; boundary="15704719692.Ce1CEE53.14885" Content-Transfer-Encoding: 7bit --15704719692.Ce1CEE53.14885 Date: Mon, 7 Oct 2019 18:12:49 +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 #112 from Lukas Wunner --- (In reply to Przemys=C5=82aw Kopa from comment #111) > (In reply to Lukas Wunner from comment #110) > > What does "cat /sys/bus/pci/devices/0000:01:00.1/hdaudioC1D0/revision_i= d" say? > It says: 0x100100 >=20 > > 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. >=20 > 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! Glad to hear. You don't seem to have any commits in the kernel so far. Would you like to try and bake these changes into a proper patch? If not I'll gla= dly create and submit the patch myself but mentoring someone else make their fi= rst contribution is more beneficial to the community, hence my question. You co= uld attach the patch to this bugzilla and we can provide you with comments befo= re you submit it to the list. --=20 You are receiving this mail because: You are the assignee for the bug.= --15704719692.Ce1CEE53.14885 Date: Mon, 7 Oct 2019 18:12:49 +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 # 112 on bug 75985<= /a> from Lukas Wunner
(In reply to Przemys=C5=82aw Kopa from comment #111)
> (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
>=20
> > If you add "codec->link_down_at_suspend =3D 1;" to p=
atch_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 c=
ard.
>=20
> 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(). W=
ith those changes
> dGPU and HDA suspended normally (after echoing "auto" to HDA=
 control file),
> so I think that this is definiteley the right track!

Glad to hear. You don't seem to have any commits in the kernel so far. Would
you like to try and bake these changes into a proper patch? If not I'll gla=
dly
create and submit the patch myself but mentoring someone else make their fi=
rst
contribution is more beneficial to the community, hence my question. You co=
uld
attach the patch to this bugzilla and we can provide you with comments befo=
re
you submit it to the list.


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