summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-01gitignore: Ignore recently introduced tools and testsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-01module_reload: remove snd_hda_intelPaulo Zanoni
The audio driver uses the power well provided by our driver, so on Haswell we can't "rmmod i915" if we don't "rmmod snd_hda_intel" first. The problem with removing snd_hda_intel is that we also need to kill its users. On the specific machine I tested, the only user seem to be alsactl, but on other machines this may change. IMHO we should leave the "kill user space" step to whoever is running the script, but Daniel asked me to put it here so we have a better chance of Just Working on QA's machines. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70336 Requested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-11-01Add VGA register read/write toolsVille Syrjälä
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2013-10-31debugfs_pipe_crc: skip on simulationBen Widawsky
As with other display tests, they're not working (and in this case, cause hangs). Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-30tests/pc8: remove some printfsPaulo Zanoni
They pollute the output, which makes it harder to see which tests failed or succeeded. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-10-30tests/pc8: clarify modeset_subtest argumentsPaulo Zanoni
My tiny little brain can't properly process 3 unnamed boolean arguments. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-10-30tests/pc8: add modeset -stress-no-wait testsPaulo Zanoni
Used to trigger a racing condition between mode setting and enabling/disabling PC8. The modeset-lpsp-stress-no-wait test should fail on Kernels without the fix I just wrote today. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-10-30tests/pc8: add modeset-lpsp and modeset-non-lpspPaulo Zanoni
The goal of these tests is to exercise the combination of power well enabling/disabling and PC8 enabling/disabling. The modeset-non-lpsp test exposes a silent bug on the current code that can just be detected with the Runtime D3 patches. The Kernel patch that fixes the bug will add a WARN to unmute it on the PC8-only case. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-10-29gem_suspend: Skip on simulationBen Widawsky
Simulation has proven flaky across both reset, and s3/4 Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-29gem_close_race: Fix linker flagsBen Widawsky
Seems the -lpthread was missed in commit 8f771f3facae133bb72216fa05c74bc817920b6d Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Oct 29 14:21:29 2013 +0000 gem_close_race: Also test random closing of active fd Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-10-29gem_close_race: Also test random closing of active fdChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-29lib/drmtest: Scream harder when igt_exit isn't called for subtest testsDaniel Vetter
We really need this since otherwise the magic return value handling for running testcases with piglit (or on QA's validation infrastructure) doesn't work properly. We need to be careful though to only install this check on success. See also the previous commits to sprinkle igt_exit() calls over all the tests that missed it. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-29tests: Use igt_exit for tests with subtestDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-29gem_close_race: Bump the workloadChris Wilson
Emit more work per client and many more clients in order to increase the chance of racing i915_gem_release() and i915_gem_retire_requests()
2013-10-29gem_close_race: Tidy up call to execbufferChris Wilson
Pass the right pointer to the execlist would be a good start. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-29tests/kms_cursor_crc: Use igt_exitDaniel Vetter
Otherwise the exit codes are all bogus. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-28tests: Convert the ctx test to use render nodes when possibleDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-28tests/gem_render_copy: Use render nodesDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-28lib: Add a drm_open_any_render() that will try to use render nodesDamien Lespiau
I was fedup with having to run my tests as root and not being able to use my usual setup for tests that only exercise the GT part of the GPU. Render nodes to the rescue! Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-28lib: Close non intel fds in drm_get_card()Damien Lespiau
When going through card%u devices, close the ones that we were able to open but weren't intel devices. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-28lib: Remove stale commentDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-28tests: Add gem_close_raceChris Wilson
The intention is to exercise #70784. Yet the first challenge is make the test suite happy.
2013-10-24gem_render_linear_blits: Remove aub dump supportDamien Lespiau
It's much easier to follow the new gem_render_copy test and acquire a aub dump from it. Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-24tests/gem_render_copy: Add aub dump supportDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-24tests/gem_render_copy: Only dump pngs when the -d option is givenDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-24tests/gem_render_copy: Add a simple render copy testDamien Lespiau
The goal is here to both: demonstrate a simple usage of render copy with the possibility to write pngs to visualize what it's doing and to provide a test bed to port the render copy function to new architectures. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-24lib: Add a function to dump a scratch buf into a pngDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-22build: include intel_l3_parity.h to its _SOURCES to fix make distcheckRodrigo Vivi
and make sure intel_l3_parity.h will be included in tarball. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2013-10-22build: Fix small typo that was breaking make distcheckRodrigo Vivi
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2013-10-21kms_flip: Add test for -ENOENTVille Syrjälä
Make sure we get -ENOENT when we pass a non-existing fb_id to the page flip and setcrtc ioctls. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2013-10-21kms_cursor_crc: Add a cursor test using CRCsVille Syrjälä
Use the display CRC support to validate cursor plane functionality. The test will position the cursor plane either fully onscreen, partially onscreen, or fully offscreen, using either a fully opaque or fully transparent surface. In each case it then reads the PF CRC and compares it with the CRC value obtained when the cursor plane was disabled. v2: Loop over all connectors and crtcs Use igt_wait_for_vblank Test more corner cases Add some progress indication ala. kms_flip Make it work for pf and pipe sources Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2013-10-21lib: Check pipe source validity in igt_pipe_crc_new()Ville Syrjälä
Have igt_pipe_crc_new() check whether the selected source is actually supported. v2: Make debugfs_pipe_crc.c not crash Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2013-10-21lib: Allow pipe_crc_free(NULL)Ville Syrjälä
Prevent pipe_crc_free() from segfaulting on NULL ptr. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2013-10-21lib/drmtest: Add kmstest_paint_color_alpha()Ville Syrjälä
kmstest_paint_color_alpha() just like kmstest_paint_color() except you also get to specify the alpha channel. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2013-10-21intel_reg_dumper: fix "enable" at hsw_debug_lp_wmPaulo Zanoni
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-10-21gitignore: Ignore intel_opregion_decodeDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-10-21intel_opregion_decode: decipher bclm tableJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_opregion_decode: new tool for decoding graphics opregionJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_bios_reader: dump all sections, including unknown onesJani Nikula
We still need to dump some of the known sections explicitly due to dependencies on information extracted, such as LFP data pointers and panel_type. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_bios_reader: dump all edp device info structsJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_bios_reader: prepare for dumping all sectionsJani Nikula
Dump sections through a table based on the section id. Hex dump the section. This works also for unknown sections. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_bios_reader: add size temp variable as a shorthand for finfo.st_sizeJani Nikula
Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2013-10-21intel_error_decode: Fix X/Y fence for gen2/3Chris Wilson
2013-10-20tests/kms_flip: More leeway for dummy load testsDaniel Vetter
At least on my old atom i945 they take forever. Also, metric tons of pipe B underruns while running rcs-flip-vs-panning. No idea why that happens. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-20kmstest: don't pollute stderr for impossible output configsDaniel Vetter
Otherwise on machines where the only output available is restricted to one pipe we'll have tons of "warn" results for no gain in the piglit runner. All tests that use the kmstest helpers already check the return value and do something sensible (like skip the tests if there's really no config available). Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-20tests/kms_flip: Unconfuse the framenumber step checkingDaniel Vetter
We run flips and vblank waits in parallel, which means the step for each is the maximum. If we'd switch to an interleaved scheme (to be able to check the correlation) we'd need to add them instead. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-20tests/kms_flip: no absolute vblank wait on the first frameDaniel Vetter
We don't have a reference value for the vblank counter yet, so will end up waiting for a long time for the vblank counter to wrap around again. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-20tets/kms_flip: disable correlation checkDaniel Vetter
It's broken since it doesn't take the order the events arrived into account and so will fall over for longer seq_step values in the vblank event: Since the flip completes right away, but the vblank later on they won't have the same timestamp. For now just give up, we could resurrect this by strictly alternating between a flip and a vblank wait. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-20tests/debugfs_pipe_crc: new subtest to check CRC frame numbersDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-10-18rendercopy: Add a way to dump an .aub file with the rendercopy bosDamien Lespiau
v2 (by Ben): Remove libdrm dependency since intel-gpu-tools now requires a higher version anyway. Remove associated #ifdef ENABLE_AUB_DUMP Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>