summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-08-29overlay: Autohide Flip counter after a period of inactivityChris Wilson1-25/+28
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29overlay: Monitor per-ring context switch rateChris Wilson3-11/+61
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-28overlay: Make it easier to reniceChris Wilson1-2/+10
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-28overlay: Generate unique name for snapshotsChris Wilson1-3/+9
Since we no longer increment the counter every frame, we need to use a timestamp instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Add number of running processes to CPU displayChris Wilson3-4/+23
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Include the core count in the cpu info lineChris Wilson1-1/+3
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Scale the CPU busy value by the numer of active coresChris Wilson3-2/+14
Having 100% always mean one processor fully utilised is much easier to understand (than having to remember how many cores are on each machine and scale appropriately). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Tidy presentation of ring busy valuesChris Wilson1-3/+11
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Restore the correct default font sizeChris Wilson1-7/+7
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: read rc6 status from perfChris Wilson4-29/+98
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Add support for multi-monitor positioningChris Wilson8-87/+72
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Set the text color in case we do not have RC6Chris Wilson1-0/+2
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: improve alignment of some labelsChris Wilson1-26/+36
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Read interrupts from perfChris Wilson2-23/+56
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Read frequency from perfChris Wilson2-22/+91
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Read power from perf_eventsChris Wilson8-73/+131
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26overlay: Align the process names in the memory tableChris Wilson1-2/+2
And use a shade of gray to distinguish from the total instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26lib/drmtest: restore in_fixture assertDaniel Vetter1-0/+6
I didn't really want to revert those, too ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-26Revert "tests/gem_concurrent_blit: Fix segmentation fault"Daniel Vetter2-6/+2
This reverts commit 912a7d855600aadb937517ec5bab26bfd9b8953d. Now fixed for real! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-26lib/drmtest: don't complete fixtures with a longjmpDaniel Vetter2-2/+11
Longjmp creates havoc with stack variables of the current stackframe. And since fixtures should be used to set up such variables creating havoc isn't a great idea. With this I can revert a bunch of bogus patches I've done to paper over this by moving stack variables to be global. The same issue is actually a feature for subtest blocks since subtests should be independant anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-26tests/gem_mmap_gtt: Add testcase for the vma access managerDaniel Vetter1-0/+40
Currently fails since the patches aren't merged yet. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-26tests/gem_mmap: Convert to subtestsDaniel Vetter2-34/+41
I wanted to write a testcase for gtt mmap access restriction checking and only noticed after conversion to subtests that this here is for cpu mmaps ;-) Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-26tests/kms_setmode: don't save/restore vt graphics for dry-runImre Deak2-4/+5
Signed-off-by: Imre Deak <imre.deak@intel.com>
2013-08-26lib/drmtest: fix handling of -h --help argument parsingImre Deak1-20/+26
So far we handled -h or --help arguments properly only if the test called igt_subtest_init_parse_opts(). Fix this for igt_subtest_init() callers too. Make sure we still don't exit for any other unknown options, which the caller may parse with a second getopt scan. Signed-off-by: Imre Deak <imre.deak@intel.com>
2013-08-26overlay: Trim the padding slightlyChris Wilson1-49/+53
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26overlay: Count number of semaphores used by each processChris Wilson3-53/+53
This required me to contract the per-process information considerably, hopefully readability is not sacrificed too much. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Allow simple positioning and resizingChris Wilson2-13/+45
Using window.size=<width>x<height> or window.size=<scale>% in the config file, or --size=<scale>% or --size=<width>x<height> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Monitor interruptsChris Wilson4-4/+136
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Detach from terminalChris Wilson1-1/+8
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Add a raw kms outputChris Wilson4-1/+351
For when you don't have any display server, use brute force. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Draw the cpu busy line on top of the waitsChris Wilson1-1/+1
By drawing it behind the waits, it is obscured by the translucent waits. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: simplify types for object counts for 32/64bit portingChris Wilson3-11/+10
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Expose sampling period/frequency as a user parameterChris Wilson1-3/+20
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-23tests/gem_evict_*: Add interruptible modesDaniel Vetter3-22/+74
Also I've stumbled over igt_fixture again. Somehow gcc loves to wreak havoc with stack variables set up in igt_fixtures ... Duct-tape in the form of moving fd out to global scope applied. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-23overlay: Fix power reading from debugfsChris Wilson1-1/+5
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-23overlay: Distinguish the root debugfs path and our dri nodeChris Wilson5-10/+15
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-23overlay: Search for right debugfs pathChris Wilson6-12/+43
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-23tests/sysfs_rps: Fix igt_require conversionDaniel Vetter1-1/+2
Another fumble caught by QA. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68461 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-22overlay: Replace debug ticker with hostnameChris Wilson1-8/+9
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22overlay: Close DRI2 device after authentication failureChris Wilson1-2/+7
So that we don't leave a master fd open when operating remotely. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22overlay: Double buffer the x11 windowChris Wilson2-5/+35
For pleasant remote transport. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22overlay: Make the config parser more lenientChris Wilson1-13/+32
Allow a dot-notation outside of the [ini] style to make commandline parameters easier to add. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22tests/pc8: don't work around the eDP I2C bugPaulo Zanoni1-16/+1
On the current Kernels, i2c operations on disabled eDP panels don't work because we don't enable the panel before doing the i2c transactions. Whenever we try these transactions we print an error message on dmesg and fail. The current test suite was trying to work around this problem: we count how many eDP outputs we have and add them to the final result. Daniel asked me to not work around the bug, so now the i2c test will fail until we actually fix the Kernel bug (or stop using eDP panels). Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-08-22tests/pc8: fix function return valuePaulo Zanoni1-1/+1
Looks like I forgot to push this chunk... The test was passing in cases where you only have eDP monitors due to the fact that we consider i2c won't work on eDP monitors. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-08-22overlay: Rudiments of config files and option parsingChris Wilson8-86/+541
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22overlay: Fill the blank charts with error messagesChris Wilson3-5/+30
Instead of showing nothing, show a "space left intentionally blank" message. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22overlay: Remove busy estimationChris Wilson2-56/+6
Too inaccurate to be useful. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21tests: ddx_intel_after_fbdev loads intel ddx after fbdev was loaded.Rodrigo Vivi2-1/+81
v2: Don't add to kernel tests. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-21overlay: Fix underflow for clamping initial valuesChris Wilson1-1/+1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21overlay: i915 pmu doesn't require a specific frequencyChris Wilson1-3/+0
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>