Summary: | Raven: `amdgpu_device_ip_resume_phase2()` takes 750 ms | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Paul Menzel <pmenzel+bugs.freedesktop.org> | ||||||
Component: | DRM/AMDgpu | Assignee: | Default DRI bug account <dri-devel> | ||||||
Status: | RESOLVED MOVED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | medium | ||||||||
Version: | DRI git | ||||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 107278 | ||||||||
Attachments: |
|
Description
Paul Menzel
2018-07-25 13:28:01 UTC
Created attachment 140814 [details] [review] Do posting read in psp_v10_0_cmd_submit Does this patch help by any chance? (In reply to Paul Menzel from comment #0) > Also, I wonder why the sleep in the trace is 3 ms instead of 1 ms like in > the code. Maybe your kernel is configured with CONFIG_HZ=300? Anyway, it doesn't really matter, as it's waiting for the PSP to finish processing the command. (In reply to Michel Dänzer from comment #1) > Created attachment 140814 [details] [review] [review] > Do posting read in psp_v10_0_cmd_submit > > Does this patch help by any chance? No, unfortunately it does not change the times. > (In reply to Paul Menzel from comment #0) > > Also, I wonder why the sleep in the trace is 3 ms instead of 1 ms like in > > the code. > > Maybe your kernel is configured with CONFIG_HZ=300? Anyway, it doesn't > really matter, as it's waiting for the PSP to finish processing the command. ``` $ grep CONFIG_HZ .config # CONFIG_HZ_PERIODIC is not set # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set # CONFIG_HZ_300 is not set CONFIG_HZ_1000=y CONFIG_HZ=1000 ``` With v4.19-rc4-22-gad3273d5f1b9 (Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4) this now got worse, and `amdgpu_device_ip_resume_phase2()` now takes 1.166 s. `psp_np_fw_load()` takes 868.190 ms, and `dm_resume()` 178.380 ms. It’d be great, if you could talk to the PSP firmware team, and also document, if you can reproduce this. -- 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/462. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.