summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-18lib: fix the assert in igt_stop_helperDaniel Vetter
So much for developing different patches on different machines and then not retesting after rebasing. Reported by Ben on irc. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-18lib: Don't wait for a vblank when enabling the CRCsDamien Lespiau
This was a previous attempt to solve the first CRC being bogus. We know wait for it and discard it at the end of the function. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-18tests/debugfs_pipe_crc: Test the read CRCs are not nullDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-17tests/debugfs_pipe_crc: test all connectorsDaniel Vetter
Diff looks a bit ugly, but it's just due to the added indentation. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-17tests/debugfs_pipe_crc: test all pipesDaniel Vetter
And skip them if there's no suitable connector. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-17tests/debugfs_pipe_crc: fix fb leakDaniel Vetter
Also remove the unused connector_t->mode. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-17tests/debugfs_pipe_crc: fall back to PIPE sourceDaniel Vetter
With PLANE1 and PIPE CRC sources the test will work on all currently shipping (and planed fwiw) platforms. Also add all the other new sources for non-ivb/hsw chips. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-17lib/drmtest: Check that helper processes have died correctlyDaniel Vetter
If the test gets stopped sometimes a helper process falls over. We need to report this. Since we currently don't track helper process to precisely we can't shut up the 2nd test failure messge. This shouldn't happen anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-17tests/ZZ_missed_irq: Fixup SOURCE_PATH handlingDaniel Vetter
Copy the trick from ZZ_hangman of just cd'ing into the old working directory in a subshell. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70561 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-16gem_ctx_bad_exec: skip vebox when appropriateBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-16README: list some of the dependenciesJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
2013-10-16tests/debugfs_pipe_crc: correctly skip on unsupported platformsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-15debugfs_pipe_crc: Let's check CRCs!Damien Lespiau
Let's add a new test that sets a mode, wait for a few vblanks (3) and then make sure we read 3 identical CRCs. Some subtests check for various parsing errors. In the process, improve the debugfs helpers to deal with CRCs. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-15lib: Add igt_wait_for_vblank() helperDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-15lib: Make igt_debugfs_open() take the mode as argumentDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-15lib: Add a igt_display.h with a few enums and defines from the kernelDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-15lib: Add kmstest_paint_color()Damien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-15lib: Add a igt_assert_cmpint()Damien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-15lib: Add igt_debugfs_fopen()Damien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-15lib: Add a small helper to open debugfs filesDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-14Depend on libdrm_intel >= 2.4.47.Matt Turner
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-14configure: Don't bail if libdrm_nouveau isn't available.Matt Turner
We were seriously *requiring* libdrm_nouveau unless explicitly disabled? Acked-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2013-10-14tests/pc8: Readd verbose error messageDaniel Vetter
I deemed them a bit redundant (assuming that developers are the only ones that look at them anyway). But Paulo requested that I readd them for the education of QA. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-11tests/kms_flip: fix igt_assertDaniel Vetter
I've blown the conversion in commit 37e5b318c5dac290611099e2eec21df1e49fa71f Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Oct 4 18:42:26 2013 +0200 tests/kms_flip: use igt_assert more Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70332 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-11tests/kms_flip: Skip if the kernel doesn't let y-tiled bo slip throughDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-11tests/kms_flip: exit handler needs a fixtureDaniel Vetter
Since it can fail. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70332 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-11testdisplay: Allow getopt to print error messagesThomas Wood
By not assigning opterr, getopt will print its own error message that includes information about whether an option is unknown or just requires an additional argument. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2013-10-10tests/gem_suspend: test debugfs/sysfs reads while s/rDaniel Vetter
Just a very quick hack cobbled together with /bin/sh and exec. We can't use system since that does stupid things with singals ... Still we need to whack the child process pretty hard to get rid of it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-10tests/module_reload: fail if the module didn't unloadDaniel Vetter
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70336 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-09gem_pin: Use iterator for blit batch setupBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-09gem_exec_blt: Use iterator for blit batch setupBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-09gem_evict_*: Use iterator for blit batchBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-09gem_linear_blits: Use iterator for blit batch setupBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-09gem_exec_faulting_reloc: use iterator for batchbufferBen Widawsky
This will help keep the code clean for new platforms which might have differently sized relocations. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-09tests: add kms_addfbDaniel Vetter
Just a bunch of testcase to check that all the addfb sanity checks work as they should. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-09lib/drmtest: extract rawer __gem_set_tilingDaniel Vetter
For tests that expect failures. Also apply the existing gem_set_tiling helper a bit wider. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-08pwrite_pread: Get devid only onceBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-08pwrite_pread: Extract batch buildingBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-08pwrite_pread: use execbuf.batch_len for sizeBen Widawsky
This will make an upcoming change easier. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-08gem_tiled_blits: Squash bo leak on simulationBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-08gem_tiled_blits: Squash memory leak on simulationBen Widawsky
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-07tests/kms_flip: Skip if no clone configuration could be foundDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-05configure.ac: require dri2proto for overlayBen Widawsky
With the introduction of commit f9a50de3dcc501e930de6c60983a4feb57121e7e Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Aug 17 11:12:07 2013 +0100 Introduce intel-gpu-overlay dri2proto became a dependency (and there is no way to disable overlay explicitly. The actual version chosen was arbitrarily stolen from mesa. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-04tests/pc8: Fail harderDaniel Vetter
If the test enviroment isn't properly set up we should fail the testcase, since otherwise there's no way to make sure a feature actually works. To cut down on bug triaging time extract the basic test (which was previously used to skip all subtests) into a "basic" subtest. Also fail the test hard if the msr interface isn't available. And switch all other check in setup_enviroment to igt_require. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69838 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-04tests/pc8+: Only skip i2c subtest if i2c /dev interface is unavailableDaniel Vetter
Through the magic of igt_skip we only need to fail this subtest, not the entire thing. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-04tests/kms_flip: use igt_assert moreDaniel Vetter
I've left the time delta checks as-is since those are tricky math and my mind is feeble. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-04tests/kms_flip: check flip count in both directionsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-04NEWS: Mention gen7 perf counters releaseDaniel Vetter
This is too great to be omitted! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-04tests: Simulate missed breadcrumb irqsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-03intel_perf_counters: Add support for Gen7 platforms.Kenneth Graunke
We finally received permission to release this; the counters should be properly documented in the Haswell PRMs. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>