Skip to contentSkip to conversation

Raven: `flush_delayed_work()` takes 500 ms

Bug 107376 [email protected] 1 participant 3 messages Jul 25, 2018 – Nov 20, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=107376

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: [email protected]
Reporter: [email protected]

Created attachment 140811
--> https://bugs.freedesktop.org/attachment.cgi?id=140811&action=edit
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) with 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().

• flush_delayed_work (505.026 ms @ 98.640854)
[…]
• flush_work (505.017 ms @ 98.640863)
[…]
• wait_for_completion (504.985 ms @ 98.640894)
[…]
• schedule_timeout (504.963 ms @ 98.640914)
[…]
• schedule (504.963 ms @ 98.640914)

[1]: https://01.org/suspendresume
[2]: https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next
[3]: https://bugs.freedesktop.org/show_bug.cgi?id=107278

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=107376

Paul Menzel <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |107278

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=107278
[Bug 107278] Raven: pci_pm_resume takes over 1 second

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=107376

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Martin Peres <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel