summaryrefslogtreecommitdiff
path: root/tests/.gitignore
AgeCommit message (Collapse)Author
2014-07-11kms_rotation_crc: Add the test to .gitignoreDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-07-04tests/kms_universal_plane: Universal plane testing (v6)Matt Roper
Add a simple test to exercise universal plane support. v6: - Update to new universal plane interface (commit parameter rather than state-changing function). It should now be a lot more explicit which steps are being taken with legacy API's vs universal API's now. v5: - Check that we don't have more than one primary or cursor. This will catch accidental calls to drm_plane_init() in the kernel where drm_universal_plane_init() was intended (these don't cause a compile warning due to type compatibility between enum and bool). v4: - Test disabling the primary plane explicitly when it has previously been implicitly disabled due to clipping. - Skip test if igt_pipe_crc_new() fails v3: - For testing while crtc is off, switch between several different primary plane fb's before reenabling the crtc. This will help catch pin/unpin mistakes. v2: - Test that pageflips error out gracefully when the primary plane is disabled before the ioctl, or between ioctl and pageflip execution. - Test that nothing blows up if we try to disable the primary plane immediately after a pageflip (presumably before the pageflip actually completes). - Test that we can setup primary + sprite planes with the CRTC off and then have them show up properly when we enable the CRTC (drmModeSetCrtc with fb = -1). - Test that we can modeset properly after having disabled the primary plane - Test that proper error codes are returned for invalid plane programming attempts. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-06-13igt/gem_fence_upload: Exercise contention on the fault handlerChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-12gitignore: add missing files and keep lists sortedThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-05-22tests/drv_hangman: Convert test from shell script to cMika Kuoppala
Mixing script and standlone tests didn't mix well with the strict i915_ring_stop flags handling. Also squash drv_missed_irq_hang to the new test. v2: - Remove missed irq test (Daniel Vetter) - gitignore fixed (Oscar Mateo) - fix check_other_clients to handle dangling fd's Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78322 Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Oscar Mateo <oscar.mateo@intel.com> <v1> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-05-16tests/pm_pc8 -> pm_rpm renameDaniel Vetter
Plus naming convention for runtime pm tests to have "rpm" somewhere in their tests. Note that all the pc8-specific tests (for e.g. residency or similar) already have pc8 in their subtest names, so we don't lose any information here. Cc: "Yang, Guang A" <guang.a.yang@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-05-15Add gem_bad_relocChris Wilson
This test feeds a batch containing self-references into the kernel and checks that the relocation offsets remain as valid GTT addresses. This is to exercise SNA passing in negative relocation deltas which can hang the GPU if they wrap around. References: https://bugs.freedesktop.org/show_bug.cgi?id=78533 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-05-05gem_alive: A utility to see if the driver or GPU has hungChris Wilson
2014-04-25tests/gem_vmap_blits: Remove obsolete test caseTvrtko Ursulin
No need for the old test case once the new one was added. v2: * Just rebase for lib/ reorganization. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-25tests/gem_userptr_blits: Expanded userptr test casesTvrtko Ursulin
A set of userptr test cases to support the new feature. For the eviction and swapping stress testing I have extracted some common behaviour from gem_evict_everything and made both test cases use it to avoid duplicating the code. Both unsynchronized and synchronized userptr objects are tested but the latter set of tests will be skipped if kernel is compiled without MMU_NOTIFIERS. Also, with 32-bit userspace swapping tests are skipped if the system has a lot more RAM than process address space. Forking swapping tests are not skipped since they can still trigger swapping by cumulative effect. v2: * Fixed dmabuf test. * Added test for rejecting read-only. * Fixed ioctl detection for latest kernel patch. v3: * Use ALIGN macro. * Catchup with big lib/ reorganization. * Fixed up some warnings. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Brad Volkin <bradley.d.volkin@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-24tests: Add one ring sync case based on multi drm_fd to test ring semaphore ↵Zhao Yakui
sync under multi BSD rings The Broadwell GT3 machine has two independent BSD rings in kernel driver while it is transparent to the user-space driver. In such case it needs to check the ring sync between the two BSD rings. At the same time it also needs to check the sync among the second BSD ring and the other rings. V2->V3: Follow Imre's comment to remove the unnecessary initialization and use igt_assert_f instead of igt_assert. V3->V4: Add gem_multi_bsd_sync_loop.c into the tests/.gitignore Reviewed-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-24tests: Add gem_exec_paramsDaniel Vetter
This fills all the gaps we've had in our execbuf testing. Overflow testing of the various arrays is already done by gem_reloc_overflow. Also add kms_flip_tiling to .gitignore. This will cause a bunch of failures since current kernels don't catch all fallout. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-04-24Add gem_render_copy_reduxChris Wilson
This is an "advanced" form of the the simple gem_render_copy test. Instead of aiming for maximal simplicity to aide debugging of new rendercopy backends, this test aims to exercise the execbuf interface using the render ring. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-04-02tests: create files that list the available testsThomas Wood
Add Makefile targets to create two text files containing the list of available single and multi-test programs. This enables the tests to be enumerated without requiring the build system. Signed-off-by: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-25tests: Add a test for the command parserBrad Volkin
Start with a simple testcase that should pass. v2: Switch to I915_PARAM_CMD_PARSER_VERSION Signed-off-by: Brad Volkin <bradley.d.volkin@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-22lib: allow igt_skip_on_simulation outside of fixtures.Daniel Vetter
Thomas noticed that in simulation mode a lot of the tests fall over instead of skipping properly. This is due to recently added self-checks which ensure that any call to igt_skip happens either within a fixture or subtest block (or it's a simple test without subtests). This is to catch bugs since pretty much always not wrapping up hardware setup and checks into these blocks is a bug. Bug simulation skipping is a bit different, so allow that exception. Otherwise we'd need to fix up piles of tests (and likely need to play a game of whack-a-mole). Also add a library testcase for all the different variants to make sure it really works. Cc: Thomas Wood <thomas.wood@intel.com> Cc: Ben Widawsky <benjamin.widawsky@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-14tests: update .gitignoeDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-02-11kms_plane: Start a basic display plane testDamien Lespiau
We test the sprite plane positionning in there, for now. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-02-04tests: Add gem_madviseChris Wilson
Exercise that calling madvise produces expected results Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-02-04gem_ring_sync_copy: Add a ring to ring synchronization testDamien Lespiau
The goal of this test is to ensure that we respect inter ring dependencies. A more detailed description of what it tests is in a comment. The tests relies on having a blit function for the ring, so is currently only checking synchronization between the render and blitter ring. v2: Actually create an inter-ring dependency by making the first copy on ring2 and the second on ring2, not both on ring2. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-01-19tests: Add gem_fd_exhaustionDaniel Vetter
Exhausts the system limit on open files and then tries to create a new shmem-backed gem object. Linus Torvalds reported that this blows up on a null obj->base.filp, but I can't reproduce this here: http://lists.freedesktop.org/archives/intel-gfx/2014-January/038433.html Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-01-10tests: Add gem_gtt_hogChris Wilson
The purpose of this test is to exercise the userspace latency hogs reported by Arjan van de Ven. He found some applications blocked the device by stalling on the GPU inside the pagefault handler.
2013-12-06tests: add pm_lpspPaulo Zanoni
QA has asked me "How can we make sure LPSP is working?". Now, instead of writing big paragraphs, I can just answer "make sure pm_lpsp works". Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2013-12-06gitignore: Ignore gem_media_fillDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-12-05tests: rename get_client_auth to have a core_ prefixDaniel Vetter
Also sort .gitignore. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-28gitignore: Ignore kms_fbc_crcDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-15gitignore: Ignore gem_reset_statsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-11gitignore: Ignore the newly introduced pm_psrDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-04tests: Use kms_ prefix a bit moreDaniel Vetter
I was a bit on the fence about the basic pipe CRC test since that doesn't really test kms, but debug infrastructure in debugfs. Otoh running this one for a full kms testrun is always good, to make sure that all the other (real) CRC based tests work sanely. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-04tests: establish pm_ prefixDaniel Vetter
Imo power management, power consumption and performance are tightly enough coupled that we can throw them all into one bin. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-04tests: estbalish drv_ prefixDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-01tests: igt_no_subtestDaniel Vetter
Yet another check for the library. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-01tests: Add a test templateDaniel Vetter
Requested by Paulo. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-01lib: add more self-tests around the igt_exit checks.Daniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-01lib: fix igt_exit assert when only listing subtests.Daniel Vetter
Ooops. Reported by Paulo. Also add a new testcase for make check to make sure this actually works. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-01gitignore: Ignore recently introduced tools and testsDamien 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-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-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-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-09-13lib: add test for igt_fork_signal_helperDaniel Vetter
If we're really fast we've trying to stop the signal helper again we somehow race somewhere and it'll never happen. So add a testcase for this. Since I expect more to come for testsuite tests add a separate make target for them. Run tests with $ make check Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-09-04tests: Update .gitignoreDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-09-04tests: add gem_persisten_relocsDaniel Vetter
This reproduces the 3.7 relocation regression ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-20tests: add pc8Paulo Zanoni
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 Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-19tests: add kms_setmodeImre Deak
Iterate through all valid/invalid crtc/connector combinations. At the moment only clone configurations are tested as the single output cases are tested already by testdisplay. Also from combinations where all connectors are on the same crtc (clone-single-crtc) only those are tested that are invalid, as I haven't found any machine that supports these (have to be GT2 with dvo and vga output). For configurations with one crtc per connector the FBs are per-crtc atm. Signed-off-by: Imre Deak <imre.deak@intel.com>
2013-08-14tests: merge gem_*_concurrent_blt togetherDaniel Vetter
Too much copy&pasting isn't good. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-12tests: add drm_get_client_authDaniel Vetter
To check we don't break the magic authentication check libva does. Ugh. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-12tests: s/cacheing/cachingDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-08-07tests: update .gitignoreDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>