summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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>
2013-08-21overlay: Put a faint outline around each chartChris Wilson1-3/+23
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21overlay: Fade the graphs behind the textChris Wilson1-20/+97
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21tests: Add gem_evict_alignmentChris Wilson2-0/+197
Clone gem_evict_everything and use it to exercise the misalignment paths. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-21lib/drmtest: fix logic fumble in gem_context_createDaniel Vetter1-1/+1
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68363 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-21overlay: Fix old mmio gpu busyness probingChris Wilson1-7/+7
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Fix sampling of i915 perf eventChris Wilson1-9/+11
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Fix display of rc6 statesChris Wilson1-8/+9
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Add copyright statementsChris Wilson27-0/+713
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20overlay: Use the new i915 PMU to query GPU busynessChris Wilson2-50/+216
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 Wilson1-0/+17
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20tests/pc8: Update to latest igt infrastructureDaniel Vetter1-9/+9
- Use igt_require for magic SKIP results while still printing results for all subtests. - Wrap setup/teardown code outside of subtests with igt_fixture. This will ensure that the so wrapped code isn't run when an igt_require/igt_assert failed (and we're essentially just printing the SKIP/FAIL result for all subtests) or when just enumerating subtests. - Use igt_exit. Otherwise SKIP/FAIL results of subtests won't be propagated correctly. - igt_subtest checks should be run unconditionally to make sure we always enumerate the same set of subtests. A bit on the line here since this is a subtest hidden behind a runtime flag. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-20tests: add pc8Paulo Zanoni3-0/+806
This test chekcs our code that enables Package C8+. The environment requirements for this test are quite complicated: - The machine needs to be properly configured to reach PC8+ when possible, which means all the power management policies and device drivers must be properly configured. - You need at least one output connected. - You need the /dev/cpu/0/msr file available. - You need the /dev/i2c-* files available. v2: - Many many changes due to the latest review comments and rebase. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-20gitignore: Add a couple of recent binaries to .gitignore filesDamien Lespiau2-0/+2
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20quick_dump: Use AM_V_GEN when generating the bindingsDamien Lespiau1-1/+1
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20overlay: Include gpu-perf.h for distributionDamien Lespiau1-0/+1
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20assembler: Disable the declare testDamien Lespiau1-1/+1
It's not hitting a valid assertion that it tries to write an instruction without a defined execution size (because the "default" exec_size never end up being set). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20assembler: Disable tests that where already failing in the gen4asm repoDamien Lespiau1-5/+13
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20assembler: Ignore make check outputDamien Lespiau1-0/+3
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20assembler: Fix the path of intel-gen4asmDamien Lespiau1-1/+1
With the move to intel-gpu-tools, we need to update that as well. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20assembler: Revert "Fix missing environment variables problem in ↵Damien Lespiau1-7/+5
test/run-test.sh" Same as: commit 497814f2f2828efdc5bdd787ebc490d5083f61b8 Author: Damien Lespiau <damien.lespiau@intel.com> Date: Tue Aug 20 14:52:05 2013 +0100 assembler: Revert "Automatically run all test cases." make check will define srcdir and buildir variables for us. This reverts commit 1c009349bc894bd195b5522540536898b0bee574.
2013-08-20assembler: Revert "Automatically run all test cases."Damien Lespiau2-80/+11
The tests where supposed to be run through make check, not running the "run-test.sh" standalone. So revert that patch to have make check work as intended. This reverts commit 6983eebf47f37def8f2315d5af1800b81644f240.
2013-08-20assembler: Tune the error message for invalid send on gen6+Damien Lespiau1-6/+6
And be a bit more descriptive. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20intel_infoframes: Be future-proof about showing 3D_Ext_DataDamien Lespiau1-1/+1
As Ville noted, future 3D_Struct must also send 3D_Ext_Data in the vendor infoframe. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20build: Fix the overlay build summary at the end of configureDamien Lespiau1-1/+1
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-20lib: Make igt_assert() abort under gdbChris Wilson1-0/+11
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>