Bug 93865 - debugfs: expose fifo pipe underrun counts
Summary: debugfs: expose fifo pipe underrun counts
Status: CLOSED NOTABUG
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: All Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL: http://patchwork.freedesktop.org/seri...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-25 21:52 UTC by Joe Konno
Modified: 2017-03-08 14:56 UTC (History)
2 users (show)

See Also:
i915 platform: ALL
i915 features: display/Other


Attachments

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.