[Nouveau] [Bug 75985] [NVC1] HDMI audio device only visible after rescan

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 7 18:12:49 UTC 2019


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

--- Comment #112 from Lukas Wunner <lukas at wunner.de> ---
(In reply to Przemysław 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
> 
> > If you add "codec->link_down_at_suspend = 1;" to patch_nvhdmi() in
> > sound/pci/hda/patch_hdmi.c, the issue may go away.
> > 
> > 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 = 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 gladly
create and submit the patch myself but mentoring someone else make their first
contribution is more beneficial to the community, hence my question. You could
attach the patch to this bugzilla and we can provide you with comments before
you submit it to the list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20191007/68512672/attachment.html>


More information about the Nouveau mailing list