- 16 Apr, 2015 10 commits
-
-
Rodrigo Vivi authored
This is an extention of igt_debug_wait_for_keypress that also can have customized message and return key pressed. v2: This is actualy a v2. V1 was an extension of original igt_debug_wait_for_keypress but it was nacked. v3: Make [Y/n] check inside aux function as suggested by Daniel. Also renaming and adding first use case along with the axu function. v4: Simplify function name and make it assert pressed key is different from n/N as suggested by Daniel. Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
-
Rodrigo Vivi authored
Sink CRC is the most reliable way to test PSR. However in some platforms apparently auto generated packages force panel to keep calculating CRC invalidating our current sink crc check over debugfs. So, this manual test help us to find possible gaps on this platforms where we cannot trust on sink crc checks. v2: Accept Daniel's suggestions: * Avoid strcpy * don't override assert definition * Make --interactive-debug for every testcases instead using local --manual v3: Sink CRC can be unreliable for other platforms as well so let's skip and warn when we detect the misbehaviour instead hardcoded per platform. Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
-
Rodrigo Vivi authored
this will allow manual tests when crc isn't available. Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
-
Rodrigo Vivi authored
this will allow manual tests when crc isn't available. Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
-
Rodrigo Vivi authored
This will allow manual tests when crc isn't available. v2: Remove unused and non-sense buf->size and decrease buf->stride a bit as suggested by Daniel. v3: Fix v2 mistake and get buf->size back with a value that makes more sense. TBD: to be changed for variable size depending on modified fb size on following patch Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
-
Rodrigo Vivi authored
This will allow manual tests when crc isn't available. Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
-
Thomas Wood authored
Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Ville Syrjälä authored
Add a quick test to make sure the legacy set colorkey ioctl only works for sprite planes. v2: Drop igt_fixtures Signed-off-by:
Ville Syrjälä <ville.syrjala@linux.intel.com>
-
Ville Syrjälä authored
../../lib/.libs/libintel_tools.a(igt_core.o): In function `print_backtrace': intel-gpu-tools/lib/igt_core.c:981: undefined reference to `_Ux86_64_getcontext' intel-gpu-tools/lib/igt_core.c:982: undefined reference to `_ULx86_64_init_local' intel-gpu-tools/lib/igt_core.c:983: undefined reference to `_ULx86_64_step' intel-gpu-tools/lib/igt_core.c:987: undefined reference to `_ULx86_64_get_proc_name' Signed-off-by:
Ville Syrjälä <ville.syrjala@linux.intel.com>
-
Ville Syrjälä authored
Every time _chipset.so has undefined symbols we fail to notice it at build time and then get to wonder why quick_dump fails to actually work. Pass -Wl,--no-undefined to the linker to get a build time error instead of the current runtime error. Signed-off-by:
Ville Syrjälä <ville.syrjala@linux.intel.com>
-
- 14 Apr, 2015 14 commits
-
-
Chris Wilson authored
The first test tries to rewrite relocations in an active batch, which is a useful test and measurement. However, the overhead of the exec may dominate and so we want a measurement without that overhead as well. Using a pool of batches should allow for the oldest to idle whilst we setup the next (and so the wait should be non-existent). Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Thomas Wood authored
Update igt_paint_image so that it can read images from the package data directory. Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
chandra konduru authored
This patch is adding i-g-t test case to test panel fitting usages. v2: -use new tiled types when calling igt_create_fb (me) Signed-off-by:
chandra konduru <chandra.konduru@intel.com> [Thomas: convert test to use igt_simple_main] Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
chandra konduru authored
This patch is adding i-g-t plane scaling test case to test couple basic display plane scaling usages. Additional test scenarios can be added later. v2: -Added iterative scaling to visually observe scaling (me) v3: -Added a flag to control primary plane scaling (me) v4: -Use new tiled types when calling igt_create_fb (me) Signed-off-by:
chandra konduru <chandra.konduru@intel.com> [Thomas: convert test to use igt_simple_main] Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
chandra konduru authored
Adding i-g-t test case to test display crtc background color. v2: - Added IGT_TEST_DESCRIPTION() (Thomas Wood) - Added to .gitignore (Thomas Wood) - Added additional details to function header (Thomas Wood) - Simplified igt_main (Thomas Wood) v3: - rebased to latest master (me) - took sleep calls out (Daniel) - use new tiled types when calling igt_create_fb (me) Signed-off-by:
chandra konduru <chandra.konduru@intel.com> [Thomas: convert test to use igt_simple_main] Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Joonas Lahtinen authored
Add a straightforward test that allocates a BO that is bigger than (by 1 page currently) the mappable aperture, tests mmap access to it by CPU directly and through GTT in sequence. Currently it is expected for the GTT access to gracefully fail as all objects are attempted to get pinned to GTT completely for mmap access. Once the partial view support is merged to kernel, the test should pass for all parts. v2: - Corrected BO domain handling (Chris Wilson) - Check again after GTT access for added paranoia (Chris Wilson) v3: - Avoid flush by using pread (Chris Wilson) - Free gtt_pattern buffer too. v4: - Add more comments (Tvrtko Ursulin) - Use igt_require (Tvrtko Ursulin) v5: - Remove wrong message from igt_require_f (Tvrtko Ursulin) - After digging deeper to it, just igt_assert that the CPU mapping needs to succeed. Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by:
Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by:
Tvrtko Ursulin <tvrtko.ursulin@intel.com> [Thomas: remove unused label] Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Joonas Lahtinen authored
Add suffix and complementary function for CPU domain. v2: - Change function signatures to be consistent with the rest Signed-off-by:
Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
All tests now respond in a consistent way such that separate lists for tests with and without subtests are no longer necessary. v2: fix other references to the test list Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
Use a failure status code for timeout to avoid confusion between tests that take too long to execute versus a failure due to an operation taking longer than expected. v2: Add a "timed out" message before exiting. (Daniel Vetter) Fix the timeout library check by disabling hard errors in xfail tests, since these share the same exit status as test failure. Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Chris Wilson authored
When synchronising to rendering, we only want to wait for it to complete and avoid the cache-domain side-effects of SET_DOMAIN if possible. This has the advantage of speeding up a few tests (and thereby making the actual test more explicit in terms of kernel operations). Of course some tests may be reliant on the side-effects... Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by:
Daniel Vetter <daniel.vetter@ffwll.ch>
-
- 13 Apr, 2015 1 commit
-
-
Chris Wilson authored
Similar to gem_flink_race, we need to make sure that when we count objects, the driver is in an identical state. We do this by flushing all work before counting. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90003Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
- 12 Apr, 2015 1 commit
-
-
Chris Wilson authored
By explicitly quiescing the GPU we force it to a known and ideally identical state when counting objects. In particular, this should make the batch-pool status the same and not cause us to detect a negative leak. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
- 10 Apr, 2015 1 commit
-
-
Chris Wilson authored
We already rely on the mmap(object) surviving close(), but make the test explicit and early. Secondly, we don't technically need to call set_domain after writing through the CPU then reading through WC, since the CPU cache is consistent for those two paths. Test it. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
- 09 Apr, 2015 2 commits
-
-
liu,lei authored
Debugfs i915_fbc_status shows "FBC unsupported on this chipset" not "unsupported by this chipset" if the platform doesn't support FBC feature. That typo will cause case fail on some platforms such as byt, bsw. Signed-off-by:
Lei Liu <lei.a.liu@intel.com>
-
Shuang He authored
Or, it will cause piglit failure to run I-G-T test case Signed-off-by:
Shuang He <shuang.he@intel.com> Signed-off-by:
Daniel Vetter <daniel.vetter@intel.com>
-
- 08 Apr, 2015 11 commits
-
-
Chris Wilson authored
In order to force relocations, we have to remember to clear the presumed offsets that get filled in by each pass. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Move all the execbuffer construction upfront and do it once per round, rather than per relocation pass. It helps reduce runtime, but more importantly it removes the test overhead from out of the kernel measurement. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Thomas Wood authored
Use the pkglibexec and pkgdata prefixes rather than setting bindir and datadir. This also removes the extra 'tests' directory from within the package libexec and data directories. Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
Prefix the test scripts and data variables with dist_ to ensure they are included in the distribution. Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Thomas Wood authored
Use 1 as the element size to check the number of bytes returned is greater than 0, rather than checking the number of elements returned. This fixes a regression from commit 47f6b130 (igt.cocci: check the return values of various functions). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89833Signed-off-by:
Thomas Wood <thomas.wood@intel.com>
-
Imre Deak authored
- decode the register for BXT too - decode interlace on VLV/CHV too - don't decode rotation and bpc on platforms where these fields are not defined Signed-off-by:
Imre Deak <imre.deak@intel.com>
-
Imre Deak authored
Signed-off-by:
Imre Deak <imre.deak@intel.com>
-
Imre Deak authored
On BXT the SSC reference frequency is fixed 100MHz. Signed-off-by:
Imre Deak <imre.deak@intel.com>
-
Damien Lespiau authored
Signed-off-by:
Damien Lespiau <damien.lespiau@intel.com>
-
Damien Lespiau authored
v2: Rebase on top of the SKL upstreaming Signed-off-by:
Damien Lespiau <damien.lespiau@intel.com> Signed-off-by:
Ben Widawsky <benjamin.widawsky@intel.com>
-
Imre Deak authored
In the next patch we'll add support for BXT which is GEN9, but doesn't have PCH, so fix the macro accordingly. No functional change. Signed-off-by:
Imre Deak <imre.deak@intel.com>
-