From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107376] Raven: `flush_delayed_work()` takes 500 ms Date: Wed, 25 Jul 2018 13:51:58 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1673363143==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F80F6E6D4 for ; Wed, 25 Jul 2018 13:51:58 +0000 (UTC) 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 --===============1673363143== Content-Type: multipart/alternative; boundary="15325267181.9b80f87.22780" Content-Transfer-Encoding: 7bit --15325267181.9b80f87.22780 Date: Wed, 25 Jul 2018 13:51:58 +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=3D107376 Bug ID: 107376 Summary: Raven: `flush_delayed_work()` takes 500 ms Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: pmenzel+bugs.freedesktop@molgen.mpg.de Created attachment 140811 --> https://bugs.freedesktop.org/attachment.cgi?id=3D140811&action=3Dedit HTML output of `sudo ./sleepgraph.py -config config/suspend-callgraph.cfg` (devicelist: amdgpu, maxdepth: 12) Created attachment 140810 [details] HTML output of `sudo ./sleepgraph.py -config config/suspend-callgraph.cfg` (devicelist: amdgpu, maxdepth: 12) Profiling the suspend and resume time [1] on a MSI B350M MORTAR (MS-7A37) w= ith AMD Ryzen 3 2200G with Radeon Vega Graphics with Linux 4.18-rc6+ and amd-staging-drm-next [2], `pci_pm_suspend()` takes over one second, which is too long [3], cf. bug 107278 [3]. This is spent in `amdgpu_device_ip_resume_phase2()`, where 505 ms are spent= in `flush_delayed_work()`. =E2=80=A2 flush_delayed_work (505.026 ms @ 98.640854) [=E2=80=A6] =E2=80=A2 flush_work (505.017 ms @ 98.640863) [=E2=80=A6] =E2=80=A2 wait_for_completion (504.985 ms @ 98.640894) [=E2=80=A6] =E2=80=A2 schedule_timeout (504.963 ms @ 98.640914) [=E2=80=A6] =E2=80=A2 schedule (504.963 ms @ 98.640914) [1]: https://01.org/suspendresume [2]: https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-staging-drm-next [3]: https://bugs.freedesktop.org/show_bug.cgi?id=3D107278 --=20 You are receiving this mail because: You are the assignee for the bug.= --15325267181.9b80f87.22780 Date: Wed, 25 Jul 2018 13:51:58 +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
Bug ID 107376
Summary Raven: `flush_delayed_work()` takes 500 ms
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter pmenzel+bugs.freedesktop@molgen.mpg.de

Created attac=
hment 140811 [details]
HTML output of `sudo ./sleepgraph.py -config config/suspend-callgraph.cfg`
(devicelist: amdgpu, maxdepth: 12)

Created attachment 140810<=
/a> [details]
HTML output of `sudo ./sleepgraph.py -config config/suspend-callgraph.cfg`
(devicelist: amdgpu, maxdepth: 12)

Profiling the suspend and resume time [1] on a MSI B350M MORTAR (MS-7A37) w=
ith
AMD Ryzen 3 2200G with Radeon Vega Graphics with Linux 4.18-rc6+ and
amd-staging-drm-next [2], `pci_pm_suspend()` takes over one second, which is
too long [3], cf. bug 107278 [3].

This is spent in `amdgpu_device_ip_resume_phase2()`, where 505 ms are spent=
 in
`flush_delayed_work()`.

=E2=80=A2   flush_delayed_work (505.026 ms @ 98.640854)
    [=E2=80=A6]
    =E2=80=A2   flush_work (505.017 ms @ 98.640863)
        [=E2=80=A6]
        =E2=80=A2   wait_for_completion (504.985 ms @ 98.640894)
            [=E2=80=A6]
            =E2=80=A2    schedule_timeout (504.963 ms @ 98.640914)
                 [=E2=80=A6]
                 =E2=80=A2   schedule (504.963 ms @ 98.640914)

[1]: https://01.org/suspendresume<=
/a>
[2]: https://cgit.freedesktop.org/~agd5f/linux/log/?h=3Damd-stagin=
g-drm-next
[3]: https://bugs.freedesktop.org/show_bug.=
cgi?id=3D107278


You are receiving this mail because:
  • You are the assignee for the bug.
= --15325267181.9b80f87.22780-- --===============1673363143== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1673363143==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107376] Raven: `flush_delayed_work()` takes 500 ms Date: Wed, 25 Jul 2018 13:52:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1229177430==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 5FD1D6E6D0 for ; Wed, 25 Jul 2018 13:52:25 +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 --===============1229177430== Content-Type: multipart/alternative; boundary="15325267452.1dCB565.22883" Content-Transfer-Encoding: 7bit --15325267452.1dCB565.22883 Date: Wed, 25 Jul 2018 13:52:25 +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=3D107376 Paul Menzel changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |107278 Referenced Bugs: https://bugs.freedesktop.org/show_bug.cgi?id=3D107278 [Bug 107278] Raven: pci_pm_resume takes over 1 second --=20 You are receiving this mail because: You are the assignee for the bug.= --15325267452.1dCB565.22883 Date: Wed, 25 Jul 2018 13:52:25 +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 Paul Menzel changed bug 10737= 6
What Removed Added
Blocks   107278


Referenced Bugs:


You are receiving this mail because:
  • You are the assignee for the bug.
= --15325267452.1dCB565.22883-- --===============1229177430== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1229177430==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107376] Raven: `flush_delayed_work()` takes 500 ms Date: Wed, 20 Nov 2019 07:49:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2089591372==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C6A126E191 for ; Wed, 20 Nov 2019 07:49:23 +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 --===============2089591372== Content-Type: multipart/alternative; boundary="15742361631.cc01D9B3.1633" Content-Transfer-Encoding: 7bit --15742361631.cc01D9B3.1633 Date: Wed, 20 Nov 2019 07:49:23 +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=3D107376 Martin Peres changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED --- Comment #1 from Martin Peres --- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/464. --=20 You are receiving this mail because: You are the assignee for the bug.= --15742361631.cc01D9B3.1633 Date: Wed, 20 Nov 2019 07:49:23 +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 <= span class=3D"fn">Martin Peres changed bug 10737= 6
What Removed Added
Status NEW RESOLVED
Resolution --- MOVED

Commen= t # 1 on bug 10737= 6 from Martin Peres
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/464.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15742361631.cc01D9B3.1633-- --===============2089591372== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============2089591372==--