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: Thu, 01 Mar 2018 10:42:30 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0768704644=="
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
--===============0768704644==
Content-Type: multipart/alternative; boundary="15199009501.687CF4c.21819"
Content-Transfer-Encoding: 7bit
--15199009501.687CF4c.21819
Date: Thu, 1 Mar 2018 10:42:30 +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 #36 from Maik Freudenberg ---
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 po=
int
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 aga=
in
in that case.
This would also work around the quirks of some laptop's acpi toggling the b=
it
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-ov=
er-hdmi-only-hda-intel-detected-azalia/post/5228002/#5228002
[2]
https://devtalk.nvidia.com/default/topic/1024022/linux/gtx-1060-no-audio-ov=
er-hdmi-only-hda-intel-detected-azalia/post/5234127/#5234127
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15199009501.687CF4c.21819
Date: Thu, 1 Mar 2018 10:42:30 +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
You are receiving this mail because:
- You are the assignee for the bug.
=
--15199009501.687CF4c.21819--
--===============0768704644==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============0768704644==--