Summary: | `radeon_ib_ring_tests` takes 0.5 s on resume | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Paul Menzel <paulepanter> | ||||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||||
Status: | RESOLVED NOTABUG | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | paulepanter | ||||||
Version: | DRI git | ||||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Paul Menzel
2017-04-23 08:45:54 UTC
Created attachment 130988 [details]
ftrace log
(In reply to Paul Menzel from comment #0) > Looking at the generated graph 540 ms is spent in `radeon_ib_ring_tests`, > which contributes most of the time. > > It’d be awesome to improve these times. And impossible as well. UVD hardware startup just takes about 400-500ms on the older boxes. No idea why. (In reply to Christian König from comment #2) > (In reply to Paul Menzel from comment #0) > > Looking at the generated graph 540 ms is spent in `radeon_ib_ring_tests`, > > which contributes most of the time. > > > > It’d be awesome to improve these times. > > And impossible as well. UVD hardware startup just takes about 400-500ms on > the older boxes. No idea why. Interesting. What part is responsible for this? AtomBIOS? Does the UVD hardware need to start up before displaying something on the screen, or could it be moved to the user space driver? How long does it take on the new hardware? (In reply to Paul Menzel from comment #3) > Interesting. What part is responsible for this? AtomBIOS? No, that is completely unrelated to AtomBIOS. The PLL just needs awfully long to settle and booting the firmware doesn't necessary succeed on the first try sometimes. If the later happens this can even take multiple seconds until everything is settled. > Does the UVD hardware need to start up before displaying something on the > screen, or could it be moved to the user space driver? Yes, all blocks must be started correctly for power management to work because we have a lot of interactions between the different blocks of the hardware. > How long does it take on the new hardware? I honestly don't know in detail. On newer hardware you give a single command to the power management uC and it does everything needed in the background. What I've forgot: One thing that could possible help would be an HDP flush directly before we wait for the fence. Just in case the value written for the fence is stuck in the HDP (unlikely, but worth a try). (In reply to Christian König from comment #5) > What I've forgot: One thing that could possible help would be an HDP flush > directly before we wait for the fence. > > Just in case the value written for the fence is stuck in the HDP (unlikely, > but worth a try). Sorry, I unfortunately don’t know how to write such a patch. It’d be awesome, if you provided a patch, that I could try. |
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.