Chris Wilson
ea80196d9f
overlay: Replace debug ticker with hostname
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 22:53:00 +01:00
Chris Wilson
92a2f8010b
overlay: Double buffer the x11 window
...
For pleasant remote transport.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 19:21:13 +01:00
Chris Wilson
7c52a3cf52
overlay: Rudiments of config files and option parsing
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 15:28:02 +01:00
Chris Wilson
184786988e
overlay: Fill the blank charts with error messages
...
Instead of showing nothing, show a "space left intentionally blank"
message.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 10:59:58 +00:00
Chris Wilson
db35f8c6ad
overlay: Put a faint outline around each chart
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21 13:36:51 +01:00
Chris Wilson
e34fab5d2b
overlay: Fade the graphs behind the text
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21 11:11:53 +01:00
Chris Wilson
0b78c1632c
overlay: Fix display of rc6 states
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 21:58:22 +01:00
Chris Wilson
b98bade56e
overlay: Add copyright statements
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 21:39:27 +01:00
Chris Wilson
5cb8c77d69
overlay: Take a snapshot on SIGUSR1
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 21:30:56 +01:00
Chris Wilson
c888507b68
overlay: use rc6_enable to drop useless information
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 11:08:13 +01:00
Chris Wilson
5c81cda0ff
overlay: Add graph for GPU power consumption
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 10:26:23 +01:00
Chris Wilson
baa5be07d6
overlay: Add rc6 residency
...
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-20 10:03:47 +01:00
Chris Wilson
00282ed458
overlay: Wrap the colour index around the rgba array
...
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-19 23:29:08 +01:00
Chris Wilson
f71d7aeb77
overlay: Add missing include "debugfs.h"
...
Later versions of gcc are apparently stricter.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19 22:26:01 +01:00
Chris Wilson
55b8c33ca5
overlay: Auatomatically mount debugfs
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19 18:16:11 +01:00
Chris Wilson
3df8300e23
overlay: Tweak label locations to include baseline offset.
...
Still approximately, too lazy to query the metrics.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-19 08:20:15 +01:00
Chris Wilson
34e4780c8e
overlay: Add a X11 window backend
...
Useful for remote hosts.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 21:10:26 +01:00
Chris Wilson
1c1a279806
overlay: Tweak a couple of the fill colours to be slightly less horrid
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 19:21:02 +01:00
Chris Wilson
1391ae08eb
overlay: Don't smooth gpu freq
...
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-18 19:21:02 +01:00
Chris Wilson
5d41b13824
overlay: Remove the double ':' from object comm names
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:55:12 +01:00
Chris Wilson
6a38200b87
overlay: Use a more compact 2x2 layout for the graphs
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:51:22 +01:00
Chris Wilson
74032f4b45
overlay: Rearrange GUI state
...
Planning a new layout...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:40:03 +01:00
Chris Wilson
7d950fa6f2
overlay: Print min/max GPU frequencies.
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:27:47 +01:00
Chris Wilson
3f5129471f
overlay: Convert gem objects to megabytes
...
Less confusing, I hope.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 18:24:43 +01:00
Chris Wilson
e1ed5606c6
overlay: Parse gem objects
...
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-18 18:17:05 +01:00
Chris Wilson
de2c97b27f
overlay: Add GPU frequency
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 16:53:18 +01:00
Chris Wilson
6a64ee938b
overlay: Include CPU usage in the overview chart
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 15:57:47 +01:00
Chris Wilson
98572f0446
overlay: Count flips per plane
...
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-18 11:22:52 +01:00
Chris Wilson
67f533f836
overlay: Accumulate busy times
...
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-17 22:33:35 +01:00
Chris Wilson
6233cac9c9
overlay: Couple wait begin/end events together to fix accounting
...
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-17 22:22:21 +01:00
Chris Wilson
eed59eac47
overlay: Show per-process wait times
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 21:14:10 +01:00
Chris Wilson
cc9de398cf
overlay: Graph per-process requests over time
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 20:32:58 +01:00
Chris Wilson
cbbd55af15
overlay: Track requests per-process
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 20:04:11 +01:00
Chris Wilson
cc45a9a3db
overlay: Primitive integration with perf
...
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-17 17:42:14 +01:00
Chris Wilson
06c0cc0bb4
overlay: Show GPU waits
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 12:35:50 +01:00
Chris Wilson
f9a50de3dc
Introduce intel-gpu-overlay
...
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>
2013-08-17 11:21:51 +01:00