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 00:08:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1422812839==" 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 --===============1422812839== Content-Type: multipart/alternative; boundary="15201221321.b5E7B3.7281" Content-Transfer-Encoding: 7bit --15201221321.b5E7B3.7281 Date: Sun, 4 Mar 2018 00:08:52 +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 #45 from Denis Lisov --- (In reply to Lukas Wunner from comment #37) > Related to this issue, I've just posted v2 of my patch set to use a device > link for power management of GPU-integrated HDA controllers: > https://lists.freedesktop.org/archives/dri-devel/2018-March/168012.html >=20 > It would be great if more people could test it. There's a 4.15-based bran= ch > available at: > https://github.com/l1k/linux/commits/switcheroo_devlink_v2 Tested these patches on Lenovo Thinkpad P50. Audio works, the HDA and GPU suspend when unused with no errors in logs and resume when needed. HDA unbind/bind worked with no errors, some "Too big adjustment {128,384}" messages in dmesg. For this hardware, even a plugged in HDMI TV on boot does not cause the aud= io device to appear, so the test was done with a PCI early quirk like suggeste= d in this bug. --=20 You are receiving this mail because: You are the assignee for the bug.= --15201221321.b5E7B3.7281 Date: Sun, 4 Mar 2018 00:08:52 +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 # 45 on bug 75985<= /a> from Denis Lisov
(In reply to Lukas Wunner from comment #37)
> Related to this issue, I've just posted v2 of my=
 patch set to use a device
> link for power management of GPU-integrated HDA controllers:
> https://lists.freedesktop.org/archives/dri-devel/2018-March/1=
68012.html
>=20
> It would be great if more people could test it. There's a 4.15-based b=
ranch
> available at:
> https://github.com/l1k/linux/commits/switcheroo_devlink_v2

Tested these patches on Lenovo Thinkpad P50. Audio works, the HDA and GPU
suspend when unused with no errors in logs and resume when needed.
HDA unbind/bind worked with no errors, some "Too big adjustment {128,3=
84}"
messages in dmesg.

For this hardware, even a plugged in HDMI TV on boot does not cause the aud=
io
device to appear, so the test was done with a PCI early quirk like suggeste=
d in
this bug.


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