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 12:47:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1846922786==" 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 --===============1846922786== Content-Type: multipart/alternative; boundary="15201676712.CA3dD.22057" Content-Transfer-Encoding: 7bit --15201676712.CA3dD.22057 Date: Sun, 4 Mar 2018 12:47:51 +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 #52 from Lukas Wunner --- (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. 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? I'm asking because get_bound_vga() in sound/pci/hda/hda_intel.c specifically matches against PCI_CLASS_DISPLAY_VGA only. In other words, if a GPU with t= he three above-listed properties exists and is built into a hybrid graphics laptop, it is currently not registered with vga_switcheroo, which would be wrong. --=20 You are receiving this mail because: You are the assignee for the bug.= --15201676712.CA3dD.22057 Date: Sun, 4 Mar 2018 12:47:51 +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 # 52 on bug 75985<= /a> from Lukas Wunner
(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 woul=
d ship a 3D
> > class tagged device actually having outputs.
>=20
> This happens. A lot.

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?

I'm asking because get_bound_vga() in sound/pci/hda/hda_intel.c specifically
matches against PCI_CLASS_DISPLAY_VGA only. In other words, if a GPU with t=
he
three above-listed properties exists and is built into a hybrid graphics
laptop, it is currently not registered with vga_switcheroo, which would be
wrong.


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