From: bugzilla-daemon@freedesktop.org Subject: [Bug 107277] Raven: pci_pm_suspend takes over 1 second Date: Thu, 19 Jul 2018 15:46:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1195752612==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id ECE5D6EE17 for ; Thu, 19 Jul 2018 15:46:18 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1195752612== Content-Type: multipart/alternative; boundary="15320151781.359c171.10932" Content-Transfer-Encoding: 7bit --15320151781.359c171.10932 Date: Thu, 19 Jul 2018 15:46:18 +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=3D107277 --- Comment #8 from Paul Menzel --- (In reply to Michel D=C3=A4nzer from comment #7) > (In reply to Paul Menzel from comment #6) > > I increased the maximum depth to 10, >=20 > Can you attach the resulting HTML output, or is it too large? With a max-depth of 10 it=E2=80=99s too large, and even with 16 GB memory t= he browser takes ages to render it. I can try to trim the trace file. It should be possible to filter stuff, but I haven=E2=80=99t figured out how to pass the= device. Though, you can easily try it yourself. ``` $ git clone https://github.com/01org/pm-graph $ cd pm-graph $ vim config/suspend-callgraph.cfg # change maxdepth to 10 $ sudo ./sleepgraph.py -config config/suspend-callgraph.py # wait $ ls -ltr # shows you the output directory ``` It normally easier to look at the trace file directly. > > and according to the trace the loop in `gfx_v9_0_enter_rlc_safe_mode()`= is the culprit.=20 >=20 > Can you find out if the loop times out or not? I=E2=80=99ll try. --=20 You are receiving this mail because: You are the assignee for the bug.= --15320151781.359c171.10932 Date: Thu, 19 Jul 2018 15:46:18 +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 # 8 on bug 10727= 7 from Paul Menzel
(In reply to Michel D=C3=A4nzer from comment #7)
> (In reply to Paul Menzel from comment #6)
> > I increased the maximum depth to 10,
>=20
> Can you attach the resulting HTML output, or is it too large?

With a max-depth of 10 it=E2=80=99s too large, and even with 16 GB memory t=
he browser
takes ages to render it. I can try to trim the trace file. It should be
possible to filter stuff, but I haven=E2=80=99t figured out how to pass the=
 device.

Though, you can easily try it yourself.

```
$ git clone https://github.co=
m/01org/pm-graph
$ cd pm-graph
$ vim config/suspend-callgraph.cfg # change maxdepth to 10
$ sudo ./sleepgraph.py -config config/suspend-callgraph.py
# wait
$ ls -ltr # shows you the output directory
```

It normally easier to look at the trace file directly.

> > and according to the trace the loop in `gfx=
_v9_0_enter_rlc_safe_mode()` is the culprit.=20
>=20
> Can you find out if the loop times out or not?

I=E2=80=99ll try.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15320151781.359c171.10932-- --===============1195752612== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1195752612==--