summaryrefslogtreecommitdiff
path: root/overlay
AgeCommit message (Collapse)Author
2013-08-21overlay: i915 pmu doesn't require a specific frequencyChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21overlay: Put a faint outline around each chartChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21overlay: Fade the graphs behind the textChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21overlay: Fix old mmio gpu busyness probingChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Fix sampling of i915 perf eventChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Fix display of rc6 statesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Add copyright statementsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Use the new i915 PMU to query GPU busynessChris Wilson
And so avoid having to hold forcewake indefinitely. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Take a snapshot on SIGUSR1Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Include gpu-perf.h for distributionDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20overlay: Sample power every secondChris Wilson
Found the bug, but still only read the msr once every second - mainly as an exercise in handling different sample rates. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: use rc6_enable to drop useless informationChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Fix counting failChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Add graph for GPU power consumptionChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Add rc6 residencyChris Wilson
Not much point at the moment since we use forcewake to continuously probe the GPU busyness. But that will eventually change to a more power-efficient in-kernel. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19overlay: Wrap the colour index around the rgba arrayChris Wilson
And stop assigning colours beyond the end of the array. Still needs a better method for colour assignment, big list of good colours & ida? Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19overlay: Add missing include "debugfs.h"Chris Wilson
Later versions of gcc are apparently stricter. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19overlay: Auatomatically mount debugfsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19overlay: Tweak label locations to include baseline offset.Chris Wilson
Still approximately, too lazy to query the metrics. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Add a X11 window backendChris Wilson
Useful for remote hosts. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Tweak a couple of the fill colours to be slightly less horridChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Don't smooth gpu freqChris Wilson
This is supposed to be discrete jumps, so use straight lines to emphasis this nature. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Remove the double ':' from object comm namesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Use a more compact 2x2 layout for the graphsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Rearrange GUI stateChris Wilson
Planning a new layout... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Print min/max GPU frequencies.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Convert gem objects to megabytesChris Wilson
Less confusing, I hope. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Parse gem objectsChris Wilson
Condense the information and begin graphing it. Remaining todo for memory is to measure bind/evict flux, and perhaps clflush. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Add GPU frequencyChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Include CPU usage in the overview chartChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18overlay: Count flips per planeChris Wilson
Stop the misleading double-accounting of flips when we have multiple displays active. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Improve the horizontal fit of the chartsChris Wilson
Notably fix the fill boundary to not extend past the right hand side of the chart. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Correct layout of ring/seqno in raw sampleChris Wilson
For seqno completion, the events are too coarse i.e. one event may signal the completion of a few seqno. We will need to sort the events to properly compute the busy times. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Accumulate busy timesChris Wilson
Still a little too course as we add multiple overlapping seqnos and waits. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Couple wait begin/end events together to fix accountingChris Wilson
Since the events may be processed out of order (due to per-cpu ringbuffers) we need to be careful to associated wait pairs in order to compute the correct elapsed time. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Perf output redirection must be done after mmap()Chris Wilson
Effectively you choose to redirect the output of an event instead of mmapping it directly - but the target must already be mmapped. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Show per-process wait timesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Graph per-process requests over timeChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Track requests per-processChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Drop unused mmap/comm eventsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Constify perf ringbufferChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Fix wraparound handling of perf ringbufferChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Primitive integration with perfChris Wilson
We can now record when a pageflip occurs by listening for the flip tracepoint. Merely proof of principle at this point. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17overlay: Show GPU waitsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17Introduce intel-gpu-overlayChris Wilson
A realtime display of GPU activity. Note, this is just at the point of minimum usability... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>