From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 75985] [NVC1] HDMI audio device only visible after rescan Date: Wed, 02 Oct 2019 12:24:52 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0237234027==" 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 --===============0237234027== Content-Type: multipart/alternative; boundary="15700190925.E65dAdA8.21169" Content-Transfer-Encoding: 7bit --15700190925.E65dAdA8.21169 Date: Wed, 2 Oct 2019 12:24: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 #97 from Lukas Wunner --- (In reply to Przemys=C5=82aw Kopa from comment #87) > (In reply to Lukas Wunner from comment #86) > > Please provide the output of "grep . > > /sys/bus/pci/devices/0000:01:00.1/power/*" after echoing "auto" to its > > "control" file. >=20 > Here it is: > /sys/bus/pci/devices/0000:01:00.1/power/async:enabled > grep: /sys/bus/pci/devices/0000:01:00.1/power/autosuspend_delay_ms: B=C5= =82=C4=85d > wej=C5=9Bcia/wyj=C5=9Bcia // translates to: "Input/output error" > /sys/bus/pci/devices/0000:01:00.1/power/control:auto > /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_kids:0 > /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_time:105383 > /sys/bus/pci/devices/0000:01:00.1/power/runtime_enabled:enabled > /sys/bus/pci/devices/0000:01:00.1/power/runtime_status:active > /sys/bus/pci/devices/0000:01:00.1/power/runtime_suspended_time:6695 > /sys/bus/pci/devices/0000:01:00.1/power/runtime_usage:0 > /sys/bus/pci/devices/0000:01:00.1/power/wakeup:disabled Okay, there are no child devices keeping the HDA awake and no runtime PM references are held on the HDA device either. Why doesn't it runtime suspe= nd?=20 Chances are that the ->runtime_idle hook returns -EBUSY for some reason. W= e've had issues like this in the past, see bug #106597 and #106957. I'm attaching a debug patch (the same that I've created for the other two b= ug reports, but rebased on v5.3). Would you be able to apply it to your kerne= l, recompile, reboot, then attach the dmesg output to this bugzilla entry here? You can add "log_buf_len=3D10M ignore_loglevel" to the command line to ensu= re that dmesg isn't truncated and contains all debug output. --=20 You are receiving this mail because: You are the assignee for the bug.= --15700190925.E65dAdA8.21169 Date: Wed, 2 Oct 2019 12:24: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 # 97 on bug 75985<= /a> from Lukas Wunner
(In reply to Przemys=C5=82aw Kopa from comment #87)
> (In reply to Lukas Wunner from comment #86)
> > Please provide the output of "grep .
> > /sys/bus/pci/devices/0000:01:00.1/power/*" after echoing &qu=
ot;auto" to its
> > "control" file.
>=20
> Here it is:
> /sys/bus/pci/devices/0000:01:00.1/power/async:enabled
> grep: /sys/bus/pci/devices/0000:01:00.1/power/autosuspend_delay_ms: B=
=C5=82=C4=85d
> wej=C5=9Bcia/wyj=C5=9Bcia // translates to: "Input/output error&q=
uot;
> /sys/bus/pci/devices/0000:01:00.1/power/control:auto
> /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_kids:0
> /sys/bus/pci/devices/0000:01:00.1/power/runtime_active_time:105383
> /sys/bus/pci/devices/0000:01:00.1/power/runtime_enabled:enabled
> /sys/bus/pci/devices/0000:01:00.1/power/runtime_status:active
> /sys/bus/pci/devices/0000:01:00.1/power/runtime_suspended_time:6695
> /sys/bus/pci/devices/0000:01:00.1/power/runtime_usage:0
> /sys/bus/pci/devices/0000:01:00.1/power/wakeup:disabled

Okay, there are no child devices keeping the HDA awake and no runtime PM
references are held on the HDA device either.  Why doesn't it runtime suspe=
nd?=20
Chances are that the ->runtime_idle hook returns -EBUSY for some reason.=
  We've
had issues like this in the past, see bug #106597 and #106957.

I'm attaching a debug patch (the same that I've created for the other two b=
ug
reports, but rebased on v5.3).  Would you be able to apply it to your kerne=
l,
recompile, reboot, then attach the dmesg output to this bugzilla entry here?

You can add "log_buf_len=3D10M ignore_loglevel" to the command li=
ne to ensure
that dmesg isn't truncated and contains all debug output.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15700190925.E65dAdA8.21169-- --===============0237234027== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1 --===============0237234027==--