Bug 93865

Summary: debugfs: expose fifo pipe underrun counts
Product: DRI Reporter: Joe Konno <joe.konno>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED NOTABUG QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: medium CC: intel-gfx-bugs, rodrigo.vivi
Version: DRI git   
Hardware: All   
OS: Linux (All)   
URL: http://patchwork.freedesktop.org/series/2852/
Whiteboard:
i915 platform: ALL i915 features: display/Other

Description Joe Konno 2016-01-25 21:52:27 UTC
I believe a mechanism for counting pipe [under,over]runs would be useful during debug.

If, during a particular workload, you consistently see X pipe underruns, and then apply a patch and see "10% less" pipe underruns, you can say you've progressed or regressed.

Propose adding a quick counter every vsync. I'll post an RFC patch today or tomorrow.
Comment 1 Joe Konno 2016-01-26 19:42:19 UTC
Sent RFC to mailing list:
  * http://patchwork.freedesktop.org/series/2852/
Comment 2 Jani Saarinen 2016-12-09 11:13:04 UTC
Joe, is this issue still valid?
Comment 3 Jani Saarinen 2017-03-08 07:28:34 UTC
Closing as no response. Joe if your patch is not in and you are not happy, please re-open.
Comment 4 Joe Konno 2017-03-08 14:56:09 UTC
My original RFC was overly simplistic when I submitted it. And given how much development has happened over the last year, it would likely need a complete re-think and re-vamp.

There is a need for accurate underrun accounting for debug, though I haven't the bandwidth to meet that need.

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.