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: Tue, 06 Mar 2018 19:57:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2002875976==" 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 --===============2002875976== Content-Type: multipart/alternative; boundary="15203662486.59dEdBE.8267" Content-Transfer-Encoding: 7bit --15203662486.59dEdBE.8267 Date: Tue, 6 Mar 2018 19:57:28 +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 #56 from Lukas Wunner --- (In reply to Ilia Mirkin from comment #53) > (In reply to Lukas Wunner from comment #52) > > Ilia, do you have definitive knowledge of GPUs which > > a) have a different class than PCI_CLASS_DISPLAY_VGA and > > b) have working DP/HDMI outputs and > > c) have an integrated HDA controller? > >=20 > > I'm asking because get_bound_vga() in sound/pci/hda/hda_intel.c specifi= cally > > matches against PCI_CLASS_DISPLAY_VGA only. In other words, if a GPU wi= th > > the three above-listed properties exists and is built into a hybrid gra= phics > > laptop, it is currently not registered with vga_switcheroo, which would= be > > wrong. >=20 > I can say with some certainty that there are laptops running around, esp > GM107's, whose pci class is 3D, and that have attached DP/HDMI outputs. >=20 > I don't think the users in question ever asked about audio, so I don't kn= ow > about the last bit. However I can't imagine that it wouldn't be there (esp > once all the proper enablement is done). In the meantime I've done extensive googling for dmesg output of a laptop t= hat satisfies all three conditions listed above, but I come back empty-handed. I did find machines with a PCI_CLASS_DISPLAY_3D Nvidia card and an HDA device= on function 1, but those weren't laptops. So it looks to me like we're good ri= ght now but we'll definitely need to amend hda_intel.c if we expose the HDA dev= ice on all modern cards. > Is hda_intel only for intel? No, that file contains the driver for all PCI HDA devices, its name is a historic artifact. --=20 You are receiving this mail because: You are the assignee for the bug.= --15203662486.59dEdBE.8267 Date: Tue, 6 Mar 2018 19:57:28 +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

Commen= t # 56 on bug 75985<= /a> from Lukas Wunner
(In reply to Ilia Mirkin from comment #53)
> (In reply to Lukas Wunner from comment #52)
> > Ilia, do you have definitive knowledge of GPUs which
> > a) have a different class than PCI_CLASS_DISPLAY_VGA and
> > b) have working DP/HDMI outputs and
> > c) have an integrated HDA controller?
> >=20
> > I'm asking because get_bound_vga() in sound/pci/hda/hda_intel.c s=
pecifically
> > matches against PCI_CLASS_DISPLAY_VGA only. In other words, if a =
GPU with
> > the three above-listed properties exists and is built into a hybr=
id graphics
> > laptop, it is currently not registered with vga_switcheroo, which=
 would be
> > wrong.
>=20
> I can say with some certainty that there are laptops running around, e=
sp
> GM107's, whose pci class is 3D, and that have attached DP/HDMI outputs.
>=20
> I don't think the users in question ever asked about audio, so I don't=
 know
> about the last bit. However I can't imagine that it wouldn't be there =
(esp
> once all the proper enablement is done).

In the meantime I've done extensive googling for dmesg output of a laptop t=
hat
satisfies all three conditions listed above, but I come back empty-handed. I
did find machines with a PCI_CLASS_DISPLAY_3D Nvidia card and an HDA device=
 on
function 1, but those weren't laptops. So it looks to me like we're good ri=
ght
now but we'll definitely need to amend hda_intel.c if we expose the HDA dev=
ice
on all modern cards.

> Is hda_intel only for intel?

No, that file contains the driver for all PCI HDA devices, its name is a
historic artifact.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15203662486.59dEdBE.8267-- --===============2002875976== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============2002875976==--