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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 1 10:42:30 UTC 2018


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

--- Comment #36 from Maik Freudenberg <hhfeuer at gmx.de> ---
I don't know about the current state of this, I would put some effort into it
if nobody else is working on it. Daniel Drake's patch is a good starting point
for that.
Currently, it looks like the problem lies in that the audio dev is only ever
looked after on nouveau drm module load. Instead, the state of it should be
checked/toggled on
- connector connected/disconected
- poweron/off the corresponding gpu
e.g remove the audio dev on suspend if it has been previously enabled, on
resume check if any connector is connected that needs it and enabled it again
in that case.
This would also work around the quirks of some laptop's acpi toggling the bit
either on boot [1] or on suspend [2].
Desktop cards should not be affected by that because they start with audio dev
enabled, so it will not be touched.
Quirks will have to be added for nForce chipsets with IGP since those have a
separate audio dev.

BTW, the kernel module has moved to:
https://github.com/hhfeuer/nvhda


[1]
https://devtalk.nvidia.com/default/topic/1024022/linux/gtx-1060-no-audio-over-hdmi-only-hda-intel-detected-azalia/post/5228002/#5228002
[2]
https://devtalk.nvidia.com/default/topic/1024022/linux/gtx-1060-no-audio-over-hdmi-only-hda-intel-detected-azalia/post/5234127/#5234127

-- 
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/20180301/24cc4738/attachment.html>


More information about the Nouveau mailing list