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: Sun, 04 Mar 2018 17:28:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0575158534==" 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 --===============0575158534== Content-Type: multipart/alternative; boundary="15201844895.1Ddac.3250" Content-Transfer-Encoding: 7bit --15201844895.1Ddac.3250 Date: Sun, 4 Mar 2018 17:28:09 +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 #53 from Ilia Mirkin --- (In reply to Lukas Wunner from comment #52) > (In reply to Ilia Mirkin from comment #49) > > (In reply to Maik Freudenberg from comment #47) > > > There's of course the possibility that some braindead vendor would sh= ip a 3D > > > class tagged device actually having outputs. > >=20 > > This happens. A lot. >=20 > 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 specifica= lly > 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 hybrid graph= ics > laptop, it is currently not registered with vga_switcheroo, which would be > wrong. 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. 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). Is hda_intel only for intel? If so, I'm pretty sure that all intel vga devi= ces are PCI_CLASS_DISPLAY_VGA. However if it's used for everything, then it nee= ds to deal with DISPLAY_3D as well. --=20 You are receiving this mail because: You are the assignee for the bug.= --15201844895.1Ddac.3250 Date: Sun, 4 Mar 2018 17:28:09 +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 # 53 on bug 75985<= /a> from Ilia Mirkin
(In reply to Lukas Wunner from comment #52)
> (In reply to Ilia Mirkin from comment #49)
> > (In reply to Maik Freudenberg from comment #47)
> > > There's of course the possibility that some braindead vendor=
 would ship a 3D
> > > class tagged device actually having outputs.
> >=20
> > This happens. A lot.
>=20
> 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 specif=
ically
> matches against PCI_CLASS_DISPLAY_VGA only. In other words, if a GPU w=
ith
> the three above-listed properties exists and is built into a hybrid gr=
aphics
> laptop, it is currently not registered with vga_switcheroo, which woul=
d be
> wrong.

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.

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).

Is hda_intel only for intel? If so, I'm pretty sure that all intel vga devi=
ces
are PCI_CLASS_DISPLAY_VGA. However if it's used for everything, then it nee=
ds
to deal with DISPLAY_3D as well.


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