--- intel-gpu-tools-1.14.orig/Android.mk +++ intel-gpu-tools-1.14/Android.mk @@ -0,0 +1,2 @@ +include $(call all-named-subdir-makefiles, lib tests tools benchmarks) + --- intel-gpu-tools-1.14.orig/CONTRIBUTING +++ intel-gpu-tools-1.14/CONTRIBUTING @@ -0,0 +1,45 @@ +Patches to intel-gpu-tools are very much welcome, we really want this to be the +universal set of low-level tools and testcases for the Intel kernel gfx driver +on Linux and similar platforms. So please bring on porting patches, bugfixes, +improvements for documentation and new tools and testcases. + +A short list of contribution guidelines: + +- Please submit patches formatted with git send-email/git format-patch or + equivalent to + + Intel GFX discussion + + Please use --subject-prefix="PATCH i-g-t" so that i-g-t patches are easily + identified in the massive amount mails on intel-gfx. To ensure this is always + done just run + + git config format.subjectprefix "PATCH i-g-t" + + from within your i-g-t git checkout. + +- intel-gpu-tools is MIT lincensed and we require contributions to follow the + developer's certificate of origin: http://developercertificate.org/ + +- When submitting new testcases please follow the naming conventions documented + in the generated documentation. Also please make full use of all the helpers and + convenience macros provided by the igt library. The semantic patch lib/igt.cocci + can help with the more automatic conversions. + +- There is no formal review requirement and regular contributors with commit + access can push patches right after submitting them to the mailing lists. But + invasive changes, new helper libraries and contributions from newcomers should + go through a proper review to ensure overall consistency in the codebase. + +- When patches from new contributors (without commit access) are stuck, for + anything related to the regular releases, issues with packaging and + integrating platform support or any other intel-gpu-tools issues, please + contact one of the maintainers (listed in the MAINTAINERS file) and cc the + intel-gfx mailing list. + +- Especially changes to the testcase should get tested on relevant platforms + before committing. For Intel employees that's best done using PRTS, see the + relevant internal howtos. Everyone else can just run piglit with i-g-t tests + locally. + +Happy hacking! --- intel-gpu-tools-1.14.orig/ChangeLog +++ intel-gpu-tools-1.14/ChangeLog @@ -1,30974 +1,3 @@ -commit 1112abe5ece9b2a991c9af2d11b6943784e0e657 -Author: Marius Vlad -Date: Tue Mar 1 18:01:33 2016 +0200 - - Bump again to 1.14, as Chris managed to push before I got chance to do a - release. Modified REAMDE to include link for doing releases. - - Signed-off-by: Marius Vlad - -commit f3751d53bda785810acf85692e809627360252bf -Author: Chris Wilson -Date: Tue Mar 1 15:06:43 2016 +0000 - - benchmarks/gem_blt: Measure the throughput of synchronous copies - - Signed-off-by: Chris Wilson - -commit b59bcb811a402c716302f61ca8d4d9af6a967807 -Author: Marius Vlad -Date: Tue Mar 1 17:03:55 2016 +0200 - - NEWS: Updates and bump release to 1.14. - - Signed-off-by: Marius Vlad - -commit 95ca7644dbed799744b877d3b451d86c286627fe -Author: Daniele Ceraolo Spurio -Date: Tue Mar 1 11:01:33 2016 +0000 - - tests/drv_hangman: test for acthd increasing through invalid VM space - - The hangcheck logic will not flag an hang if acthd keeps increasing. - However, if a malformed batch jumps to an invalid offset in the ppgtt it - can potentially continue executing through the whole address space - without triggering the hangcheck mechanism. - - This patch adds a test to simulate the issue. I've kept the test running - for more than 10 minutes before killing it on a BDW and no hang occurred. - I've sampled i915_hangcheck_info a few times during the run and got the - following: - - Hangcheck active, fires in 468ms - render ring: - seqno = fffff55e [current fffff55e] - ACTHD = 0x47df685ecc [current 0x4926b81d90] - max ACTHD = 0x47df685ecc - score = 0 - action = 2 - instdone read = 0xffd7ffff 0xffffffff 0xffffffff 0xffffffff - instdone accu = 0x00000000 0x00000000 0x00000000 0x00000000 - - Hangcheck active, fires in 424ms - render ring: - seqno = fffff55e [current fffff55e] - ACTHD = 0x6c953d3a34 [current 0x6de5e76fa4] - max ACTHD = 0x6c953d3a34 - score = 0 - action = 2 - instdone read = 0xffd7ffff 0xffffffff 0xffffffff 0xffffffff - instdone accu = 0x00000000 0x00000000 0x00000000 0x00000000 - - Hangcheck active, fires in 1692ms - render ring: - seqno = fffff55e [current fffff55e] - ACTHD = 0x1f49b0366dc [current 0x1f4dcbd88ec] - max ACTHD = 0x1f49b0366dc - score = 0 - action = 2 - instdone read = 0xffd7ffff 0xffffffff 0xffffffff 0xffffffff - instdone accu = 0x00000000 0x00000000 0x00000000 0x00000000 - - v2: use the new gem_wait() function (Chris) - - v3: switch to unterminated batch and rename test, remove redundant - check, update test requirements (Chris), update top comment - - v4: force gpu reset if the hang detection fails (Mika) - - Cc: Mika Kuoppala - Cc: Arun Siluvery - Cc: Chris Wilson - Signed-off-by: Daniele Ceraolo Spurio - [Mika: removed batch_len=8] - Signed-off-by: Mika Kuoppala - -commit 03c7f84eb1c95b9761bbff3c9fcaed8472c3c6fb -Author: Daniele Ceraolo Spurio -Date: Tue Mar 1 11:01:32 2016 +0000 - - lib: move i915_wedged_set to ig_gt.c - - Upcoming tests will call it to recover from bad states caused by - hangcheck bugs.the function was renamed to igt_force_gpu_reset to have a - naming closer to other hang-related functions in the same file. - - The value written to the debugfs has also been changed to -1; this makes - no differences with the current implementation but copes with upcoming - TDR changes (still under discussion) that should allow the resetting of - a mask of rings. - - Signed-off-by: Daniele Ceraolo Spurio - Signed-off-by: Mika Kuoppala - -commit 094e0cbabb9615c87d8e813a91f158fe439b536d -Author: Chris Wilson -Date: Tue Mar 1 13:22:03 2016 +0000 - - igt/gem_concurrent_blit: Deglobalify num_buffers - - More num_buffers onto the local struct passed down into the tests to - avoid the issue with having to modify the global value inside the tests - leading to hilarity if the test asserts. - - Signed-off-by: Chris Wilson - -commit aed69b56d4c63a19594440be6679307b2781ae2c -Author: Chris Wilson -Date: Thu Feb 25 21:43:01 2016 +0000 - - lib: Add read/write direction support for dmabuf synchronisation - - Allow read-only synchronisation on dmabuf mmaps, useful to allow - concurrent read-read testing between the CPU and GPU. - - Signed-off-by: Chris Wilson - -commit 925e5e1caef9b56bd53df457735514b644c7a399 -Author: Chris Wilson -Date: Mon Feb 29 15:33:26 2016 +0000 - - lib: Check required number of surfaces against VFS file limits - - If we want to create more file handles than VFS supports (itself often a - memory limited value), report that we can not create that many objects - via intel_require_memory(). - - Signed-off-by: Chris Wilson - -commit a508fc86224887c413d99e55b524f3b03a073ed5 -Author: Maarten Lankhorst -Date: Mon Feb 29 10:04:31 2016 +0100 - - tests/kms_force_connector_basic: Disable all crtc's for load-detect. - - Load detection requires a inactive crtc to run. The CI igt tests are - failing, so ensure there is at least 1 inactive crtc. - - Signed-off-by: Maarten Lankhorst - Reviewed-by: Daniel Vetter - -commit 754876378d6c9b2775e8c07b4d16f9878c55949f -Author: Chris Wilson -Date: Fri Feb 26 22:11:10 2016 +0000 - - igt/gem_sync: Enforce a timeout of 20s - - The sync test is supposed to complete in 10s. But some bugs cause it to - run very, very slowly. As a defence against those, terminate the test if - we wait for more than 20s. - - Signed-off-by: Chris Wilson - -commit 3482925454da8c107f720448d24789ce6bf884c4 -Author: Matt Roper -Date: Fri Feb 26 08:46:30 2016 -0800 - - kms_atomic: drop unnecessary connector looping from plane_primary test - - Local variable num_connectors is never initialized before being - auto-incremented in the loop. If we wind up with a non-zero garbage - value, it will lead us to try to write to an out-of-bounds array index. - We should probably initialize it to zero before use. - - However on closer inspection, the plane_primary test doesn't actually - wind up using the connector list or number of connectors, so just remove - the whole block of code; it was probably brought in by accident as part - of a copy-paste operation. - - Cc: Daniel Stone - Signed-off-by: Matt Roper - -commit 405b3478d1ac28141a334fe42e2908f2ea59e976 -Author: Chris Wilson -Date: Fri Feb 26 12:47:33 2016 +0000 - - igt/drv_hangman: Tidy up assertion failure message - - Because - - (drv_hangman:6035) CRITICAL: Failed assertion: !((__extension__ - (__builtin_constant_p (l) && ((__builtin_constant_p (tmp) && strlen - (tmp) < ((size_t) (l))) || (__builtin_constant_p (s) && strlen (s) < - ((size_t) (l)))) ? __extension__ ({ size_t __s1_len, __s2_len; - (__builtin_constant_p (tmp) && __builtin_constant_p (s) && (__s1_len = - strlen (tmp), __s2_len = strlen (s), (!((size_t)(const void *)((tmp) + - 1) - (size_t)(const void *)(tmp) == 1) || __s1_len >= 4) && - (!((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) || - __s2_len >= 4)) ? __builtin_strcmp (tmp, s) : (__builtin_constant_p - (tmp) && ((size_t)(const void *)((tmp) + 1) - (size_t)(const void - *)(tmp) == 1) && (__s1_len = strlen (tmp), __s1_len < 4) ? - (__builtin_constant_p (s) && ((size_t)(const void *)((s) + 1) - - (size_t)(const void *)(s) == 1) ? __builtin_strcmp (tmp, s) : - (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) - (const char *) (s); int __result = (((const unsigned char *) (const char - *) (tmp))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = - (((const unsigned char *) (const char *) (tmp))[1] - __s2[1]); if - (__s1_len > 1 && __result == 0) { __result = (((const unsigned char *) - (const char *) (tmp))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) - __result = (((const unsigned char *) (const char *) (tmp))[3] - - __s2[3]); } } __result; }))) : (__builtin_constant_p (s) && - ((size_t)(const void *)((s) + 1) - (size_t)(const void *)(s) == 1) && - (__s2_len = strlen (s), __s2_len < 4) ? (__builtin_constant_p (tmp) && - ((size_t)(const void *)((tmp) + 1) - (size_t)(const void *)(tmp) == 1) ? - __builtin_strcmp (tmp, s) : (- (__extension__ ({ const unsigned char - *__s2 = (const unsigned char *) (const char *) (tmp); int __result = - (((const unsigned char *) (const char *) (s))[0] - __s2[0]); if - (__s2_len > 0 && __result == 0) { __result = (((const unsigned char *) - (const char *) (s))[1] - __s2[1]); if (__s2_len > 1 && __result == 0) { - __result = (((const unsigned char *) (const char *) (s))[2] - __s2[2]); - if (__s2_len > 2 && __result == 0) __result = (((const unsigned char *) - (const char *) (s))[3] - __s2[3]); } } __result; })))) : - __builtin_strcmp (tmp, s)))); }) : strncmp (tmp, s, l))) == 0) - - is a little hard to understand at a glance. - - Signed-off-by: Chris Wilson - -commit 430439541cc1ee6003569bf4b906e5095541e542 -Author: Chris Wilson -Date: Fri Feb 26 10:06:51 2016 +0000 - - igt/gem_sync: Test across all rings simultaneously - - Signed-off-by: Chris Wilson - -commit 0667cf56691e9f72685e36ce506790d8e279183a -Author: Chris Wilson -Date: Fri Feb 26 09:09:51 2016 +0000 - - igt/gem_sync: Add some forked variants - - Repeat the synchronisation test with a few competing processes. - - Signed-off-by: Chris Wilson - -commit d627e30c9e7be7c8ab03fe486ce7ab0d68b5c33c -Author: Chris Wilson -Date: Thu Feb 25 19:54:47 2016 +0000 - - igt/gem_concurrent_blit: Pretend tests exist - - Signed-off-by: Chris Wilson - -commit cf569c216b7b53c2a2f78d9e76a0ea093184c27b -Author: Chris Wilson -Date: Thu Feb 25 17:58:24 2016 +0000 - - igt/gem_concurrent_blit: Add dmabuf exercisers - - Create and use dmabuf mmaps as well to ensure correct synchronisation - between concurrent rendering and CPU access. - - Signed-off-by: Chris Wilson - -commit f27d295fe3a1ca005dfa0fbfd81d6808b1f5ca47 -Author: Chris Wilson -Date: Tue Feb 23 17:45:49 2016 +0000 - - lib: Move gem_wait() to ioctl-wrappers - - We intend to use gem_wait() in more tests than gem_wait.c, so move the - simple ioctl wrapper into the core. - - Signed-off-by: Chris Wilson - -commit babcf40f29d9e9cce5d0739b1784eb94fe91bd26 -Author: Paulo Zanoni -Date: Mon Feb 15 15:00:16 2016 -0200 - - kms_frontbuffer_tracking: add basic subtest - - This test executes one of each of the very basic operations with - whatever features are enabled by default in the Kernel, without - checking their statuses: we only care about the CRCs. Although it's - completely redundant, it will be ran by the CI so we can spot - regressions both in the specific features and in the frontbuffer - tracking subsystem. - - We're not checking sink CRCs since they're still unreliable and we - don't want false negatives in the CI. - - It takes 5 seconds to run this test on my machines. - - Signed-off-by: Paulo Zanoni - -commit b87188795e9fda89c7e376726283a63817e83c60 -Author: Paulo Zanoni -Date: Mon Feb 15 12:15:14 2016 -0200 - - kms_frontbuffer_tracking: don't fail fbc-farfromfence on SKL - - SKL doesn't do the same dspaddr_offset magic as the older gens, so FBC - may not be enabled on fbc-farfromfence. This is not a bug since FBC is - just disabled, and this is the expected case of the current Kernel, so - let's not fail the test. - - If/once we land the proper infrastructure to fix this in the Kernel we - may revert this commit. - - Signed-off-by: Paulo Zanoni - -commit 556535400c0b3058569d7df13fcdea826bdeb875 -Author: Chris Wilson -Date: Fri Feb 19 10:31:44 2016 +0000 - - igt/gem_exec_reloc: Check WC mmaps as well - - Signed-off-by: Chris Wilson - -commit 15deba45756eeeacca2ad83ac931606986f8d669 -Author: David Weinehall -Date: Thu Feb 18 13:08:46 2016 +0200 - - lib/igt_pm: Lib for power management - - Move power management related code to a separate library. - Initially this is done only for workarounds that apply to external - components. Modify the users of such workarounds accordingly. - This currently involves HD audio and SATA link power management. - For SATA link PM there's also code to save the previous settings, - to allow for resetting the values after we've finished testing. - - Signed-off-by: David Weinehall - Reviewed-by: Marius Vlad - Signed-off-by: Marius Vlad - -commit 16038908de5ef491c8c795ae48ed880de235c532 -Author: Chris Wilson -Date: Thu Feb 18 10:35:10 2016 +0000 - - lib: Restore gem_available_aperture_size() - - Missed an error whilst rebasing and trying to modify the previous patch - to keep this function intact... Instead, I now have to add this patch to - restore gem_available_aperture_size() and its one usage. - - Signed-off-by: Chris Wilson - -commit 391b32c3822993a6dd5874d2898b0c16b8eb9d03 -Author: Chris Wilson -Date: Fri Feb 5 18:35:21 2016 +0000 - - igt: Report the global GTT size - - For many tests, the relevant aperture is not the ppGTT but the internal - global GTT managed by the kernel. Use this limit appropriately. - - Signed-off-by: Chris Wilson - -commit e85c530eab9ef20b2708ff36bfc6f6fa3990e1f4 -Author: Chris Wilson -Date: Thu Feb 18 10:27:07 2016 +0000 - - igt: Mark gem_cs_tlb/gem_cs_prefetch as a pair of basic GTT layout tests - - Signed-off-by: Chris Wilson - -commit 3990dd87b60bf8092671cb3c536666936b460b0c -Author: Chris Wilson -Date: Tue Feb 16 14:42:04 2016 +0000 - - igt/gem_ctx_thrash: Combine context thrashing with a render test - - Signed-off-by: Chris Wilson - -commit 3b12d9e6dc115939ddd110c7a7f7ad319b731524 -Author: Chris Wilson -Date: Fri Feb 5 11:46:41 2016 +0000 - - igt/gem_ctx_thrash: Double number of threads/proceesses - - Slightly increase the stress by doubling the number of contending - threads and the number of times we try and use each ctx/fd. - - Signed-off-by: Chris Wilson - -commit ef724ab2bba7a51113542c0bc9e77d34e8935c60 -Author: Derek Morton -Date: Thu Feb 4 12:06:57 2016 +0000 - - lib/igt_core.c: Expand --run-subtest functionality. - - Added extended wildcard support when specifying --run-subtest. - - Wildcard format is as specified in rfc3977 and the uwildmat() implementation - is taken from libinn. - See https://tools.ietf.org/html/rfc3977#section-4 for a description of - allowed wildcard expressions. - - v2: Use comma as list separator (Ville Syrjala) - support both ^ and ! as not operators (Dave Gordon) - - v3: Updated to use uwildmat() (Dave Gordon) - - Signed-off-by: Derek Morton - [danvet: Fixup whitespace. Add #include . Run lint.] - Signed-off-by: Daniel Vetter - -commit 0a45d6ba1371bb879f55d9f75d893552c2f71c97 -Author: Marius Vlad -Date: Fri Feb 12 15:26:10 2016 +0200 - - tests/prime_mmap: Encapsulate check_for_dma_buf_mmap() in igt_fixture. - - This unbreaks distcheck target that in turn runs each test with --list-subtests. - - Signed-off-by: Marius Vlad - -commit 42c7dd1255cd1e37298b76d38ea9962e76efd63a -Author: Marius Vlad -Date: Sun Feb 14 19:14:48 2016 +0200 - - Update MAINTAINERS file. - - Signed-off-by: Marius Vlad - -commit c5c1270f0f0f892f0e2a14c789e85f09f79ef1a6 -Author: Kristian Høgsberg Kristensen -Date: Sat Feb 13 12:37:34 2016 -0800 - - aubdump: Add a get_bo() lookup function - - We'll use this instead of accessing the bo array directly and add a few - sanity checks. - -commit 68a064ec64dab22d353dcde0b3208fa067abed51 -Author: Kristian Høgsberg Kristensen -Date: Sat Feb 13 12:34:22 2016 -0800 - - aubdump: Don't use .so constructors for initializing - - This doesn't seem to work when mixed with constructors in other shared - objects or other creative uses of the linker. Let's stick with a simpler - mechanism, where we look up the libc functions when our hooks are called - for the first time. - -commit a3506b52199d2ac8dbc358fbb562f700f1d9ded4 -Author: Kristian Høgsberg Kristensen -Date: Sat Feb 13 12:33:30 2016 -0800 - - aubdump: Raise SIGTRAP on failure - -commit ca3d355846c0b9746d2d6892bd0a4c1413b2abab -Author: Chris Wilson -Date: Fri Feb 12 16:38:04 2016 +0000 - - igt/gem_userptr_blits: Flip sign on error check - - Following conversion to __gem_execbuf() we need to consider that it - returns -errno when checking the result. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94117 - Signed-off-by: Chris Wilson - -commit ed40329c30b50c69b25c38fa728151ab9dae00cb -Author: Tiago Vignatti -Date: Tue Dec 8 19:37:32 2015 -0200 - - tests: Add prime_mmap_coherency for cache coherency tests - - Different than kms_mmap_write_crc that captures the coherency issues within the - scanout mapped buffer, this one is meant for test dma-buf mmap on !llc - platforms mostly and provoke coherency bugs so we know where we need the sync - ioctls. - - I tested this with !llc and llc platforms, BTY and IVY respectively. - - Signed-off-by: Tiago Vignatti - Reviewed-by: Stéphane Marchesin - Signed-off-by: Daniel Vetter - -commit 7c89c9d7346ca940a4c5d2828ac0c85921fa52c3 -Author: Tiago Vignatti -Date: Mon Aug 10 13:28:37 2015 -0300 - - tests: Add kms_mmap_write_crc for cache coherency tests - - This program can be used to detect when CPU writes in the dma-buf mapped object - don't land in scanout due cache incoherency. - - Although this seems a problem inherently of non-LCC machines ("Atom"), this - particular test catches a cache dirt on scanout on LLC machines as well. It's - inspired in Ville's kms_pwrite_crc.c and can be used also to test the - correctness of the driver's begin_cpu_access and end_cpu_access (which requires - i915 implementation. - - To see the need for flush, one has to run using '-n' option to not call the - sync ioctls which, via a rather simple CPU hog the system will trashes the - caches, while the test will catch the coherency issue. If you now suppress - '-n', then things should just work like expected. - - I tested this with !llc and llc platforms, BTY and IVY respectively. - - v2: use prime_handle_to_fd_for_mmap instead. - v3: merge end_cpu_access() patch with this and provide options to disable sync. - v4: use library's prime_sync_{start,end} instead. - v7: use CPU hog instead and use testing rounds to catch the sync problems. - - Signed-off-by: Tiago Vignatti - Reviewed-by: Stéphane Marchesin - Signed-off-by: Daniel Vetter - -commit 35debab2d9690aa6c26528358e882168e90dcb2b -Author: Tiago Vignatti -Date: Fri Dec 11 18:50:35 2015 -0200 - - lib: Add prime_sync_start and prime_sync_end helpers - - This patch adds dma-buf mmap synchronization ioctls that can be used by tests - for cache coherency management e.g. when CPU and GPU domains are being accessed - through dma-buf at the same time. - - v7: add sync invalid flags test. - - Signed-off-by: Tiago Vignatti - Reviewed-by: Stéphane Marchesin - Signed-off-by: Daniel Vetter - -commit 4edfa09ae4c184177389e339c57d090914936421 -Author: Tiago Vignatti -Date: Wed Jul 29 18:26:29 2015 -0300 - - prime_mmap: Add basic tests to write in a bo using CPU - - This patch adds test_correct_cpu_write, which maps the texture buffer through a - prime fd and then writes directly to it using the CPU. It stresses the driver - to guarantee cache synchronization among the different domains. - - This test also adds test_forked_cpu_write, which creates the GEM bo in one - process and pass the prime handle of the it to another process, which in turn - uses the handle only to map and write. Roughly speaking this test simulates - Chrome OS architecture, where the Web content ("unpriviledged process") maps - and CPU-draws a buffer, which was previously allocated in the GPU process - ("priviledged process"). - - This requires kernel modifications (Daniel Thompson's "drm: prime: Honour - O_RDWR during prime-handle-to-fd") and therefore prime_handle_to_fd_for_mmap is - added to fail in case these lack. Also, upcoming tests (e.g. next patch) are - going to use it as well, so make it public and available in the lib. - - v2: adds prime_handle_to_fd_with_mmap for skipping test in older kernels and - test for invalid flags. - - Signed-off-by: Tiago Vignatti - Reviewed-by: Stéphane Marchesin - Signed-off-by: Daniel Vetter - -commit e0efeb97a970fbbd5adaeef472bf9f78777c6cb4 -Author: Rob Bradford -Date: Wed Jul 29 17:23:58 2015 -0300 - - prime_mmap: Add new test for calling mmap() on dma-buf fds - - This test has the following subtests: - - test_correct for correctness of the data - - test_map_unmap checks for mapping idempotency - - test_reprime checks for dma-buf creation idempotency - - test_forked checks for multiprocess access - - test_refcounting checks for buffer reference counting - - test_dup checks that dup()ing the fd works - - test_userptr make sure it fails when mmaping due the lack of obj->base.filp - in a userptr. - - test_errors checks the error return values for failures - - test_aperture_limit tests multiple buffer creation at the gtt aperture - limit - - v2 (Tiago): Removed pattern_check(), which was walking through a useless - iterator. Removed superfluous PROT_WRITE from gem_mmap, in test_correct(). - Added binary file to .gitignore - v3 (Tiago): squash patch "prime_mmap: Test for userptr mmap" into this one. - v4 (Tiago): use synchronized userptr for testing. Add test for buffer - overlapping. - - Signed-off-by: Rob Bradford - Signed-off-by: Tiago Vignatti - Reviewed-by: Stéphane Marchesin - Signed-off-by: Daniel Vetter - -commit e1f663b543e89a58746b0d0bebb7bab30d325e1c -Author: Tiago Vignatti -Date: Wed Aug 12 15:57:12 2015 -0300 - - lib: Add gem_userptr and __gem_userptr helpers - - This patch moves userptr definitions and helpers implementation that were - locally in gem_userptr_benchmark and gem_userptr_blits to the library, so other - tests can make use of them as well. There's no functional changes. - - v2: added __ function to differentiate when errors want to be handled back in - the caller; bring gem_userptr_sync back to gem_userptr_blits; added gtkdoc. - v8: remove local_i915_gem_userptr from gem_concurrent_all.c to use the global - helpers instead. - - Signed-off-by: Tiago Vignatti - Reviewed-by: Stéphane Marchesin - Signed-off-by: Daniel Vetter - -commit 7670e286f5043d04af0cd1e6df1f092b5bcaf09e -Author: Maarten Lankhorst -Date: Thu Feb 11 12:46:24 2016 +0100 - - kms_force_connector_basic: Add force-load-detect test - - Signed-off-by: Maarten Lankhorst - Reviewed-by: Daniel Vetter - -commit 0e388f409a9cbbcbd9a8fd5cfa4df1e0d09599cc -Author: Daniele Ceraolo Spurio -Date: Mon Feb 1 14:24:37 2016 +0000 - - tests/gem_exec_params: test all valid execution flags - - The control subtest has been extended to check the execution flags for - all the rings that are present in the HW. - - Cc: Chris Wilson - Signed-off-by: Daniele Ceraolo Spurio - Signed-off-by: Daniel Vetter - -commit 2629f3aeef9989297da9bdd2c8dcb607e0bbfcea -Author: Tomeu Vizoso -Date: Tue Feb 9 15:45:37 2016 +0100 - - lib: Fix build when vc4 headers are present - - Automake seems to not like variable assignments indented with tabs. - - Signed-off-by: Tomeu Vizoso - Fixes: 9e5478dc4345 ("lib: Only compile igt_vc4 is we have it") - Signed-off-by: Daniel Vetter - -commit 9e5478dc4345ec8747c4e109ba4f739a26b9341f -Author: Daniel Vetter -Date: Tue Feb 9 09:44:00 2016 +0100 - - lib: Only compile igt_vc4 is we have it - - Unbreaks compilation fail. - - Also appease gcc in gem_exec_basic because. - - Cc: Eric Anholt - Signed-off-by: Daniel Vetter - -commit 467a9fac9bbb6385c0372a6c6a0f1d2f891984e9 -Author: Eric Anholt -Date: Mon Jan 25 10:36:12 2016 -0800 - - igt/vc4_wait_bo: Add tests with rendering performed. - - These caught an unexpected bug with clear colors (we'd get the last - executed clear's color in our new BO), while failing to catch the bug - I'd been hoping to find all along. - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit e7e094f444ac59ee93b96d9021d8c11d51fecd59 -Author: Eric Anholt -Date: Mon Jan 25 13:13:09 2016 -0800 - - igt/vc4_create_bo: Test various paths in BO creation. - - create-bo-0 fails on the current kernel, and it's something I want to - fix. - - v2: Use do_ioctl_err(). - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit 59f98997ab315465a052ed11e43ed7f6b0ec708a -Author: Eric Anholt -Date: Mon Jan 25 13:15:36 2016 -0800 - - igt: Add a helper function for creating VC4 BOs. - - v2: Use do_ioctl(). - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit b8badc243630e88f243b66c20599cfd035286382 -Author: Eric Anholt -Date: Mon Jan 25 10:01:35 2016 -0800 - - igt: Add a helper function for mapping VC4 BOs. - - v2: Use do_ioctl(). - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit 4880e13d04c005c1d7918b4499be45704dea9aca -Author: Eric Anholt -Date: Fri Jan 22 18:04:29 2016 -0800 - - igt: Add a helper function for getting a VC4 BO that's been drawn to. - - v2: Use do_ioctl(). - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit 7f421acb60793f5b25a8af5f668197331ba09d2a -Author: Eric Anholt -Date: Fri Jan 22 17:37:46 2016 -0800 - - igt/vc4_wait_bo: Add a test for VC4's wait-for-BO ioctl. - - The pad subtest fails currently. - - v2: Use do_ioctl() and do_ioctl_err(). - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit d333a0ed69937cefdfe9b9937f6d9556e1c2238d -Author: Eric Anholt -Date: Fri Jan 22 17:18:29 2016 -0800 - - igt/vc4_wait_seqno: Add a test for VC4's wait-for-seqno ioctl. - - v2: Use do_ioctl_err(). - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit 3f83f07039753131f01dbc09f312ffd61c088e31 -Author: Eric Anholt -Date: Fri Jan 22 17:18:56 2016 -0800 - - igt: Add support for DRIVER_VC4 flags on tests. - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit ceca9ef8d0a9fb64c1a4da11381f13adb6eca303 -Author: Eric Anholt -Date: Mon Jan 25 11:40:15 2016 -0800 - - configure.ac: Test for libdrm_vc4 and build vc4 tests based on it. - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit 8d441ee491ad91d67a650d99cc1bcd3ccbb9b662 -Author: Damien Lespiau -Date: Mon Feb 8 12:01:48 2016 +0000 - - list-workarounds: Fix python 2 print statement - - That script is a python 3 script, so we can't use the python 2 print - statement, it's a function now. - - I missed it in the review because reviewing a diff without additional - context gives you a partial story. - - Cc: Sameer Kibey - Cc: Dylan Baker - Signed-off-by: Damien Lespiau - -commit fb9df0e5102253ab5b1017fc5347209727552831 -Author: Kibey, Sameer -Date: Fri Feb 5 13:55:19 2016 -0800 - - list-workarounds: Extend the script to Mesa - - Updated the list-workarounds script so that it - can parse Mesa directory if provided. Moved the - common code to a separate function to allow - reuse for both kernel and mesa. - - The new command line is: - Usage: list-workarounds [options] path-to-kernel - -k path-to-kernel -m path-to-mesa - - The legacy usage is retained to avoid breaking - backwards compatibility. New parameters -k and - -m are added for the new behavior. - - Either kernel or mesa or both paths can be specified. - If path-to-mesa is invalid, error is reported. - - Signed-off-by: Sameer Kibey - Signed-off-by: Damien Lespiau - Reviewed-by: Damien Lespiau - -commit 6b3c832cfb0f9a4bd4e6784e0d0c70788937537b -Author: Chris Wilson -Date: Fri Dec 11 21:34:42 2015 +0000 - - igt/gem_workarounds: Convert to real GPU hang injection - - Signed-off-by: Chris Wilson - -commit 6f7372f6644bed5b615d24bedc06fa84488e3c39 -Author: Chris Wilson -Date: Fri Feb 5 15:55:40 2016 +0000 - - igt/gem_exec_alignment: Fix off-by-one in buffer objects - - When reducing the buffer count to fit into the aperture whilst aligned, - remember to adjust the pointer so that the batch is the last object! - - Signed-off-by: Chris Wilson - -commit b081257d749b536de857952037ad3d9bbe40ddad -Author: Chris Wilson -Date: Fri Feb 5 15:33:23 2016 +0000 - - igt/gem_exec_alignment: Mark batch buffer as also requiring 48B - - If we completely fill the lower 4G of address space with our alignment - objects, then we also need to mark the batch as requiring high-address. - Though the kernel should be reordering in this case... - - Signed-off-by: Chris Wilson - -commit ffbc59a3ef9b0d4347c43fd03681bbbd9d0e43d8 -Author: Chris Wilson -Date: Fri Feb 5 11:16:18 2016 +0000 - - lib: Silence a common debug message when creating a context - - In context tests, we may create thousands of contexts, the noise from - each requirement passing drowning out the real information. Let's only - do the requirement test (to detect if contexts are meant to be supported - or plain broken) only on the error path. - - Signed-off-by: Chris Wilson - -commit e7faf33ec791b78b2bf1ebb81be228364c3439c4 -Author: Chris Wilson -Date: Thu Feb 4 22:18:33 2016 +0000 - - igt/gem_ctx_thrash: Rewrite to avoid extraneous allocations - - The goal of the test is to exercise what happens when we fill the Global - GTT with the contexts. To that end, we only need to allocate 2/4GiB of - context objects, and can forgo filling each context with buffers. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94005 - Signed-off-by: Chris Wilson - -commit 0e96238bf35959f933b545d2ec85ada6b769cf8b -Author: Chris Wilson -Date: Thu Feb 4 17:41:05 2016 +0000 - - igt/gem_userptr_blits: Limit amount of mlocked surfaces - - When testing surface eviction we don't need that many surfaces as we - mlock surplus memory. Reducing the number of surfaces speeds up the test - and prevents a couple of integer overflow bugs. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94004 - Signed-off-by: Chris Wilson - -commit 7b5a81858193d775c08892b5072019488d7cdb0f -Author: Chris Wilson -Date: Sat Dec 12 18:56:53 2015 +0000 - - igt/gem_reset_stats: Convert from stop-rings to real hang injection - - Signed-off-by: Chris Wilson - -commit 9cc2b1336b60392b834e099ce3a3eb8ea723e29a -Author: Chris Wilson -Date: Fri Dec 11 13:40:11 2015 +0000 - - igt/gem_ctx_exec: Convert from stop-rings to a real GPU hang/reset - - Signed-off-by: Chris Wilson - -commit 38fe49d9a80a45ca529adaf8bbbba63e271ad30d -Author: Chris Wilson -Date: Thu Feb 4 11:17:42 2016 +0000 - - tests/drv_hangman: Convert to using central list of engines - - Rather than encoding our own list of engines, use the common one for - greater coverage. - - Signed-off-by: Chris Wilson - -commit 01e467a6312184f963b82c9004b6d7ce09961cc2 -Author: Chris Wilson -Date: Fri Jan 1 11:29:51 2016 +0000 - - igt/drv_hangman: Make the batchbuffer check more robust - - All the external viewer expects of the GPU error capture is to extract - the exact batch that triggered the hang. Everything else is internal - detail to aide in post-mortem debugging of the kernel driver (i.e. - subject to change) and not of the userspace portion (under control of - the test). - - Signed-off-by: Chris Wilson - -commit 0753057446da0c74843c8a1000f589797da9388d -Author: Chris Wilson -Date: Fri Dec 11 13:27:49 2015 +0000 - - igt/drv_hangman: Inject a true hang - - Wean drv_hangman off the atrocious stop_rings and use a real GPU hang - instead. - - Signed-off-by: Chris Wilson - -commit 8f6957a05a5176037d72d9a4c7d17c9bf8ac8f11 -Author: Chris Wilson -Date: Wed Jan 27 17:14:57 2016 +0000 - - igt/gem_ringfill: Add exercising the default-ring to basic testing - - ringfill generates a few very common errors when submitting requests, - and historically these have been where we have had many implementation - bugs, repeated over and over again. - - Signed-off-by: Chris Wilson - -commit 348742ec0da6f2dff68bcdce02debc8d8538cf02 -Author: Chris Wilson -Date: Fri Jan 29 10:45:43 2016 +0000 - - igt/gem_streaming_writes: Set bb start alignment to 64b for Ironlake - - Signed-off-by: Chris Wilson - -commit 3992babd985e1c70e216cdc42aab3e8872c07ad8 -Author: Chris Wilson -Date: Thu Jan 28 22:01:37 2016 +0000 - - igt/gem_busy: Refactor to use gem_require_ring() - - Now that gem_require_ring() does the right thing with BSD1/BSD2 we can - use it to our advantage here. - - Signed-off-by: Chris Wilson - -commit 3005665ead7b88607269e034f03742d5771dd924 -Author: Paulo Zanoni -Date: Mon Jan 25 19:36:25 2016 -0200 - - tools/intel_residency: use setitimer instead of {,u}alarm - - It seems that Android doesn't have ualarm(). Let's use setitimer() - instead. - - The tool still won't compile on Android due to igt_fb requiring Cairo, - but we're supposed to solve this in another patch since our igt_fb - calls don't actually require Cairo. - - Reported-by: Derek Morton - Tested-by: Derek Morton - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit ec5deb218de44cdd698a4cdb3e79b63854de15c0 -Author: Paulo Zanoni -Date: Wed Jan 6 18:53:17 2016 -0200 - - tests/pm_rpm: find an appropriate CRTC instead of hardcoding CRTC 0 - - BSW does not allow CRTC 0 to be used on every connector, so we need to - write code to actually find a suitable CRTC. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93124 - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit 84157ad1b43117798e88c664bf1c82f7421cb770 -Author: Paulo Zanoni -Date: Wed Jan 6 14:45:34 2016 -0200 - - tests/pm_rpm: remove POWER_DIR definition - - Unused ever since we moved some code from pm_rpm.c to lib/. This is - currently defined inside igt_aux.c. - - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit 7ca55f433c1e1fa722a46d1303524579581d6037 -Author: Paulo Zanoni -Date: Tue Jan 26 10:52:29 2016 -0200 - - tests/igt_fb: rename igt_get_all_formats to igt_get_all_cairo_formats - - I recently had this discussion with Daniel where I didn't want to use - igt_drm_format_to_bpp() because it uses the format_desc array, and - igt_fb currently assumes that all the format_desc formats have a - matching valid Cairo format, so I wouldn't be able to easily add - formats such as ARGB2101010. - - The function that has the assumption mentioned above is - igt_get_all_formats: its current users call igt_get_all_formats, and - then call cairo-dependent functions, such as igt_get_cairo_ctx on the - returned formats. - - In order to document the current behavior and prevent any problems in - case we start adding new formats without matching Cairo versions to - format_desc, rename igt_get_all_formats to igt_get_all_cairo_formats - and make it explicitly check for CAIRO_FORMAT_INVALID. - - Requested-by: Daniel Vetter - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit 55229f173e00947ecc05747a9038289940e30340 -Author: Paulo Zanoni -Date: Tue Jan 26 10:40:43 2016 -0200 - - lib/igt_fb: fix igt_get_all_formats documentation - - We give the callers a const pointer to a static variable that we reuse - between multiple calls: they're not supposed to free it, and they - don't free it today. - - Fix the documentation and leave the still reachable pointer instead of - reworking the function and its callers. - - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit 12c1eb653fcf26ad3483478e497e09333422d7cd -Author: Paulo Zanoni -Date: Mon Jan 25 21:17:50 2016 -0200 - - lib/igt_draw: use igt_drm_format_to_bpp() - - Don't reimplement the function. - - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit 0432201e6d85e84cdaf5b4b82404345014f93316 -Author: Paulo Zanoni -Date: Mon Nov 30 17:10:43 2015 -0200 - - kms_frontbuffer_tracking: standardize the used FB sizes - - We want to make sure that both tiled and untiled buffers have the same - size for the same width/height/format. This will allow better control - over the failure paths exercised by our tests: when we try to flip - from tiled to untiled, we'll be sure that we won't execute the error - path that checks for buffer sizes. - - v2: Use the new igt_calc_fb_size() instead of implementing our own - size calculation (Daniel). - v3: We can now use igt_drm_format_to_bpp() (Daniel). - - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit 096e020743b7e5500e36c4be73512ca548955829 -Author: Paulo Zanoni -Date: Mon Jan 25 21:04:37 2016 -0200 - - kms_frontbuffer_tracking: use igt_drm_format_to_bpp() - - The only format from fb_get_bpp() not supported by - igt_drm_format_to_bpp() is ARGB2101010, but we don't really use it in - kms_frontbuffer_tracking, so we can do the switch. - - Adding ARGB2101010 to igt_fb won't be that simple since there's no - equivalent Cairo format, and igt_fb users assume that all formats - known by igt_fb have equivalent Cairo formats. - - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit be6f3fadaf2c45972f7a9830baa6fd35f4d755a6 -Author: Paulo Zanoni -Date: Fri Nov 27 12:13:41 2015 -0200 - - lib/igt_fb: make the automatic buffer sizes/strides smaller - - The big motivation behind this patch is that the current power-of-two - granularity from igt_fb is way too big. There was more than one - occasion where I had to work around this problem on - kms_frontbuffer_tracking, and during my last workaround I was - requested to just make igt_fb use more minimal buffers. - - I also need to export the size computation function so I won't need to - reimplement it inside kms_frontbuffer_tracking. - - v2: - - Fix the Yf sizes (Ville). - - Don't change the Gen 2/3 behavior for both tiled and non-tiled. - v3: - - Edit the commit message, clarify that v1 was wrongly treating gen - 2/3 non-tiled as tiled (Chris). - - Requested-by: Daniel Vetter - Acked-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit d63e72f0ad281f295b058a572741b995a5a0f64a -Author: Chris Wilson -Date: Thu Jan 28 17:02:11 2016 +0000 - - igt/gem_cs_tlb: Increase BB start alignment to 64bytes - - Ironlake requires 64byte alignment for its MI_BATCH_BUFFER_START. - - Signed-off-by: Chris Wilson - -commit 89f81e039636c1fe8a4df846c769bbab7de609dc -Author: Chris Wilson -Date: Thu Jan 28 16:21:17 2016 +0000 - - igt: More MI_STORE_DWORD fixes for gen5 - - A few other tests I have updated recently to use MI_STORE_DWORD also need - the magic bit for gen4/5. - - Signed-off-by: Chris Wilson - -commit 3ec8b1d28e8d5ac924bd8f2e28baa31445bc5279 -Author: Chris Wilson -Date: Thu Jan 28 13:59:57 2016 +0000 - - igt/gem_ringfill: Set MI_MEM_VIRTUAL flag for gen<6 - - bit22 of MI_STORE_DWORD is confusing as the meaning changed between - physical/virtual addressing in early gen and GTT/ppGTT in later gen. It - looks like gen4 and gen5 still need the flag. - - Signed-off-by: Chris Wilson - -commit eaa03678b00179da89f194113c0740c033857c1c -Author: Chris Wilson -Date: Thu Jan 28 13:44:19 2016 +0000 - - lib: Hide BSD1/BSD2 rings on hardware without BSD2 - - The kernel happily lets us run on I915_EXEC_BSD2 even with such hardware - existing. Sigh. - - Signed-off-by: Chris Wilson - -commit 506d683da138a7b90f5e338d522012f00d3145e9 -Author: Chris Wilson -Date: Thu Jan 28 11:46:21 2016 +0000 - - tests: Add gem_exec_reloc - - The first steps towards basic relocation handling. In today's edition, - we ask how well does the kernel fare if we pass it relocations via - mmappings of our buffer objects. - - Signed-off-by: Chris Wilson - -commit d18d1eca811fff9871bb619558aee48568fc1b4d -Author: Chris Wilson -Date: Wed Jan 27 20:22:13 2016 +0000 - - igt/gem_reset_stats: Convert residual calllers of gem_exec() to gem_execbuf() - - Missed from e3b68bb66683ad4cb4c80df904a3a21c98a2b6c2 due to rebasing - fun. - - gem_reset_stats.c: In function 'inject_hang_ring': - gem_reset_stats.c:227:19: error: implicit declaration of function 'gem_exec' [-Werror=implicit-function-declaration] - gem_reset_stats.c:227:2: warning: nested extern declaration of 'gem_exec' [-Wnested-externs] - - Signed-off-by: Chris Wilson - -commit a1b47ef6ae6b92be4de0cf87f1ad2ee84029f8b7 -Author: Chris Wilson -Date: Wed Jan 27 19:44:16 2016 +0000 - - igt/gem_concurrent_blit: Disable libdrm buffer cache for child inheritance - - It just ends up with buffer leaks all over. On the flip side, it does - allow us to inherit the bufmgr directly without worry of stomping over - the aliased entries (and causing double closes). - - Signed-off-by: Chris Wilson - -commit 37f4da0d981f7990e9183be2eab2197d092fb701 -Author: Chris Wilson -Date: Wed Jan 27 13:02:35 2016 +0000 - - igt/gem_concurrent_all: Pass buffer data down - - In order reduce the number of parameters being passed everywhere, whilst - simultaneously making more information available to the lower levels, - pass the struct buffers around. - - Signed-off-by: Chris Wilson - -commit 5dea5deffc31e833a7cff1f70d29e49a5152fd3e -Author: Chris Wilson -Date: Wed Jan 27 18:22:28 2016 +0000 - - igt/gem_cs_prefetch: Check each ring - - Since each engine has its own ring, each is subject to CS prefetching - and has its own layout that needs probing. - - Signed-off-by: Chris Wilson - -commit de70769cc0a24d4d594aaa4c1f99b4a3fc8f05fe -Author: Chris Wilson -Date: Wed Jan 27 16:28:35 2016 +0000 - - Add I915_EXEC_DEFAULT to list of known engines - - I dropped this from the list of rings for some tests when refactoring to - a common array. Almost all of the tests should be run over the default - exec engine to ensure ABI backwards compatiblity. - - Signed-off-by: Chris Wilson - -commit d1308990842fec5f523c129951a5c649d817be81 -Author: Chris Wilson -Date: Wed Jan 27 14:17:53 2016 +0000 - - igt/gem_sync: Use common array of rings - - Signed-off-by: Chris Wilson - -commit dd6b45235b5f1eea9b37e686460fdf1a1c56f431 -Author: Chris Wilson -Date: Wed Jan 27 14:17:53 2016 +0000 - - igt/gem_ringfill: Use common array of rings - - Signed-off-by: Chris Wilson - -commit 8cd52893346c647e475e801c5f5267f2f2b75ebe -Author: Chris Wilson -Date: Wed Jan 27 14:17:53 2016 +0000 - - igt/gem_cs_tlb: Use common array of rings - - Signed-off-by: Chris Wilson - -commit 7e0853c9c717f8e1ce6ed7f0d2fa6bd973bd0f6a -Author: Chris Wilson -Date: Wed Jan 27 14:17:53 2016 +0000 - - igt/gem_exec_nop: Use common array of rings - - Signed-off-by: Chris Wilson - -commit b09ef449af3ad8dcb0af19c48d716104ce18d76e -Author: Chris Wilson -Date: Wed Jan 27 14:17:53 2016 +0000 - - igt/gem_storedw_loop: Use common array of rings - - Signed-off-by: Chris Wilson - -commit 01acd70762a17df2f889d4b6a4161c3540a8ce00 -Author: Chris Wilson -Date: Wed Jan 27 13:08:35 2016 +0000 - - igt: Add gem_exec_basic - - Extremely basic check that we can dispatch an execbuf on every ring. - - Signed-off-by: Chris Wilson - Acked-by: Daniel Vetter - -commit 04f5215f00962f746c5bd1aa7bdbcaf62280f235 -Author: Chris Wilson -Date: Wed Jan 27 14:07:27 2016 +0000 - - Extract array of execution engines - - A few tests wish to execute on every engine, so centralise the array of - known engines. - - Signed-off-by: Chris Wilson - -commit b7f150b606bc27199a007dab8d248d9510967173 -Author: Chris Wilson -Date: Wed Jan 27 14:30:24 2016 +0000 - - lib: Query the kernel for support of a particular exec id - - Signed-off-by: Chris Wilson - -commit e3b68bb66683ad4cb4c80df904a3a21c98a2b6c2 -Author: Chris Wilson -Date: Sat Jan 23 09:44:19 2016 +0000 - - lib: Share common __gem_execbuf() - - An oft-repeated function to check EXECBUFFER2 for a particular fail - condition. - - Signed-off-by: Chris Wilson - -commit 711398e82af469394559105a4f4c6dc21f582ffe -Author: Gabriel Feceoru -Date: Tue Jan 26 19:40:58 2016 +0200 - - igt/gem_ringfill: Allow listing subtests in gem_ringfill - - Moved gem_quiescent_gpu() call to the run path. - - Signed-off-by: Gabriel Feceoru - Signed-off-by: Maarten Lankhorst - -commit 336235c0a8554ccd3d276718ba5bacf811da3e49 -Author: Maarten Lankhorst -Date: Wed Jan 27 13:30:52 2016 +0100 - - gem_ringfill: fix typo in test name - - Missing a r! - - Signed-off-by: Maarten Lankhorst - -commit 5f6ebb2cb7c4ddd30e6efbcb896996d00d0016ca -Author: Chris Wilson -Date: Wed Jan 27 11:30:43 2016 +0000 - - igt/gem_concurrent_blit: Tighter scoping of buffers variable - - Signed-off-by: Chris Wilson - -commit a64f31b31e7dcaa5c75792ecb0956c7abcaef3dd -Author: Chris Wilson -Date: Wed Jan 27 11:19:26 2016 +0000 - - igt/gem_concurrent_blit: Close userptr handle after importing into bufmgr - - The bufmgr import creates a new handle from a name for the userptr - we - can discard our original handle immediately. - - Signed-off-by: Chris Wilson - -commit 6f75990af0e8867ddbb10efaddb3f14333766a3f -Author: Chris Wilson -Date: Wed Jan 27 11:17:03 2016 +0000 - - igt/gem_concurrent_blit: Tidy blt-fill using gem wrappers - - Replace the open-coded ioctls with the thin gem wrappers. - - Signed-off-by: Chris Wilson - -commit 3598fff994a0446376c1a2689921730a55f0d2aa -Author: Derek Morton -Date: Tue Jan 26 13:04:42 2016 +0000 - - tests/Android.mk: Make intel_residency CAIRO dependant - - intel_residency has a cairo dependency through igt_fb.c. Remove it - if ANDROID_HAS_CAIRO is not defined. - - Signed-off-by: Derek Morton - Signed-off-by: Paulo Zanoni - -commit e28acefc5c22b41e3f141ca959c8f96cd16feb47 -Author: Jesse Barnes -Date: Thu Jan 14 14:03:53 2016 -0800 - - lib/igt_kms, tests/testdisplay: allow probing of new connector modes - - Fixup some fallout from the connector probing changes so testdisplay -m - will pick up newly hotplugged displays correctly. - - Signed-off-by: Jesse Barnes -Date: Tue Jan 26 09:03:46 2016 +0000 - - igt/gem_exec_alignment: Reduce GTT usage if !full-ppgtt - - If we have to share the GTT with others, we cannot rely on being able to - fill it and have to factor in some slack for others. - - Signed-off-by: Chris Wilson - -commit 49b13378812df0b53a77df733e24b4a29ca8650e -Author: Chris Wilson -Date: Tue Jan 26 08:54:46 2016 +0000 - - igt/gem_exec_alignment: Actually check aligned locations after many - - As well as ensuring the kernel doesn't simply crash when asked to do - lots of objects, check it actually aligns them. - - Signed-off-by: Chris Wilson - -commit ea3331d1201fa04904d87698055b84fa29f23869 -Author: Eric Anholt -Date: Mon Jan 25 19:51:21 2016 +0000 - - igt: Disable igt_clflush_range() implementation on ARM builds - - Daniel has suggested that I put vc4 testing into igt, since it's got - the piglit integration and KMS coverage already. This gets the ccore - building so that I can start writing tests. - - Signed-off-by: Eric Anholt - Reviewed-by: Daniel Stone - -commit bccc0ec6a3fdae880e14770c2ff5770fb86ea6fc -Author: Daniel Stone -Date: Mon Jan 25 18:33:12 2016 +0000 - - build: Disable x86-specific utilities on non-x86 - - Some bits can't be built on non-x86 architectures, mostly because they - require x86-specific assembly primitives. Disable these by default on - non-x86 architectures. - - Signed-off-by: Daniel Stone - Reviewed-by: Eric Anholt - -commit e6ca4bd7cd911c2a422fd6961970fc5df2b071a0 -Author: Michał Winiarski -Date: Mon Jan 25 19:35:02 2016 +0100 - - lib/ioctl_wrappers: Add gem_has_softpin - - We can move it from softpin test into lib, and since softpin support is - highly unlikely to go away in-between getparam ioctl calls, let's just - do a single call and store the value. - - v2: rebase - - Signed-off-by: Michał Winiarski - Reviewed-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 52b5d5016edfac14ca99c01fc7c2800eccbe11c0 -Author: Michał Winiarski -Date: Mon Jan 25 19:35:01 2016 +0100 - - lib/ioctl_wrappers: Add gem_gtt_type exposing raw HAS_ALIASING_PPGTT param - - No functional changes. - While I'm here, let's also rename gem_uses_aliasing_ppgtt (since it's - being used to indicate if we are using ANY kind of ppgtt) and introduce - gem_uses_full_ppgtt to drop some unnecessary code from tests that were - previously calling getparam directly instead of using ioctl wrapper. - - v2: drop gem_uses_full_48b_ppgtt since it's no longer used anywhere, - s/48b/64b (Chris) - v3: rebase - - Cc: Chris Wilson - Signed-off-by: Michał Winiarski - Reviewed-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 0e2071411a4d4e1488a821daf522dffde2809e03 -Author: Chris Wilson -Date: Mon Jan 25 13:51:00 2016 +0000 - - Promote eviction memory sizes and buffer counts to uint64_t - - References: https://bugs.freedesktop.org/show_bug.cgi?id=93849 - Signed-off-by: Chris Wilson - -commit beb936f1888d3dcd18907097dfac09ef639036ab -Author: Paulo Zanoni -Date: Fri Nov 27 08:38:39 2015 -0200 - - tools: add intel_residency - - After the recent discussions regarding the effects of the vblank - disabling policies on PC state residencies, I started running some - experiments to reevaluate some non-intuitive conclusions I had - reached. In order to help me do this, I decided to write this tool. - - The idea is very simple: the tool puts the system on an screen-on idle - state, checks which PC state residency is the deepest we can reach, - measures its residency, then does some not-so-idle tests and measures - the residencies. You can use the tool to compare different Kernel - trees and you can also use the tool to compare enabled vs disabled - features. - - It's obvious that these cases do not represent real-world use cases of - our driver, but they are already enough to highlight differences - between the many patches I wrote. I was even able to catch a bug in - one of my patches by spotting an unexpected regression in the - residencies. - - I've been using this tool for FBC, but I expect it to also be useful - for PSR, DRRS and similar features. I've been measuring the effects of - different optimizations I wrote, and I've also been measuring the FBC - vs no-FBC cases. - - It is also important to highlight that if your system is not properly - configured for efficient power savings the tool may not be able to - show differences between the results. On my Broadwell machine, for - example, if I don't run "powertop --auto-tune" before running the - tool, I get PC2 as the deepest state, and 90%+ residency for every - workload. After properly configuring the machine, I get PC7 as the - deepest state, which is the expected. - - So far I only tested this tool on BDW and SKL, and it may hit some - unexpected assertions for older platforms. - - I only implemented the cases that are immediately useful for me, but - we may also expand the tool in the future. We can add more important - workloads. We can add support for screen-off cases, so we can compare - the effects of runtime PM and other screen-off features. There's a lot - we can do, but none of this is on my current priority list. - - And remember: /usr/bin/paste is your friend when comparing results. - - v2: - - Be more idle at setup_idle(). - - Improve printing for /usr/bin/paste usage. - - Signed-off-by: Paulo Zanoni - -commit 9bf4e19125597ed11a23027270f5ecb3099b5ea9 -Author: Chris Wilson -Date: Sun Jan 24 15:34:08 2016 +0000 - - igt/gem_softpin: Keep last_handle around to vary hole generation - - If we don't close the handle from the last pass, we don't free up the - previous pass's vma immediately, changing the hole allocation. - - Signed-off-by: Chris Wilson - -commit c5b0293ca301ea643529d92b7e47f916ec59a762 -Author: Chris Wilson -Date: Sat Jan 23 18:10:46 2016 +0000 - - igt/gem_softpin: Exercise snoop+uncached abutting - - snooped objects are not allowed to abutt uncached objects on older gen - (!llc and global GTT) or else the GPU may hang if it prefetches across a - page boundary into a different memory type (i.e. CS reading from snoop). - The kernel should be checking the alignment rules as normal. - - Signed-off-by: Chris Wilson - -commit d4a05bc009e0634e06df7fb65d3fe4c5a10e3319 -Author: Chris Wilson -Date: Sat Jan 23 09:07:12 2016 +0000 - - igt/gem_concurrent_blit: Switch to a shared mmap for userptr - - If we use a MAP_SHARED mmaping for the our backing storage for userptr, - then it will be inherited across the fork with the same address. ideal - for continuity testing of children. - - Signed-off-by: Chris Wilson - -commit 69ecedea735425cfb9a5d7dfcaa5840393553fd1 -Author: Chris Wilson -Date: Fri Jan 22 22:14:33 2016 +0000 - - igt/gem_concurrent_blit: Allocate a private batch cache for the child - - We have to avoid the COW alias for the intel_bufmgr and intel_batch - cache as the child may close the object (in its local cache) leaving an - alias in the parent cache pointing to a stale object. - - Signed-off-by: Chris Wilson - -commit 3eae640b817fc506aafafb417e432b521517ed1a -Author: Chris Wilson -Date: Fri Jan 22 19:52:51 2016 +0000 - - igt/gem_concurrent_blit: Disable userptr+child tests - - The issue here is that the pointer inherited upon the child is - copied-on-write, i.e. the pointer is private to each process, but the - handle is shared. This means that writes and reads in the child are - going to a different set of pages than the GPU's object - the test is - simply broken. To overcome this we would need to mmap the shared buffer - into the child. - - Signed-off-by: Chris Wilson - -commit 4645630d3e7d1dcc8050e5f7da42318747002944 -Author: Chris Wilson -Date: Fri Jan 22 19:29:07 2016 +0000 - - igt/gem_concurrent_blit: Check inheritance of buffers - - The current forked modes recreate their handles in the children and just - look at any complications arising from contention. This mode looks at - inheriting the fd+handles from the parent into the child and seeing if - we can use them within the child. - - Signed-off-by: Chris Wilson - -commit 512f846f377ee97c90467ccd121519586263993f -Author: Chris Wilson -Date: Fri Jan 22 19:26:50 2016 +0000 - - igt/gem_ringfill: Mark the write object as EXEC_OBJECT_WRITE - - After setting the flag for NORELOC (to avoid having to pay the cost of - validating the relocations on every pass), we need to make sure that - we set EXEC_OBJECT_WRITE so that we do track the outstanding writes. - - Signed-off-by: Chris Wilson - -commit 291ff6bcf1678192c1cc59728e1f69797962372a -Author: Chris Wilson -Date: Fri Jan 22 19:01:02 2016 +0000 - - igt/gem_ringfill: Disable MI_STORE_DATA_IMM on BSD/gen6 - - It's broken, avoid at all costs. - - Signed-off-by: Chris Wilson - -commit 0091e6787cf4da668068f82d58f7169516acbc1f -Author: Chris Wilson -Date: Fri Jan 22 18:02:50 2016 +0000 - - igt/gem_userptr_blits: Exercise applying relocations to a userptr bo - - Signed-off-by: Chris Wilson - -commit 5b675f7b2f6487548a91c01eb9a7e36e808617b4 -Author: Chris Wilson -Date: Fri Jan 22 17:33:40 2016 +0000 - - lib: Refactor common detection of missed interrupts - - As we have the same function in a few places to read the - debugfs/i915_ring_missed_irq file, move it to the core. - - Signed-off-by: Chris Wilson - -commit e0ee36141ed1747f68580559a7cbfbeba902f05c -Author: Chris Wilson -Date: Fri Jan 22 17:28:54 2016 +0000 - - igt/gem_softpin: Fix MI_STORE_DATA_IMM for gen3 - - We need both a secure batch and to flag it to use the virtual GTT - address. - - Signed-off-by: Chris Wilson - -commit fbb0f636bd8ac898145b52961f5f7996f01ddc08 -Author: Chris Wilson -Date: Fri Jan 22 17:25:08 2016 +0000 - - igt: Fix use MI_STORE_DATA_IMM on gen3 - - For the older gen, MI_STORE_DATA_IMM is a privileged command so we need - to set the "secure" batch flag, and we also need to instruct the command - to use the GTT virtual address. - - Signed-off-by: Chris Wilson - -commit 4a3a8263427db6e1d2779a092ab6fc035e8aca3f -Author: Chris Wilson -Date: Wed Jan 13 14:02:50 2016 +0000 - - lib: Print memory requirements as MiB - - Since we need a lot of memory, trim off the less significant digits for - easier human consumption. - - Signed-off-by: Chris Wilson - -commit e180bec7bc16e727cea2f99aeff10b642f7778be -Author: Chris Wilson -Date: Fri Jan 22 15:00:11 2016 +0000 - - igt/gem_ringfill: Reduce ringfill to just filling the rings - - The objective of this test is to check how the driver handles a full - ring. To that end we need only submit enough work to fill the ring by - submitting work faster than the GPU can execute it. If we are more - careful in our batch construction, we can feed them much faster and - achieve the same results much quicker. - - Signed-off-by: Chris Wilson - -commit c4bcffcd109bfee6b70a60f2309d9acd881f7aec -Author: Chris Wilson -Date: Fri Jan 22 15:27:24 2016 +0000 - - igt/gem_exec_alignment: Tweaks count for large alignments - - We can fit a few more objects in at high alignment, so do so. - - Signed-off-by: Chris Wilson - -commit bd9842eadead0dc17f176f2c7124ab365264c945 -Author: Chris Wilson -Date: Fri Jan 22 00:26:56 2016 +0000 - - igt/gem_cs_tlb: Use softpin to remove GTT layout assumptions - - With softpin we can explicitly manage the layout of the objects to be - executed, deliberately forcing the reuse of active pages in an attempt - to spot misbehaviour in the CS TLBs. Being explicit allows us to - eliminate a lot of the CPU overhead between execbuf, hopefully - increasing the likelihood of a conflict. - - Signed-off-by: Chris Wilson - -commit 0143d4f3379b60650e4951f167822fcc76bb24d9 -Author: Chris Wilson -Date: Thu Jan 21 09:53:50 2016 +0000 - - igt/gem_concurrent_blit: Add userptr backing storage tests - - Signed-off-by: Chris Wilson - -commit a4493a54f348e547027eff3cb1607805f39f955d -Author: Chris Wilson -Date: Thu Jan 21 09:19:02 2016 +0000 - - igt/gem_softpin: Fix MI_STORE_DWORD_IMM for gen2-3 - - Before gen4, MI_STORE_DWORD was just 3 dwords long (cmd, offset, value). - - Signed-off-by: Chris Wilson - -commit 19642c604bb0c987e6e0069974042a98d128b9fc -Author: Chris Wilson -Date: Fri Dec 11 13:27:49 2015 +0000 - - lib: Expand igt_hang_ring() to select target context and various options - - Some potential callers want to inject a hang into a particular context, - some want to trigger an actual ban and others may or may not want to - capture the associated error state. Expand the hang injection interface - to suit all. - - v2: Disable the new kernel API, but push to provide a missing piece of - infrastucture to unbreak compilation. - - Signed-off-by: Chris Wilson - -commit 92caf138f2d878429f91397120e215dcb524efac -Author: Chris Wilson -Date: Wed Dec 16 09:23:56 2015 +0000 - - tests: Drop the superfluous igt_require_hang_ring() - - As the hang injection now itself checks for validity before use, the - tests don't need to do so themselves. Except in certain situations! If - the test forks, it should do requirement checks before the fork (so that - we don't anger the igt gods) and if the test plays around i915.reset - then it needs to do an early igt_require_hang_ring() that is not - affected by the changes to i915.reset. - - Signed-off-by: Chris Wilson - -commit a2eb63720b939d58a39cc7e5ef5ad2204fec260a -Author: Chris Wilson -Date: Fri Dec 11 21:24:21 2015 +0000 - - lib: Always double check igt_require_hang_ring() on use - - If we move the igt_require() into the hang injector, this makes simple - test cases even more convenient. More complex test cases can always do - their own precursory check before settting up the test. - - However, this does embed the assumption that the first context we are - called from is safe (i.e no i915.enable_hangcheck/i915.reset - interferrence). - - v2: A couple of environment variables to skip hang testing or to force - hang injection even if the GPU cannot be reset. - - Signed-off-by: Chris Wilson - -commit 47b61378426002c0f71644c65c73477265a5751d -Author: Chris Wilson -Date: Fri Jan 8 10:40:33 2016 +0000 - - igt/gem_partial_pwrite_pread: Fix range computation - - The range we chose to overwrite in the target had an off-by-one error - that could cause it to compute a size that went past the end of the - buffer (and so trigger EINVAL). Fortuituously with our seed this did not - occur. Whilst changing the range calculation, update the error logging - to include the range information. - - Signed-off-by: Chris Wilson - -commit 6bada3e2d494e0823a31773e916c62bd36facbe7 -Author: Chris Wilson -Date: Wed Jan 13 16:47:21 2016 +0000 - - igt/gem_softpin: Remove false dependencies on esoteric features - - For softpinning, we do not require either userptr or extended ppgtt, so - remove those requirements and make the tests work universally. (Certain - ABI tests require large GTT, or per-process GTT.) - - In the process, make the tests more extensive - validate overlapping - handling more careful, explicitly test no-relocation support, validate - more ABI handling. And for fun, cause a kernel GPF. - - Signed-off-by: Chris Wilson - -commit ad9b78f443be71c093d56e513f58442f46da496b -Author: Chris Wilson -Date: Tue Jan 19 23:59:33 2016 +0000 - - igt/gem_exec_alignment: Convert to subtests - - Allow both parts (single, many) to be run independently. - - Signed-off-by: Chris Wilson - -commit 28c33c6f90016f494d387ff8e886632ad3b5dfc6 -Author: Chris Wilson -Date: Tue Jan 19 21:11:28 2016 +0000 - - igt/gem_exec_alignment: Fix off-by-one in evalation of find_last_bit() - - Signed-off-by: Chris Wilson - -commit 6cf9d911ab0887f481f25351ab480d44cf044e07 -Author: Chris Wilson -Date: Tue Jan 19 21:02:40 2016 +0000 - - igt/gem_exec_alignment: Remember to require 48b objects! - - In order to actually use the high space we need to set the can-use-48bit - flag. - - Signed-off-by: Chris Wilson - -commit 167fb9e7b2d77c6b672384f880988b386129d964 -Author: Chris Wilson -Date: Tue Jan 19 16:52:32 2016 +0000 - - igt/gem_exec_alignment: Test multiple objects with alignment as well - - Compute the largest alignment for the most number of objects we can create, - then trying an execbuf with them. - - Signed-off-by: Chris Wilson - -commit e7bdc5c91692fba3f74aea4dc6ec662c98d1fec3 -Author: Chris Wilson -Date: Tue Jan 19 13:44:09 2016 +0000 - - igt/gem_exec_alignment: Test all possible pot alignments - - Signed-off-by: Chris Wilson - -commit de45ceb6678724d2c6a5ce4b0b614071e72b4f32 -Author: Chris Wilson -Date: Sat Jan 16 00:35:20 2016 +0000 - - igt/gem_ring_sync_loop: Be explicit! - - The test just aims to execute batches on alternating rings with a write - target such that every batch must be executed after the previous - completes. This stresses the inter-ring synchronisation, which is - interrupt driven if the gpu does not support semaphores, and so is a - good stress tests for detecting "missed interrupt syndrome". Make that - detection explicit. - - Signed-off-by: Chris Wilson - -commit a8f0963af5c217210f333790385a3d753794f6ad -Author: Chris Wilson -Date: Wed Jan 13 15:06:41 2016 +0000 - - igt/gem_storedw_loop: Add a few more iterations - - Whilst still keeping the runtime down, extend the pipeline slightly. - - Signed-off-by: Chris Wilson - -commit e2b9dfd0aa4295ecbd8d7c8ab3f58fa43514cf61 -Author: Chris Wilson -Date: Wed Jan 13 14:57:47 2016 +0000 - - igt/gem_storedw_loop: Remove libdrm crutches - - Make the behaviour of the test more explicit wrt to the handle management, - mmap and domain handling. - - Signed-off-by: Chris Wilson - -commit 38790b77d562a3b1cf31996aff160081d276796f -Author: Chris Wilson -Date: Mon Jan 11 14:12:54 2016 +0000 - - igt/gem_cs_prefetch: Replace explicit sync with implicit sync - - We can trade off the explicit sync (presumably to avoid some resource - starvation issue?) with the implicit sync of having to perform a - relocation. Using an implicit sync helps stress core kernel code, - besides being much faster! - - Signed-off-by: Chris Wilson - -commit a6090c71918ae4c0a54eda133081dbd1e6fe8018 -Author: Chris Wilson -Date: Fri Jan 8 16:32:29 2016 +0000 - - igt/gem_mmap_wc: Test cpu mmap vs wc mmap coherency - - Similar to the cpu mmap vs gtt mmap coherency test. - - Signed-off-by: Chris Wilson - -commit 571b876544933c4c6cab16065b1ade76246a7f55 -Author: Chris Wilson -Date: Fri Jan 8 11:51:56 2016 +0000 - - gem_concurrent_all: Add a "quick" tiny pass - - Signed-off-by: Chris Wilson - -commit 1c61c0f75097983d1a19e03e2c6dfd631307d1ef -Author: Chris Wilson -Date: Fri Jan 8 10:51:09 2016 +0000 - - gem_concurrent_blit: Add a pread/pwrite variant to only set part of the buffer - - The idea is to check partial cacheline reads/writes. - - Signed-off-by: Chris Wilson - -commit 42291f25100cd01653b3fb3a2a1fbe6975e9c1bf -Author: Chris Wilson -Date: Thu Jan 7 11:19:26 2016 +0000 - - gem_concurrent_blit: Don't call igt_require() outside of a subtest/fixture - - gem_concurrent_blit tries to ensure that it doesn't try and run a test - that would grind the system to a halt, i.e. unexpectedly cause swap - thrashing. It currently calls intel_require_memory(), but outside of - the subtest (as the tests use fork, it cannot do requirement testing - within the test children) - but intel_require_memory() calls - igt_require() and triggers and abort. Wrapping that initial require - within an igt_fixture() stops the abort(), but also prevents any further - testing. - - This patch restructures the requirement checking to ordinary conditions, - which though allowing the test to run, also prevents listing of subtests - on machines which cannot handle them. - -commit 51e965f299284b3c9b96ac5e384ddeb22bd8d1fd -Author: Chris Wilson -Date: Sun Jan 17 16:21:01 2016 +0000 - - tests: Add basic gem_sync test - - A very basic test of functionality, execute a nop and wait for it to - complete. It should be very effective at stimulating the "missed - interrupt syndrome" on all devices. - - Signed-off-by: Chris Wilson - -commit 136d6c796141b9b9fc9c96fe57dc2352c5224548 -Author: Chris Wilson -Date: Sat Jan 16 17:49:46 2016 +0000 - - igt/gem_streaming_writes: Set the initial CPU write domain - - Remove one assumption from the test and amek the domain management - explict - when we write through the CPU to construction the batch, mark - it as having been written. - - Signed-off-by: Chris Wilson - -commit 59adb00129acd1f9aff76edd19f7774876149d4f -Author: Chris Wilson -Date: Fri Jan 15 13:34:39 2016 +0000 - - tests: Add gem_busy - - Exercise the busy-ioctl and verify it reports the right active engines - using the execbuffer notation. - - Signed-off-by: Chris Wilson - -commit 825482a25c3efd82ad4630169d62248b06be4bc0 -Author: Derek Morton -Date: Mon Jan 11 13:32:04 2016 +0000 - - tools/Android.mk: Add zlib support - - IGT does not build for Android due to a zlib dependency being added - to intel_error_decode.c in a recent patch. - This patch fixes the error by updating the Android makefile to add - the path to the zlib library and using any LDFLAGS specified in - Makefile.sources. - - Signed-off-by: Derek Morton - Signed-off-by: Damien Lespiau - -commit fe7a42bff6c09cda864021d291a842ffd563e30e -Author: Mika Kahola -Date: Fri Jan 15 10:24:55 2016 +0200 - - tools/intel_bios_reader: Fix typo on dump info - - Fix typo on intel_bios_reader.c - - Signed-off-by: Mika Kahola - Signed-off-by: Jani Nikula - -commit 480479d7dce38715ca82741fce047a9eca06e8cc -Author: Jani Nikula -Date: Thu Jan 14 17:43:06 2016 +0200 - - intel_bios_reader: dump MIPI sequence block v3 - - Similar to what's done in kernel. It's a bit artificial that the parsing - and dumping are two separate steps in the userspace tool, but it's - easier to follow and debug the code when both the kernel and userspace - are similar. - - v2: don't segfault so much on dumping null pointers - - Signed-off-by: Jani Nikula - -commit 70dc8c85f1ba543b6f6ef16c49718b68d7dafba8 -Author: Jani Nikula -Date: Thu Jan 14 16:41:53 2016 +0200 - - intel_bios_reader: port the sequence block parsing from kernel - - Reuse the same code as kernel. Also parses v3, although does not - actually dump that stuff yet. - - Signed-off-by: Jani Nikula - -commit 7d1a37282b39026fe55fd9aee637d914b237a4f7 -Author: Jani Nikula -Date: Thu Jan 14 16:24:11 2016 +0200 - - intel_bios_reader: port find_panel_sequence_block from kernel - - No need to reinvent wheels, reuse the code from kernel. - - Signed-off-by: Jani Nikula - -commit b26393489ef8cba34773d3132c33c18b08d835bd -Author: Jani Nikula -Date: Thu Jan 14 16:08:55 2016 +0200 - - intel_bios_reader: make the VBT pointers more const - - In const we trust. - - Signed-off-by: Jani Nikula - -commit d9588c891d0dd252230b363c02ca962eed1d2303 -Author: Jani Nikula -Date: Thu Jan 14 15:48:13 2016 +0200 - - intel_bios_reader: fix size handling for 32-bit block size - - The MIPI DSI sequence block v3+ has a separate block size field. - - Signed-off-by: Jani Nikula - -commit 2e2fffa7a5e0debb1ea2cc70b46c4818b48b0d53 -Author: Jani Nikula -Date: Thu Jan 14 15:27:50 2016 +0200 - - intel_bios_reader: pass bdb pointer around instead of having as global - - Signed-off-by: Jani Nikula - -commit 065d73619f33c3ac92c80d06b7a48992406940cf -Author: Ville Syrjälä -Date: Fri Jan 8 20:37:51 2016 +0200 - - tests/kms_chv_cursor_fail: Skip when the pipe doesn't exist - - Looks like I fumbled things when I made kms_chv_cursor_fail iterate - over all pipes. It fails to check that the pipe actually exists, and - so fails on < 3 pipe platforms. Add the necessary checks to skip - on non-existing pipes. - - Signed-off-by: Ville Syrjälä - -commit cd658a7c6bca74eb897a8ae87751029793f0c4f4 -Author: Chris Wilson -Date: Thu Jan 7 09:04:03 2016 +0000 - - core/sighelper: Interrupt everyone in the process group - - Some stress tests create both the signal helper and a lot of competing - processes. In these tests, the parent is just waiting upon the children, - and the intention is not to keep waking up the waiting parent, but to - keep interrupting the children (as we hope to trigger races in our - kernel code). kill(-pid) sends the signal to all members of the process - group, not just the target pid. - - We also switch from using SIGUSR1 to SIGCONT to paper over a race - condition when forking children that saw the default signal action being - run (and thus killing the child). - - Signed-off-by: Chris Wilson - Acked-by: Daniel Vetter - -commit 05ac611358e61f914d99e00e1738f2ff9cfb05d4 -Author: Rodrigo Vivi -Date: Fri Jan 8 07:40:45 2016 -0800 - - kms_psr_sink_crc: Simplify debugfs reading. - - Let's start using igt_debugfs_read helper so we - can change the debugfs interface at anytime. - - Signed-off-by: Rodrigo Vivi - -commit f1bb20eb7c4fa5f8b98bfd9876adc69c250e9bea -Author: Ville Syrjälä -Date: Mon Dec 14 00:54:33 2015 +0200 - - tests/kms_flip: Increase TEST_TS_CONT max seq difference to 150 - - During suspend tests we can exceed the current 100 frame difference - in sequence numbers. Bump the limit to 150 frames. - - Signed-off-by: Ville Syrjälä - -commit 39aecb05d5c608cb7916fe376341de1828945167 -Author: Ville Syrjälä -Date: Mon Dec 14 00:55:11 2015 +0200 - - tests/kms_pipe_crc_basic: Use igt_assert_eq() to see the failing frame counts - - Use igt_assert_eq() to compare the frame numbers during the frame - sequence tests so that we'll see exactly what the bad frame counts - are when the test fails. - - Signed-off-by: Ville Syrjälä - -commit 7ff8223d44b875e0eec02f32b9fce8baeca689a3 -Author: Ville Syrjälä -Date: Sun Dec 13 06:58:40 2015 +0200 - - tests/gem_mmap_gtt: Make the small-bo tiling tests work on old platforms - - Several factors conspire against us when trying to execute - the tiled small-bo tests: - - pre-gen4 require power of two fences, with natural alignment - - the entire gtt may be mappable - - we put a guard page at the end of gtt - - What all that means is that when we try to use a tiled object half - the size of the mappable area, we can only fit it in the first half - of the gtt. That leads to a SIGBUS when we try to fault in the - object when there's already something (eg. fbdev) occupying the - first half of gtt. - - So in order to make the tests run on old machines, let's further - halve the object size when things look too tight. - - Signed-off-by: Ville Syrjälä - -commit 21022f076d4047348f377a1938079c046de13f42 -Author: Ville Syrjälä -Date: Sun Dec 13 06:54:06 2015 +0200 - - tests/gem_mmap_gtt: Add progress indicators - - Some of the copy tests take a while, so let the user know how - far along we are via a progress indicator. - - Signed-off-by: Ville Syrjälä - -commit 86382de3fb17582470b32bd955ad31be201b7304 -Author: Ville Syrjälä -Date: Sun Dec 13 06:53:28 2015 +0200 - - tests/gem_mmap_gtt: Deal with tile sizes on gen2/3 - - Gen2/3 platforms have some unusual tile dimensions. Account - for them to make the test work correctly. - - Signed-off-by: Ville Syrjälä - -commit 1ecd91a8c6575c663492eee81cd48c8d1cb36914 -Author: Ville Syrjälä -Date: Sun Dec 13 00:04:43 2015 +0200 - - Fix a bunch of printf types - - igt_kms.c: In function ‘igt_crtc_set_background’: - igt_kms.c:1940:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ [-Wformat=] - LOG(display, "%s.%d: crtc_set_background(%lu)\n", - ^ - intel_firmware_decode.c: In function ‘csr_open’: - intel_firmware_decode.c:169:2: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘__off_t’ [-Wformat=] - printf("Firmware: %s (%zd bytes)\n", filename, st.st_size); - ^ - intel_gpu_top.c: In function ‘main’: - intel_gpu_top.c:683:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat=] - stats[i] - last_stats[i]); - ^ - hsw_compute_wrpll.c: In function ‘main’: - hsw_compute_wrpll.c:644:3: warning: format ‘%li’ expects argument of type ‘long int’, but argument 7 has type ‘long long int’ [-Wformat=] - igt_fail_on_f(ref->r2 != r2 || ref->n2 != n2 || ref->p != p, - ^ - gem_gtt_hog.c: In function ‘__real_main155’: - gem_gtt_hog.c:177:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=] - igt_info("Time to execute %lu children: %7.3fms\n", - ^ - kms_flip.c: In function ‘run_test_step’: - kms_flip.c:985:3: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 10 has type ‘__time_t’ [-Wformat=] - igt_assert_f(end - start > 0.9 * frame_time(o) && - ^ - kms_flip.c:985:3: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 11 has type ‘__suseconds_t’ [-Wformat=] - kms_frontbuffer_tracking.c: In function ‘setup_sink_crc’: - kms_frontbuffer_tracking.c:1364:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘ssize_t’ [-Wformat=] - igt_info("Unexpected sink CRC error, rc=:%ld errno:%d %s\n", - ^ - Signed-off-by: Ville Syrjälä - -commit a7882a31cb9f516b6068a81221c0fdaf7e9d4073 -Author: Ville Syrjälä -Date: Fri Dec 18 14:21:27 2015 +0200 - - tests/kms_chv_cursor_fail: Add a test to exercise CHV pipe C cursor fail - - The test tries to anger CHV pipe C cursor by walking the edges of the - screen while moving the cursor across the screen edge. - - The actual hw issue only occurs on pipe C, and only on the left screen - edge. The testcase can walk all the edges though, and on all pipes, just - so I could make sure the failure doesn't occur there. - - Signed-off-by: Ville Syrjälä - -commit a7a2c76a806e7aa93c7e8c998465a8cb63dbaa37 -Author: Ville Syrjälä -Date: Fri Dec 18 16:10:34 2015 +0200 - - tests/kms_pipe_crc_basic: Add tests for O_NONBLOCK CRC reads - - v2: Rebased due to __attribute__((warn_unused_result)) - - Signed-off-by: Ville Syrjälä - -commit 909074503012a11fc631118cd3180b4a1c27646e -Author: Ville Syrjälä -Date: Fri Dec 18 14:35:05 2015 +0200 - - lib: Add igt_pipe_crc_new_nonblock() - - Add support for reading the CRC in non-blocking mode. Useful for tests - that want to start the CRC capture, then do a bunch of operations, then - collect however many CRCs that got generated. The current - igt_pipe_crc_new() + igt_pipe_crc_get_crcs() method would block until - it gets the requested number of CRCs, whreas in non-blocking mode we - can just read as many as got generated thus far. - - v2: __attribute__((warn_unused_result)), document the - new igt_pipe_crc_get_crcs() return value (Daniel) - - Signed-off-by: Ville Syrjälä - -commit 5b113d323dde18ef3bbae2f57d613be4ab7eb267 -Author: Ville Syrjälä -Date: Thu Dec 17 01:39:31 2015 +0200 - - lib: Extract some common fb create+fill methods into helpers - - Several tests do one or more of the following: - * igt_create_fb() + igt_paint_test_pattern() - * igt_create_color_fb() + igt_paint_test_pattern() - * igt_create_fb() + igt_paint_image() - - Extract them into new helpers: igt_create_pattern_fb(), - igt_create_color_pattern_fb(), igt_create_image_fb(). - - v2: Fix typos, and improve API docs (Thomas) - - Signed-off-by: Ville Syrjälä - -commit 7cb35109645e6495f67981b9930587c1ddfe4f90 -Author: Michel Thierry -Date: Wed Jan 6 15:00:39 2016 +0000 - - tests/gem_softpin: Use offset addresses in canonical form - - i915 validates that requested offset is in canonical form, so tests need - to convert the offsets as required. - - Also add test to verify non-canonical 48-bit address will be rejected. - - v2: Use sign_extend64 for converting to canonical form (Tvrtko) - - Cc: Vinay Belgaumkar - Cc: Tvrtko Ursulin - Reviewed-by: Vinay Belgaumkar - Signed-off-by: Michel Thierry - -commit fca862cdd3a1152a64f062caff4475478e2bd50a -Author: Chris Wilson -Date: Thu Jan 7 10:54:30 2016 +0000 - - igt/gem_mmap_gtt: Add a test to exercise coherency between GTT/CPU - - This checks whether a write through the GTT is immediately visible to - the CPU. - - Signed-off-by: Chris Wilson - -commit 8528b484e8cf9d8e9c627f99e283285726967f74 -Author: Derek Morton -Date: Wed Dec 23 15:34:48 2015 +0000 - - igt_core: Fix logging to display extended line - - line[strlen(line)] will always evaluate to NULL so line_continuation - was always true. That prevented the program name, pid and log level - ever being printed. - Changed to [strlen(line) - 1] so the last character before the null - terminator is compared with '\n' to determine line_continuation. - - Signed-off-by: Derek Morton - Signed-off-by: Daniel Vetter - -commit 51bb53663e2d0c57e9e40c1961d67ddc1e086be5 -Author: Chris Wilson -Date: Wed Jan 6 10:19:03 2016 +0000 - - benchmarks/gem_latency: Allow setting an infinite time - - Well, 24000 years. - - Signed-off-by: Chris Wilson - -commit 3c1362f0a6a930f874b7533cb0a03ba9177278b4 -Author: Maarten Lankhorst -Date: Tue Jan 5 15:19:13 2016 +0100 - - tests: Bump pageflip wait timeout to 50 ms. - - The default is too low for panels that are 30 fps or lower. - Bump the timeout to 50 ms to prevent spurious errors on those - displays. - - Signed-off-by: Maarten Lankhorst - -commit 1d6e5d3197eebf682e218a34c56139f2df4ea090 -Author: Chris Wilson -Date: Sun Jan 3 13:44:17 2016 +0000 - - igt/gem_concurrent_all: Preparatory work for testing different create flags - - In order to do concurrency checks using different allocation functions, - we need to hook those functions up to gem_concurrent_all. So let's add - another layer of combinations! The actual enabling for create2-ioctl - will come in the future. - - Signed-off-by: Chris Wilson - -commit e21368c53a23ccf62dc6651bda9591c1dbbb39c4 -Author: Chris Wilson -Date: Sat Jan 2 16:07:34 2016 +0000 - - benchmarks/gem_mmap: Convert to run over a fixed period - - Signed-off-by: Chris Wilson - -commit 9b902344149f87a7abce4b0b08792db2cd4d424d -Author: Chris Wilson -Date: Sat Jan 2 15:19:27 2016 +0000 - - benchmarks/gem_exec_nop: Convert to running for a fixed time - - Like the previous patch to gem_exec_ctx, retrict gem_exec_nop to running - for a fixed length of time, rather than over a range of different - execution counts. In order to retain some measurement of that range, - allow measuring individual execution versus continuous dispatch. - - Signed-off-by: Chris Wilson - -commit 6953899beb5ef7311429ebf77faca02b564de473 -Author: Chris Wilson -Date: Sat Jan 2 12:10:14 2016 +0000 - - benchmarks/gem_exec_ctx: Run for a fixed time - - Rather than investigate the curve for dispatch latency, just run for a - fixed time and report an average latency. Instead offer two modes, - average single dispatch latency, average continuous dispatch latency. - - Signed-off-by: Chris Wilson - -commit 276fb3d3f4bc0214454fe172106efce71c7b0ff0 -Author: Chris Wilson -Date: Fri Jan 1 13:29:23 2016 +0000 - - benchmarks/gem_exec_ctx: Fix fd switching between default contexts - - Signed-off-by: Chris Wilson - -commit bb35716d25999260c2cc491ed832a9a39f204dcb -Author: Chris Wilson -Date: Thu Dec 31 21:34:27 2015 +0000 - - intel_error_decode: Update address parsing for 64bit offsets - - Signed-off-by: Chris Wilson - -commit 8f9df28a82f49681cc9bcfa70dd7369af56b3f70 -Author: Chris Wilson -Date: Wed Nov 5 11:24:49 2014 +0000 - - intel_error_decode: Fix decode headers for HW context - - As we didn't recognise the different buffer type, we confused it with - whatever we last decoded (i.e. the render ring buffer). - - Signed-off-by: Chris Wilson - -commit d4c3cd4d04ab7f317d3429708d19cd5fc4d0f5fa -Author: Chris Wilson -Date: Fri Oct 31 11:27:21 2014 +0000 - - intel_error_decode: Inflate compressed error state - - Recent kernels compress the active objects using zlib + ascii85 - encoding. This adapts the tool to decompress those inplace. - - Signed-off-by: Chris Wilson - -commit 3d5b50b4f0784faf565a781e1ab151ac4e5370f8 -Author: Chris Wilson -Date: Tue Dec 29 13:51:08 2015 +0000 - - benchmarks/gem_blt: Estimate memory bandwidth to improve test runtime - - If we autotune the workload to only take 0.1s and then repeat the - measurements over 2s, we can bound the benchmark runtime. (Roughly of - course! Sometimes the dispartity between main memory CPU bandwidth, and - GPU execution bandwidth throws off the runtime, but that's the purpose - of the benchmark!) - - Signed-off-by: Chris Wilson - -commit 9764247dc57036e1d1c73b2f69411906504a8288 -Author: Jani Nikula -Date: Mon Dec 21 16:50:47 2015 +0200 - - intel_bios_reader: add dumping of i2c element in mipi sequence - - Due to the clever way the whole sequence block is specified without - forward compatibility, it's not possible to dump most blocks without - this. - - Signed-off-by: Jani Nikula - -commit cb89add9793b04288cb332a0d17dd8d8d6f09680 -Author: Jani Nikula -Date: Mon Dec 21 16:36:32 2015 +0200 - - intel_bios_reader: improve element dumpers - - Try to print something useful and helpful for the user. - - Signed-off-by: Jani Nikula - -commit 9c4aa072f071d4cfe1513a723419f43e43fe3293 -Author: Jani Nikula -Date: Mon Dec 21 16:18:20 2015 +0200 - - intel_bios_reader: rewrite the mipi sequence block dumping - - Simplify things a lot, make it correct, don't pass random pointers to - free() on errors, etc. - - Signed-off-by: Jani Nikula - -commit 68cfe4ba575064c798ef9857781fa4969319e876 -Author: Jani Nikula -Date: Mon Dec 21 15:51:10 2015 +0200 - - intel_bios_reader: check mipi sequence block version - - Bail out on v3+, we don't support that just yet. - - Signed-off-by: Jani Nikula - -commit bdf7b1c0eb753268f9059615ec92efee693abb77 -Author: Jani Nikula -Date: Mon Dec 21 15:22:08 2015 +0200 - - intel_opregion_decode: add new ASLE fields - - Signed-off-by: Jani Nikula - -commit fa24ce6b9606fac69234f27550de19f5c07cdcc3 -Author: Thomas Wood -Date: Mon Dec 21 16:50:16 2015 +0000 - - docs: add igt_edid_template.h to IGNORE_HFILES - - Signed-off-by: Thomas Wood - -commit 1b9085b9795c588d5503439c8e23ed780e927730 -Author: Chris Wilson -Date: Mon Dec 21 16:24:45 2015 +0000 - - benchmarks/gem_latency: Hide spinlocks for android - - Signed-off-by: Chris Wilson - -commit 23aa051369c2b930d35359a5c06fae5290c06291 -Author: Ville Syrjälä -Date: Fri Dec 18 19:25:47 2015 +0200 - - lib: Use igt_assert_eq() to check for crc component count - - It's nice to see just how many components the crc claims to have - when the count don't match what we expect. - - Signed-off-by: Ville Syrjälä - Signed-off-by: Daniel Vetter - -commit 793aff199f21cdb4136e39f227ced5553eec04dc -Author: Ville Syrjälä -Date: Fri Dec 18 19:25:45 2015 +0200 - - lib: Make 'extra_long_opts' const - - The extra_long_opts passed to igt_*_parse_opts() isn't modified, - so let's make it const. - - Signed-off-by: Ville Syrjälä - Signed-off-by: Daniel Vetter - -commit a1d465a3c542d965a56e794590b3f00095a1db62 -Author: Chris Wilson -Date: Mon Dec 21 12:53:21 2015 +0000 - - benchmarks/gem_latency: Serialise mmio reads - - The joy of our hardware; don't let two threads attempt to read the same - register at the same time. - - Signed-off-by: Chris Wilson - -commit 3ebce37b65ddb292161498ac4f6a07e3667c9b03 -Author: Chris Wilson -Date: Mon Dec 21 09:57:52 2015 +0000 - - benchmarks/gem_latency: Guard against inferior pthreads.h - - Signed-off-by: Chris Wilson - -commit 3cc8f957f1c443f012b292dbb5d81acb59dffb25 -Author: Chris Wilson -Date: Sun Dec 20 15:18:56 2015 +0000 - - benchmarks/gem_latency: Measure CPU usage - - Try and gauge the amount of CPU time used for each dispatch/wait cycle. - - Signed-off-by: Chris Wilson - -commit a91ee853b1a1e733c0d4e291d8fc3008a9ac232f -Author: Chris Wilson -Date: Sun Dec 20 14:55:42 2015 +0000 - - benchmarks/gem_latency: Measure effect of using RealTime priority - - Allow the producers to be set with maximum RT priority to verify that - the waiters are not exhibiting priorty-inversion. - - Signed-off-by: Chris Wilson - -commit 27e093dd1fe3c49389c302f1f3234a0769fd75dc -Author: Chris Wilson -Date: Sat Dec 19 17:05:32 2015 +0000 - - benchmarks/gem_latency: Use RCS on Sandybridge - - Reading BCS_TIMESTAMP just returns 0... - - Signed-off-by: Chris Wilson - -commit c0942bf52866d3182cf2e6dcf7c6960098420aeb -Author: Chris Wilson -Date: Sat Dec 19 16:27:19 2015 +0000 - - benchmarks/gem_latency: Rearrange thread cancellation - - Try a different pattern to cascade the cancellation from producers to - their consumers in order to avoid one potential deadlock. - - Signed-off-by: Chris Wilson - -commit 8ea61ec1ff96c4303f6de49def142f134a7243a0 -Author: Chris Wilson -Date: Sat Dec 19 16:14:03 2015 +0000 - - benchmarks/gem_latency: Tweak workload - - Do the workload before the nop, so that if combining both, there is a - better chance for the spurious interrupts. Emit just one workload batch - (use the nops to generate spurious interrupts) and apply the factor to - the number of copies to make inside the workload - the intention is that - this gives sufficient time for all producers to run concurrently. - - Signed-off-by: Chris Wilson - -commit db011021a1c9c40e4fc3ec7a8c31bfee7b9fb623 -Author: Chris Wilson -Date: Sat Dec 19 14:51:08 2015 +0000 - - benchmarks/gem_latency: Add output field specifier - - Just to make it easier to integrate into ezbench. - - Signed-off-by: Chris Wilson - -commit 646cab4c0c73dce310ff8020ffb96272647780ba -Author: Chris Wilson -Date: Sat Dec 19 12:07:26 2015 +0000 - - benchmarks/gem_latency: Split the nop/work/latency measurement - - Split the distinct phases (generate interrupts, busywork, measure - latency) into separate batches for finer control. - - Signed-off-by: Chris Wilson - -commit e37a4c80922aaeb79a419a7d7f96b0ac4c6ffb88 -Author: Chris Wilson -Date: Sat Dec 19 11:36:37 2015 +0000 - - benchmarks/gem_latency: Add time control - - Allow the user to choose a time to run for, default 10s - - Signed-off-by: Chris Wilson - -commit 2ef368acfa5c3863543663f03c3eb26fba93cca6 -Author: Chris Wilson -Date: Sat Dec 19 11:36:37 2015 +0000 - - benchmarks/gem_latency: Add nop dispatch latency measurement - - Signed-off-by: Chris Wilson - -commit 1db5b05243c0d0e84af4fc2845fc320aa5787436 -Author: Chris Wilson -Date: Sat Dec 19 10:52:12 2015 +0000 - - benchmarks/gem_latency: Expose the workload factor - - Allow the user to select how many batches each producer submits before - waiting. - - Signed-off-by: Chris Wilson - -commit 6dbe0a301223f177ef80078c5ffdbf8575a8bae1 -Author: Chris Wilson -Date: Sat Dec 19 10:46:06 2015 +0000 - - benchmarks/gem_latency: Measure whole execution throughput - - Knowing how long it takes to execute the workload (and how that scales) - is interesting to put the latency figures into perspective. - - Signed-off-by: Chris Wilson - -commit 2f74892ebd4d23b352e2e089e9b74c950f3864b8 -Author: Chris Wilson -Date: Sat Dec 19 10:31:49 2015 +0000 - - benchmarks/gem_latency: Fix for !LLC - - Late last night I forgot I had only added the llc CPU mmaping and not - the !llc GTT mapping for byt/bsw. - - Signed-off-by: Chris Wilson - -commit 39bad606c5e24dbb144f01e5d889f8a31c294d22 -Author: Chris Wilson -Date: Fri Dec 18 20:51:57 2015 +0000 - - benchmarks: Remove gem_wait - - Superseded by gem_latency. - - Signed-off-by: Chris Wilson - -commit c9da0b5221cfd7dd2f22bbc5bcddf73d31214e2e -Author: Chris Wilson -Date: Fri Dec 18 14:45:03 2015 +0000 - - benchmark: Measure of latency of producers -> consumers, gem_latency - - The goal is measure how long it takes for clients waiting on results to - wakeup after a buffer completes, and in doing so ensure scalibilty of - the kernel to large number of clients. - - We spawn a number of producers. Each producer submits a busyload to the - system and records in the GPU the BCS timestamp of when the batch - completes. Then each producer spawns a number of waiters, who wait upon - the batch completion and measure the current BCS timestamp register and - compare against the recorded value. - - By varying the number of producers and consumers, we can study different - aspects of the design, in particular how many wakeups the kernel does - for each interrupt (end of batch). The more wakeups on each batch, the - longer it takes for any one client to finish. - - Signed-off-by: Chris Wilson - -commit 8bf09f3d12f5a8d984f084f116b195925dca571b -Author: Chris Wilson -Date: Thu Dec 17 09:16:42 2015 +0000 - - tests/gem_concurrent_all: Add a couple more sanitycheck patterns - - As always, the goal is to quickly stress a variety of workloads that - often lead to kernel bugs. - - Signed-off-by: Chris Wilson - -commit 04bd964527bf1962d3fd94f863161f5828eba767 -Author: Chris Wilson -Date: Wed Dec 16 19:51:08 2015 +0000 - - igt/gem_exec_nop: Restore SLOW_QUICK loop terminator - - The upper bound for SLOW_QUICK was added for the benefit of the slow - simulator, not because, as I wrongly thought, of the latency - measurements. - - SLOW_QUICK was added in - - commit d1e862324b747a0ab5d985eaa6830076817231c5 - Author: Damien Lespiau - Date: Mon Mar 25 20:06:20 2013 +0000 - - tests: Instrument tests run in simulation to run quickly - - and dropped in - - commit 89bcdb9022fb7a1f66635b9f2546356ad0c0761a - Author: Chris Wilson - Date: Tue Dec 8 13:42:50 2015 +0000 - - igt/gem_exec_nop: Remove nop latency measurements - - Reported-by: Ben Widawsky - Signed-off-by: Chris Wilson - -commit a012e44b6a68b12e676a4ef48bebe97206fbeb1c -Author: Thomas Wood -Date: Mon Dec 7 15:12:15 2015 +0000 - - tests: remove .gitignore and add a Makefile rule to create it - - v2: generate the .gitignore file with the default target - v3: remove the .gitignore file - - Signed-off-by: Thomas Wood - -commit 40798efd859e26386d32ec61272c210685b6a204 -Author: Daniel Vetter -Date: Wed Dec 16 13:13:58 2015 +0000 - - tests/gem_eio: New ABI - no EIO even from wait_ioctl - - So there's 3 competing proposals for what wait_ioctl should do wrt - -EIO: - - - return -EIO when the gpu is wedged. Not terribly useful for - userspace since it might race with a hang and then there's no - guarantee that a subsequent execbuf won't end up in an -EIO. - Terminally wedge really can only be reliably signalled at execbuf - time, and userspace needs to cope with that (or decide not to - bother). - - - EIO for any obj that suffered from a reset. This means big internal - reorginazation in the kernel since currently we track reset stats - per-ctx and not on the obj. That's also what arb robustness wants. - We could do this, but this feels like new ABI territory with the - usual userspace requirements and high hurdles. - - - No -EIO at all. Consistent with set_domain_ioctl and simplest to - implement. Which is what this patch does. - - We can always opt to change this later on if there's a real need. - - To make the test really exercise this do a full wedged gpu hang, to - make sure -EIO doesn't leak out at all. - - Signed-off-by: Daniel Vetter - Signed-off-by: Chris Wilson - -commit 3953d2dd22ea1c87aa77e3a9415aaf767d2ec3ed -Author: Derek Morton -Date: Mon Dec 14 09:59:17 2015 +0000 - - gem_flink_race/prime_self_import: Improve test reliability - - gem_flink_race and prime_self_import have subtests which read the - number of open gem objects from debugfs to determine if objects have - leaked during the test. However the test can fail sporadically if - the number of gem objects changes due to other process activity. - This patch introduces a change to check the number of gem objects - several times to filter out any fluctuations. - - v2: Moved the common code to a library and made the loop android - specific (Daniel Vetter) - v3: Renamed get_stable_obj_count -> igt_get_stable_obj_count - - Signed-off-by: Derek Morton - Signed-off-by: Daniel Vetter - -commit 5a8d063e42c7b5843a0f069d4c2216f8f4fb81fe -Author: Mika Kuoppala -Date: Thu Dec 10 16:54:40 2015 +0200 - - tests/gem_softpin: Fix compiler warning on 32bit systems - - We get build error as we try to cast from ptr to integer - of different size on 32 bit platforms. Use unsigned long - as the cast, it will work with both 32 and 64 bit - systems. - - Cc: Vinay Belgaumkar - Signed-off-by: Mika Kuoppala - Reviewed-by: Tvrtko Ursulin - Reviewed-by: Vinay Belgaumkar - -commit 14f70a861b66f8a62a53911cf587fadeebca5957 -Author: Chris Wilson -Date: Sun Dec 13 12:46:47 2015 +0000 - - igt/gem_read_read_speed: Tweak to show comparison against write-write - - Since we hold an exclusive write lock we expect 2 writes to happen - serially, but we expect 2 reads to happen in parallel. Expand the testing - to demonstrate this effect (i.e. we expect read-read to be roughly 2x - faster than write-write for small copies on big core.) - - Signed-off-by: Chris Wilson - -commit 866a6f2c41da8505cf868a9d83301cddd41cc9fb -Author: Chris Wilson -Date: Sat Dec 12 18:56:37 2015 +0000 - - tests/gem_pread,gem_pwrite: Fix compiler warnings - - Many warnings of the form - - gem_pread.c: In function ‘main’: - gem_pread.c:128:8: warning: assignment discards ‘const’ qualifier from - pointer target type [-Wdiscarded-qualifiers] - bps = bytes_per_sec(buf, object_size/usecs*1e6); - - Regression from - commit 48c945322b4c5f6443758143cccb9c4c04da4aaa - Author: Ankitprasad Sharma - Date: Wed Dec 2 14:54:51 2015 +0530 - - igt/gem_pread: Support to verify pread/pwrite for non-shmem backed obj - - Signed-off-by: Chris Wilson - -commit 2d08e9e9a1fd05b0d7bf824f3ca98de820c7d615 -Author: Chris Wilson -Date: Fri Dec 11 09:25:03 2015 +0000 - - igt/gem_concurrent_all: Expand testing to cover different memory regimes - - Signed-off-by: Chris Wilson - -commit 6672da5e8f430c65901adf1294647f0f4659bc54 -Author: Daniel Vetter -Date: Thu Dec 10 12:29:14 2015 +0100 - - Revert "igt: s/basic/sanitycheck/ on prior smoketesting" - - This reverts commit 4f5efc5c844f6fe69209982463f9220f8f3951ed. - - There was a bit a misunderstanding on IRC between Chris&me. We want - basic tests as sanity test to be run in the BAT CI. It's just unfortunate - that right now we have fairly limited ability to absorb new ones, both - because of a pile of existing bugs in the kernel and because the CI - infrastructure is still being scaled out. - - The idea was just to remove the BAT tests added yesterday, not all of - the ones we've had for a while longer. - - Cc: Chris Wilson - Grumpily-acked-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 4f5efc5c844f6fe69209982463f9220f8f3951ed -Author: Chris Wilson -Date: Thu Dec 10 10:02:46 2015 +0000 - - igt: s/basic/sanitycheck/ on prior smoketesting - - In times past, I added "basic" variants of tests just to ensure that the - general principle of operation was sound before proceeding on to the - main test (which typically looked at thrashing, i.e. were long and - tedious and pointless if the test didn't even work in the normal - situation). Since "basic" now collides with BAT, rename my trivial tests - to "sanitycheck". - - Signed-off-by: Chris Wilson - -commit 197db8607d910c7d5252c1d928b715ff4c4c28ce -Author: Chris Wilson -Date: Wed Dec 9 20:54:10 2015 +0000 - - igt/gem_concurrent_blit: Explicitly check for "missed interrupts" - - As the concurrency tests are a good source of stress for - i915_wait_request() (the tests are primarily designed to ensure that GPU - activity of one form or another is completed before access by third - parties), one of the common form of errors we can detect are the - "missing interrupts" (i.e. where the waits do not terminate because of a - race between the interrupt and the seqno write). Add an explicit check - for this error and flag it as a definite fail - which also helps narrow - it down to certain subtests when run as a batch. - - Signed-off-by: Chris Wilson - -commit 4cc40ad4fe80f4d107e8e4279b0b07243b91f77c -Author: Bob Paauwe -Date: Mon Dec 7 13:53:35 2015 -0800 - - igt/test/pm_rps: load GPU to force not-idle to idle transition. - - When changing the sysfs GT min frequency, the kernel won't - automatcilly drop the GT frequency to idle unless the GPU - transitions from busy to idle. - - Load the GPU after increasing the GT min frequency to force - a busy to idle transition. This matches the behavior when - decreasing the GT min frequency. - - Signed-off-by: Bob Paauwe - Reviewed-by: Imre Deak - -commit 4aa1b99a121a6cb843f463af64cbd92942f809e0 -Author: Rodrigo Vivi -Date: Tue Dec 8 00:11:21 2015 -0800 - - kms_psr_sink_crc: Add BAT test for PSR active. - - It takes from 2 to 5 seconds to run. - - Cc: Daniel Vetter - Signed-off-by: Rodrigo Vivi - -commit 4a004d9cb36ff845aebb8590b8bb08c460620a72 -Author: Rodrigo Vivi -Date: Mon Dec 7 01:26:17 2015 -0800 - - kms_psr_sink_crc: Reduce our time out for PSR active. - - Using same timeout value as kms_fronbuffer_tracking and for - same reasons exposed at 'commit 83582f9b ("kms_frontbuffer_tracking: - Increase the time we wait for PSR.")' - - Signed-off-by: Rodrigo Vivi - -commit be2d5188f6fa14e80847fe51ab546902f2483e35 -Author: Vinay Belgaumkar -Date: Tue Dec 8 11:57:19 2015 +0000 - - tests/gem_softpin: New tests for softpin feature - - These tests exercise the userptr ioctl to create shared buffers - between CPU and GPU. They contain error and normal usage scenarios. - They also contain a couple of stress tests which copy buffers between - CPU and GPU. These tests rely on the softpin patch in order to pin buffers - to a certain VA. - - Caveat: These tests were designed to run on 64-bit system. Future work - includes adding logic to ensure these tests can run on 32-bit systems with - PPGTT support. Some tests are currently disabled for 32-bit systems for that - reason. - - v2: Added cc and signed-off-by fields - - v3: Fixed review comments, added helper functions. Removed userptr error - scenarios covered by existing userptr tests. Modified stress test to have - 100K buffers, it now runs for ~30 mins, checks every element has been written - to correctly, and pins buffers at different VMAs. - - v4: Changed name to gem_softpin - - v5: More fixes. Removed the file based tests, will move them to userptr tests. - Added a function that validates appropriate PPGTT support before running tests. - Optimized stack space and memory footprint in stress test. Removed the eviction - test, will add it back after verifying proper functionality. - - v6: Split basic test into userptr and bo - Fixed some coding style issues. - - v7: Enhanced invalid vma pinning test to verify 32-bit PPGTT functionality. - Enabled the test for 32-bit PPGTT systems, and verify pinning fails above - 32-bit addresses. Enhanced the high adress pinning test to ensure pinning - fails when EXEC_OBJECT_PINNED flag is not used. Some more cosmetic fixes to - close buffer handles. Changed userptr function to used synchronized operations. - - v8: Minor change to high address pinning test as per comment. - - v9: Skip the tests if softpin support is not present. - - v10: Removed trailing white spaces. - - v11: Keep alphabetical order in Makefile and gitignore; update error code - returned while trying to pin above the max vm size (EINVAL); test attempt - to pin above 4GB without the support 48b flag. - - Cc: Michel Thierry - Cc: Tvrtko Ursulin - Signed-off-by: Vinay Belgaumkar - Signed-off-by: Michel Thierry (v11) - Reviewed-by: Tvrtko Ursulin - -commit 89bcdb9022fb7a1f66635b9f2546356ad0c0761a -Author: Chris Wilson -Date: Tue Dec 8 13:42:50 2015 +0000 - - igt/gem_exec_nop: Remove nop latency measurements - - Since commit c8beadb811bdc2b9c21f95144852f3e55867b546 - Author: Derek Morton - Date: Wed Nov 11 14:46:58 2015 +0000 - - tests/gem_exec_nop: Improved test run time - - the stablity of the measurement regressed and it is once again no longer - a reliable metric for detecting regressions. Give up. - - Signed-off-by: Chris Wilson - Cc: Derek Morton - -commit 870548b6533318b10c414663ea4ad2af01bab8b9 -Author: Ville Syrjälä -Date: Fri Dec 4 15:49:30 2015 +0200 - - tests/kms_force_connector_basic: Add prune-stale-modes subtest - - Add a new subtest that makes sure old stale modes get pruned from the - connector's mode list when the EDID changes. - - v2: s/drmModeGetConnector/drmModeGetConnectorCurrent/ since - kmstest_force_edid() already takes care of doing the heavier - call for us (Daniel) - - Signed-off-by: Ville Syrjälä - Acked-by: Daniel Vetter - -commit b0f4df31baf3ddda72a276f3b2b03ae8363d0843 -Author: Ville Syrjälä -Date: Thu Dec 3 19:01:21 2015 +0200 - - lib/kms: Turn base_edid into a template - - Signed-off-by: Ville Syrjälä - -commit 7bd31d090e78d87076f736071a9302aa349164e2 -Author: Rodrigo Vivi -Date: Tue Nov 3 10:02:14 2015 -0800 - - kms_psr_sink_crc: Add suspend/resume sub test. - - Although kms_frontbuffer_tracking already has psr-suspend testcase - this one here can complement it by testing different combination - and mainly covering 2 different cases individually: - - 1. wait-for-psr, suspend-resume tehn run 1 operation. - - 2. suspend-resume, wait-for-psr then run 1 operation. - - v2: Remove no-suspend option since this should be done with piglit - if necessary for now. - - v3: argh! remove remaining no-suspend checks... - - Signed-off-by: Rodrigo Vivi - -commit 63980babcf9a104b12a726953cbe7d946a0aadd2 -Author: Rodrigo Vivi -Date: Tue Nov 3 09:37:56 2015 -0800 - - kms_psr_sink_crc: Fix no-psr option. - - commit 75b286e821 ("tests/kms_psr_sink_crc: test even - if PSR is disabled by default")' force PSR enabling without - respecting the no-psr (running-with-psr-disabled) option. - - Signed-off-by: Rodrigo Vivi - -commit e6848c5839f5506fbc4a496da3815403668e00d7 -Author: Rodrigo Vivi -Date: Thu Dec 3 08:27:08 2015 -0800 - - kms_frontbuffer_tracking: Skip on unreliable CRC. - - Even with all sink crc re-works we still have platforms - where after 6 vblanks it is unable to calculate the - sink crc. But if we don't get the sink crc it isn't true - that test failed, but that we have no ways to say test - passed or failed. - - So let's print a message and move forward in case sink crc - cannot help us to know if the screen has been updated. - - v2: Also include a message on setup_sink_crc and also - only skip when it is mandatory, i.e. when running for PSR. - - Acked-by: Paulo Zanoni - Signed-off-by: Rodrigo Vivi - -commit ea3806badee7dcb7677edcfe35c17499c1b0f377 -Author: Rodrigo Vivi -Date: Thu Dec 3 08:25:38 2015 -0800 - - kms_frontbuffer_tracking: Make sink crc mandatory only for PSR. - - Unfortunately Sink CRC is not 100% reliable for all platforms. - So we cannot block FBC tests nor skip them when we are getting - unreliable Sink CRC results, or not getting them at all. - - Acked-by: Paulo Zanoni - Signed-off-by: Rodrigo Vivi - -commit d074b44ab6a7ac14cc36b1dc98df5bcf73c82f95 -Author: Rodrigo Vivi -Date: Mon Nov 2 15:54:06 2015 -0800 - - kms_frontbuffer_tracking: Increase the time we wait for PSR. - - With commit (drm/i915: Delay first PSR activation.) in kernel - PSR might take a bit longer to really activate after the modeset. - The first PSR activation after modeset is taking 5 times the panel - power cycle delay time, which is 600ms for our machines here. - So timeout here needs to be a minimum of 3s. However let's use - 5s as the safe value in case we find machines with higher power - cycle delay. - - Since we do a lot of assert(psr_disabled), this commit is increasing - the time it takes to run the whole set of PSR tests by a few minutes, - which had been reduced by commit f4db3b18841 - ("kms_frontbuffer_tracking: reduce the PSR wait timeout to 2s"). - - Reviewed-by: Paulo Zanoni - Signed-off-by: Rodrigo Vivi - -commit 8b22e051e8306a8ee5e78862b403f01cc5b683ec -Author: Bob Paauwe -Date: Thu Dec 3 16:28:00 2015 -0800 - - igt/pm_rps: current freq < user specified min is not a fail (v3) - - Since commit - - commit aed242ff7ebb697e4dff912bd4dc7ec7192f7581 - Author: Chris Wilson - Date: Wed Mar 18 09:48:21 2015 +0000 - - drm/i915: Relax RPS contraints to allows setting minfreq on idle - - it is now possible that the current frequency will drop be the user - specified minimum frequency to the "idle" or RPn frequency. Update the - pm_rps tests to reflect that droping below the user specified minimum - is no longer considered a failure. - - v2: Add check RPn <= current freq. (Me) - v3: Use RPn instead of MIN frequency in idle check (Imre) - Signed-off-by: Bob Paauwe - Reviewed-by: Imre Deak - -commit 6cf72724e225524cd0a4352ba829ffc578f40a4d -Author: Daniel Vetter -Date: Thu Dec 3 07:45:36 2015 +0100 - - tests/drv_hangman: Open drm fd before doing anything - - This way we correctly auto-skip instead of falling over the - lack of i915 debugfs files first and fail the testcase due to - that. - - Signed-off-by: Daniel Vetter - -commit ee0808982f40130d29691c37505dafcbf45f9da5 -Author: Daniel Vetter -Date: Thu Dec 3 07:45:35 2015 +0100 - - tests/drm_lib.sh: Skip when i915 debugfs wasn't found - - Instead of failing. We might want to move this into i915 tests - eventually, but this is good for now. - - v2: Use the correct exit code (Derek) and use the new symbolic values - Thomas added. - - Signed-off-by: Daniel Vetter - -commit d8d1eab318f2f22c9199dcefc2b7b96ba4793cdc -Author: Daniel Vetter -Date: Thu Dec 3 07:45:34 2015 +0100 - - lib: igt_fork_hang_helper must be run in fixtures - - Because it opens an intel-specific drm fd. Fixes crashes when running - igt on no-intel. - - Signed-off-by: Daniel Vetter - -commit 39e44dfa4c0ba2f979dab5ea81074343de0ad2cb -Author: Chris Wilson -Date: Fri Dec 4 10:22:16 2015 +0000 - - benchmarks/gem_exec_nop: Flush retirement lists before executing - - wait-ioctl skips a couple of side-effects of retiring, so provoke them - using set-domain before we sleep. - - Signed-off-by: Chris Wilson - -commit 839a1426ce2a8510cdf0e648b06f28e7c33b64b6 -Author: Daniel Vetter -Date: Tue Dec 1 11:24:20 2015 +0100 - - tests/kms_force_connector: Include in BAT set - - Forcing connector state is a basic piece of our test infrastructure - that we use in all the kms_ tests. It allows us to run tests even if - no outputs are connected. - - They're also really fast, so perfect candidates for inclusion into the - BAT set. - - Signed-off-by: Daniel Vetter - -commit db4f83ca5da29673ab9210e4322156518047130d -Author: Daniel Vetter -Date: Tue Dec 1 11:24:19 2015 +0100 - - lib/kms+tests: Use cached connector state - - Speeds up testcases except for those where we want to exercise the - probing itself. The only exceptions left where we do a full probe are - - - pm_rpm: We use it to make sure the kernel doesn't get things wrong - with power domains, so we really want to exercise the full probe - paths. And there the only place really is the specific validation - done with the data gathered by get_drm_info. - - - kmstest_force_ functions: Newer kernels should be better at - re-probing state when the force sysfs fields change, but better safe - than sorry. - - v2: I also consolidated the start_n_modes and start_connectors while - at it - move one of the fixup hunks to this patch that accidentally - got misplaced (Thomas). - - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit cdb398b5b9a6a1895bbc8213f88bc9e45795db23 -Author: Daniel Vetter -Date: Tue Dec 1 11:24:18 2015 +0100 - - tests/kms_force_connector: Fixes - - The edid we inject stayed the same, but the kernel started to list - more modes for it. No idea whether that's the right thing here since - I'm not really an EDID expert. But then again the testcase wants to - check that the injection works, not validate the kernel's parser. - - v2: Only check the preferred mode for more future-proofing (Thomas). - - v3: Clarify commit message (Jani). - - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 02cdd9899dbf56ae8b9ae8ee2b83e2afcd479193 -Author: Thomas Wood -Date: Thu Dec 3 11:36:02 2015 +0000 - - tests: add exit value constants for shell script tests - - Signed-off-by: Thomas Wood - -commit 8a58734c110375793306fc10a31d5b17e816471b -Author: Thomas Wood -Date: Thu Dec 3 11:12:38 2015 +0000 - - tests: replace drm_open_any in gem_create and gem_stolen - - drm_open_any has been replaced by drm_open_driver. - - Signed-off-by: Thomas Wood - -commit 67d32c210dab272f02d6b4e19a54451a3e0231e5 -Author: Ankitprasad Sharma -Date: Wed Dec 2 14:54:52 2015 +0530 - - igt/gem_create: Test to validate parameters for GEM_CREATE ioctl - - This test validates the two parameters (size and flags) GEM_CREATE ioctl. - - v2: Added IGT_TEST_DESCRIPTION (Thomas Wood) - - v3: Removed use of hard coded values, updated comments (Tvrtko) - - v4: Removed over-use of macros, updated with multiples of PAGE_SIZE (Tvrtko) - - Signed-off-by: Ankitprasad Sharma - Reviewed-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 48c945322b4c5f6443758143cccb9c4c04da4aaa -Author: Ankitprasad Sharma -Date: Wed Dec 2 14:54:51 2015 +0530 - - igt/gem_pread: Support to verify pread/pwrite for non-shmem backed obj - - This patch adds support to verify pread/pwrite for non-shmem backed - objects. It also shows the pread/pwrite speed. - It also tests speeds for pread with and without user side page faults - - v2: Fixed Rebase conflicts (Ankit) - - v3: Precalculating values to avoid redundant function calls (Dave) - Replaced igt_subtest by igt_subtest_f, added asserts for mmap, corrected - indentation (Tvrtko) - - v4: Updated data types to avoid redundant type conversions (Tvrtko) - Corrected pagefault-pread time calculation (Ankit) - - Signed-off-by: Ankitprasad Sharma - Reviewed-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 70c3be83a0638cb65518ad2536719996d1f5a40c -Author: Ankitprasad Sharma -Date: Wed Dec 2 14:54:50 2015 +0530 - - igt/gem_stolen: Verifying extended gem_create ioctl - - This patch adds the testcases for verifying the new extended - gem_create ioctl. By means of this extended ioctl, memory - placement of the GEM object can be specified, i.e. either - shmem or stolen memory. - These testcases include functional tests and interface tests for - testing the gem_create ioctl call for stolen memory placement - - v2: Testing pread/pwrite functionality for stolen backed objects, - added local struct for extended gem_create and gem_get_aperture, - until headers catch up (Chris) - - v3: Removed get_aperture related functions, extended gem_pread - to compare speeds for user pages with and without page faults, - unexposed local_gem_create struct, changed gem_create_stolen - usage (Chris) - - v4: Splitting patch to remove changes from gem_pread/gem_pwrite - to another patch (Ankit) - - v5: Fixed Rebase conflicts (Ankit) - Added IGT_TEST_DESCRIPTION (Thomas Wood) - - v6: Added __gem_create_stolen for user to handle error, updated - gem_create_stolen to align with gem_create function, corrected - fill_purge test (out of bound access), added testcase to validate - allocating of more than 32 bit sized buffers (Tvrtko) - - v7: Removed unused variables, Corrected comments & formatting (Tvrtko) - - Signed-off-by: Ankitprasad Sharma - Reviewed-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 2db78a4995a8ee298ae0cd68879baf80407a0e5e -Author: Thomas Wood -Date: Wed Dec 2 16:46:39 2015 +0000 - - Update version to 1.13 and add the release date - - Signed-off-by: Thomas Wood - -commit 17c6b5caf37bccd4a38d7d310cb53ea23a23b5f8 -Author: Thomas Wood -Date: Wed Dec 2 16:45:42 2015 +0000 - - NEWS: Updates - - Signed-off-by: Thomas Wood - -commit 498fb6205e62c34495ea5ef09a9c156b9cf61f2f -Author: Thomas Wood -Date: Wed Dec 2 16:35:50 2015 +0000 - - docs: remove references to tests/NAMING-CONVENTION - - The tests/NAMING-CONVENTION file has been removed and its contents is - now included in the API documentation. - - Reported-by: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit 97bf3f9a55dbe20614479cbce63c0966f8e25df1 -Author: Thomas Wood -Date: Wed Dec 2 10:49:03 2015 +0000 - - tests/core_setmaster_vs_auth: add test description macro - - Signed-off-by: Thomas Wood - -commit 66dc90ed658fe345d98ef0f287df383c3b2f4a2c -Author: Thomas Wood -Date: Wed Dec 2 10:46:33 2015 +0000 - - tests/core_setmaster_vs_auth: use igt_simple_main - - This test has no subtests, so should use igt_simple_main. - - Signed-off-by: Thomas Wood - -commit b3ff11232681ab615794c293de8abfebb8921ad7 -Author: Thomas Wood -Date: Tue Dec 1 15:12:07 2015 +0000 - - docs: exclude gpgpu_fill.h - - gpgpu_fill.h is only used internally by the library. - - Signed-off-by: Thomas Wood - -commit 0874c770eb016c26c148323b7b7b3a7c2d829441 -Author: Thomas Wood -Date: Tue Dec 1 15:07:10 2015 +0000 - - docs: document intel_pipe_crc_source enum values - - Signed-off-by: Thomas Wood - -commit 683316cb886dced1674876f21c782836fe40f9ff -Author: Thomas Wood -Date: Mon Nov 30 16:36:16 2015 +0000 - - docs: add missing documentation for drm open functions - - Signed-off-by: Thomas Wood - -commit 0394844a478e500740389e2cbbf2fdee0c4054c7 -Author: Thomas Wood -Date: Mon Nov 30 15:35:46 2015 +0000 - - tests/gem_request_retire: add test description - - Cc: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 72b6bec370451ae722ddc1c5457f4cfa6a55b188 -Author: Jani Nikula -Date: Wed Nov 25 10:50:31 2015 +0200 - - tests: fix ddx_intel_after_fbdev to use intel_reg - - intel_reg_dumper is gone, replaced by 'intel_reg dump'. - - Signed-off-by: Jani Nikula - -commit 4fe60a6e1c1f2a8853d57c19c6c16be408d1cd19 -Author: Jani Nikula -Date: Wed Nov 25 10:46:40 2015 +0200 - - tools: fix intel_gpu_abrt to use intel_reg - - intel_reg_dumper is gone, replaced by 'intel_reg dump'. - - Signed-off-by: Jani Nikula - -commit 96d3658d0be9479168586f01101a493aa030c9d4 -Author: Jani Nikula -Date: Wed Nov 25 10:25:44 2015 +0200 - - scripts: remove display_debug.sh as obsolete - - The script uses the obsoleted and removed intel_reg_read tool. Rather - than mechanically fix this to use intel_reg, observe that the hardcoded - register offsets are platform specific. A quick glance suggests they are - for PCH split platforms with FDI, and as such useful only on a minority - of platforms. Remove the script as obsolete. - - If the need for such a script arises, it should be based around using - 'intel_reg dump' with display-only register spec files. - - Signed-off-by: Jani Nikula - -commit 5830a7a04be49516e947eaefb47c2d214da9d2ab -Author: Daniel Vetter -Date: Tue Dec 1 18:33:17 2015 +0100 - - tests: Add core_setmaster_vs_auth.c - - Embarrasingly I noticed that I need to git add the file when resolving - the conflict and manually applying my patch. But then I added the - wrong file ... Reported by Thomas Wood. - - Signed-off-by: Daniel Vetter - -commit 80546d45762a7b1e20885c557a08a41ef6d7fc10 -Author: Daniel Vetter -Date: Tue Dec 1 17:37:40 2015 +0100 - - tests/pm_rpm: Don't compare edid blob IDs - - The kernel is free to allocate blob ids however it wants to. And also - to reallocate them whenever it sees fit. The only thing we are allowed - to compare is the length and the actual date. - - Removing this bogus check makes drm-resources-equal on my snb. - - Cc: Paulo Zanoni - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90546 - Reviewed-by: Paulo Zanoni - Signed-off-by: Daniel Vetter - -commit 8133295d02730dfc800d974e673dcb4b07460911 -Author: Daniel Vetter -Date: Tue Dec 1 08:44:00 2015 +0100 - - tests: add core_setmaster_vs_auth - - Tests that master state isn't leaked to new masters by checking - that auth magics for the old master don't work any more. - - Based upon a simple test program provided by Thomas. - - v2: Use comment Thomas suggested on intel-gfx. - - Cc: Thomas Hellstrom - Signed-off-by: Daniel Vetter - -commit 92e83cb379cd36c72ce1a254a1b80320b21a3ae1 -Author: Daniel Vetter -Date: Mon Nov 30 16:03:46 2015 +0100 - - tests: Rename drm_auth to core_auth - - It really is a core drm testcase and not a libdrm testcase. While at it - also make it generic, since it is. - - Cc: Daniel Stone - Acked-by: Daniel Stone - Signed-off-by: Daniel Vetter - -commit 3b75839b795c3e206316f4423b1f9ae01c91d64c -Author: Chris Wilson -Date: Tue Dec 1 13:33:13 2015 +0000 - - lib: gem_set_caching() use drmIoctl() rather than ioctl() - - gem_set_caching() tries to be clever and detect when the ioctl isn't - supported (thereby skipping the test). However, it forget that we may be - acting on active objects and be subject to the usual EAGAIN/EINTR - errors. We can use the drmIoctl() to wrap the raw ioctl() in order to - get the automatic restart on the interrupted syscall. - - Signed-off-by: Chris Wilson - -commit 4cfcea4056ab78a8097b41e26748c940936cd411 -Author: Marius Vlad -Date: Fri Nov 27 20:08:33 2015 +0200 - - tests/pm_rpm tests for set_caching and set_tiling ioctl(s) - - v4: re-bind the gem objects each time before calling - disable_all_screens_and_wait(). - - v3: Use smaller sizes when allocating gem objects for caching tests. - - v2: use mmap to gtt instead off cpu and various style-changes. - - Signed-off-by: Marius Vlad - Reviewed-by: Imre Deak - Signed-off-by: Imre Deak - -commit d2a17f4bc4d466ac19fd00ae7fe7998d6626460e -Author: Paulo Zanoni -Date: Fri Oct 30 18:05:58 2015 -0200 - - kms_frontbuffer_tracking: add tilingchange subtest - - During the review of a recent FBC patch, Ville pointed a problem that - happens when we use the page flip IOCTL to switch between buffers that - have different tiling formats. This test should catch the problem - introduced by that patch - which was not merged, by the way, so the - test should be passing. - - Signed-off-by: Paulo Zanoni - -commit 98bb8428b2939311015b45ca59d7d9c65949c9bf -Author: Paulo Zanoni -Date: Thu Nov 5 17:54:31 2015 -0200 - - kms_frontbuffer_tracking: assert the stride changes at stridechange() - - We use igt_create_fb(), which decides the stride by itself: there's no - guarantee that making a buffer 512 pixels bigger is going to make its - stride change. - - I had a fix for this problem that was supposed to be applied before - this patch, but due to a rework request I'm changing the order of the - patches, so we should expect to hit this assertion for now. At least - the root cause of the problem is clear now. - - v2: Update the commit message due to the patch order changing. - - Signed-off-by: Paulo Zanoni - -commit f23ea58f1fbb7075d08bdbd85523d12270ce46a2 -Author: Paulo Zanoni -Date: Fri Oct 30 17:56:29 2015 -0200 - - kms_frontbuffer_tracking: expand badstride and stridechange - - Make those subtests try to change the stride using multiple APIs so we - can catch errors that affect full modesets, fast modesets and page - flips. - - Signed-off-by: Paulo Zanoni - -commit 340599c986ac84b3ed4e24188eca1b599caeb238 -Author: Paulo Zanoni -Date: Fri Oct 30 18:55:52 2015 -0200 - - kms_frontbuffer_tracking: move flip_type to struct test_mode - - Handle it just like we handle t->format. IMHO, it's better. - - Signed-off-by: Paulo Zanoni - -commit b4c58857e5059cd4df5ce6298fd1897ea859ba6c -Author: Paulo Zanoni -Date: Fri Oct 30 17:37:10 2015 -0200 - - kms_frontbuffer_tracking: do page flips using the planes API - - Add a new FLIP_PLANES enum so we can do "page flips" using it too. The - goal is to exercise the fast modeset paths on the Kernel. - - Signed-off-by: Paulo Zanoni - -commit d63413771fc9bc77e89dacecbc1bae6192444000 -Author: Paulo Zanoni -Date: Thu Nov 5 16:39:00 2015 -0200 - - lib/igt_fb: also pass the stride to igt_create_fb_with_bo_size() - - If the caller is going to specify a custom size, it's likely that he - will also specify a custom stride. The automatic stride picked by - create_bo_for_fb() is too huge for tiled buffers, so if the caller - wants smaller buffers, then he'll need a smaller stride too, otherwise - the Kernel will reject the addfb IOCTL due to stride * height being - bigger than the size. - - I want to make tests/kms_frontbuffer_tracking use - igt_create_fb_with_bo_size() so I can provide smaller buffers that - will fit into the CFB. I'm also planning to make all frontbuffers with - the same width/height/format have the same stride and size regardless - of tiling method so I can exercise specific code paths. - - Signed-off-by: Paulo Zanoni - -commit 1c68a71acc1f9ddd98bc1bd6ff1da700442c21aa -Author: Paulo Zanoni -Date: Thu Nov 5 16:24:06 2015 -0200 - - lib/igt_fb: fix open-coded ALIGN() - - Maybe this will help someone's life in the future. - - Signed-off-by: Paulo Zanoni - -commit cb7dd5d401acceb62197eddf3cc6f0860c49faa3 -Author: Paulo Zanoni -Date: Thu Nov 5 16:18:55 2015 -0200 - - lib/igt_fb: fix igt_create_fb_with_bo_size() documentation - - If we pass zero as the bo_size we won't get the minimum needed size, - we'll just get a size that works. The size is decided by - create_bo_for_fb(). The selected size is really not minimal for tiled - objects. - - We'll implement support for minimum size later. - - Signed-off-by: Paulo Zanoni - -commit 5cfc4e7967f76cdc92364014c8bf896ab6afa6bc -Author: Paulo Zanoni -Date: Thu Nov 5 10:42:49 2015 -0200 - - lib/igt_fb: fix fb->size when provided by the user - - I want to have a little more control over the size of the buffers in - kms_frontbuffer_tracking, so I decided to start calling - igt_create_fb_with_bo_size() instead of igt_create_fb(). The problem - is that create_bo_for_fb() returns its own calculated size as size_ret - instead of the actual used size. - - So we fix this by returning the actual size, the one used in - gem_create instead of the calculated size that's not used anywhere. - - Signed-off-by: Paulo Zanoni - -commit d44100ed233db46085b626c1d493856ca1900eab -Author: Chris Wilson -Date: Fri Nov 27 09:56:09 2015 +0000 - - benchmarks/gem_exec_ctx: Measure switching between fds - - Switching between fds also involves a context switch, include it amongst - the measurements. - - Signed-off-by: Chris Wilson - -commit 26507f3e21fe14b0fe5b3daec73c26f37bb2189a -Author: Chris Wilson -Date: Fri Nov 20 16:38:52 2015 +0000 - - igt/gem_cs_prefetch: Convert to intel_require_memory() - - Replace the open-coded memory check with intel_require_memory. - - Signed-off-by: Chris Wilson - -commit e10ba6b51c028ce945605d1f720c598c93e8ad8f -Author: Chris Wilson -Date: Wed Nov 25 14:19:15 2015 +0000 - - igt/drm_read: Clear O_NONBLOCK between tests - - Ensure that O_NONBLOCK isn't accidentally set when we want a nonblocking - file descroptor. - - Signed-off-by: Chris Wilson - -commit 32329b2e7dd9b6b69a397da0356bd1ebc6a45901 -Author: Mika Kuoppala -Date: Wed Nov 25 15:00:50 2015 +0200 - - tests/drm_import_export: Always loop with mutex held - - We assume that lock is held on start of the loop scope. - Some paths continuing inside loop didn't adhere to this - assumption, causing segfault on unlocking an already - unlocked mutex. Fix this by re-aquiring lock always. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93013 - Cc: Michał Winiarski - Cc: Thomas Wood - Signed-off-by: Mika Kuoppala - Reviewed-by: Michał Winiarski - -commit 3b1a55874d151c8044b0168de4b6d9351ced69d4 -Author: Chris Wilson -Date: Wed Nov 25 10:46:53 2015 +0000 - - igt/drm_read: Check handling of pagefault on destination buffer - - In theory, this should force i915_gem_fault() when we first use the - buffer (and not at mmap time) and so prevent a __copy_to_user_inatomic() - from writting to the buffer. - - Signed-off-by: Chris Wilson - -commit d84e62478bf2c34d610467a98826d64c321b839b -Author: Joonas Lahtinen -Date: Fri Nov 20 13:57:11 2015 +0200 - - lib/igt_core: Prefer CLOCK_MONOTONIC_RAW - - CLOCK_MONOTONIC_RAW is not affected by NTP, so it should be THE clock - used for timing execution of tests. - - When fetching either the starting or ending time of a test, show the - time as -1.000s. - - v6: - - Whitespace corrections (Chris) - - v5: - - Do not use C99 style comments (Chris) - - v4: - - Introduce time_valid macro (Chris) - - Reduce amount of boilerplate code for calculating elapsed time - - v3: - - Do not exit directly from handler (Chris) - - Show elapsed time as -1 if it is not calculable - - v2: - - Cache the used clock (Chris) - - Do not change the clock during execution - - Spit out and error if monotonic time can not be read - - Cc: Thomas Wood - Reviewed-by: Chris Wilson - Signed-off-by: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit 4bc68b1baa8ad288a695eedf4e1638e07e5ab9a1 -Author: Wayne Boyer -Date: Fri Nov 13 13:40:24 2015 -0800 - - lib/kbl: Add Kabylake GT4 PCI IDs - - Add the Kabylake GT4 PCI IDs as defined in this kernel patch. - - commit 8b10c0cf21ec84618d4bf02c73c0543500ece68d - Author: Deepak S - Date: Wed Oct 28 12:21:12 2015 -0700 - drm/i915/kbl: Add Kabylake GT4 PCI ID - - Signed-off-by: Wayne Boyer - Signed-off-by: Thomas Wood - -commit 526a63ec6bfa4dfedb9ae27284b604ec37132a16 -Author: Wayne Boyer -Date: Fri Nov 13 13:40:23 2015 -0800 - - lib/kbl: move KBL check from IS_SKYLAKE() to IS_GEN9() - - Remove the KBL check from IS_SKYLAKE() following the kernel definition. - Then, add the KBL check to IS_GEN9(). - - The idea is to avoid confusion. On the kernel side, the mix of SKY - and KBL was nacked so the platforms are split. - - Signed-off-by: Wayne Boyer - Signed-off-by: Thomas Wood - -commit b088e305750c9df7b5d3a16f01fd2a7dba22177f -Author: Matt Turner -Date: Fri Nov 13 16:45:13 2015 -0800 - - tools/aubdump: Link with -ldl. - - aubdump.c uses dlsym(), so it needs to link with -ldl. Otherwise: - - /bin/sh: symbol lookup error: /usr/lib64/intel_aubdump.so: undefined symbol: dlsym - - Signed-off-by: Matt Turner - Signed-off-by: Thomas Wood - -commit dcdf21beb8fb40c4061e7dbcf0a021c6513d5090 -Author: Tvrtko Ursulin -Date: Thu Nov 19 15:02:15 2015 +0000 - - igt/gem_request_retire: Provoke context destruction with active VMAs - - Test designed to trigger the - WARN_ON(!list_empty(&ppgtt->base.active_list)) - in i915_gem_context_clean. - - v2: - Simplify execbuf building and the test itself. Cleanup code. (Chris Wilson) - - v3: - Removed asserts done by the helpers already. (Chris Wilson) - - Signed-off-by: Tvrtko Ursulin - Cc: Chris Wilson - Cc: Daniel Vetter - -commit b68a6428db3d1a31d7662c03eb86a7b4cd4e37be -Author: Chris Wilson -Date: Sun Nov 22 20:50:31 2015 +0000 - - benchmarks: Add a set-domain benchmark - - Benchmark the overhead of changing from GTT to CPU domains and vice - versa. Effectively this measures the cost of a clflush, and how well the - driver can avoid them. - - Signed-off-by: Chris Wilson - -commit 59f076a0898ce4c226bcc116d429f685009b268c -Author: Chris Wilson -Date: Fri Nov 20 11:23:37 2015 +0000 - - drmtest: Use standard gem_execbuf() calls in gem_quiescent_gpu() - - Now that we have better ioctl wrappers, let's make us of them. The - advantage should be in improved error reporting in case - gem_quiescent_gpu() ever fails. - - Signed-off-by: Chris Wilson - -commit b718f50f92cf7ed825c90ff54940cb155d110a2c -Author: Mika Kuoppala -Date: Fri Nov 6 13:52:53 2015 +0200 - - lib: Add Skylake Intel Graphics GT4 PCI IDs - - Add Skylake Intel Graphics GT4 PCI IDs. - - Signed-off-by: Mika Kuoppala - Reviewed-by: Damien Lespiau - -commit 8a8717eee305b2a9f58b9f5c31adc2a8847361bf -Author: Chris Wilson -Date: Wed Nov 18 12:49:24 2015 +0000 - - overlay: Show power consumption without i915-pmu - - The power metter was not showing up due to an erroneous check for a - failure to open the i915 perf interface. - - Reported-by: Marius Vlad - Signed-off-by: Chris Wilson - -commit 938b9306be240ada0e592f2bf59f428c6e0e5717 -Author: Vivek Kasireddy -Date: Wed Nov 4 16:10:15 2015 -0800 - - igt/kms_rotation_crc: Add a new subtest to exhaustively test for fence leaks (v3) - - In this subtest, as a first step, MAX_FENCES+1 number of framebuffers are - created backed up by objects that have multiple GGTT views (normal and - rotated). Next, we have the i915 driver instantiate a normal view followed - by a rotated view. We continue doing the above MAX_FENCES + 1 times. - - v2: - - Add a igt_require() to check if there is enough GTT space left for - MAX_FENCES+1 framebuffers. (Tvrtko) - - Make data2 local to test_plane_rotation_exhaust_fences(). (Tvrtko) - - If there is a failure, deallocate all the previously allocated - framebuffers before asserting. - - v3: Close the gem handle if set_tiling or addfb fails. (Tvrtko) - - Cc: Tvrtko Ursulin - Signed-off-by: Vivek Kasireddy - Reviewed-by: Tvrtko Ursulin - Signed-off-by: Tvrtko Ursulin - -commit 92a803ffb0c8a3e68dc8bac207c34a4ed78b724f -Author: Ville Syrjälä -Date: Sun Nov 15 15:40:02 2015 +0200 - - tests/kms_3d: Use XRGB8888 instead of ARGB8888 - - We don't allow ARGB8888 anymore on primary planes on most platforms, - so use XRGB8888 instead as the format. - - Signed-off-by: Ville Syrjälä - -commit cba86e980f60b1e15f6a59c8fa60fa54288361da -Author: Ville Syrjälä -Date: Sun Nov 15 14:24:46 2015 +0200 - - tests/kms_3d: Use igt_assert_eq() - - Would be nice to see how many stereo modes we managed to extract from - the EDID if it doesn't match the expected 13. So use igt_assert_eq() - which prints the real count on failure. - - Signed-off-by: Ville Syrjälä - -commit e42936d86b52c6804da41755df7155cafded5eb2 -Author: Ville Syrjälä -Date: Wed Nov 11 18:19:06 2015 +0200 - - tests/kms_addfb_basic: Add clobbered-modifier subtest - - Make sure the kernel doesn't clobber the modifiers when the user didn't - pass any. - - Signed-off-by: Ville Syrjälä - -commit 4d8983bcdff43e95897031d7e1fef24170df5235 -Author: Ville Syrjälä -Date: Wed Nov 11 20:25:11 2015 +0200 - - lib/kms: Pass fb_id=0 to setcrtc in kmstest_unset_all_crtcs() - - The setcrtc ioctl ignores the fb_id when there's no mode specified. - So passing -1 doens't make much sense. When there is a more, -1 means - to preserve the current fb. - - Signed-off-by: Ville Syrjälä - -commit 29cd8a092e09bc72535d83d55b5800c3aa21440a -Author: Ville Syrjälä -Date: Wed Nov 11 15:07:00 2015 +0200 - - tests/kms_flip: Add a note that the test was skipped when modeset fails - - Signed-off-by: Ville Syrjälä - -commit a09880d1c38343148e824b6a54db3046fb32986d -Author: Ville Syrjälä -Date: Tue Nov 10 19:22:11 2015 +0200 - - tests/kms_flip: Modeset pipes in reverse order - - To make more multi-pipe tests run on IVB, do the modesets in the reverse - order (ie. pipe C first, pipe A last). This way pipe B can't reserve the - 2 shared FDI lanes before pipe C is set up. - - Signed-off-by: Ville Syrjälä - -commit 5bb87dc0e563fe9fd54dde7b38732d28c3d2fa2e -Author: Ville Syrjälä -Date: Tue Nov 10 19:31:33 2015 +0200 - - tests/kms_flip: Disable all pipes before each test - - Currently kms_flip leaks the state of the pipes from one subtest to the - next. Meaning a single pipe test can actually have two or more pipes - actually up and running, and similarly a two pipe test can have three - pipes running. - - This is particularly nasty on IVB since one of the pipes still running - but not actually part of the test maybe have reserved the shared FDI - lanes, thus preventing one of the pipes taking part in the test from - being enabled. - - To avoid such problems explicitly disable all pipes before each - subtests. - - v2: Use kmstest_unset_all_crtcs() (Paulo) - - Signed-off-by: Ville Syrjälä - -commit 2f894820ac216c9aef8db3008acb2492cae3bce1 -Author: Ville Syrjälä -Date: Tue Nov 10 19:07:20 2015 +0200 - - tests/kms_flip: Use human readable pipe and connector names - - Print the pipes and connectors in a human readable form instead of using - the integer IDs. - - Signed-off-by: Ville Syrjälä - -commit c8beadb811bdc2b9c21f95144852f3e55867b546 -Author: Derek Morton -Date: Wed Nov 11 14:46:58 2015 +0000 - - tests/gem_exec_nop: Improved test run time - - Reduced the Sleep period to 200mS and reduced the repetition count to 7 - to decrease the test run time significantly. - - v2: Changed uS to us - v3: removed the output formatting change as the issue will be addressed - in a seperate patch from Thomas Wood. - v4: mS -> ms - - Signed-off-by: Derek Morton - Signed-off-by: Thomas Wood - -commit 464424dcee9b22cf66bd33f5be5e93397aa15e24 -Author: Maarten Lankhorst -Date: Thu Nov 12 13:33:42 2015 +0100 - - tests/kms_setmode: Handle MST correctly. - - There is a MST encoder for each crtc, and each MST connector - will be connected to the encoder bound to that crtc. - - This breaks the kms_setmode assertion that is only 1 encoder per - connector, so make an exception to that rule for displayport. - - Signed-off-by: Maarten Lankhorst - -commit 4c14aa18c18f578825253769e97901bc963b40d2 -Author: Chris Wilson -Date: Thu Nov 12 10:50:17 2015 +0000 - - benchmarks/gem_blt: Fixup a couple of non-llc foibles - - When extending the batch for multiple copies, we need to remember to - flag it as being in the CPU write domain so that the new values get - flushed out to main memory before execution. We also have to be careful - not to specify NO_RELOC for the extended batch as the execobjects will - have been updated but we write the wrong presumed offsets. Subsequent - iterations will be correct and we can tell the kernel then to skip the - relocations entirely. - - Signed-off-by: Chris Wilson - -commit 143a2160583a3223ebfc1fd1376a23cec1b81484 -Author: Chris Wilson -Date: Thu Nov 12 09:29:07 2015 +0000 - - igt/gem_mmap_gtt: Require SET_TILING to work before doing large tiled tests - - Older generations are more limited in how much they can fence, and the - limits is enforced in the SET_TILING ioctl. So if it reports an EINVAL, - we cannot perform the tiled test and may just skip it instead. - - Signed-off-by: Chris Wilson - -commit 0c26652911986e2b1f666f662459a9e240428dc6 -Author: Chris Wilson -Date: Wed Nov 11 16:37:16 2015 +0000 - - igt/gem_concurrent_all: Add testcases that split the copying across rings - - More inter-ring concurrency tests. - - Signed-off-by: Chris Wilson - -commit 790f1f804b062c47fb1bf686bfa3b0f2e69ee947 -Author: Thomas Wood -Date: Mon Nov 9 17:17:24 2015 +0000 - - lib: add a environment variable to control output - - Disable output of terminal control characters and progress meters when - IGT_PLAIN_OUTPUT is set in the environment. - - Cc: Derek Morton - Signed-off-by: Thomas Wood - -commit fca7b1b5fd2d61dfec6a612f1a2798270d1f8a4e -Author: Thomas Wood -Date: Thu Oct 29 17:01:17 2015 +0000 - - lib: highlight subtest results on terminals - - Make subtest results easier to identify by making them bold when the output - is a terminal. - - Signed-off-by: Thomas Wood - -commit 3dce57a699e1481bbe7b2e4c52a7643654e2da19 -Author: Thomas Wood -Date: Tue Nov 10 14:16:00 2015 +0000 - - tests/kms_force_connector: reset connectors and edid on exit - - Signed-off-by: Thomas Wood - -commit a8f63574307b0914214256a04939799bde2cffb9 -Author: Thomas Wood -Date: Tue Nov 3 11:02:23 2015 +0000 - - tests/kms_force_connector: clear forced edid in reset - - Signed-off-by: Thomas Wood - -commit 5652985a54849176a6b07a481b61fc72df3a6b09 -Author: Thomas Wood -Date: Thu Oct 29 16:38:57 2015 +0000 - - tests/kms_force_connector: use comparison macros - - Use the comparison macros to make debug output clearer. - - v2: fix incorrect comparison - - Signed-off-by: Thomas Wood - -commit d01433900906017f16034b60c710cae9581e7755 -Author: Thomas Wood -Date: Mon Nov 2 17:04:20 2015 +0000 - - tests/kms_force_connector: add an option to reset connector force states - - v2: add missing igt_exit call and fix reset_connectors definition - - Signed-off-by: Thomas Wood - -commit 01e1fca5828004954cdb1757409edd99d4b790c3 -Author: Thomas Wood -Date: Mon Nov 2 15:50:27 2015 +0000 - - tests/kms_force_connector: skip if the required connector is connected - - Signed-off-by: Thomas Wood - -commit 2e5a43d29613fcb9e780b9c804d86b578bc8d56b -Author: Thomas Wood -Date: Mon Nov 2 15:48:52 2015 +0000 - - lib: add documentation for igt_display_init/fini - - Signed-off-by: Thomas Wood - -commit 5570060d331c0942405503a4398864241c1c55ef -Author: Thomas Wood -Date: Mon Nov 2 15:39:12 2015 +0000 - - tests/kms_force_connector: free the display struct when no longer needed - - Signed-off-by: Thomas Wood - -commit e9ed1a37fcbb6c3f08bc714cdf5851202f532125 -Author: Thomas Wood -Date: Mon Nov 2 10:29:23 2015 +0000 - - tests/kms_fbc_crc: ensure context is initialized correctly - - Initialization was included in commit a976d7e (tests/kms_fbc_crc: - refactor context handling code), but won't be executed since it is - declared before the first label within a switch statement. - - kms_fbc_crc.c:178:2: warning: ‘context’ may be used uninitialized in this function [-Wmaybe-uninitialized] - rendercopy(batch, context, - ^ - kms_fbc_crc.c:271:22: note: ‘context’ was declared here - drm_intel_context *context = NULL; - - ^ - Cc: Paulo Zanoni - Signed-off-by: Thomas Wood - Reviewed-by: Paulo Zanoni - -commit 0986b432f874db0f263958fa07feb1a83ba1bae4 -Author: Thomas Wood -Date: Mon Nov 2 10:20:15 2015 +0000 - - lib: add PIPE_ANY to the pipe enum - - This avoids compiler warnings about invalid enum values. - - Signed-off-by: Thomas Wood - -commit 2643793255084362e02bb1ca2ab5031de2d5dc59 -Author: Thomas Wood -Date: Mon Nov 2 10:18:27 2015 +0000 - - Fix comparison of unsigned integers - - Signed-off-by: Thomas Wood - -commit 52a393a3116f91157bc62d735db297d027d8724b -Author: Thomas Wood -Date: Mon Nov 2 10:16:16 2015 +0000 - - tests: remove duplicate struct member initializers - - Signed-off-by: Thomas Wood - -commit 24b7bbc7267a58d44173682da64d4dd9d32134ec -Author: Thomas Wood -Date: Mon Nov 2 10:02:51 2015 +0000 - - tests: remove unnecessary igt_exit calls - - Signed-off-by: Thomas Wood - -commit 36b8143c224b47f743d8881514bb348b9ee1d102 -Author: Thomas Wood -Date: Mon Nov 2 10:02:08 2015 +0000 - - Add missing noreturn attribute to various functions - - Signed-off-by: Thomas Wood - -commit 3bc3ab27eac6eace4c90c8da92b4e7570110263b -Author: Chris Wilson -Date: Tue Nov 10 14:04:17 2015 +0000 - - benchmarks: Add README - - Add a README to introduce the ezbench.sh benchmark runner. - - Signed-off-by: Chris Wilson - -commit 5cabb8c543d42c2473d11c3e6cb65bf5746b4cae -Author: Chris Wilson -Date: Tue Nov 10 13:40:40 2015 +0000 - - benchmarks/gem_blt: Report peak throughput - - Report the highest throughput measured from a large set of runs to - improve sensitivity. - - Signed-off-by: Chris Wilson - -commit 3b0e3360811aa39bb6b5368bbcbfa62ffdc3d266 -Author: Chris Wilson -Date: Mon Nov 9 20:37:07 2015 +0000 - - lib: Add missing #include - - A forgotten fixup to allow instdone.h to compile. - - Signed-off-by: Chris Wilson - -commit 70ee5084213c27733f723a7d3f597764bba38dcf -Author: Chris Wilson -Date: Mon Nov 9 08:58:59 2015 +0000 - - lib: Make instdone initialisation fail gracefully - - Just report that we don't recognise the chipset rather than explode. - - Signed-off-by: Chris Wilson - -commit 134e32378a242e846a6e553ad80317a4a56b13b9 -Author: Ben Widawsky -Date: Thu Nov 5 16:56:11 2015 -0800 - - igt/intel_aubdump: Use the right ring - - This prevents the simulator from barfing when it sees commands from another - ring. I've been using this locally for a very long time. - - Signed-off-by: Ben Widawsky - Reviewed-by: Kristian Høgsberg - -commit bc37e0297c38348cd4e47b1dacc376bd94725ec2 -Author: Daniel Stone -Date: Wed Jul 8 13:23:27 2015 +0000 - - kms_atomic: Add basic atomic modesetting tests - - Add tests for KMS atomic modesetting, to exercise the basic interface - and test failure/corner cases. Should ensure coherency between the - legacy and atomic interfaces. - - v2: New patch. - v3: Disable connector checking for now, as it was causing GPU hangs on - newer kernels. - v4: Rebase. - v5: Use do_ioctl or do_ioctl_err consistently. Use igt_assert_*() - helper macros rather than igt_assert() directly. - Move assertions into helper/check functions. Define atomic commit - helper. - v6: Use do_ioctl_err, and define macros to move errors to - actual callsite, rather than helper functions. - - Co-authored-by: Micah Fedke - Signed-off-by: Daniel Stone - -commit b7a555e997ec43ed005f6b22707dd698e0147f64 -Author: Daniel Stone -Date: Tue Oct 20 22:36:13 2015 +0100 - - tests/core_prop_blob: Add multiple blobs per connection - - This should hit the bug fixed in: - commit 8731b269f01e16193390c7276e70530366b8d626 - Author: Maneet Singh - Date: Thu Oct 8 10:10:24 2015 -0400 - - drm: Correct arguments to list_tail_add in create blob ioctl - - Arguments passed to list_add_tail were reversed resulting in deletion - of old blob property everytime the new one is added. - - Fixes - - commit e2f5d2ea479b9b2619965d43db70939589afe43a - Author: Daniel Stone - Date: Fri May 22 13:34:51 2015 +0100 - - drm/mode: Add user blob-creation ioctl - - Signed-off-by: Maneet Singh - [seanpaul tweaked commit subject a little] - Signed-off-by: Sean Paul - Cc: stable@kernel.org # v4.2 - Reviewed-by: Daniel Stone - Reviewed-by: Jani Nikula - Signed-off-by: Dave Airlie - - which was introduced with the initial blob support in: - commit e2f5d2ea479b9b2619965d43db70939589afe43a - Author: Daniel Stone - Date: Fri May 22 13:34:51 2015 +0100 - - drm/mode: Add user blob-creation ioctl - - Add an ioctl which allows users to create blob properties from supplied - data. Currently this only supports modes, creating a drm_display_mode from - the userspace drm_mode_modeinfo. - - v2: Removed size/type checks. - Rebased on new patches to allow error propagation from create_blob, - as well as avoiding double-allocation. - - Signed-off-by: Daniel Stone - Reviewed-by: Maarten Lankhorst - Tested-by: Sean Paul - Signed-off-by: Daniel Vetter - - Signed-off-by: Daniel Stone - -commit de7ccdd083579c82a1be0c028acf38617fb8c2ca -Author: Daniel Stone -Date: Thu Oct 1 14:16:48 2015 +0100 - - tests: Run igt.cocci - - Signed-off-by: Daniel Stone - -commit f735015ed36f1e188d1107fd6b0969801df17c86 -Author: Daniel Stone -Date: Wed Oct 7 17:16:44 2015 +0100 - - lib/tests: Add igt_assert_*() self-tests - - Make sure our igt_assert variants are doing something that looks vaguely - like the right thing. - - Signed-off-by: Daniel Stone - -commit f40a984413a9c06e5d382b248ba79ac7c17d2531 -Author: Chris Wilson -Date: Tue Nov 3 16:43:48 2015 +0000 - - igt/gem_userptr_blits: Correct the number of objects required - - Since we allocate 2 times count number of objects, that is the number of - objects we should be using when checking for sufficient RAM to use for - the test. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=92799 - Signed-off-by: Chris Wilson - -commit ce65232cf5039798045767c65f2110f3b2a8ffd0 -Author: Chris Wilson -Date: Fri Oct 30 15:50:12 2015 +0000 - - benchmarks/gem_wait: Remove pthread_cancel() - - Apparently the pthread shim on Android doesn't have pthread cancellation, - so use the plain old volatile to terminate the CPU hogs. - - Signed-off-by: Chris Wilson - -commit 9024a72d29150f05e2ad62aa088d19a662bbf815 -Author: Chris Wilson -Date: Fri Oct 30 15:01:33 2015 +0000 - - benchmark/gem_wait: poc for benchmarking i915_wait_request overhead - - One scenario under recent discussion is that of having a thundering herd - in i915_wait_request - where the overhead of waking up every waiter for - every batchbuffer was significantly impacting customer throughput. This - benchmark tries to replicate something to that effect by having a large - number of consumers generating a busy load (a large copy followed by - lots of small copies to generate lots of interrupts) and tries to wait - upon all the consumers concurrenctly (to reproduce the thundering herd - effect). To measure the overhead, we have a bunch of cpu hogs - less - kernel overhead in waiting should allow more CPU throughput. - - Signed-off-by: Chris Wilson - -commit fe548fab0a63f95b729f0df4137753212e75375e -Author: Vivek Kasireddy -Date: Thu Oct 22 18:34:03 2015 -0700 - - igt/kms_rotation_crc: Add a subtest to validate Y-tiled obj + Y fb modifier (v3) - - The main goal of this subtest is to trigger the following warning in - the function i915_gem_object_get_fence(): - if (WARN_ON(!obj->map_and_fenceable)) - - To trigger this warning, the subtest first creates a Y-tiled object and - an associated framebuffer with the Y-fb modifier. Furthermore, to - prevent the map_and_fenceable from being set, we make sure that - the object does not have a normal VMA by refraining from rendering to the - object and by setting the rotation property upfront before calling commit. - - v2: Do not call paint_squares and just use one output. - - v3: Convert an if condition to igt_require and move the plane rotation - requirement further up before the fb allocation. - - Cc: Tvrtko Ursulin - Signed-off-by: Vivek Kasireddy - Reviewed-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit a2c67866fb447a5d00abb3061b0d735df30fd40c -Author: Paulo Zanoni -Date: Tue Oct 20 18:46:26 2015 -0200 - - kms_frontbuffer_tracking: remove opt.only_feature - - That option is not needed anymore since: - - commit 982934625ac67234c6d85c6cf29a5a487e54d4f0 - Author: Thomas Wood - Date: Wed Sep 16 14:36:24 2015 +0100 - lib: allow wildcard matching when specifying subtests - - In fact, using "--run-subtest 'fbc-*'" is better than using --fbc-only - due to how SKIPs are handled. In the former, only the tests matching - the expression are tried, so the number of SKIPs only contains the - number of tests on the specified pattern that were skipped. If you - used --fbc-only, all the non-fbc tests would count as SKIPs, so it - would be harder to know which of the tests marked as skipped were - actual FBC tests. - - Signed-off-by: Paulo Zanoni - -commit efc2e39a458317d02e9f72b9eb277347c858ca59 -Author: Paulo Zanoni -Date: Tue Oct 20 16:16:04 2015 -0200 - - kms_frontbuffer_tracking: add stridechange subtest - - This is a corner case not exercised by the other subtests. The test is - expected to pass both with the current Kernel tree and with the - patches that are on the mailing list. - - The patches currently on the mailing list change how the CFB is - allocated, and this subtest is designed to make sure everything still - works as expected. - - Signed-off-by: Paulo Zanoni - -commit 196179a2bcab12da8b35d730d8fb0e8cf2c10a87 -Author: Paulo Zanoni -Date: Tue Oct 20 16:02:52 2015 -0200 - - kms_frontbuffer_tracking: add flag to not assert feature status - - This will be used by the stridechange subtest. - - Signed-off-by: Paulo Zanoni - -commit a4697fc8baf1d3f61531ec164b9b9cbae37583ed -Author: Paulo Zanoni -Date: Mon Oct 19 11:14:44 2015 -0200 - - kms_frontbuffer_tracking: unset crtcs after getting the base blue CRC - - This fixes the failures for cases where you use --run-subtest to run - single subtests that don't use any drawing patterns. - - Signed-off-by: Paulo Zanoni - -commit 3660bd4e9c79105bfd6f10442772660b61549792 -Author: Ville Syrjälä -Date: Thu Oct 22 19:55:38 2015 +0300 - - tests/kms_flip: Dump the timestamps, counters, etc. with higher debug levels - - Signed-off-by: Ville Syrjälä - -commit 75cf16e5854e232b5d3caba0bfb063d76866a6e4 -Author: Ville Syrjälä -Date: Wed Oct 16 22:43:04 2013 +0300 - - tests/kms_flip: Improve the accuracy of out frame time calculation - - Don't use the rounded vrefresh info to predict the frame duration. - Instead calculate if from the clock. - - Signed-off-by: Ville Syrjälä - -commit 8a17af80e0732cb6ce5e7348dcb2d56a7b870e1d -Author: Ville Syrjälä -Date: Thu Oct 22 18:44:56 2015 +0300 - - lib: Skip suspend/hibernate tests if the system doesn't support them - - Do a dry run with rtcwake first to determine if the system even supports - the intended suspend state. If not, skip the test. - - Fixes a bunch of stuff on my BYT FFRD8 that doesn't support S3. - - Signed-off-by: Ville Syrjälä - -commit 47db6fbd99f1c8b127269b124948da7049298963 -Author: Ville Syrjälä -Date: Thu Oct 22 18:38:50 2015 +0300 - - tests/kms_pipe_crc_basic: Skip invalid pipe/port combos - - Don't try to test invaliud pipe/port combos. Fixes the test on - VLV w/ DSI since the pipe<->DSI port mapping is fixed. Should also - fix other platforms with similar restrictions. - - Signed-off-by: Ville Syrjälä - -commit 46ec33e847eef3292a2f3b4f4a037cfb161cfeee -Author: Chris Wilson -Date: Tue Oct 20 14:40:50 2015 +0100 - - igt/gem_concurrent_all: Add snoop concurrency tests - - Another caching mode worth exploring for bad flushing behaviour. - - Signed-off-by: Chris Wilson - -commit 5ec54d8a2165f5095ec70b9bdb9ae583fead39c2 -Author: Chris Wilson -Date: Mon Oct 19 11:36:17 2015 +0100 - - Update CONTEXT_PARAM for GTT_SIZE reporting - - Add the new PARAM identifier for reporting the context's GTT size. - - Signed-off-by: Chris Wilson - -commit a22719358d8fc7d4261829847e1ace042575a723 -Author: Chris Wilson -Date: Wed Oct 14 14:17:55 2015 +0100 - - lib: Fix querying context GTT size - - We need a new ioctl to find the correct GTT size to use when submitting - execbuffers (as opposed to wishing to know the global GTT size). - - Signed-off-by: Chris Wilson - -commit cd99ddead3815aacaa483f27548a3f5e1a7d9353 -Author: Matt Roper -Date: Thu Oct 15 16:54:32 2015 -0700 - - kms_cursor_crc: Add test for unthrottled cursor movement - - We've had bugs in the past that caused cursor updates to be synced to - vblank, resulting in sluggish cursor movement. Add a test to try to - make sure we don't regress and reintroduce these bugs. - - Cc: kalyan.kondapally@intel.com - Signed-off-by: Matt Roper - Signed-off-by: Thomas Wood - -commit e3ac13e16a4a1311e8e73f242e878d74c2063341 -Author: Chris Wilson -Date: Fri Oct 16 11:01:42 2015 +0100 - - tests/gem_pwrite_snooped: Fix use of GCC pragmas - - Apparently GCC treats the #pragma directive as a code block and so we - returned unconditionally from memchr_inv() on the first byte fubaring - the test. - - commit b04691b3e8e62bd105f0f4d8d3b9e7da187f0c90 - Author: Thomas Wood - Date: Tue Sep 8 11:16:46 2015 +0100 - - tests/gem_pwrite_snooped: disable const cast warning - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92227 - Signed-off-by: Chris Wilson - -commit 0ab76a22d111b903cd3ee0ba8d20dfeb34608361 -Author: Derek Morton -Date: Wed Oct 14 17:32:58 2015 +0100 - - benchmarks/gem_blt: Include igt.h in gem_blt.c - - To fix a build error on android - - Signed-off-by: Derek Morton - Signed-off-by: Thomas Wood - -commit f050dc663d6a24e2ad0441ee3f7066ebee5e3f8c -Author: Derek Morton -Date: Wed Oct 14 17:23:00 2015 +0100 - - tests/core_prop_blob: Fix core_prop_blob for android - - core_prop_blob was using ioctls not in the android kernel. Added a - igt_require_propblob() function and local defines/structures so the - test will compile and skip on kernels where the feature is unsupported. - - v2: moved igt_require_propblob() to core_prop_blob.c (Daniel Vetter) - Moved gem_blt.c to a seperate patch (Thomas Wood) - - Signed-off-by: Derek Morton - [Thomas: fix compiler warning] - Signed-off-by: Thomas Wood - -commit 061a38fca0474ef5e20a5fa5ff086fcc4c4181a6 -Author: Tvrtko Ursulin -Date: Wed Oct 7 12:18:52 2015 +0100 - - kms_rotation_crc: Exercise page flips with 90 degree rotation - - Do some page flipping on the rotated plane just to exercise - that code path. - - v2: Actually render to flip fb and fixed flip counter. - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Cc: Arun R Murthy - Signed-off-by: Thomas Wood - -commit 1a593d2a5dfa1bd006742828338953358113cb6f -Author: Matt Roper -Date: Tue Oct 6 17:04:49 2015 -0700 - - kms_universal_plane: Add gen9-specific test - - Gen9 adds some new capabilities not present on previous platforms - (primary plane windowing, 90/270 rotation, etc.). Add a new subtest to - check how these new features interact with the use of the universal - plane API. - - For now we just check whether pageflips work as expected in a windowed - setting. We may want to add some rotation testing in future patches. - - Signed-off-by: Matt Roper - Signed-off-by: Thomas Wood - -commit 5bc210a5b5d060a4053d3ad9266123abefb4840a -Author: Rodrigo Vivi -Date: Mon Oct 5 15:48:22 2015 -0700 - - lib/kbl: Add Kabylake PCI IDs - - Also, following kernel definition Kabylake is Skylake. - - Signed-off-by: Rodrigo Vivi - Signed-off-by: Thomas Wood - -commit 3e9726b33736f7fd7a349785ab6693e33647240a -Author: Lu, Han -Date: Thu Jun 25 14:39:33 2015 +0800 - - tools/intel_audio_dump: add support for Broxton - - This patch adds support for dumping audio registers of Broxton. - - Signed-off-by: Lu, Han - Signed-off-by: Thomas Wood - -commit f52e7ec7876603b4edb0bff412255f8f1624ecc4 -Author: Ville Syrjälä -Date: Fri Oct 9 19:11:39 2015 +0300 - - Replace __gem_mmap__{cpu,gtt,wc}() + igt_assert() with gem_mmap__{cpu,gtt,wc}() - - gem_mmap__{cpu,gtt,wc}() already has the assert built in, so replace - __gem_mmap__{cpu,gtt,wc}() + igt_assert() with it. - - Mostly done with coccinelle, with some manual help: - @@ - identifier I; - expression E1, E2, E3, E4, E5, E6; - @@ - ( - - I = __gem_mmap__gtt(E1, E2, E3, E4); - + I = gem_mmap__gtt(E1, E2, E3, E4); - ... - - igt_assert(I); - | - - I = __gem_mmap__cpu(E1, E2, E3, E4, E5); - + I = gem_mmap__cpu(E1, E2, E3, E4, E5); - ... - - igt_assert(I); - | - - I = __gem_mmap__wc(E1, E2, E3, E4, E5); - + I = gem_mmap__wc(E1, E2, E3, E4, E5); - ... - - igt_assert(I); - ) - - Signed-off-by: Ville Syrjälä - Stochastically-reviwewed-by: Chris Wilson - -commit b8a77dd6c8e9f73493b2f86f293ff9c06fc08049 -Author: Ville Syrjälä -Date: Fri Oct 9 18:29:28 2015 +0300 - - Make gem_mmap__{cpu,gtt,wc}() assert on failure - - Rename the current gem_mmap__{cpu,gtt,wc}() functions into - __gem_mmap__{cpu,gtt,wc}(), and add back wrappers with the original name - that assert that the pointer is valid. Most callers will expect a valid - pointer and shouldn't have to bother with failures. - - To avoid changing anything (yet), sed 's/gem_mmap__/__gem_mmap__/g' - over the entire codebase. - - Signed-off-by: Ville Syrjälä - Stochastically-reviwewed-by: Chris Wilson - -commit 106fe21373f9c3eadcd95fb4b48e452f9b328ffa -Author: Ville Syrjälä -Date: Fri Oct 9 18:36:24 2015 +0300 - - lib: Die if framebuffer GTT mapping fails - - Cairo helpfully allocates a new buffer for us when - cairo_image_surface_create_for_data() is called with a NULL ptr. That - means if gem_mmap__gtt() fails, we get a totally silent failure and - nothing ever drawn into the framebuffer. Very confusing. - - Put in an igt_assert() to make sure we managed to mmap something. - - Signed-off-by: Ville Syrjälä - Stochastically-reviwewed-by: Chris Wilson - -commit 7eaae3c2013b6d4bdf11570d3fb9d95eb4978976 -Author: Ville Syrjälä -Date: Fri Oct 9 18:19:34 2015 +0300 - - Sprinkle igt_assert(ptr) after gem_mmap__{cpu,gtt,wc} - - Do the following - ptr = gem_mmap__{cpu,gtt,wc}() - +igt_assert(ptr); - - whenever the code doesn't handle the NULL ptr in any kind of - specific way. - - Makes it easier to move the assert into gem_mmap__{cpu,gtt,wc}() itself. - - Mostly done with coccinelle, with some manual cleanups: - @@ - identifier I; - @@ - <... when != igt_assert(I) - when != igt_require(I) - when != igt_require_f(I, ...) - when != I != NULL - when != I == NULL - ( - I = gem_mmap__gtt(...); - + igt_assert(I); - | - I = gem_mmap__cpu(...); - + igt_assert(I); - | - I = gem_mmap__wc(...); - + igt_assert(I); - ) - ...> - - Signed-off-by: Ville Syrjälä - Stochastically-reviwewed-by: Chris Wilson - -commit 91d295cf06aeee733b57ec87933dba47ed2c8440 -Author: Ville Syrjälä -Date: Fri Oct 9 17:00:29 2015 +0300 - - Remove gem_mmap__{cpu,gtt,wc} return value MAP_FAILED asserts - - gem_mmap__{cpu,gtt,wc} never return MAP_FAILED, it gets converted to - NULL internally. So don't go asserting that the returned value is - not MAP_FAILED. - - Done with coccinelle: - @@ - type T; - identifier I; - @@ - ( - I = gem_mmap__gtt(...); - | - I = gem_mmap__cpu(...); - | - I = gem_mmap__wc(...); - ) - ... - ( - - igt_assert(I != MAP_FAILED); - + igt_assert(I); - | - - igt_assert(I && I != MAP_FAILED); - + igt_assert(I); - | - - igt_assert(I != (T *) MAP_FAILED); - + igt_assert(I); - | - - igt_assert(I != NULL); - + igt_assert(I); - ) - - Signed-off-by: Ville Syrjälä - Stochastically-reviwewed-by: Chris Wilson - -commit 8986bbc0ce83c1df4c314c9c04d30608cacae98b -Author: Ville Syrjälä -Date: Fri Oct 9 16:59:13 2015 +0300 - - lib: Document that gem_mmap__{cpu,gtt,wc} return NULL on failure - - Signed-off-by: Ville Syrjälä - Stochastically-reviwewed-by: Chris Wilson - -commit 9792e7b58095dc03e63c105c494308ed771168f6 -Author: Ville Syrjälä -Date: Fri Oct 9 16:47:05 2015 +0300 - - s/gem_mmap/gem_mmap__gtt/ - - Get rid of the gem_mmap() alias of gem_mmap__gtt(). I don't see any - point in having it. - - Signed-off-by: Ville Syrjälä - Stochastically-reviwewed-by: Chris Wilson - -commit bfea74a9f64a900bcb90f946b38746781017449f -Author: Paulo Zanoni -Date: Thu Sep 24 15:13:58 2015 -0300 - - kms_frontbuffer_tracking: add fliptrack subtest - - The current upstream Kernel code stops and then restarts FBC at every - page flip. I am working on patches to keep FBC enabled all the time, - so this brings the possibility of having the hardware tracking - mechanism looking at the old buffer instead of the new one. This test - should catch this problem. - - Signed-off-by: Paulo Zanoni - -commit f0c067ddb327c6cf7d6c9becaa293b2aa5491007 -Author: Paulo Zanoni -Date: Mon Oct 5 16:57:53 2015 -0300 - - kms_frontbuffer_tracking: don't mode unset when checking sink CRC support - - There's no reason to do a mode unset since we don't care about whether - FBC or PSR are enabled or disabled. This should save about a second - for each time you invoke the program. - - Signed-off-by: Paulo Zanoni - -commit c1daf330e9c4fb0d7aca596a78d81e21ccdaba2f -Author: Paulo Zanoni -Date: Fri Oct 2 18:12:54 2015 -0300 - - kms_frontbuffer_tracking: add scaledprimary subtest - - It's not testing a lot since we lack the Kernel Stolen Memory Checker, - but some day this will be useful. - - Signed-off-by: Paulo Zanoni - -commit bb2ebe92ef2df31d051e11642f0e122fa9a56683 -Author: Paulo Zanoni -Date: Thu Sep 24 18:25:24 2015 -0300 - - kms_frontbuffer_tracking: set the universal planes cap in the setup - - ... instead of just setting it for the fullscreen_plane subtest and - then unsetting it. We want to use it more, so just make sure all the - code knows how to deal with multiple planes per CRTC. - - This also allows us to do some upfront caching of the plane - information, so the code for the tests gets simpler. - - There's a new test that's going to use all these changes. - - Signed-off-by: Paulo Zanoni - -commit 68cb0de70c76b15d47b8fb2c25acf6f855554858 -Author: Paulo Zanoni -Date: Thu Sep 17 15:58:54 2015 -0300 - - kms_frontbuffer_tracking: change pattern 1's last rect to 1x1 - - Make sure the tracking mechanism is able to track a write in the very - last pixel. - - Signed-off-by: Paulo Zanoni - -commit f974422c21ebcc3de2c0a3c530321ba652992ba2 -Author: Paulo Zanoni -Date: Mon Aug 24 16:30:04 2015 -0300 - - lib/igt_fb: don't forget to close parens on message printed - - Restore the anxiety levels back to the normal values. - - Signed-off-by: Paulo Zanoni - -commit bbd193b478b4baf40d2a527cac16c271479696cd -Author: Daniel Stone -Date: Mon Mar 16 20:06:55 2015 +0000 - - tests: Add blob-property test - - Exercises the new blob-creation ioctl, testing lifetimes and behaviour - of user-created blobs, as well as exercising all the invariant - conditions we guarantee from modes exposed as blob properties. - - v2: Renamed to core_prop_blob, skip test if blob not available. - v3: No changes. - v4: Consistently return 0/errno. - v5: Use do_ioctl_err and igt_assert_fd. - Use igt_assert_*() helper macros rather than direct igt_assert(). - - Signed-off-by: Daniel Stone - Reviewed-by: Daniel Vetter - -commit 668c053e6a63469cb88dac8f89fea0159e1377b4 -Author: Daniel Stone -Date: Thu Oct 1 14:16:23 2015 +0100 - - lib/igt.cocci: De-opencode ioctls - - Use do_ioctl and do_ioctl_err where possible. - - Signed-off-by: Daniel Stone - -commit c8cec6b88511f43b5c0301864081fe6ca6e39049 -Author: Daniel Stone -Date: Thu Oct 1 13:02:38 2015 +0100 - - lib/drmtest: Add do_ioctl_err to expect failure - - do_ioctl demands that the ioctl returns success; add a variant named - do_ioctl_err, which expects the ioctl to fail, and demands a particular - result. - - Signed-off-by: Daniel Stone - -commit 31821fce59d6ce3288b5b8e0f18f60417b76c61a -Author: Daniel Stone -Date: Thu Oct 1 13:25:48 2015 +0100 - - lib/igt.cocci: Add greater-than to igt_assert_lt* - - Change m >= n patterns to igt_assert_lte(n, m), and ditto for strict - greater-than. - - Signed-off-by: Daniel Stone - -commit 6ead44d70bde0aed4ceac5311f3eec599125a554 -Author: Daniel Stone -Date: Thu Oct 1 13:26:36 2015 +0100 - - lib/igt_core: Add igt_assert_fd - - Skip open-coding and assert that fds are valid. - - Signed-off-by: Daniel Stone - -commit 715a17bb35a09a6889664bc7df14495bc068e06d -Author: Daniel Stone -Date: Thu Oct 1 13:00:12 2015 +0100 - - lib/igt_core: Add igt_assert_neq_*() variants - - Similar to igt_assert_eq_*(), add variants for non-equality of types - other than int. - - Signed-off-by: Daniel Stone - -commit c9112dca9e82288b887e248a5982df94c8ec1c04 -Author: Daniel Vetter -Date: Fri Oct 2 12:56:16 2015 +0200 - - lib/core: Fix docs for igt_assert_lt(e) - - Logical negation is hard. - - v2: The second integer isn't plural (Daniel). - - Cc: "Morton, Derek J" - Signed-off-by: Daniel Vetter - Reviewed-by: Daniel Stone - Signed-off-by: Daniel Vetter - -commit d878e18dfd37eb6dd3517d601f4e779349e25ebc -Author: Chris Wilson -Date: Tue Oct 6 17:03:02 2015 +0100 - - benchmarks/gem_blt: Fix compilation after rebase and add batch-size - - Add an option to do more than one copy per batch. - - Signed-off-by: Chris Wilson - -commit 8253e7dc84af43d6c757185e5c6ff463feaaf637 -Author: Chris Wilson -Date: Mon Oct 5 09:31:59 2015 +0100 - - benchmarks: Measure BLT performance - - Execute N blits and time how long they complete to measure both GPU - limited bandwidth and submission overhead. - - Signed-off-by: Chris Wilson - -commit 1b492e311ce13fe4bc42f1edd5479441662d4855 -Author: Derek Morton -Date: Thu Oct 1 16:09:02 2015 +0100 - - benchmarks: Fix build errors on Android M-Dessert - - Android M-Dessert treats implicit declaration of function warnings - as errors resulting in igt failing to build. - - This patch fixes the errors by including missing header files as - required. Mostly this involved including igt.h in the benchmarks. - - Signed-off-by: Derek Morton - Signed-off-by: Daniel Vetter - -commit 983dfe5b68e2e18006cee78811ff387735386fa1 -Author: Ville Syrjälä -Date: Tue Jul 21 14:05:24 2015 +0300 - - tests/pm_rc6_residency: Measure the sleep duration - - The code is confused about the units of CODE_TIME. The comment - says 50 microsseconds, but the actual code makes it 50 - milliseconds. Avoid the whole mess by measuring the sleep - duration ourselves. Since the time measurement is taken around - the whole operation it obviously includes a bit of extra, but - at least it's much less than the fixed 50 ms. - - For instance on one VLV board I now get something like this: - - Residency in rc6 or deeper state: 3002 ms (ratio to expected duration: 0.98) - + Residency in rc6 or deeper state: 3001 ms (sleep duration 3003 ms) (ratio to expected duration: 1.00) - so the reported ratio is now much closer to reality. - - Reviewed-by: Imre Deak - Signed-off-by: Ville Syrjälä - -commit 571942f0c43451b48b0d47d80c70ff2808908317 -Author: Ander Conselvan de Oliveira -Date: Wed May 27 10:33:41 2015 +0300 - - testdisplay: Fix segfault after first modeset fails - - When testing all modes on a connector with a single mode, if the modeset - fails, the code attempts to remove fb_info[-1], because old_fb still has - the inital value of -1. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90625 - Signed-off-by: Ander Conselvan de Oliveira - Signed-off-by: Thomas Wood - -commit 93f1250013c6c2533f840820a62a717aa33dbd88 -Author: Thomas Wood -Date: Fri Sep 25 09:36:34 2015 +0100 - - lib: fix fopen mode in igt_debugfs_search - - Reported-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 6c89204da77a721c9f6c2c77908ca9502a246df8 -Author: Thomas Wood -Date: Wed Sep 23 16:52:24 2015 +0100 - - lib: add igt_debugfs_search - - Add igt_debugfs_search to search each line in a debugfs file for a - specified substring. - - Signed-off-by: Thomas Wood - -commit 1ea96af776a853303240fe6ec414aeed3316c24b -Author: Tvrtko Ursulin -Date: Thu Sep 24 12:05:07 2015 +0100 - - gem_ppgtt: Test VMA leak on context destruction - - Test that VMAs associated with a context are cleaned up when - contexts are destroyed. - - In practice this emulates the leak seen between fbcon and X server. - Every time the X server exits we gain one VMA on the fbcon frame - buffer object as externally visible via for example - /sys/kernel/debug/dri/0/i915_gem_gtt. - - v2: Use igt_debugfs_open, getline and strstr instead of home-brewed - string matching. (Thomas Wood) - - v3: Rebase for drm_open_driver. - - Signed-off-by: Tvrtko Ursulin - Cc: Thomas Wood - Signed-off-by: Thomas Wood - -commit 2442f595d23b919bdc61d117b85a55304d6535a5 -Author: Thomas Wood -Date: Thu Sep 24 11:35:19 2015 +0100 - - lib/tests: explicitly raise SIGSEGV - - Dereferencing a NULL pointer is undefined behaviour and may not always - result in a segmentation fault. Explicitly raise the SIGSEGV signal to - test handling of this signal. - - v2: include signal.h (Derek Morton) - - Signed-off-by: Thomas Wood - -commit 9edf293c4566ffdc0937c800035dd2d215355674 -Author: Thomas Wood -Date: Thu Sep 24 11:04:34 2015 +0100 - - gem_storedw_loop: fix segfault when listing subtests - - Commit fb66cd5 (tests/gem_storedw_loop: Fix use after free for bufmgr) - introduced a segmentation fault when listing subtests because - drm_intel_bufmgr_destroy is called with NULL. Move this and the call to - the close function inside an igt_fixture block to prevent them being - called when listing subtests. - - Cc: Robert Beckett - Cc: Jesse Barnes - Cc: Daniel Vetter - Signed-off-by: Thomas Wood - -commit fb66cd5c346d91407f43879582da80781eed7c97 -Author: Robert Beckett -Date: Tue Sep 22 19:02:39 2015 +0100 - - tests/gem_storedw_loop: Fix use after free for bufmgr - - Move bufmgr destruction to end of tests. This avoids use after free on - successive tests. - - This could be squashed with the following patch to aid bisectability: - - commit 0679702150157706a6def66b893b29c16345f4db - Author: Jesse Barnes - Date: Wed Aug 5 16:06:31 2015 -0700 - - tests/gem_storedw_loop: add new store_dword test to unify per-ring ones v2 - - Signed-off-by: Robert Beckett - Cc: Jesse Barnes - Reviewed-by: Jesse Barnes - Signed-off-by: Daniel Vetter - -commit a16704261fc12259a2e61c00c3cef7be568d71f9 -Author: Daniele Ceraolo Spurio -Date: Wed Sep 9 09:46:56 2015 +0100 - - tests/gem_ctx_param_basic.c: fix non-root-set-no-zeromap subtest - - The test expects an ioctl failure when it tries to set - CONTEXT_PARAM_NO_ZEROMAP from a non-root process. However, there is no - requirement in the kernel for the user to be root to set this parameter, - so the test is failing (it never passed as far as I'm aware of). - Fix the test by making it expect a successful ioctl completion. - - Signed-off-by: Daniele Ceraolo Spurio - Reviewed-by: Jesse Barnes - Signed-off-by: Thomas Wood - -commit ad4f3206dc05dcd1a65c9da08deb2b5d65e7a760 -Author: Thomas Wood -Date: Wed Sep 16 15:21:09 2015 +0100 - - m4: remove unused macros - - The requirement for these macros was removed in commit af97918 (tools: - remove quick_dump). - - Reported-by: Ben Widawsky - Signed-off-by: Thomas Wood - -commit 982934625ac67234c6d85c6cf29a5a487e54d4f0 -Author: Thomas Wood -Date: Wed Sep 16 14:36:24 2015 +0100 - - lib: allow wildcard matching when specifying subtests - - This allows multiple subtests to be specified using standard wildcard - characters when using the --run-subtest command line option. - - Signed-off-by: Thomas Wood - -commit b883b3066848957376d841cb4ffdf2d5646315c8 -Author: Thomas Wood -Date: Tue Sep 15 17:04:11 2015 +0100 - - scripts: add quick-testlist.py - - Add a script to take a piglit results file and create a list of tests - that ran in under 60 seconds. This list can be used by the --test-list - option of piglit. - - v2: exclude incomplete tests - - Signed-off-by: Thomas Wood - -commit 1f9e0550455be4b219954a026407dd23ec21b299 -Author: Thomas Wood -Date: Fri Sep 11 15:15:13 2015 +0100 - - Update version to 1.12 and add the release date - - Signed-off-by: Thomas Wood - -commit c5902bffe3ff4d6c1dc77b97651fc3b3ff04e049 -Author: Thomas Wood -Date: Fri Sep 11 15:13:00 2015 +0100 - - NEWS: Updates - - Signed-off-by: Thomas Wood - -commit 21111730832f8139a215cf8ba66471ef7e992984 -Author: Micah Fedke -Date: Fri Aug 14 14:36:36 2015 +0000 - - tests: update core_getstats to run on any platform - - Signed-off-by: Micah Fedke - Signed-off-by: Thomas Wood - -commit fd282fb9d48c265533af91a291da368ac4c626e9 -Author: Micah Fedke -Date: Fri Aug 14 14:35:46 2015 +0000 - - tests: update core_getclient to run on any platform - - Signed-off-by: Micah Fedke - Signed-off-by: Thomas Wood - -commit 75c9e92efb9522d6f2c455dc35ba169c1d67ad52 -Author: Micah Fedke -Date: Thu Aug 13 14:05:52 2015 +0000 - - tests: update core_getversion to run on any platform - - Signed-off-by: Micah Fedke - Signed-off-by: Thomas Wood - -commit 253544f7a376d02d306a111019ef102a79acc4f3 -Author: Micah Fedke -Date: Thu Aug 13 13:59:23 2015 +0000 - - tests: update core_get_client_auth to run on any platform - - Signed-off-by: Micah Fedke - Signed-off-by: Thomas Wood - -commit f91e93fa40cf76a0d78c4f022ff94e554fd73032 -Author: Micah Fedke -Date: Wed Jul 22 20:32:06 2015 +0000 - - lib: remove support for deprecated drm_open_any*() calls - - Signed-off-by: Micah Fedke - Signed-off-by: Thomas Wood - -commit c81d293aed94fea9c48899187016a1b28f8989d5 -Author: Micah Fedke -Date: Wed Jul 22 21:54:02 2015 +0000 - - convert drm_open_any*() calls to drm_open_driver*(DRIVER_INTEL) calls with cocci - - Apply the new API to all call sites within the test suite using the following - semantic patch: - - // Semantic patch for replacing drm_open_any* with arch-specific drm_open_driver* calls - @@ - identifier i =~ "\bdrm_open_any\b"; - @@ - - i() - + drm_open_driver(DRIVER_INTEL) - - @@ - identifier i =~ "\bdrm_open_any_master\b"; - @@ - - i() - + drm_open_driver_master(DRIVER_INTEL) - - @@ - identifier i =~ "\bdrm_open_any_render\b"; - @@ - - i() - + drm_open_driver_render(DRIVER_INTEL) - - @@ - identifier i =~ "\b__drm_open_any\b"; - @@ - - i() - + __drm_open_driver(DRIVER_INTEL) - - Signed-off-by: Micah Fedke - Signed-off-by: Thomas Wood - -commit e2241805a43e2cbd5287010e90005542845b48cd -Author: Micah Fedke -Date: Wed Jul 22 21:42:51 2015 +0000 - - lib: adding drm_open_driver() interface - - The drm_open_driver*() functions replace the drm_open_any*() functions and - provide the same utility, but in a way that is platform agnostic, not - intel-specific. This opens the path for adopting intel-gpu-tools to non-intel - platforms. - - This commit renames the calls and adds the chipset parameter which can be used - to restrict the opening to a specific hardware family. For example, - drm_open_driver(DRIVER_INTEL) will only return a valid fd if an intel GPU is - found on the system, along with performing intel-specific initialization stuff - like gem_quiescent_gpu(), et al. If OPEN_ANY_GPU is specified, the first - available drm device of any type will be opened. - - Other hardware type flags may be added in the future. - - The drm_open_any*() calls are retained as aliases of - drm_open_driver*(OPEN_ANY_GPU) but will be removed in a subsequent patch. - - Signed-off-by: Micah Fedke - Signed-off-by: Thomas Wood - -commit 2bacd07eb3be30fd30ed4fa4645901683b1c6b09 -Author: Thomas Wood -Date: Thu Sep 10 11:40:43 2015 +0100 - - lib: don't use igt_warn in signal handlers - - igt_wan and other log functions are not async-signal safe, so should not - be used in signal handlers. - - Reported-by: Paulo Zanoni - Signed-off-by: Thomas Wood - -commit bcd3e1f33f136399659c7b1549be3bae467abaf4 -Author: Derek Morton -Date: Wed Sep 9 17:51:35 2015 +0100 - - tools/Android.mk: Fix compile error in intel_reg.c - - The patch "tools: install the register definition files" caused - a build error on android as it added 'PKGDATADIR' which was not - defined in the Android build environment. This patch adds that - define to tools/Android.mk. It also copies the files it points - to so they are actually in the target file system. - - v2: Added local variable for tool path - - Signed-off-by: Derek Morton - Signed-off-by: Thomas Wood - -commit 3546514791e159e94ba3baf73cc2bad65a7a0f20 -Author: Thomas Wood -Date: Tue Sep 8 16:49:24 2015 +0100 - - null_state_gen: add const to intel_batch_state_copy data - - The data is not modified by the function and is often declared const. - - Signed-off-by: Thomas Wood - -commit fdecc1b5afbdcdb20fa98c642cea7fa1dc1a8944 -Author: Thomas Wood -Date: Tue Sep 8 17:13:43 2015 +0100 - - tools/aubdump: remove void pointer arithmetic - - A gcc extension allows void pointer arithmetic by treating the size of - void as 1, but this generates a warning when -Wpointer-arith is used. - - Signed-off-by: Thomas Wood - -commit 2155d1eb546f1b4082374266323cbb709f1e6659 -Author: Ville Syrjälä -Date: Fri Sep 11 15:27:32 2015 +0300 - - tools/intel_bios_reader: Add MIPI device type - - Decode the MIPI [sic] device type. - - Signed-off-by: Ville Syrjälä - -commit d8313c30021f039a5d9d380b28a7d20e0c70f1f8 -Author: Ville Syrjälä -Date: Fri Sep 11 15:01:16 2015 +0300 - - tools/intel_bios_reader: Decode the device type bits - - Each bit in the device type is supposed to mean something. Decode their - meaning. - - Signed-off-by: Ville Syrjälä - -commit a02305260eaba0da622cacc8308adbeffa467db7 -Author: Ville Syrjälä -Date: Fri Sep 11 14:47:59 2015 +0300 - - tools/intel_bios_reader: Print the child dev handle - - Signed-off-by: Ville Syrjälä - -commit b701bb14c6fc82edfb07c2f6087b96e36dd48efe -Author: Ville Syrjälä -Date: Wed Mar 25 20:23:30 2015 +0200 - - intel_bios_reader: Don't explode looking for the devid - - Check that the offset where expect to find the device id is withing the - BIOS image, instead of accessing whatever (if anything) happens to be - there. - - Signed-off-by: Ville Syrjälä - -commit b1e756451c59b342a9d15433379bf543ddedd56b -Author: Ville Syrjälä -Date: Wed Mar 25 13:36:52 2015 +0200 - - intel_bios_reader: Read the child device size from VBT - - New stuff has been added to the end of the child device block at various - times, so using a hardcoded size for the block is a bad idea. - Fortunately the size of the block is listed in the VBT just before the - blocks themselves, so grab it from there. - - Signed-off-by: Ville Syrjälä - -commit c137ac71584467424f8a7bbb40825fa6250093c5 -Author: Ville Syrjälä -Date: Wed Sep 9 17:00:56 2015 +0300 - - tools/intel_display_poller: Align DSPSURF to 128k to appease gen4/vlv/chv - - gen4/vlv/chv require DSPSURF to be 128k aligned. Try to respect that - in order to avoid ugly glitches. - - Signed-off-by: Ville Syrjälä - -commit a8b85ea21b053145527a848b51b57f5c0cfa003e -Author: Ville Syrjälä -Date: Wed Sep 9 16:47:29 2015 +0300 - - tools/intel_display_poller: Make pipe name alphabetic - - Instead of raw numbers the user can now specify the pipe - as 'a',b'... or 'A','B'... - - Signed-off-by: Ville Syrjälä - -commit 01a2a4d85d71b1b7f6f4d5239d207b821ae01b55 -Author: Ville Syrjälä -Date: Wed Aug 19 17:00:09 2015 +0300 - - tools/intel_display_poller: Try to fix pipe<->plane handling on gen2/3 - - Check the pipe assignment for each plane (excluding plane C since the - kernel doesn't use that one) and pick the first one that's assigned to - the target pipe. - - Signed-off-by: Ville Syrjälä - -commit ba139493a6f8e35ba6cecd5058ff93fb12848465 -Author: Ville Syrjälä -Date: Fri Jun 5 17:09:25 2015 +0300 - - tools/intel_display_poller: Add CHV support - - Add CHV support by adding a pipe_offset[] thingy (like we have in the - kernel) to deal with the wonky register offsets. - - Signed-off-by: Ville Syrjälä - -commit 7d2f1d7d9ed44d45b91ebdda9fe25d90cbaa92ab -Author: Ville Syrjälä -Date: Wed Aug 19 17:34:45 2015 +0300 - - tools/intel_reg: Print the potential port names in the help text - - v2: Repaint with Jani's favorite color - - Signed-off-by: Ville Syrjälä - -commit fb8131545f386348403fba32dc22c79b4aa110af -Author: Ville Syrjälä -Date: Wed Aug 19 17:12:14 2015 +0300 - - tools/intel_reg: Set register stride to 1 for VGA registers - - VGA registers are generally 8 bits long, so set the stride to 1 byte. - - Signed-off-by: Ville Syrjälä - -commit 88fed9fbca693834ae2e636adc7941cee57930d7 -Author: Mika Kuoppala -Date: Fri Aug 28 17:51:45 2015 +0300 - - tools/intel_reg: Use pci device from config on write - - Use the pre configured pci device from config also - in write path. - - Cc: Jani Nikula - Signed-off-by: Mika Kuoppala - Reviewed-by: Jani Nikula - Signed-off-by: Thomas Wood - -commit 6eed1b5eb4ba09435c9b4cd63fb302121009c188 -Author: Ander Conselvan de Oliveira -Date: Wed Aug 26 11:29:06 2015 +0300 - - kms_addfb_basic: Require fb modifiers for unused field tests - - The drm core doesn't check unused fields of ADDFB2 for pre-FB_MODIFIERS - userspace, so use igt_require_fb_modifiers(). Also, the size of the - ioctl changed with the addition of the modifiers, so it is necessary to - use the LOCAL_ version of it, otherwise some data may get truncated. - - v2: Improve commit message. (Thomas) - Remove one spurious change to use LOCAL_DRM_IOCTL_ADDFB2. (Thomas) - - Signed-off-by: Ander Conselvan de Oliveira - Signed-off-by: Thomas Wood - -commit 2269997cff0f7700566f80359971a723d0b0212b -Author: Daniele Ceraolo Spurio -Date: Thu Sep 3 17:13:58 2015 +0100 - - tests/gem_bad_reloc: use correct page table size - - 2 subparts of gem_bad_reloc check that the reloc address is below the - global gtt boundary. However, when executing from ppgtt the reloc - address can be greater than that and still be a valid address. - - To be sure that we're using the right upper limit, select it based on - the ppgtt mode. - - Cc: Michel Thierry - Signed-off-by: Daniele Ceraolo Spurio - Reviewed-by: Michel Thierry - Signed-off-by: Thomas Wood - -commit b04691b3e8e62bd105f0f4d8d3b9e7da187f0c90 -Author: Thomas Wood -Date: Tue Sep 8 11:16:46 2015 +0100 - - tests/gem_pwrite_snooped: disable const cast warning - - Disable -Wcast-qual temporarily to allow memchr_inv to return non-const - data (similar to memchr), without causing a compiler warning. - - Cc: Ville Syrjälä - Signed-off-by: Thomas Wood - -commit 84cfa9e4d271dddd4211ed9a3b94549934fa8819 -Author: Thomas Wood -Date: Mon Sep 7 14:59:54 2015 +0100 - - tests: remove gem_storedw_loop_* tests - - These have been replaced by subtests in gem_storedw_loop. - - Signed-off-by: Thomas Wood - Reviewed-by: Daniel Vetter - -commit 1dcace30184c812f1e12ee10cc827accce140cc0 -Author: Thomas Wood -Date: Mon Sep 7 11:32:05 2015 +0100 - - build: fix unused-result warnings - - Signed-off-by: Thomas Wood - -commit f0381d1abebfc5b7e24a835dfe1c2344396c0304 -Author: Thomas Wood -Date: Mon Sep 7 09:26:01 2015 +0100 - - lib: various documentation fixes - - Signed-off-by: Thomas Wood - -commit de2470ea4fb7b7df698e0f7651cb250707709c05 -Author: Thomas Wood -Date: Mon Sep 7 16:05:11 2015 +0100 - - intel_reg: ensure "intel_reg help" always works - - Signed-off-by: Thomas Wood - -commit 9ecb50e5c55c4d287f9f083b41d5e51b6a9d9ad2 -Author: Thomas Wood -Date: Fri Sep 4 14:46:45 2015 +0100 - - tools: install the register definition files - - Install the register definition files and use them by default in - intel_reg. - - v2: remove redundant path check - - Suggested-by: Jani Nikula - Signed-off-by: Thomas Wood - -commit af9791849467a3437e0920c8f08c5a646302da7d -Author: Thomas Wood -Date: Tue Aug 25 11:30:11 2015 +0100 - - tools: remove quick_dump - - Remove quick_dump as it has been replaced by the intel_reg tool and move - the register definition files to tools/registers. - - Signed-off-by: Thomas Wood - Acked-by: Jani Nikula - -commit 2142a15d49f85175677ff360833869afe9c79b58 -Author: Thomas Wood -Date: Thu Sep 3 09:56:18 2015 +0100 - - tests/gem_storedw_loop: remove redundant ppgtt check - - All tests require ppgtt, so checking for it later on has no effect. - - Signed-off-by: Thomas Wood - -commit 673aab8a0afd538463fa96da263e56537f413dfd -Author: Thomas Wood -Date: Tue Aug 25 16:23:28 2015 +0100 - - tests/gem_storedw_loop: skip on gen6 bsd - - MI_STORE_DATA is broken on gen6 bsd. - - Signed-off-by: Thomas Wood - -commit b9d27f03c7cdfdb66734b5164916a501dd787036 -Author: Thomas Wood -Date: Wed Aug 26 12:05:13 2015 +0100 - - tools/null_state_gen: fix various compiler warnings - - Add the debug and warning flags to cflags and fix the resulting issues. - - Signed-off-by: Thomas Wood - -commit 4ee6709e3bd98eb52f4c4c22f58fecf9750f26eb -Author: Thomas Wood -Date: Thu Aug 27 14:34:08 2015 +0100 - - tests/tools: add --as-needed to linker flags - - Add --as-needed to the linker flags to reduce the number of shared - library dependencies, since not all the tests and tools use all the - libraries required by the helper library (for example, many tests do not - use cairo). This helps portability of the binaries and also makes a - very small improvement to the execution speed and memory consumption. - - Signed-off-by: Thomas Wood - -commit 88cbb41ade5a66f96b7cd3844ce86f43d192afa0 -Author: Thomas Wood -Date: Tue Aug 25 10:34:46 2015 +0100 - - lib/gpgpu_fill.c: fix file permissions - - Signed-off-by: Thomas Wood - -commit 4c63f54de9b7f0a6d49807c15c63e952ac4afdf8 -Author: Ander Conselvan de Oliveira -Date: Fri Aug 21 16:49:33 2015 +0300 - - gem_storedw_loop: Skip test if device doesn't have requested ring - - The VEBOX ring is not available in generations before Haswell, so make - tests that use it skip instead of fail in previous gens. - - Signed-off-by: Ander Conselvan de Oliveira - Signed-off-by: Thomas Wood - -commit d3d56bf2afb45fb8a5f5dabbf41ced53d21252f3 -Author: Tim Gore -Date: Wed Aug 19 12:10:16 2015 +0100 - - tests/gem_ctx_exec.c: only hang the ring we are testing - - In the reset-pin-leak test we were calling - igt_set_stop_rings(STOP_RING_DEFAULTS) which sets the - stop_rings bits for all gpu engines. But we only submit - work to the render engine. When TDR is enabled (as it is - in Android currently) only the render engine gets reset, - which clears the stop_rings bit for the render engine but - not for the other engines. This causes the test to fail on - the second iteration because stop_rings is not clear. - - So just set the stop_rings bit for the engine we are going - to hang, namely the render engine. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 71b85f9713cd48d589f607afc81d090b2afc2ed4 -Author: Paulo Zanoni -Date: Mon Aug 24 18:22:04 2015 -0300 - - kms_frontbuffer_tracking: print the status when it's not what we expect - - Printing the status on an unexpected failure is always the first thing - I do. So do this always. - - Signed-off-by: Paulo Zanoni - -commit a07d0a47be984ccb93c6bd968905bd13b7a3cfd9 -Author: Paulo Zanoni -Date: Mon Aug 24 18:01:47 2015 -0300 - - kms_frontbuffer_tracking: add slow_draw() subtest - - It fails on my SKL machine. - - Signed-off-by: Paulo Zanoni - -commit 229110442a4814b87859e2833688feb2881a2274 -Author: Paulo Zanoni -Date: Mon Aug 24 17:04:25 2015 -0300 - - kms_frontbuffer_tracking: wait for PSR to be HW Enabled & Active - - Make sure PSR is fully there. - - Signed-off-by: Paulo Zanoni - -commit c1fe951b8a08a4a42ede295cfa478cca8e230c22 -Author: Paulo Zanoni -Date: Mon Aug 24 17:02:12 2015 -0300 - - kms_frontbuffer_tracking: add options for setting the shared fb X/Y - - I'm using this to debug some aspects of the GTT tracking. - - While at it, do a small rename and fix the ASCII art. - - Signed-off-by: Paulo Zanoni - -commit 5e68ad9f8223f721c03f9915ac909ccab8a1433a -Author: Chris Wilson -Date: Fri Aug 21 22:26:42 2015 +0100 - - benchmarks/gem_exec_reloc: Allow profiling 0 relocs - - Signed-off-by: Chris Wilson - -commit 05f5e16eafb400669524265d1a506c0e6ae18c53 -Author: Thomas Wood -Date: Fri Aug 21 14:13:16 2015 +0100 - - lib: fix distcheck issues - - Signed-off-by: Thomas Wood - -commit 804e11f40defc1c53722914a449c6b2dcdbbf9a2 -Author: Thomas Wood -Date: Mon Aug 17 17:57:43 2015 +0100 - - lib: add a single include header - - Add a header that includes all the headers for the library. This allows - reorganisation of the library without affecting programs using it and - also simplifies the headers that need to be included to use the library. - - Signed-off-by: Thomas Wood - -commit a11879a4ab8840dae96867445ac27d100fc798d9 -Author: Thomas Wood -Date: Mon Aug 17 15:27:18 2015 +0100 - - assembler: remove built sources with make clean - - Built sources are generated by "make all", so should be removed by "make - clean". This also ensures "distcleancheck" passes. - - Signed-off-by: Thomas Wood - -commit c37b2352020accd261e28d71ad71e96d62d6ddb5 -Author: Mika Kuoppala -Date: Tue Aug 18 17:44:38 2015 +0300 - - tests/drv_hangman: Adjust to 64bit bb offsets - - commit e1f123257a1f7d3af36a31a0fb2d4c6f40039fed - Author: Michel Thierry - Date: Wed Jul 29 17:23:56 2015 +0100 - - drm/i915: Expand error state's address width to 64b - - changed the batch buffer address to be 64b. Fix the parsing - of gtt offset accordingly. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91638 - Cc: Akash Goel - Cc: Michel Thierry - Reviewed-by: Michel Thierry - Signed-off-by: Mika Kuoppala - -commit 0e25e5d92dd4303deb46f0a70dd097676e2842a8 -Author: Jani Nikula -Date: Thu Jun 18 15:17:47 2015 +0300 - - igt: remove deprecated reg access tools in favor of intel_reg - - intel_iosf_sb_read, intel_iosf_sb_write, intel_reg_dumper, - intel_reg_read, intel_reg_snapshot, intel_reg_write, intel_vga_read, and - intel_vga_write have been deprecated in favor of intel_reg. Remove the - deprecated tools. intel_reg does everything they do, and more. - - Signed-off-by: Jani Nikula - -commit 9b73ce43fecc71533603849f35dd3bd1233a0eea -Author: Chris Wilson -Date: Sun Aug 16 12:12:53 2015 +0100 - - overlay: Fix min frequency detection on BYT/BSW - - Signed-off-by: Chris Wilson - -commit 64590c7b768dc8d8dd962f812d5ff5a39e7e8b54 -Author: Paulo Zanoni -Date: Fri Aug 14 16:08:07 2015 -0300 - - kms_frontbuffer_tracking: reduce the FBC wait timeout to 2s - - Just like we did for PSR, let's do it for FBC. FBC gets reenabled in - just 50ms, so the 5000ms timeout is huge. On the other hand, we only - pay the 5000ms timeout full price 9 times when running - kms_frontbuffer_tracking --fbc-only, so this change shouldn't save too - much time. - - Signed-off-by: Paulo Zanoni - -commit f4db3b18841263f8f617a9f7f0aaf14fab7196d1 -Author: Paulo Zanoni -Date: Fri Aug 14 15:56:34 2015 -0300 - - kms_frontbuffer_tracking: reduce the PSR wait timeout to 2s - - PSR only takes up to 100ms to be enabled, but we were using 5000ms - timeouts. The problem with PSR is that the MMAP_GTT tests have to - assert that PSR is disabled and stays disabled during the whole - timeout, so that 5s cost is a little to high when we consider that we - do the full 5s wait 74 times when running kms_frontbuffer_tracking - --psr-only. - - By reducing to 2s we still make sure we're safe, since we're waiting - 20x the time PSR needs to get reenabled, and we reduce the runtime of - running kms_frontbuffer_tracking --psr-only from 14m10s to 10m29s. - - Signed-off-by: Paulo Zanoni - -commit 77b8af218cd2648f4d3ff671126c9d2500cade6e -Author: Chris Wilson -Date: Fri Aug 14 20:35:18 2015 +0100 - - benchmark/gem_exec_trace: Inline everything - - Avoid the globals and make the dispatch one huge function and hope GCC - works some magic. - - Signed-off-by: Chris Wilson - -commit a64e6c39b13c2a59d807cab9d4faefd4aaa49d0c -Author: Chris Wilson -Date: Fri Aug 14 20:31:48 2015 +0100 - - benchmark/gem_exec_tracer: Tweak to handle SNA - - SNA starts by feeding in deliberately bad ioctls in order to detect the - kernel interface versions. A quick solution is to always feed it to the - ioctl and only record the trace if it is valid. - - Signed-off-by: Chris Wilson - -commit 78120d8158555fd393eb73e7dc992388b6d03f05 -Author: Paulo Zanoni -Date: Wed Aug 12 15:42:15 2015 -0300 - - kms_frontbuffer_tracking: add subtests for rgb565 and rgb101010 - - Make sure valid formats work properly and invalid formats keep the - features disabled. - - Signed-off-by: Paulo Zanoni - -commit c3fb972ee9616d62f16d311fffdcb06c44ec46ec -Author: Paulo Zanoni -Date: Fri Aug 14 14:48:38 2015 -0300 - - kms_frontbuffer_tracking: fix psr-farfromfence assertions - - We're using GTT draws and they disable PSR. This test is mostly for - FBC anyway. - - Signed-off-by: Paulo Zanoni - -commit d675cf3ed7c7099fe8fa42e3f27d8fc200852275 -Author: Paulo Zanoni -Date: Fri Aug 14 14:09:08 2015 -0300 - - kms_frontbuffer_tracking: split prepare_subtest() in two functions - - And remove duplicated code by calling prepare_subtest_data() on - rte_subtest(). - - Signed-off-by: Paulo Zanoni - -commit 6de5b0611245c4949b5655890b47905eea71c34a -Author: Paulo Zanoni -Date: Fri Aug 14 10:43:21 2015 -0300 - - kms_frontbuffer_tracking: remove duplicated pairs on multidraw - - If we already tested the combination of m1+m2, don't test m2+m1 later: - the drawing pattern used already has 4 squares, so we're already - testing the "m2 followed by m1" case. - - This should reduce the test time from about 60s to about 30s. - - Signed-off-by: Paulo Zanoni - -commit a2904ead7487c6eba5d3ea8b93d7a9f45e883355 -Author: Paulo Zanoni -Date: Tue Jul 21 11:02:26 2015 -0300 - - kms_frontbuffer_tracking: SKIP if not enough stolen is available - - This is not an FBC bug. - - Signed-off-by: Paulo Zanoni - -commit f62a683acd1b8eb7626b9b1251e4c4e860f8c2f7 -Author: Paulo Zanoni -Date: Wed Aug 12 16:22:57 2015 -0300 - - kms_frontbuffer_tracking: use all drawing methods on multidraw_subtest - - Instead of having a single pair of methods per subtest. Having this in - pairs is not very useful since we end doing all the drawing methods - per subtest anyway. - - This saves a few modesets, which makes eDP slightly faster - about 22s - on my local machine. - - Signed-off-by: Paulo Zanoni - -commit b53bcf789b2619d786b25effcc83a461aaf0610b -Author: Paulo Zanoni -Date: Wed Aug 12 11:50:58 2015 -0300 - - kms_frontbuffer_tracking: improve support for multiple pixel formats - - We now have per-pixel-format FBs and CRC values. Also t->format to - indicate the format we're using on the subtest. We still only use the - default RGB888 format (AKA FORMAT_DEFAULT) for all tests since - multiplying the current number of tests by the number of new pixel - formats doesn't sound like a great idea. - - With this, it should be really easy to add new tests that use - different pixel formats. - - Also, if you want a full IGT run on a specific pixel format, all you - need to do is to change FORMAT_DEFAULT. - - Signed-off-by: Paulo Zanoni - -commit 3b176007899e81aa6254131d09a9693b13bdbcd6 -Author: Paulo Zanoni -Date: Tue Aug 11 15:40:35 2015 -0300 - - kms_frontbuffer_tracking: add information about more formats - - We're not using those formats yet, but a simple change to create_fb() - allows us to use these formats without problems now. - - Signed-off-by: Paulo Zanoni - -commit 606f039decec8623250979beb6f141ce4fa2f13c -Author: Paulo Zanoni -Date: Tue Aug 11 11:50:12 2015 -0300 - - kms_frontbuffer_tracking: introduce enum color - - We want to add support for different pixel formats and the current - hardcoded pixel values won't work with that. So add enum color and - its auxiliary functions so we can decide the pixel values based on the - chosen color enum. - - Signed-off-by: Paulo Zanoni - -commit 7009b10c429c33ea7258997901ee8ec1c67f75c7 -Author: Paulo Zanoni -Date: Tue Aug 11 10:36:46 2015 -0300 - - kms_frontbuffer_tracking: don't pass the format to create_fb() - - It is create_fb() who is going to decide the buffer format based on - the arguments provided by the caller. This is another step for the - non-XRGB8888 support. - - Signed-off-by: Paulo Zanoni - -commit e4b94900b560e38b8a8e1ff672a53621688f5987 -Author: Paulo Zanoni -Date: Tue Aug 11 10:26:46 2015 -0300 - - kms_frontbuffer_tracking: add a wrapper for igt_create_fb() - - The wrapper will do a few additional things when we add support for - formats different than XRGB8888. - - Signed-off-by: Paulo Zanoni - -commit 445182f26bd48bfefdec7064a7f4afafc8f52a1e -Author: Paulo Zanoni -Date: Thu Aug 13 19:02:34 2015 -0300 - - kms_frontbuffer_tracking: fix MMAP_WC assertions on PSR - - Now that the MMAP_WC operations call the dirty ioctl, PSR gets - reenabled after some time. So we have to adjust op_disables_psr() to - take that into account. - - Signed-off-by: Paulo Zanoni - -commit 9113c9aa9be5626d4d12a794c70860097ae59c1f -Author: Paulo Zanoni -Date: Thu Aug 13 17:37:06 2015 -0300 - - lib/igt_draw: break if we already wrote every pixel - - Due to the nature of accessing a tiled buffer in an untiled way, we - used to loop through the whole buffer all the time. Add a small - mechanism to just break in case we know we already wrote every pixel - we should have written. - - On kms_frontbuffer_tracknig/fbc-2p-primscrn-pri-shrfb-draw-pwrite - (with a 3200x1800 primary screen and a 1920x1080 secondary screen), I - could reduce the runtime from ~7.53s to ~6.01s. - - Signed-off-by: Paulo Zanoni - -commit 9194f4efdf89d9c2e9ab79a232e642b8664fa54f -Author: Paulo Zanoni -Date: Thu Aug 13 17:25:31 2015 -0300 - - lib/igt_draw: fix pwrite_tiled() - - Don't forget to flush in case we're in the last iteration of the loop. - This fixes failures of kms_frontbuffer_tracking when used with - --use-small-modes on eDP monitors. - - Signed-off-by: Paulo Zanoni - -commit caaf3b869f2be2758ba836244f07ad25c35ec7d5 -Author: Paulo Zanoni -Date: Mon Aug 3 14:41:35 2015 -0300 - - lib/igt_draw: add support for RGB565 and XRGB2101010 - - We need to test those pixel formats on the FBC code, so let's make - sure the drawing library works on them first. - - v2: Update the gtkdoc (Daniel). - - Signed-off-by: Paulo Zanoni - -commit a1fce7490c72c45c79cff89a39dee0b59a8f4c71 -Author: Paulo Zanoni -Date: Thu Aug 13 13:49:42 2015 -0300 - - lib/igt_core: use print("%s", #expr) instead of print(#expr) - - If I have a program with the following: - - igt_skip_on(i % 2 == 0); - igt_skip_on_f(i % 2 == 0, "i:%d\n", i); - igt_require(i % 2 == 0); - igt_require_f(i % 2 == 0, "i:%d\n", i); - - then I'll get compiler error messages complaining about format - conversions related to the '%' character used in the mod operation. So - put the whole string as a %s argument to avoid interpreting '%' and - any other possible chars. - - Signed-off-by: Paulo Zanoni - -commit 87a5f2d7762b5b8398c5f5899d796bb78dc827b7 -Author: Jesse Barnes -Date: Thu Aug 13 13:28:38 2015 -0700 - - tests/kms_setmode: mark simple clone test as basic - - Should cover simple, single CRTC mode sets. - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit e5839d240aa7adf759b39043f7d16f53e30a8da7 -Author: Jesse Barnes -Date: Thu Aug 13 13:26:30 2015 -0700 - - tests/kms_flip: add basic tests for flip, flip vs dpms, and flip modeset v2 - - Simple variants that don't do multiple output or interruptible testing. - - v2: add vblank variant, remove duplication (Daniel) - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 5134f2c96d53db6ac37a4d0311eb9808ae20a80e -Author: Jesse Barnes -Date: Thu Aug 13 13:14:12 2015 -0700 - - tests/pm_rpm: mark RTE and D3 tests as basic - - These always need to pass for basic PM functionality. - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 68d1b532fae03768012d0c16a2c0dd03eea64fcb -Author: Jesse Barnes -Date: Thu Aug 13 13:13:23 2015 -0700 - - tests/pm_backlight: mark simple test as basic - - We should be able to adjust the backlight and observe changes in sysfs. - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit ec4b76872d232faa7846e7c201e7fcfc98c682a9 -Author: Jesse Barnes -Date: Thu Aug 13 13:12:06 2015 -0700 - - tests/kms_addfb: mark simple fb creation tests as basic v2 - - We should always be able to create simple and tiled objects. - - v2: make the whole test basic (Daniel) - add to .gitignore - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 503420944d7359ea280f6445186bedcdfaceb698 -Author: Jesse Barnes -Date: Fri Aug 14 08:45:08 2015 -0700 - - tests/gem_tiled_pread: mark normal tests as basic v2 - - These simple tests should always pass. - - v2: drop pwrite variant as it's more of a stress test (Daniel) - add to .gitignore - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 5001640718d29daa8619647eff45f9e3e74fd151 -Author: Jesse Barnes -Date: Thu Aug 13 13:08:52 2015 -0700 - - tests/gem_pread/pwrite: mark normal tests as basic - - These should always pass. - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit c51c1ed7761082b99f2f39efcf43ee8e4df2c6ae -Author: Jesse Barnes -Date: Thu Aug 13 13:07:34 2015 -0700 - - tests/gem_mmap_gtt: mark basic access and copy tests as basic v2 - - These ones should always pass and are fairly quick. - - v2: add more tests (Daniel) - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 90c47b294741089a25480e1ef73ec4d0cc5d666c -Author: Jesse Barnes -Date: Thu Aug 13 13:05:34 2015 -0700 - - tests/gem_mmap: mark basic object creation tests as basic - - We should be able to create small and moderate sized objects quickly and - without errors. - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit b0d8d73d8b7e5befd613e49610cb22287a8a60f2 -Author: Jesse Barnes -Date: Thu Aug 13 12:58:25 2015 -0700 - - tests/drv_getparams: mark EU and subslice fetch as basic v2 - - Fundamental and simple functionality. - - v2: make whole test basic (Daniel) - add to .gitignore - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit e920d719b20f3b79e2c70dc59ae3f9858b65a639 -Author: Jesse Barnes -Date: Thu Aug 13 12:57:22 2015 -0700 - - tests/gem_flink, prime_self_import: mark flink and prime tests as basic v2 - - They're testing basic functionality and don't involve stress or race - induction. - - v2: use gem_flink and prime_self_import tests instead (Daniel) - add to .gitignore - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit dc9505a405cd6232f4dd6e7d7243a3df497b2f32 -Author: Jesse Barnes -Date: Wed Aug 5 16:09:35 2015 -0700 - - tests/drv_module_reload_basic: use linear_blits after module_reload for sanity check - - Reduces runtime a lot... - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 4409c8328442790317fb08503b646611dc807ced -Author: Jesse Barnes -Date: Wed Aug 5 16:09:17 2015 -0700 - - tests/drv_module_reload: rename drv_module_reload to include in BATs - - Absolutely-acked-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 0679702150157706a6def66b893b29c16345f4db -Author: Jesse Barnes -Date: Wed Aug 5 16:06:31 2015 -0700 - - tests/gem_storedw_loop: add new store_dword test to unify per-ring ones v2 - - There was a lot of duplication going on... Mark as basic while we're at - it as these should never fail. - - v2: add to .gitignore - - Reviewed-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit d568f69d5da9e4cc7bb7f1c405b3b8a17ac77fe3 -Author: Chris Wilson -Date: Fri Aug 14 13:40:01 2015 +0100 - - igt/gem_mmap: Add one more extra large bo - - Daniel complained that all the tests in gem_mmap.c were too quick. This - one aims to rectify that by double checking that if we mmap a buffer - larger enough to force swapping, everything still works. - - Also fix the test to exercise the different object sizes! - - Signed-off-by: Chris Wilson - -commit 8af62be2ada2d4a2c618a48548f4248ef397582f -Author: Chris Wilson -Date: Fri Aug 14 14:04:54 2015 +0100 - - lib: Allow caller to use uint64_t sizes with intel_require_memory() - - Allow the caller to ask how many extra large objects can be created and - still fit into memory. - - Signed-off-by: Chris Wilson - -commit 5c07135b7bd23ce0beae67cfd8a71ac63f543859 -Author: Mika Kuoppala -Date: Thu Aug 13 15:51:16 2015 +0300 - - tools/null_state/gen9: Send all components in VF state - - Fix - - commit 59cdc16b1a6f069f944ff17851a59edf8f72d45d - Author: Arun Siluvery - Date: Fri Jul 31 16:27:07 2015 +0100 - - tools/null_state/gen9: Send atleast one valid component in VF state - - to honor the Reviewed-by, send all four components as noted by - Ben in his review. - - Cc: Ben Widawsky - Cc: Arun Siluvery - Signed-off-by: Mika Kuoppala - -commit c049096eb627661182f76bc5d99b8c17c1e8b3d3 -Author: Paulo Zanoni -Date: Wed Aug 12 19:31:52 2015 -0300 - - kms_frontbuffer_tracking: don't test SPR or CUR on multidraw - - The goal of the multidraw subtest is to check if alternating drawing - methods can somehow break the feature. The plane we're drawing to - really shouldn't matter here - we have other tests to make sure - drawing on the different planes works correctly. So after this patch - we'll only run the multidraw subtest for the primary plane, not for - sprite and cursors anymore. - - This makes "--no-edp --fbc-only --1p-only" go from 2m29s to 1m40s on - my machine. - - Of course, we can still run these tests with the --show-hidden flag. - - Signed-off-by: Paulo Zanoni - -commit 78d076268cfb0319f9f44678905ac1a9ac989951 -Author: Paulo Zanoni -Date: Wed Aug 12 16:49:11 2015 -0300 - - kms_frontbuffer_tracking: don't test CUR or SPR planes on FBS_SHARED - - We already tested these planes for FBS_INDIVIDUAL, and there are no - reasons to believe those planes will behave differently under - FBS_SHARED, so save some time avoiding potentially useless tests. - - This makes "--no-edp --fbc-only --1p-only" go from 2m49s to 2m29s on - my machine. - - Signed-off-by: Paulo Zanoni - -commit 59cdc16b1a6f069f944ff17851a59edf8f72d45d -Author: Arun Siluvery -Date: Fri Jul 31 16:27:07 2015 +0100 - - tools/null_state/gen9: Send atleast one valid component in VF state - - A programming restriction exists for this instruction, atleast one component - of one valid vertex element must be enabled. - - Cc: Ben Widawsky - Cc: Chris Wilson - Signed-off-by: Arun Siluvery - Reviewed-by: Ben Widawsky - Signed-off-by: Mika Kuoppala - -commit dd82494724c1c11ceeeaac66a2ed0113ec13f8e4 -Author: Arun Siluvery -Date: Wed Aug 12 12:26:01 2015 +0100 - - lib/rendercopy_gen9: Setup Push constant pointer before sending BTP commands - - From Gen9, by default push constant command is not committed to the shader unit - untill the corresponding shader's BTP_* command is parsed. This is the - behaviour when set shader is enabled. This patch updates the batch to follow - this requirement otherwise it results in gpu hang. - - Set shader need to be disabled if legacy behaviour is required. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89959 - Cc: Ben Widawsky - Cc: Joonas Lahtinen - Cc: Mika Kuoppala - Signed-off-by: Arun Siluvery - Tested-by: Mika Kuoppala - Reviewed-by: Joonas Lahtinen - Signed-off-by: Mika Kuoppala - -commit 8a68ec14536c802b2d869f2356d978346bf234f4 -Author: Mika Kuoppala -Date: Tue Aug 11 15:25:37 2015 +0300 - - lib/rendercopy_gen9: WaBindlessSurfaceStateModifyEnable - - Don't set the size of bindless surface state on rendercopy. - And as of doing so, take into account the workaround for setting - the command size. - - This was tried during hunting for - https://bugs.freedesktop.org/show_bug.cgi?id=89959. But no - impact was found. - - Cc: Arun Siluvery - Reviewed-by: Arun Siluvery - Signed-off-by: Mika Kuoppala - -commit d524a964fc88ec52002609d15cb8ccfc50cbc18a -Author: Derek Morton -Date: Thu Aug 13 11:27:35 2015 +0100 - - benckmarks/Android.mk: Fix building benchmarks for Android - - The commit "benchmarks: Do not install to system-wide bin/" changed - the benchmark file list from bin_PROGRAMS to benchmarks_PROGRAMS. - However Android.mk was not updated, resulting in IGT failing to - build for Android. - This commit adds that change. It also adds LOCAL_MODULE_PATH to - specify where the built benchmarks should be put. - - v2: I discovered that the existing definitions of LOCAL_MODULE_PATH - were creating what should have been an invalid path. Not sure how it - was ever working previously, but fixed now. - - Signed-off-by: Derek Morton - Signed-off-by: Thomas Wood - -commit 33bc41aa4108a0177372004d0b8f689e22bbd5ff -Author: Kristian Høgsberg Kristensen -Date: Mon Aug 10 15:40:04 2015 -0700 - - aubdump: Write header after figuring out the gen - - We have to defer figuring out the gen until we have a PCI ID, which we - don't have for sure until the first execbuffer2 ioctl. We can't write - the file header until we have the gen since we need to know the size of - offsets in the file format. Move the call to write_header() into the - dump_execbuffer2() where we have the gen. - - Signed-off-by: Kristian Høgsberg Kristensen - -commit 3156305aceb790d410580ea44f145119359292e6 -Author: Kristian Høgsberg Kristensen -Date: Mon Aug 10 15:37:47 2015 -0700 - - aubdump: Handle 48 bit ppgtt dumping - - Put 48 bit block offsets in the AUB file and track the bo offsets with - uint64_t. - - Signed-off-by: Kristian Høgsberg Kristensen - -commit 8a7c386f0a302be1c099804ab67f32c6965d3c7d -Author: Thomas Wood -Date: Wed Aug 12 16:33:09 2015 +0100 - - tests: update .gitignore - - Add missing entry to .gitignore and sort alphabetically. - - Signed-off-by: Thomas Wood - -commit a149fb238a38bd663171a19c8b3a536fbae158db -Author: Ville Syrjälä -Date: Tue Aug 11 19:11:12 2015 +0300 - - tests/gem_pwrite_snooped: Verify set_caching vs. pwrite clflush behaviour - - The test does the following - 1. set_domain src GTT - 2. set_caching src NONE - 3. pwrite src - 4. set_caching src CACHED - 5. blt src->dst - 6. pread dst - 7. verify data matches - - Signed-off-by: Ville Syrjälä - -commit 62426feec5343603ee67dd296674edda1871a7fb -Author: Ville Syrjälä -Date: Tue Jul 21 13:56:20 2015 +0300 - - tests/kms_pwrite_crc: Use drmModeSetPlane() instead of igt_plane_set_fb() - - igt_plane_set_fb()+igt_display_commit() have too much overhead, and that - causes the cache to get flushed before we flip, making the test - useless, at least on machines with small LLC. Switch to - drmModeSetPlane() to reduce the chance that the cache gets flushed - before we grab the crc. - - Still nowhere near 100% reliable on my IVB laptop with 3 MiB LLC, - but at least it can now hit the problem occasioanally. My desktop - IVB with 8 MiB LLC seems to hit it rather reliably. - - Signed-off-by: Ville Syrjälä - -commit adfc294384d2ee20d085e98f249fe73d1f4c4055 -Author: Daniel Vetter -Date: Fri Aug 7 19:27:30 2015 +0200 - - tests: Document ABI extension catchers - - Our invalid-flags/params testcases are meant to catch abi extensions - by just testing for the next available flag/param. Unfortunately we - need that since without those we forgot to write testcases for these - new flags way too often :( - - But it's not entirely clear why this is, so document this trick with - comments. - - Also gem_wait wasn't this paranoid, so change the testcase to be so. - - Signed-off-by: Daniel Vetter - -commit 5b0a8433fd0ff35062f0b1d3f50f5e04e76b576b -Author: Daniel Vetter -Date: Fri Aug 7 19:12:07 2015 +0200 - - lib/core: Add igt_reset_timeout - - Convenience wrapper suggested by Chris for igt_set_timeout(0, NULL). - - v2: While at it add an empty line in kms_flip to make - set/reset_timeout a visual block. - - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 370c9897230b4d4973d0a2ab641901081108d97b -Author: Daniel Vetter -Date: Fri Aug 7 19:01:23 2015 +0200 - - lib/core: Add optional reason for timeout failure - - "Timed out" isn't a terribly informative message, allow users to set - something more informative. Inspired by a request from Jesse. - - Cc: Jesse Barnes - Reviewed-by: Jesse Barnes - Signed-off-by: Daniel Vetter - -commit 24617ef82a4c58766675b3f1e4c194ca37fe9744 -Author: David Weinehall -Date: Fri Aug 7 15:53:57 2015 +0300 - - tests/gem_ctx_param_basic: support NO_ZEROMAP - - Signed-off-by: David Weinehall - Signed-off-by: Daniel Vetter - -commit 38b3bd6b7c09cdd8041e6b775933f69e0141efd3 -Author: Chris Wilson -Date: Tue Aug 11 12:57:38 2015 +0100 - - benchmarks: Add a microbenchmark for relocation overhead - - Allow specification of the many different busyness modes and relocation - interfaces, along with the number of buffers to use and relocations. - - Signed-off-by: Chris Wilson - -commit 98bcc18572f914b27cda07fc1ceae5b48a74fe51 -Author: Chris Wilson -Date: Mon Aug 10 18:51:03 2015 +0100 - - benchmarks/gem_exec_trace: Unmap each trace after replay - - Just on the off chance someone is replaying a bunch of traces, remember - to cleanup up. - - Signed-off-by: Chris Wilson - -commit b483e68173465408649e11122ee78060af9394f7 -Author: Chris Wilson -Date: Mon Aug 10 18:45:00 2015 +0100 - - benchmarks/gem_exec_trace: Mark the mmap as sequentially read - - Use madvise(MADV_SEQUENTIAL) to let the kernel optimise for our - straightforward sequential read pattern. - - Signed-off-by: Chris Wilson - -commit 3911621d0d23aced7feb1569b39f7fb52b309681 -Author: Chris Wilson -Date: Mon Aug 10 18:17:47 2015 +0100 - - benchmarks: Rename the gem_exec_trace tracer module - - Now that we actually install the benchmarks into a sane location, - slightly abuse it to put the tracer for gem_exec_trace alongside. - - Signed-off-by: Chris Wilson - -commit d9462e61f9b43828d6132679485a92108b60b2c8 -Author: Chris Wilson -Date: Mon Aug 10 16:08:31 2015 +0100 - - benchmarks/gem_exec_trace: Clear all new bo handles - - When reallocing the bo array, remember to set the new entries to 0. - - Signed-off-by: Chris Wilson - -commit 4c74a683c10ddfb2232cdb93f03c03295dde1201 -Author: Chris Wilson -Date: Fri Jul 24 14:13:49 2015 +0100 - - benchmarks: Do not install to system-wide bin/ - - These benchmarks are first-and-foremost development tools, not aimed at - general users. As such they should not be installed into the system-wide - bin/ directory, but installed into libexec/. - - v2: Now actually install beneath ${libexec} - - Signed-off-by: Chris Wilson - -commit 0393e7288ba3a640fcc9f0d8b15d7dee231a039c -Author: Chris Wilson -Date: Sun Aug 9 17:39:41 2015 +0100 - - benchmarks: Record and replay calls to EXECBUFFER2 - - This slightly idealises the behaviour of clients with the aim of - measuring the kernel overhead of different workloads. This test focuses - on the cost of relocating batchbuffers. - - A trace file is generated with an LD_PRELOAD intercept around - execbuffer, which we can then replay at our leisure. The replay replaces - the real buffers with a set of empty ones so the only thing that the - kernel has to do is parse the relocations. but without a real workload - we lose the impact of having to rewrite active buffers. - - Signed-off-by: Chris Wilson - -commit 74a806808618dad614d7ffb61d4562915695bbf8 -Author: Chris Wilson -Date: Sat Aug 8 21:31:08 2015 +0100 - - overlay: Handle execlists not setting the rings as active - - Signed-off-by: Chris Wilson - -commit 06aed34d384fc348c4bb52f302bbcf2c6c68bb3c -Author: Chris Wilson -Date: Sat Aug 8 20:54:49 2015 +0100 - - overlay: Add Broadwell+ ids from kernel i915_pciids.h - -commit 9c15167c611bbac1e702eb064044ec687bfa3703 -Author: Kristian Høgsberg -Date: Fri Aug 7 14:57:19 2015 -0700 - - tools/aubdump: Get PCI ID from getparam ioctl when we can - - Instead of doing an extra getparam ioctl to discover the PCI ID, we - can snoop it when the application queries it. - - Signed-off-by: Kristian Høgsberg - -commit 5f4fad31829b1c6dfcddb633d65e9e7066818cff -Author: Kristian Høgsberg -Date: Fri Aug 7 14:51:27 2015 -0700 - - tools/aubdump: Don't rely on open for discovering the drm fd - - DRI3 passes the drm fd over X protocol and as such we can't rely on - hooking open to discover the drm fd. Instead we look for drm ioctl - codes in the ioctl wrapper. If we don't have a drm fd and see - something that looks like a drm ioctl, we stat the fd to see if it's a - drm fd. If it is, we save it for later so we don't have to do an - extra stat on every ioctl. We can then drop the open wrapper, but we - keep the close wrapper so we can invalidate our cached drm_fd if it's - closed. - - Signed-off-by: Kristian Høgsberg - -commit db0f28aee8b7f95a10139993096d60ba2a89c6a5 -Author: Jesse Barnes -Date: Thu Aug 6 14:35:34 2015 -0700 - - Revert "tests/gem_ctx_param_basic: fix invalid params" - - This reverts commit 0b45b0746f45deea11670a8b2c949776bbbef55c. - - We want to check against our local copy of the params so we can at least - potentially catch new flag additions. - - Requested-by: Daniel Vetter - Signed-off-by: Jesse Barnes - -commit 0b45b0746f45deea11670a8b2c949776bbbef55c -Author: Jesse Barnes -Date: Thu Aug 6 13:12:46 2015 -0700 - - tests/gem_ctx_param_basic: fix invalid params - - Use -1 as the invalid param since we've added more since this test was - created, causing expected EINVAL failures to return an unexpected error - code. - - Signed-off-by: Jesse Barnes - -commit 1ae1d290bf0b0c0f6a1e8f81d47c2a4f5a51714a -Author: Derek Morton -Date: Mon Jul 27 11:30:58 2015 +0100 - - benchmarks/Android.mk, tools/Android.mk: Fix android build error - - Recently added tools / benckmarks have the same module name as - existing tests. Android does not allow duplicate modules. This - patch appends _benchmark and _tool to the module names used when - building benckmarks and tools to prevent clashes with tests of - the same name. - - Signed-off-by: Derek Morton - Signed-off-by: Daniel Vetter - -commit 995f2738adece4f7423f9ce9ac34ab0477844840 -Author: Paulo Zanoni -Date: Mon Jul 13 14:04:25 2015 -0300 - - lib: add igt_debugfs_read() - - A helpful function for when you want to read a whole debugfs file to a - string and don't want to worry about opening and closing file - descriptors and asserting buffer sizes. - - We've been using this already for kms_frontbuffer_tracking and - kms_fbcon_fbt, so the only test with new code here is kms_fbc_crc. - - Also notice that for kms_fbc_crc we had to increase the buffer size - since the file can sometimes be bigger than 64 bytes - depending on - the reason why FBC is disabled. - - Of course, there are probably many other programs we can patch, but - I'm not doing this now. - - v2: Add the macro to wrap sizeof() (Daniel). - v3: Add documentation for the macro too (Daniel). - - Signed-off-by: Paulo Zanoni - -commit ffd7321c701411c6ffb4aa5b983aacb92289908c -Author: Paulo Zanoni -Date: Wed Jul 8 16:00:45 2015 -0300 - - kms_frontbuffer_tracking: use the dirty ioctl after MMAP_WC calls - - We can't add this to igt_draw since igt_draw doesn't care whether it's - writing on a frontbuffer or not. - - PS: the ENOSYS is for Kernels without the patch implementing the - IOCTL. - - Signed-off-by: Paulo Zanoni - -commit cd33b47a47251eadd21815bfd2ecc8529c7bcf6d -Author: Paulo Zanoni -Date: Tue Aug 4 16:25:17 2015 -0300 - - tests/gem_mmap_wc: don't fail if the Kernel is too old for the getparam flag - - Just don't check the drmIoctl() return code: the "if (val)" should be - enough to prevent any problems. - - v2: Don't SKIP, just proceed (Chris). - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89739 - Cc: Chris Wilson - Reviewed-by: Chris Wilson - Signed-off-by: Paulo Zanoni - -commit 5f9bc98a55d8077f1b42e953d573c4e655832bfa -Author: Kristian Høgsberg Kristensen -Date: Wed Aug 5 11:55:09 2015 -0700 - - configure.ac: Fix chmod on intel_aubdump the right way - - autoconf executes the init commands after each file it creates, - causing these errors at configure time: - - ... - chmod: cannot access 'tools/intel_aubdump': No such file or directory - config.status: creating tools/Makefile - chmod: cannot access 'tools/intel_aubdump': No such file or directory - config.status: creating tools/intel_aubdump - config.status: creating tools/quick_dump/Makefile - ... - - Once it creates intel_aubdump, the errors go away. When I first added - the chmod command, I already had a tools/intel_aubdump in my tree and - didn't get the error. - - Split the intel_aubdump creation into its own AC_CONFIG_FILES() - invocation to avoid this. - - Signed-off-by: Kristian Høgsberg Kristensen - -commit 78e2a2f245fa66773f34ea68bdbcc2c62d382a9b -Author: Kristian Høgsberg Kristensen -Date: Wed Aug 5 11:53:17 2015 -0700 - - tools: Use right #include path for i915_drm.h - - pkg-config adds /usr/include/libdrm to the include path so we only need i915_drm.h - - Signed-off-by: Kristian Høgsberg Kristensen - -commit 86de4c60f38b0ff180cbaa64fcf992fc49546099 -Author: Kristian Høgsberg Kristensen -Date: Tue Aug 4 15:11:51 2015 -0700 - - configure.ac: Fix the intel_aubdump chmod to use topbuilddir - - Signed-off-by: Kristian Høgsberg Kristensen - -commit 220c7d1f91e590be74866710d786833938c18c40 -Author: Kristian Høgsberg Kristensen -Date: Tue Aug 4 15:00:50 2015 -0700 - - tools/aubdump: Add --device option for overriding device ID - - This lets us capture AUB traces for platforms different from the one - we're running on. - - Signed-off-by: Kristian Høgsberg Kristensen - -commit f47bdba8b0504661b5d291a8639f156cda993379 -Author: Kristian Høgsberg Kristensen -Date: Tue Aug 4 09:36:53 2015 -0700 - - tools/aubdump.c: Also define struct drm_i915_gem_userptr for compatibility - - Oops, we obviously also need to define the argument struct for userptr. - - Signed-off-by: Kristian Høgsberg Kristensen - -commit e4fa17df026d6b5d68ee221d177049cdd1ad6924 -Author: Kristian Høgsberg Kristensen -Date: Fri Jul 31 14:26:15 2015 -0700 - - tools/aubdump: #define DRM_IOCTL_I915_GEM_USERPTR if kernel headers don't - - Fix compile error on older kernels. - - Signed-off-by: Kristian Høgsberg Kristensen - -commit 0b5faefba35ab05bfe637964e0e8fb1075e3dd0a -Author: Kristian Høgsberg Kristensen -Date: Fri Jul 31 13:44:07 2015 -0700 - - tools: Add man page for intel_aubdump - - Signed-off-by: Kristian Høgsberg Kristensen - -commit e6a5d799fcdba567535a434789e107164072c15b -Author: Kristian Høgsberg Kristensen -Date: Wed Jul 29 23:12:16 2015 -0700 - - tools: Add LD_PRELOAD-based AUB dumper tool - - This does everything the aub dump functionality in libdrm does, but - without being part of libdrm. This moves the very developer oriented - functionality out of core libdrm and adds some flexibility in how we - activate it (we can specify filename, for example). Most importantly, - this lets us dump aub files for tools and/or drivers that don't use - libdrm, without having to add that code to each of those projects. - - The tool is used much like strace or valgrind. For example: - - $ intel_aubdump -v --output=stuff.aub -- glxgears -geometry 500x500 - - will launch glxgears with its options and enable aub dumping and pass - the -v and --output=stuff.aub options to the aub dumper. - - Signed-off-by: Kristian Høgsberg Kristensen - -commit 6bd42ce9c74f2b6d27b0263191295de232050ab5 -Author: Daniel Vetter -Date: Wed May 20 16:50:14 2015 +0200 - - tests/kms_addfb: Add testcass for garbage in unused planes - - Signed-off-by: Daniel Vetter - -commit 0591af9c76f21b1d9afd067adc6946799fc29179 -Author: Chris Wilson -Date: Tue Jul 28 20:02:54 2015 +0100 - - igt/gem_streaming_writes: Reorder setting EXEC_OBJECT_WRITE - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90944 - Signed-off-by: Chris Wilson - -commit 40ebf95163dcb233b556bb97e9864497623d7328 -Author: Chris Wilson -Date: Tue Jul 28 18:59:47 2015 +0100 - - igt/gem_streaming_writes: Bind into the GTT early - - If we are using a streaming GGTT write into the source, we need to - trigger an early fault in order to obtain a mappable offset. This is - required when later we start reserving execbuf object top-down to try - and avoid mappable space! - - Signed-off-by: Chris Wilson - -commit cd306d4e650d5280a40b15fe076f41eba081c0a0 -Author: Chris Wilson -Date: Fri Jul 24 18:54:11 2015 +0100 - - benchmark: Measure allocation time for objects - - A basic measurement, how fast can we create and populate an object with - backing storage? - - Signed-off-by: Chris Wilson - -commit 42a386b83bf6693826432111fc7564254c14df95 -Author: Chris Wilson -Date: Fri Jul 24 16:34:26 2015 +0100 - - benchmarks: Measure mmap fault latency - - Signed-off-by: Chris Wilson - -commit e984d4965fa98b3071893143c65e6232ff4053ec -Author: Chris Wilson -Date: Wed Jul 22 15:01:47 2015 +0100 - - benchmarks: Benchmarkify gem_exec_ctx - - Measure the overhead of execution when doing nothing, switching between - a pair of contexts, or creating a new context every time. - - Signed-off-by: Chris Wilson - -commit d49a868378f88685aadc601f9d5a9ae435565ece -Author: Michał Winiarski -Date: Fri Jul 24 16:43:33 2015 +0200 - - tests/drm_import_export: Add tests for prime/flink sharing races - - It is possible to race between unreference of the underlying BO and - importing it from prime_fd/name. Verify that the behaviour of libdrm - is consistent for prime/flink. - - v2: more comments in source file, dropped extra whitespace - - Signed-off-by: Michał Winiarski - Cc: Thomas Wood - Signed-off-by: Thomas Wood - -commit e14507ce987a0cfb0ba9dec39afcb08a9ebc0453 -Author: Chris Wilson -Date: Fri Jul 24 14:15:49 2015 +0100 - - benchmarks: Add kms_vblank to .gitignore - - Signed-off-by: Chris Wilson - -commit d88981f62bdcaafeb393bac22db6719d43de88c7 -Author: Chris Wilson -Date: Thu Jul 23 15:18:22 2015 +0100 - - benchmarks: Measure round-trip time for an immediate vblanks - - By measuring both the query and the event round trip time, we can make a - reasonable estimate of how long it takes for the query to send the - vblank following an interrupt. - - Signed-off-by: Chris Wilson - -commit af510c249d6d374267a2052da202ea7c3a6b20cf -Author: Chris Wilson -Date: Thu Jul 23 12:27:38 2015 +0100 - - benchmarks: gem_prw add the read/write switch to getopt - - In my haste to merge the two gem_pread/gem_pwrite, I forgot to write up - the command line switch to getopt. - - Signed-off-by: Chris Wilson - -commit f8628a2c9808fe191c98111a1d58d728f8d20e90 -Author: Chris Wilson -Date: Wed Jul 22 16:53:34 2015 +0100 - - benchmarks: Add simple mmap benchmarks - - Signed-off-by: Chris Wilson - -commit f689e2aa813340eb499ffe04369647044887c073 -Author: Chris Wilson -Date: Wed Jul 22 16:53:34 2015 +0100 - - benchmarks: Add simple pread/pwrite benchmarks - - Signed-off-by: Chris Wilson - -commit b7c33e09394d8d59eac3d0fc581f7190e031947d -Author: Chris Wilson -Date: Wed Jul 22 15:01:47 2015 +0100 - - benchmarks: Benchmarkify gem_exec_nop - - Signed-off-by: Chris Wilson - -commit a64cf28719a0d23d611c72a0a7cf369562330de9 -Author: Thomas Wood -Date: Mon Jul 20 18:08:29 2015 +0100 - - man: ensure rst files are included in the distribution tarball - - Signed-off-by: Thomas Wood - -commit 367691297072d56f497a9b9f9c486c79bb5ecb16 -Author: Dominik Zeromski -Date: Fri Jul 17 11:25:45 2015 +0200 - - lib/gpgpu_fill: Add SKL support - - SKL changed state base address command. - - Cc: Thomas Wood - Signed-off-by: Dominik Zeromski - Signed-off-by: Thomas Wood - -commit a017c2905a615d514ae38c8c624d70ef0b11be91 -Author: Dominik Zeromski -Date: Fri Jul 17 11:25:44 2015 +0200 - - lib/gpgpu_fill: Add BDW support - - BDW changed structure of surface state and interface descriptors. - Commands like state base address, gpgpu walker were extended. - - Cc: Thomas Wood - Signed-off-by: Dominik Zeromski - Signed-off-by: Thomas Wood - -commit ed816d560ce5a1d80a005a452ee0e4295ac1698f -Author: Dominik Zeromski -Date: Fri Jul 17 11:25:43 2015 +0200 - - lib: Move gpgpu_fill code to separate file - - The gpgpu fill utility functions are used in separate test so it's - logical to keep them in separate file. This is similar to what media - spin test did in the past. - - Functionally only gpgpu kernel changed. Send instruction payload size - was reduced. Since offset is incremented by 0x10 bytes there is no point - in using larger writes. - - Cc: Thomas Wood - Signed-off-by: Dominik Zeromski - [Thomas: Fix typo of gpgpu_fill.h in Makefile.sources] - Signed-off-by: Thomas Wood - -commit 3c294a8fa3a3692bab5abe579375edf96ee3b081 -Author: Derek Morton -Date: Fri Jul 17 10:15:39 2015 +0100 - - Android.mk: Disable tools that do not build for android - - Disable the tools / demo code that do not currently build - for android until they can be fixed. - - Affected tools / demos - intel_display_crc - intel_sprite_on - - v2: intel_display_crc compiled conditionally on ANDROID_HAS_CAIRO - flag. - v3: removed intel_reg from the skip list as Thomas has prepared - a patch to fix it for Android. - - Signed-off-by: Derek Morton - Signed-off-by: Thomas Wood - -commit e65c69b995590ccd7f209b1e516819b1248d4e38 -Author: Thomas Wood -Date: Thu Jul 16 17:39:59 2015 +0100 - - lib: exit immediately if igt_fail is called in an exit handler - - Exit immediately if the test is already exiting and igt_fail is called. - This can happen if an igt_assert fails in an exit handler. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91349 - Signed-off-by: Thomas Wood - -commit 51576b7ad67074bbee6da0e0ff96d783dbd4ea3f -Author: Thomas Wood -Date: Thu Jul 16 11:53:11 2015 +0100 - - tools/Android.mk: add any extra program sources - - v2: remove unintended change and fix source file duplication errors - (Derek Morton) - - Cc: Derek Morton - Signed-off-by: Thomas Wood - -commit 80f1553780d0d167cca8bd456a7deb3ff5d9e58e -Author: Thomas Wood -Date: Thu Jul 16 11:41:32 2015 +0100 - - intel_reg: support platforms without sys/io.h - - Based on an idea from Jani Nikula. - - Cc: Jani Nikula - Cc: Derek Morton - Signed-off-by: Thomas Wood - -commit 0705ce6d15320a153c137b4a2119496a7f9c49f1 -Author: Chris Wilson -Date: Sun Jul 19 18:08:20 2015 +0100 - - igt/stats: Fixup tests to compile after interface changes - - Signed-off-by: Chris Wilson - -commit d9c3f0b50cd4f27191a721fe64f47fdc0754f9ef -Author: Chris Wilson -Date: Sun Jul 19 12:44:59 2015 +0100 - - tools: Add a simple stats generator 'igt_stats' - - A rudimentary tool on top of the igt_stats library. Reads a list of - numbers from stdin or from a file and prints the estimate of the central - location, aka average. - - Signed-off-by: Chris Wilson - -commit 8506cdcaa59ba90fcccda762d9307528d9f4c5c7 -Author: Chris Wilson -Date: Sun Jul 19 15:01:42 2015 +0100 - - lib: Allow storing floating point values in igt_stats - - We don't always have precise integers with which to store, so allow - degrading to double precision floating point based on available input. - - Signed-off-by: Chris Wilson - -commit fdefdd48f61b39d2af825ccdba11fafcaf58031a -Author: Michał Winiarski -Date: Thu Jul 16 13:19:09 2015 +0200 - - tests/gem_reg_read: Extend and check for valid 36b counter - - When reading the timestamp register with single 64b read, we are observing - invalid values on x86_64: - - [f = valid counter value | X = garbage] - - i386: 0x0000000fffffffff - x86_64: 0xffffffffXXXXXXXX - - Test checks if the counter is moving and increasing. - Add a check to see if we can use (reg | 1) flag to get a proper 36b timestamp, - shifting the value on x86_64 if we can't. - - v2: More iterations of monotonic test, comments, minor fixups (Chris) - v3: Skip tests if reg_read is not supported - - Cc: Chris Wilson - Reviewed-by: Chris Wilson - Signed-off-by: Michał Winiarski - Signed-off-by: Damien Lespiau - -commit 32c898849bd4f087e5b816b6e9e842edd5ce81d6 -Author: Chris Wilson -Date: Wed Jul 15 16:18:10 2015 +0100 - - igt/gem_eio: Waiting on a hung batch should report -EIO - - If we are waiting on a handle, and its request is cancelled due to a - hang, we should report that explicitly through the ABI. - - Signed-off-by: Chris Wilson - -commit 7f952bd976416196f628c42a8d7bf77fe3c1540f -Author: Paulo Zanoni -Date: Mon Jul 13 14:09:30 2015 -0300 - - kms_frontbuffer_tracking: don't keep debugfs open - - Make the code smaller and simpler, also ready for when we move - debugfs_read() to lib/. - - Signed-off-by: Paulo Zanoni - -commit 1048aa9aa5a9f095800ba41318af9ea351e943e9 -Author: Paulo Zanoni -Date: Thu Jul 9 13:32:16 2015 -0300 - - tests: add kms_fbcon_fbt - - This test should test the interactions between fbcon and the - frontbuffer tracking infrastructure. - - Right now the PSR test fails, but as soon as we merge the following - kernel patches, the test wills tart passing: - - drm/i915: PSR: Flush means invalidate + flush - - drm/i915: fbdev restore mode needs to invalidate frontbuffer - - drm/i915: fbdev_set_par reliably invalidating frontbuffer - - I didn't want to make this a subtest of kms_frontbuffer_tracking just - because when I wrote it, I really didn't have in mind the fact that - someone might just close the DRM fd in the middle of a subtest. - - After this commit we'll have a little bit of duplicated code among - tests. I'll clean this up later. - - v2: - - Refactor the code a little bit. - - Add the suspend subtests. - - Signed-off-by: Paulo Zanoni - -commit 7c5a218cc31e95f5b8b74dba80488ca37b9d85fd -Author: Paulo Zanoni -Date: Mon Jul 13 17:30:43 2015 -0300 - - kms_frontbuffer_tracking: implement suspend subtest - - Make sure we survive suspend/resume. - - Signed-off-by: Paulo Zanoni - -commit 1c389f69f0b188edd47eca1901f62ba36a59f37f -Author: Paulo Zanoni -Date: Mon Jul 13 17:08:17 2015 -0300 - - kms_frontbuffer_tracking: allow passing a NULL pattern - - So we don't need to initialize CRCs we won't use. This makes the - modesetfrombusy and badstride tests a little faster. - - Signed-off-by: Paulo Zanoni - -commit 91f097aefa29ff0d6b0b97f204f2bd1e3e5f0c3d -Author: Paulo Zanoni -Date: Mon Jul 13 16:56:06 2015 -0300 - - kms_frontbuffer_tracking: simplify subtest enumeration - - Just a small bikeshed. - - Signed-off-by: Paulo Zanoni - -commit 04d1311fc3d2127d609b5c5e670bf9887652cb17 -Author: Paulo Zanoni -Date: Mon Jul 13 16:08:36 2015 -0300 - - kms_frontbuffer_tracking: add farfromfence subtest - - Make sure we notice in case our crtc->y handling is still wrong. - - Signed-off-by: Paulo Zanoni - -commit cb3861a9e3f1bc12765160345bb0dd1d543f5086 -Author: Paulo Zanoni -Date: Fri Jul 10 17:53:25 2015 -0300 - - kms_frontbuffer_tracking: implement badstride test - - Test strides that are either completely invalid or just result in - disabled FBC. - - Signed-off-by: Paulo Zanoni - -commit 4deb562659edc1b4d53024b6ef6e183b4f94f768 -Author: Paulo Zanoni -Date: Tue Jul 14 12:45:04 2015 -0300 - - configure: require libdrm >= 2.4.55 - - And drop the now unnecessary universal plane definitions. The 2.4.55 - version is already quite old, so we should be fine. - - Thanks to Thomas Wood for quickly spotting this. - - Signed-off-by: Paulo Zanoni - -commit 19e4632407cfe9fdfe5e067dfaaeaef4d5bf669f -Author: Paulo Zanoni -Date: Mon Jul 13 16:14:55 2015 -0300 - - kms_frontbuffer_tracking: only force std_1024_mode on HSW - - Since on BDW the big modes work fine, I want to test them without - having to recompile the test every time. Let's make std_1024_mode part - of opt.small_modes. - - Signed-off-by: Paulo Zanoni - -commit a7cfd224ba9b2c6735875e27f480b6bbd40ae4d9 -Author: Paulo Zanoni -Date: Mon Jul 13 11:08:02 2015 -0300 - - kms_frontbuffer_tracking: remove enum feature_status - - After the last commit, it's not really needed anymore, so let's get - rid of it: less code lines and less non-standard enums. - - Signed-off-by: Paulo Zanoni - -commit 775fd7771565c7820eeb2406d12bec3ddbfe252d -Author: Paulo Zanoni -Date: Fri Jul 10 17:55:42 2015 -0300 - - kms_frontbuffer_tracking: improve checks for disabled features - - Make sure the features are disabled and stay disabled. Otherwise we - could just wrongly think they are disabled while they are just in the - process of being enabled. - - Signed-off-by: Paulo Zanoni - -commit ca97e784558d48915e3d9056b98c028d46e0c799 -Author: Paulo Zanoni -Date: Fri Jul 10 17:20:23 2015 -0300 - - kms_frontbuffer_tracking: rename enum fbs - - I tried explaining these to people twice and realized how bad the - current naming was. Let's hope the new one is better. - - The downside is that the tests were renamed and patches mentioning - them can't be fixed. - - Signed-off-by: Paulo Zanoni - -commit b0427442f90a82707cd2ffe0ee94ed73549d9ffe -Author: Paulo Zanoni -Date: Fri Jul 10 12:50:27 2015 -0300 - - kms_frontbuffer_tracking: add different ways to flip - - So we can make sure all code paths are properly exercised and lead to - proper frontbuffer tracking. - - Signed-off-by: Paulo Zanoni - -commit a1d4b553a75a70baad2b08cf53ef62fd65ea4856 -Author: Paulo Zanoni -Date: Fri Jul 10 15:25:47 2015 -0300 - - kms_frontbuffer_tracking: fix fullscreen subtest assertions - - Only really assert FBC_DISABLED in case the primary plane is actually - disabled. If the sprite plane is covering the whole screen but the - primary plane is still enabled, FBC can remain enabled. - - Signed-off-by: Paulo Zanoni - -commit 344dab22e994ab1d5ccf6241d6bf099eeeeaf8cf -Author: Paulo Zanoni -Date: Fri Jul 10 15:54:34 2015 -0300 - - kms_frontbuffer_tracking: avoid huge strides during normal operation - - We want to restrict huge strides to the yet-to-be-implemented - stride-size-specific subtest. - - Signed-off-by: Paulo Zanoni - -commit c2d656c5d67909537e61cd6e940038e91f558ac2 -Author: Paulo Zanoni -Date: Wed Jul 8 15:49:09 2015 -0300 - - kms_frontbuffer_tracking: don't hardcode the X/Y big FB offset - - While debugging the test failures I tried different values for the - offsets, so having a central place to change them is the only sane - way. - - Signed-off-by: Paulo Zanoni - -commit 9ca8a1bade2a4d267857ecb5f107f207a6ca3107 -Author: Paulo Zanoni -Date: Mon Jul 13 14:13:46 2015 -0300 - - pm_rpm: remove pm_status_fd declaration - - This was forgotten since we moved some code to igt_aux.c a long time - ago. - - Signed-off-by: Paulo Zanoni - -commit b81f7db593a74daeb8c8e4216743fa985a7c03de -Author: Matt Roper -Date: Wed Jul 1 15:45:21 2015 -0700 - - kms_universal_plane.c: Update sanity checks for gen9 - - SKL and BXT have some new plane capabilities that previous generations - didn't have; we need to update some of our universal plane tests to - expect success rather than failure when running on these platforms. - - Signed-off-by: Matt Roper - -commit 8ad1e4077879a111f341dbfd2e0fee84efc9f57e -Author: Abdiel Janulgue -Date: Tue Jun 16 13:37:44 2015 +0300 - - tests/gem_exec_params: check invalid flags for Resource Streamer - - Make sure resource streamer flags works only in correct ring in - addition to checking next flag after the RS boundary fails. - - v2: Make sure we reject RS on pre-hsw. - v3: Don't skip 1<<15 for the exec flags (Jani Nikula) - - Cc: Daniel Vetter - Signed-off-by: Abdiel Janulgue - Signed-off-by: Thomas Wood - -commit ec9e5996d1c54d71c1c9cd14755ec6eddfdb0680 -Author: Damien Lespiau -Date: Thu Jul 2 14:59:25 2015 +0100 - - build: Don't use automake's conditional in a Makefile.sources - - I just remembered that those Makefile.sources files where also - included by the Android build system, so we can't use automake's - conditionals in there. - - So, we want to use GNU make's one. Unfortunately, after all those years, - GNU automake still doesn't do anything useful with GNU make's ifeq: - - lib/Makefile.sources:66: error: else without if - - automake will helpfully signal that the 'else' corresponding to the - 'ifeq' doesn't have a corresponding 'if'. Well, yeah, thanks. - - Fortunately, we can work around this by cunningly inserting a space - before 'ifeq', 'else' and 'endif' and fool automake's regex-based - checks. - - Signed-off-by: Damien Lespiau - -commit 64295c67e908d59606fafe35e2d2363802c7faec -Author: Damien Lespiau -Date: Thu Jul 2 11:24:02 2015 +0100 - - build: Add -lm to tests - - Since the introduction of igt_stats and its usage in gem_exec_nop, we - need to link the tests against libm. My rebasing bot complained when - linking gem_exec_nop: - - lib/igt_stats.c:492: undefined reference to `sqrt' - - Signed-off-by: Damien Lespiau - -commit e5653d5f1d1b349ec320b056d3e6e17008c256a7 -Author: Damien Lespiau -Date: Wed Jul 1 23:40:36 2015 +0100 - - build: Add an option to not use the git hash in version - - When developing, it's quite annoying that the version changes every - commit, causing the library to be rebuild and every single binary - re-linked. - - Add a config option to skip that. - - I remember Ville asking for this "feature" as well. - - v2: Option is now called --disable-git-hash (Thomas) - Various spelling mistakes (Thomas) - - Cc: Ville Syrjälä - Signed-off-by: Damien Lespiau - -commit 0a01a190f6f7b2256d6efdd49018f43023f389dd -Author: Damien Lespiau -Date: Wed Jul 1 23:02:31 2015 +0100 - - build: Add DEBUG_FLAGS to tools and self-tests - - Makes using GDB better on those binaries. - - Signed-off-by: Damien Lespiau - -commit 390653acfb47664ffebe07a6928fa6b0fc18f4e8 -Author: Damien Lespiau -Date: Tue Jun 30 00:15:15 2015 +0100 - - aux: Don't evaluate several times the arguments of min() and max() - - Signed-off-by: Damien Lespiau - -commit 643aab2249992f4c4ad75e98ef3d43f3c6700895 -Author: Damien Lespiau -Date: Thu Jul 2 00:16:07 2015 +0100 - - stats: Add wikipedia links to get_trimean() and get_iqm() - - Useful knowledge for anyone looking at the documentation and following - the linkes. - - Signed-off-by: Damien Lespiau - -commit d01ebbd97ddb323564c75bfaaa374011fde4cd38 -Author: Thomas Wood -Date: Mon Jun 29 16:47:14 2015 +0100 - - docs: various documentation fixes - - Signed-off-by: Thomas Wood - -commit 8a109f94b9205222f79f20350750b39dd4b068cd -Author: Thomas Wood -Date: Mon Jun 29 14:42:52 2015 +0100 - - docs: fix duplicated ID error - - Signed-off-by: Thomas Wood - -commit 85f6d82d3ccde981382b784b67a5cc2b19dfa4bb -Author: Thomas Wood -Date: Mon Jun 29 14:37:13 2015 +0100 - - docs: fix "no link" warning - - igt_save_module_param is an internal static function and therefore isn't - included in the public API documentation. - - Signed-off-by: Thomas Wood - -commit f01e0552d6b94d7eb2d87e388ba5be596234886c -Author: Thomas Wood -Date: Mon Jun 29 14:31:06 2015 +0100 - - docs: add the annotation glossary - - Signed-off-by: Thomas Wood - -commit 5d80872009d4f3509e7e2b7a236b27d5002aff15 -Author: Thomas Wood -Date: Mon Jun 29 11:03:39 2015 +0100 - - docs: override section id to avoid '/' in filenames - - The section id is generated from the section title and is used to create - the html output filename, which therefore causes problems if it includes - a '/' character. - - Cc: Damien Lespiau - Signed-off-by: Thomas Wood - -commit 614895fec12a66376167c23294157a8f69014e54 -Author: Chris Wilson -Date: Wed Jul 1 20:51:54 2015 +0100 - - igt/gem_exec_nop: Control boost/idle frequencies - - Signed-off-by: Chris Wilson - -commit b43070987e8b926e7b487e7717e8b58197fd03cf -Author: Chris Wilson -Date: Wed Jul 1 13:53:07 2015 +0100 - - igt/gem_exec_nop: Wait between runs - - In order to keep the GPU in a consistent state between samples, we have - to wait for it to fall asleep before proceeding. - - For fun hook up igt_stats. - - Signed-off-by: Chris Wilson - -commit 2d305f61995cc896aaa1d3be01c33d90515c22e0 -Author: Chris Wilson -Date: Wed Jul 1 18:52:46 2015 +0100 - - stats: Add trimean - - https://en.wikipedia.org/wiki/Trimean - - The trimean is a the most efficient 3-point L-estimator (estimator - of central tendency, i.e. average), even more robust than the - median at estimating the average of a sample population. - - Signed-off-by: Chris Wilson - -commit 19135a34471ec4da4d7cc8493c371b8c38879f0b -Author: Chris Wilson -Date: Wed Jul 1 13:50:02 2015 +0100 - - stats: Add the interquartile mean (IQM) - - https://en.wikipedia.org/wiki/Interquartile_mean - - The IQM is a truncated mean and so is very similar to the scoring - method used in sports that are evaluated by a panel of judges: - discard the lowest and the highest scores; calculate the mean - value of the remaining scores. - - It's useful to hide outliers in measurements (due to cold cache etc), - without having to worry too much about the actual distribution. - - Signed-off-by: Chris Wilson - -commit 669b5da2bc4ef8d80405aef96ebb831a39608db4 -Author: Damien Lespiau -Date: Tue Jun 30 00:15:15 2015 +0100 - - tools: Add an intel_firmware_decode tool - - So we can inspect fw headers. Sample output: - - Firmware: skl_dmc_ver1_18.bin (7892 bytes) - CSS header (128 bytes) - module_type: DMC (9) - header_len: 32 - header_ver: 0x10000 - module_id: 0x0 - module_vendor: 0x0 - date: 0x7df060c - size: 1973 - key_size: 0 - modulus_size: 0 - exponent_size: 0 - version: 1.18 (0x10012) - kernel_header_info: 0x0 - Package header (256 bytes) - header_len: 64 - header_ver: 1 - num_entries: 3 - Firmware #1 - stepping: A.* - offset: 4294967295 - Firmware #2 - stepping: B.* - offset: 4294967295 - Firmware #3 - stepping: *.* - offset: 0 - 0x7f0867143000 - 0x7f0867143180 - signature: 0x40403e3e - header_len: 128 - header_ver: 1 - dmcc_ver: 520 - project: 0x900 - fw_size: 1845 - fw_version: 0x10008 - mmio_count: 3 - write(0x0008f074, 0x00002fc0) - write(0x0008f004, 0x02500204) - write(0x0008f034, 0xc003b400) - - Signed-off-by: Damien Lespiau - -commit ad411e2d5de78b621f6e9c628f8a96bd79425057 -Author: Joonas Lahtinen -Date: Fri Jun 26 14:52:34 2015 +0300 - - tests/gem_ringfill: Add {render,blitter}-forked-1 subtests. - - Add forking subtests to gem_ringfill. Tests cause consistent GPU - hangs on SKL. - - v2: Removed noop parts. - v3: - - Allow executing the tests in order too (Chris Wilson). - - Rename the tests to -forked-1 - - Cc: Mika Kuoppala - Cc: Chris Wilson - Signed-off-by: Joonas Lahtinen - [ickle: Extend to cover forked-N] - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89959 - -commit 46f277b90b998560eb0cf895f71ca667d2ef8a39 -Author: Damien Lespiau -Date: Sat Jun 27 18:03:15 2015 +0100 - - stats: Exercise the reallocation paths - - Signed-off-by: Damien Lespiau - -commit 66e0bf66da4b06d9495025b053d4d7fe73c86fc7 -Author: Damien Lespiau -Date: Sat Jun 27 17:49:40 2015 +0100 - - stats: Spwan igt_init_with_size() from igt_init() - - It's all about good looking APIs. - - Signed-off-by: Damien Lespiau - -commit 00432ff260beba0bf6535d7fd1c0275de303ed57 -Author: Damien Lespiau -Date: Sat Jun 27 17:34:51 2015 +0100 - - stats: Allow the underlying arrays to grow at will - - Chris mentioned he wanted to be able to measure a variable "for one - second" and use igt_stats to store them. That's one case where we don't - know the number of data points upfront. - - We should really support that, so here it is. - - v2: Just free ->sorted when a new capacity is needed. - ensure_sorted_values() will then reallocate the array to the new - capacity on demand (Chris) - - Signed-off-by: Damien Lespiau - -commit 817ea87b6edab2d25a2994f076562ee03aa91fc6 -Author: Damien Lespiau -Date: Sat Jun 27 16:42:50 2015 +0100 - - stats: Test we do correctly invalidate the sorted array - - Chris had a doubt, and I was lazy and didn't do a similar test for the - quartiles/median than for the mean (test_invalidate_mean()). Plug that - gap. - - Signed-off-by: Damien Lespiau - -commit fabde384a33324dc9a9c55c1f4003196ec90564c -Author: Damien Lespiau -Date: Sat Jun 27 15:49:26 2015 +0100 - - stats: Add support for the interquartile range (IQR) - - IQR is a good measure of dispersion. - - Signed-off-by: Damien Lespiau - -commit 1b8997b3f89f5c7632782d2e7f8509a0f8176891 -Author: Damien Lespiau -Date: Sat Jun 27 15:33:58 2015 +0100 - - stats: Add support for quartiles (and thus median) - - More stuff, quite useful characteristics of a dataset. - - Signed-off-by: Damien Lespiau - -commit 3839bacde884a0d8ce55956b3221175a0078844b -Author: Damien Lespiau -Date: Sat Jun 27 15:32:23 2015 +0100 - - stats: Add a bulk version of _push() - - In case we want to push a bunch of values in one go. - - Signed-off-by: Damien Lespiau - -commit 2fe286985f825128142f56df5dc806a78338b308 -Author: Damien Lespiau -Date: Sat Jun 27 15:31:19 2015 +0100 - - stats: Use igt_assert_eq_double() when asserting on doubles - - Lucky enough to have exact values, == works! - - Signed-off-by: Damien Lespiau - -commit 0a38e977c026fee3a499946652263b2adfe7c27c -Author: Damien Lespiau -Date: Sat Jun 27 15:26:50 2015 +0100 - - lib: Add double versions of igt_assert_cmp() and igt_assert_eq() - - Signed-off-by: Damien Lespiau - -commit 23888526c7c979a40218bb8bc669fb383d86c5c3 -Author: Damien Lespiau -Date: Sat Jun 27 15:26:13 2015 +0100 - - docs: Add documentation for igt_assert_cmpuint() - - Signed-off-by: Damien Lespiau - -commit f660d0a054d559b47525d42e2a4b55057ec8e417 -Author: Damien Lespiau -Date: Sat Jun 27 15:16:22 2015 +0100 - - docs: Add documentation for igt_assert_u32() - - Signed-off-by: Damien Lespiau - -commit 4dca31b2d60019f9cdeb35b1922126cbbe1cb7af -Author: Damien Lespiau -Date: Sat Jun 27 11:16:52 2015 +0100 - - docs: Fix a "libraray" typo - - Signed-off-by: Damien Lespiau - -commit 0e4c175e04abadc1f0f76e3c144debf1527cf057 -Author: Damien Lespiau -Date: Sat Jun 27 11:12:01 2015 +0100 - - stats: Add igt_stats_get_range() - - Somewhat useful, for instance to size an histogram. - - Signed-off-by: Damien Lespiau - -commit 4a89a841a11cb872f9b0b0959c306fcb96f87d75 -Author: Damien Lespiau -Date: Sat Jun 27 09:45:42 2015 +0100 - - stats: Add functions to retrieve min/max values of the dataset - - Signed-off-by: Damien Lespiau - -commit 87009f3d7b155bc2c650d1395f74a2c6e80f0cf6 -Author: Damien Lespiau -Date: Sat Jun 27 09:41:57 2015 +0100 - - stats: Factor out a fixture to initialize stats - - We're going to use this simple fixture once more, might as well make a - function instead of copy/pasting code. - - Signed-off-by: Damien Lespiau - -commit 17ed69fbb817bff6f76d3e3beffc2fd30abdf187 -Author: Damien Lespiau -Date: Fri Jun 26 18:19:42 2015 +0100 - - stats: Add a note about the standard deviation derived from unbiased variance - - Signed-off-by: Damien Lespiau - -commit da123adeae70863c967e14035f272b89371a5fd5 -Author: Damien Lespiau -Date: Fri Jun 26 18:04:34 2015 +0100 - - stats: Add a getter for the population property - - Signed-off-by: Damien Lespiau - -commit 3a5cf84317197cdac88196cda76c6a7e08943f20 -Author: Damien Lespiau -Date: Fri Jun 26 17:02:09 2015 +0100 - - stats: Add a way to specify if the data set is a population or a sample - - This changes how we compute the variance. We want an unbiased variance - when reasoning about a sample. - - Signed-off-by: Damien Lespiau - -commit a2f6fd3725f50919c79694f1e24c1dec2752c875 -Author: Damien Lespiau -Date: Fri Jun 26 16:57:55 2015 +0100 - - stats: Add gtkdoc section for igt_stats - - Signed-off-by: Damien Lespiau - -commit 087a8d1c63b3d5863a14ff10002fde683b295592 -Author: Damien Lespiau -Date: Fri Jun 26 14:31:58 2015 +0100 - - stats: Add header gards - - Sigh. - - Signed-off-by: Damien Lespiau - -commit 6ebd8c2dc3291bd5776a0511e61a019a1444497f -Author: Damien Lespiau -Date: Fri Jun 26 14:28:41 2015 +0100 - - doc: Remove i-g-t/intel prefixes and capitalize section titles - - Looks better! - - Signed-off-by: Damien Lespiau - -commit 203c3841fc6bf9bd2b71ff9ce8e86874375eec1e -Author: Damien Lespiau -Date: Fri Jun 26 13:55:01 2015 +0100 - - stats: Zero the whole structure at init() time - - Because the structure started small, I initialized every member - directly, but that means that the new fields added weren't properly - initialized (sigh!). Zero the whole thing first then. - - Also, the punishment for introducing a bug should be to write the - corresponding unit test. It's not a perfect one, but I'll take it. - - Signed-off-by: Damien Lespiau - -commit 76ea7b913373d1291a95706dfede7e48a812777e -Author: Damien Lespiau -Date: Fri Jun 26 00:20:44 2015 +0100 - - tests/stats: Make sure we properly invalidate the cached mean - - Sure, that's an implementation details, but make sure we do recompute - the mean when we add a new value. - - Signed-off-by: Damien Lespiau - -commit 515cec1210764241153f5d46d70ba5e943201b14 -Author: Damien Lespiau -Date: Thu Jun 25 23:59:21 2015 +0100 - - stats: Add a way to retrieve the standard deviation - - Signed-off-by: Damien Lespiau - -commit 05c10f940f9df3a5b24e2a0b476052fbe5a22282 -Author: Damien Lespiau -Date: Thu Jun 25 23:57:49 2015 +0100 - - stats: Use an algorithm popularised by Knuth to compute mean and variance - - Suggested-by: Chris Wilson - Signed-off-by: Damien Lespiau - -commit 9986282c2bb4508a1fd9b774e30e1f4e405ac82e -Author: Damien Lespiau -Date: Fri Jun 26 00:16:48 2015 +0100 - - tests/igt_stats: Call igt_stats_fini() to not leak the array - - Sure, it'll be freed at exit(), but might as well be a bit pedantic. - - Signed-off-by: Damien Lespiau - -commit e55a11d3ebceaf777dba369076e8e842a8479360 -Author: Damien Lespiau -Date: Thu Jun 25 23:44:20 2015 +0100 - - stats: Be more precise and talk about mean, not average - - There are several types of averages eg. mean, median and mode. - - Signed-off-by: Damien Lespiau - -commit e86557ca9fa24bb3c73a8168b0866169f7606d0c -Author: Paulo Zanoni -Date: Thu Jun 25 14:19:24 2015 -0300 - - lib/igt_draw: move to the GTT domain before using GTT mmaps - - With this, we don't need to worry about what happened to the buffer - before. - - Reviewed-by: Chris Wilson - Signed-off-by: Paulo Zanoni - -commit 6cc553adf298e6244fbdb5fe03841c00ddda29ad -Author: Paulo Zanoni -Date: Thu Jun 25 14:12:56 2015 -0300 - - lib/igt_core: fflush stdout after printing subtest results - - I often run "sudo ./test 2>&1 | tee output.txt", and when we're - succeeding - never printing to stderr - the output gets buffered and - is never flushed (because it doesn't point to a terminal), so I never - know which test is running. With this fflush, I'm able to know when - each test finishes. - - v2: Add blank line too (Chris) - - Reviewed-by: Chris Wilson - Signed-off-by: Paulo Zanoni - -commit f78574101ffc3388ba7a948a6f5310358cdeaab2 -Author: Chris Wilson -Date: Fri Jun 26 11:41:44 2015 +0100 - - igt/gem_fenced_exec_thrash: Tidy testing of expected execbuf errors - - Signed-off-by: Chris Wilson - -commit c69b13578399915f71f4ccc10cae188c31381c6a -Author: Derek Morton -Date: Fri Jun 26 11:36:00 2015 +0100 - - igt/gem_fenced_exec_thrash: Fix memory leak between tests - - gem_fenced_exec_thrash was not freeing any resources between - subtests. On 1Gb android systems this resulted in the test - failing with an OOM error. - - Added cleanup code to free BOs at the end of each subtest. - - Signed-off-by: Derek Morton - -commit eeda401391de3ab434dcdd1d1b441a24660a0fd3 -Author: Paulo Zanoni -Date: Thu Jun 25 10:56:34 2015 -0300 - - kms_frontbuffer_tracking: GTT mmap writes disable PSR - - And they keep it disabled until something else enables it. So let's - consider this on the draw subtests. - - With this, some PSR tests that were failing will now start passing. - - Signed-off-by: Paulo Zanoni - -commit 053f33ad1c3e8604b2c33a6ca87539a2ec684742 -Author: Paulo Zanoni -Date: Thu Jun 25 10:47:09 2015 -0300 - - kms_frontbuffer_tracking: use CPU mmaps for fill_fb_region() - - Because the GTT mmaps "permanently" disable PSR and this can mess - some of our assertions. So let's just use the CPU domain to keep the - implementation simple. - - With this, some PSR tests that were failing will now start passing. - - Signed-off-by: Paulo Zanoni - -commit 7a4ded7b87956b9bcfb0d33ed2368633ec2dc239 -Author: Paulo Zanoni -Date: Wed Jun 24 19:04:26 2015 -0300 - - kms_frontbuffer_tracking: remove offscreen-{cur,spr} subtests - - It doesn't make sense to write on the sprite/cursor plane of the - "offscreen" screen. The pick_target() function was just returning the - offscreen_fb pointer for those cases, so we were not really testing - any cursor or sprite code. So the tests were just the same as - offscreen-pri. - - That kills 24 subtests for each feature (72 in total). - - Signed-off-by: Paulo Zanoni - -commit ce3b47bac89d46633bd8b55842590080ab9d246d -Author: Paulo Zanoni -Date: Mon Jun 22 19:18:29 2015 -0300 - - tests/kms_frontbuffer_tracking: add modesetfrombusy test - - This test exercies the dev_priv->fb_tracking.busy_bits bug I recently - found and Daniel fixed. - - Cc: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit de774ed31e678da3f0fe0a51c4c1165161ee399a -Author: Damien Lespiau -Date: Thu Jun 25 17:38:19 2015 +0100 - - skl_compute_wrpll: Don't try other dividers if we find a 0 central freq deviation - - Paulo suggested that we could short-circuit the search for a good - divider if we find a 0 deviation of the DCO frequency from the central - frequency. - - Out of the 373 test frequencies, 34 hit that fast path. - - Suggested-by: Paulo Zanoni - Signed-off-by: Damien Lespiau - -commit 26336385ac1f32ce2a0160558d08af9d090c4286 -Author: Damien Lespiau -Date: Thu Jun 25 17:48:50 2015 +0100 - - skl_compute_wrpll: Sync a comment with from the kernel code - - Might as well try to keep the code in both this test and the kernel as - close as possible. - - Signed-off-by: Damien Lespiau - -commit dfebf08d9a21146e4d53ddb684e71b934d96bc59 -Author: Damien Lespiau -Date: Thu Jun 25 14:18:34 2015 +0100 - - skl_compute_wrpll: Fix the mininum deviation computation - - Paulo noticed that, because we were only comparing positive deviations - with positive deviations and negative deviations with negative - deviations, we weren't actually always using the absolute minimal - deviation at all. - - This improves the average deviation across all tested frequencies (373): - - before: average deviation: 215.13 - after: average deviation: 194.47 - - Signed-off-by: Damien Lespiau - -commit afdaeabbcfd9a2fd1b27b8742681d52d12161dd0 -Author: Damien Lespiau -Date: Thu Jun 25 12:21:27 2015 +0100 - - skl_compute_wrpll: Cycle through dividers, then central freqs - - Follow Paulo's comment on the corresponding kernel patch. - - This means we also have to move the break when we have cycled through - the even dividers as well. - - This improves the number of even dividers used across the tested - frequencies (373) (at the expense of a slightly worse average deviation, - but "even dividers take precedence over a lower deviation". - - before: - even/odd dividers: 338/35 - average deviation: 206.52 - - after: - even/odd dividers: 363/10 - average deviation: 215.13 - - Signed-off-by: Damien Lespiau - -commit efd2895f2380bf87f6821e3ab89005070e9d1925 -Author: Damien Lespiau -Date: Thu Jun 25 12:17:23 2015 +0100 - - skl_compute_wrpll: Print the average deviation - - It's interesting to watch the effect of some algorithm tweaks on the - average deviation between the central freq and the dco freq. A metric - we'd like to minimize. - - Signed-off-by: Damien Lespiau - -commit 06f5f7065fccc5fbb9f65f6f7d348624e2fa0d2b -Author: Damien Lespiau -Date: Thu Jun 25 12:07:56 2015 +0100 - - lib: Add a tiny utility function to compute averages - - The master plan would be to get a bit more stats in it, at least the - standard deviation and confidence interval. Just need the average for - now. - - Signed-off-by: Damien Lespiau - -commit 484e27542d79f78e467004fec5a5192ac6006b34 -Author: Daniel Vetter -Date: Mon Jun 15 17:09:11 2015 +0200 - - tests/kms_fbc_crc: Don't force fbc on old platforms - - It's simply a bit too scary on pre-gen6 and imo not worth the bother - really until someone starts to implement all the hacks an w/a required - on these platforms. On later platforms the issues are just with - correctness and performance hence no risk for hanging machines. - - Cc: Paulo Zanoni - Signed-off-by: Daniel Vetter - -commit 44d444acaa8cfd61ea25c82fb7c3bff5f41f0835 -Author: Chris Wilson -Date: Wed Jun 24 17:01:21 2015 +0100 - - overlay: Enable locale - - Enabling locale allows us to use thousand separators and other such - human touches in the output. - - Signed-off-by: Chris Wilson - -commit 453792c501b4553ed3c4135057249e300d3c0362 -Author: Chris Wilson -Date: Wed Jun 24 11:26:33 2015 +0100 - - lib: Enable locale dependent output to a terminal - - If we are in an interactive session, enable the locale. This allows for - features like setting thousand separators for printing large values. By - only enabling it for interactive terminals, we avoid changing outputs - for the test scripts (leaving them as the "C" locale). - - Note this mainly affects the testcases, or binaries built using libigt. - Other binaries need to be localised separately. - - Signed-off-by: Chris Wilson - Reviewed-by: Michel Thierry - -commit 7eb5f079491e5c078cf44d5ddb52824bb2c6bfb0 -Author: Paulo Zanoni -Date: Tue Jun 23 12:55:04 2015 -0300 - - tests/kms_frontbuffer_tracking: rename set_screens_for_test - - Rename it to prepare_subtest. This function used to be much smaller - when I decided its name. - - Signed-off-by: Paulo Zanoni - -commit 7756e8844538050c1e4efde28147ca7e0753df27 -Author: Paulo Zanoni -Date: Tue Jun 23 10:49:54 2015 -0300 - - tests/kms_frontbuffer_tracking: simplify flib_subtest fb handling - - Get rid of fb2_region, use params->fb directly instead. - - Signed-off-by: Paulo Zanoni - -commit 77e1bac6eb4588c00bbc2e431d9f2594675a18bd -Author: Paulo Zanoni -Date: Tue Jun 23 10:38:19 2015 -0300 - - tests/kms_frontbuffer_tracking: simplify wait_user() calls - - I often add new temoprary wait_user() calls when debugging things, and - having to add "if (opt.step)" is annoying, so let's make the step - level check inside wait_user(). As a bonus, our huge macro is 2 lines - shorter. - - Signed-off-by: Paulo Zanoni - -commit 969cb3c575ac4618b3a3484f78a9644484f9c7e8 -Author: Paulo Zanoni -Date: Thu Jun 18 14:57:37 2015 -0300 - - tests/kms_frontbuffer_tracking: not all eDP panels support sink CRC - - And require sink CRC support for PSR, since the pipe CRC is not - exactly useful there. - - v2: Check for ENOTTY (Rodrigo). - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91019 - Signed-off-by: Paulo Zanoni - -commit 471ebbed535a73d129e4d717f5b80a2af163eb0c -Author: Derek Morton -Date: Tue Jun 23 17:06:01 2015 +0100 - - igt/gem_fence_thrash: Reduce memory usage - - On android platforms with 1Gb RAM gem_fence_thrash was failing - with an out of memory error. - This patch causes gem_close() to be called when a handle is - no longer required rather than relying on the cleanup when - the fd is closed. This greatly improves the memory footprint - of the test allowing it to run on 1Mb systems. - - Also fixed a leak of the 'threads' variable. - - v2: Simplified as per Chris Wilson's suggestion. - - Signed-off-by: Derek Morton - [ickle: fix mmap leak from bo_copy()] - Reviewed-by: Chris Wilson - -commit 154192a6805adc879b2fb0d08ff9d89e25b04fa0 -Author: Thomas Wood -Date: Fri Jun 19 09:22:55 2015 +0100 - - NEWS: Post-release bump - - Signed-off-by: Thomas Wood - -commit 0e528af623c735ab4bf0d5bbdc64cbdffc82674d -Author: Chris Wilson -Date: Mon Jun 22 15:48:54 2015 +0100 - - igt: Add gem_exec_alignment - - Simple test to see whether the kernel obey's the user's request - alignemnt. - - Signed-off-by: Chris Wilson - -commit eb7d60e430ae63e36c77f2d95a0cea93017f0b71 -Author: Chris Wilson -Date: Wed Jun 17 18:29:49 2015 +0100 - - igt: Add gem_eio for inducing expected EIO - - A few entry points in the GEM API are expected to raise EIO if we - encounter a wedged GPU. This testcase aims to do so by first injecting a - GPU hang with GPU resets disabled (thus causing the GPU to become wedged) - and then exercises the various API to check for the expected errors. - - Signed-off-by: Chris Wilson - -commit 4fbce7e462ab488fc11037adb571bb3a807459ba -Author: Chris Wilson -Date: Thu Jun 18 10:38:04 2015 +0100 - - testdisplay_hotplug: Add missing #include - - testdisplay_hotplug.c: In function ‘hotplug_event’: - testdisplay_hotplug.c:46:14: error: storage size of ‘s’ isn’t known - struct stat s; - ^ - testdisplay_hotplug.c:54:2: error: implicit declaration of function ‘fstat’ [-Werror=implicit-function-declaration] - fstat(drm_fd, &s); - ^ - testdisplay_hotplug.c:54:2: warning: nested extern declaration of ‘fstat’ [-Wnested-externs] - testdisplay_hotplug.c:46:14: warning: unused variable ‘s’ [-Wunused-variable] - struct stat s; - ^ - Signed-off-by: Chris Wilson - -commit c83299d1fda4b8c67562999d61817177d422d52e -Author: Chris Wilson -Date: Mon Jun 15 14:51:54 2015 +0100 - - lib: Use HAS_GPU_RESET rather than opencode our guess - - Uses kernel commit 49e4d842f0d0892c3d26c93a81b9f22c1467030e - Author: Chris Wilson - Date: Mon Jun 15 12:23:48 2015 +0100 - - drm/i915: Report to userspace if we have a (presumed) working GPU reset - - to determine whether the kernel has a working GPU reset before injecting - a hang (and so skip tests requring hang recovery if not available). - -commit a5633c406c4ae93abc7fce8ff59d2c021a6aa45e -Author: Derek Morton -Date: Thu May 28 13:02:30 2015 +0100 - - lib/tests/igt_segfault Add unit test to test segfault handling - - Unit test to check a segfaulting subtest is handled correctly. - - v2: Added script to check subtest results - v3: Removed script. Updated test to use fork to monitor return status. - v4: Added igt_segfault to .gitignore - - Signed-off-by: Derek Morton - Signed-off-by: Daniel Vetter - -commit 4b944c92eb85c3cdf6526e65a1a746c979de55bd -Author: Damien Lespiau -Date: Thu Jun 4 18:31:04 2015 +0100 - - pm_rpm: Update the debugfs filename - - v2: Try to open i915_pc8_status first to make the transition (or just - running on older kernels) better. (Paulo) - - Signed-off-by: Damien Lespiau - -commit b88212c036fbd909d70b8388fc8fffb1fac75e5b -Author: Thomas Wood -Date: Thu Jun 11 16:08:23 2015 +0100 - - Update version to 1.11 and add the release date - - Signed-off-by: Thomas Wood - -commit 0cc16b37ab9b3f8d5687380f83c0361c9de1beb6 -Author: Thomas Wood -Date: Thu Jun 11 16:06:33 2015 +0100 - - NEWS: Updates - - Signed-off-by: Thomas Wood - -commit aa75f373978756aba32ac9c009740ac45e2eb180 -Author: Thomas Wood -Date: Mon Jun 8 16:41:34 2015 +0100 - - tools: print a warning for tools replaced by intel_reg - - Cc: Jani Nikula - Signed-off-by: Thomas Wood - -commit 87f15fc3da374082933aef4d2183f319e596c9ba -Author: Thomas Wood -Date: Mon Jun 8 10:16:00 2015 +0100 - - overlay: update .gitignore - - Signed-off-by: Thomas Wood - -commit d8acd24bdb0210e1b590cebc58ddcd266045ae08 -Author: Paulo Zanoni -Date: Tue Dec 2 10:40:05 2014 -0200 - - tests: add kms_frontbuffer_tracking - - This is a new test that should exercise the frontbuffer tracking - feature of the Kernel in a number of different ways. We use different - drawing methods, we use the primary, cursor and sprite planes, we can - test both on single and dual pipes, also on buffers not associated - with any CRTCs, etc. - - We currently have assertions for both FBC and PSR, and we also have a - "nop" test mode that should disable both FBC and PSR, and can be - used for debugging. - - This test is also capable of testing both FBC and PSR even if they are - disabled by default on the Kernel: the test knows how to change the - i915.ko parameters and then set them back after testing. - - I am getting a significant number of failures when I run this test, - which means we have some work to do on the Kernel. - - I also still have a small list of additional subtests that I plan to - add to this test, and those tests are documented on the main function. - - v2: - - Use igt_debugfs_open() (Thomas). - - Use igt_test_description() (Thomas). - - Don't check drm_open_any_master()'s result (Thomas). - - Use igt_require_f() in some cases (Thomas). - - Standardize some assertions. - - Use the new module param functions. - - Check if FBC is supported by the chipset. - - Add new subtests (multidraw, enum fbs, fbc+psr). - - Make tests a little shorter. - - Reorganize which tests ara ran by default. - - Better comments everywhere. - - Rebase. - - v3: - - Fix a small typo. - - Improve the log messages a little bit more. - - Signed-off-by: Paulo Zanoni - -commit 75b286e821bd5cf056c5a786f347943360486143 -Author: Paulo Zanoni -Date: Tue Jun 2 12:03:45 2015 -0300 - - tests/kms_psr_sink_crc: test even if PSR is disabled by default - - Use the igt_set_module_param_int() call to enable it, then restore the - previous value after we are done testing. - - With this, we can change the psr_enabled() function to psr_possible(): - the only requirement should be that we have a PSR capable sink. The - test should now be able to make "Source_OK" and "Enabled" become true - whenever it wants. - - Cc: Rodrigo Vivi - Signed-off-by: Paulo Zanoni - -commit a4dbdeffc2995a0b84efb3bdfc9e460b731d7af5 -Author: Paulo Zanoni -Date: Tue Jun 2 10:54:27 2015 -0300 - - tests/kms_fbc_crc: run even if FBC is disabled by default - - We may not be perfect, but if we don't even test, we will probably - only get worse over time. - - The function called makes sure we restore whatever was the original - FBC parameter when we exit the test, so this should not affect the - other tests. - - Signed-off-by: Paulo Zanoni - -commit d9ff9b3971121acdaedf45d95acceabbb1391547 -Author: Paulo Zanoni -Date: Mon Jun 1 19:06:10 2015 -0300 - - lib/igt_aux: add functions to manipulate i915.ko parameters - - Some i915.ko features have very nice IGT tests, which are never - executed because the features are disabled by default. This leads to - unnoticed regressions both in the Kernel and in the IGT tests. We - have seen this multiple times, for example, on FBC and PSR. - - We want to be able to run IGT and actually test these - disabled-by-default features in order to make sure we at least don't - break them even more. Sometimes they may be disabled for some specific - reason, and we don't want to increase the set of reasons without - noticing. - - To help solving this problem, this commit adds some helper functions - that should make it easier to change certain i915.ko parameters and - then restore their original values at the end of the test. With this, - I'm hoping QA will be able to detect any regressions and automatically - bisect them - or, with PRTS, reject the patches before they are even - merged. - - Signed-off-by: Paulo Zanoni - -commit 46a1791958f45cf1b15720b40aaca9306dd5227f -Author: Paulo Zanoni -Date: Tue May 26 11:11:52 2015 -0300 - - tests/template: add IGT_TEST_DESCRIPTION - - So people that write tests based on the template don't forget to use - the macro. - - Signed-off-by: Paulo Zanoni - -commit 6b418f0264883871955d82058b1d36f710f810b4 -Author: Imre Deak -Date: Mon Jun 8 19:08:06 2015 +0300 - - tests/gem_storedw_batches_loop: add subtest for cached mappings - - v2: - - add a subtest for uncached mappings too for LLC platforms where the - default is cached mapping (Chris) - - Signed-off-by: Imre Deak - -commit c5a6147a1be440c2d5457f392775e583b2eba8f3 -Author: Chris Wilson -Date: Mon Jun 8 15:56:33 2015 +0100 - - overlay: Fix parsing of gem-objects for '[k]' clients - - Apparently '[]' are not non-whitespace characters and break '%s'. - - Signed-off-by: Chris Wilson - -commit fd772e32a23157fc29649070a6a5e94d70ae02f8 -Author: Damien Lespiau -Date: Fri Jun 5 15:51:40 2015 +0100 - - build: Add the automake subdir-objects option - - automake 1.14 was complaining here: - - overlay/Makefile.am:44: warning: source file 'x11/x11-window.c' is in a - subdirectory, but option 'subdir-objects' is disabled. - - Signed-off-by: Damien Lespiau - -commit c221e0942031a8c7518fd04f346920df766ce6fe -Author: Tim Gore -Date: Wed Jun 3 09:20:21 2015 +0100 - - tests/gem_reset_stats : mask off ring_stop bits - - Function check_gpu_ok checks to make sure that any hangs - have cleared by testing for (flags == 0). Some tests set - the STOP_RINGS_ALLOW_BAN and STOP_RINGS_ALLOW_ERRORS flags - but these do not get cleared by an individual ring reset, - (a feature added recently to the driver), leading the - check_gpu_ok function to think that the gpu is still hung. - - So I mask the flags with STOP_RING_ALL, to ignore the mode - bits and look only at the bits that stop the rings. - - Once gpu_check_ok sees that the gpu is not hung I write 0 - to stop_rings in order to clear it completely. This is - because igt_set_stop_rings will only write to stop_rings - if either a) they are currently 0 or b) we are writing 0. - If we leave the mode bits set then subsequent calls to - igt_set_stop_rings to create hangs will fail. - - Signed-off-by: Tim Gore - -commit a5a6d40ca8a6a809678eda695ee54a085c05b949 -Author: Chris Wilson -Date: Wed Jun 3 13:57:21 2015 +0100 - - igt/gem_streaming_writes: Reorder src/dst to avoid executing on snooped - - During the streaming setup, we execute a dummy batch in order to bind - the objects into the GTT and query their offsets. For this, we should - not use a snooped buffer for the dummy batch, or else we may anger the - GPU. Given that we have a choice, use the other buffer for the dummy - batch. - - Signed-off-by: Chris Wilson - -commit 85ee6e7b366713aca9d98d587f03eb7583f38830 -Author: Tvrtko Ursulin -Date: Mon Jun 1 11:11:15 2015 +0100 - - gem_userptr_benchmark: Test overlapping bo mmu notifier performance impact - - Current userptr kernel implementation downgrades tracking VMA ranges (real - userspace ones) to an inefficient linear walk for any process which has - instantiated overlapping userptr objects. - - This adds a test which shows the performance cliff on, most visibly, generic - userspace mmap(2) and munmap(2) operations between unsync, non-overlapping - and overlapping userptr objects. - - Signed-off-by: Tvrtko Ursulin - Cc: Chris Wilson - Cc: Thomas Daniel - -commit 977730084647d32b98019924b81b281bef942689 -Author: Chris Wilson -Date: Tue Jun 2 11:15:16 2015 +0100 - - igt/gem_streaming_writes: Map the whole batch for CPU accesses - - The llc cpu path only partially mapped the batch buffer so confused the - CS when attempting to execute an empty batch. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90809 - Signed-off-by: Chris Wilson - -commit 0d16473df4ed29c9836b03090c78debfb9a7e3e6 -Author: Ville Syrjälä -Date: Fri May 8 17:46:21 2015 +0300 - - tests/kms_3d: Reduce the number of expected stereo 3D modes - - Currently the test expects to find 15 stereo 3D modes, however the - number of stereo modes we get from the current kernel EDID parser - is actually 13. - - The extra two modes we had previously were GTF modes, which are no - longer getting added by the kernel since we have corresponding - CEA/DMT modes available. So having the GTF modes in the list was - not actually intentional. - - The kernel commit that change the behaviour: - commit bfcd74d2aeda25a78f7cc92f80650218b1bce0ca - Author: Ville Syrjälä - Date: Thu Apr 2 17:02:11 2015 +0300 - - drm/edid: Add DMT modes with ID > 0x50 - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90368 - Signed-off-by: Ville Syrjälä - -commit f386741932a5a6ce4db185f91445b8ad63ed1b02 -Author: Antti Koskipaa -Date: Thu May 28 14:44:54 2015 +0300 - - tests/pm_backlight: Add backlight test - - This is a basic sanity test of the backlight sysfs interface. - - v2: - - Add jani's suggestion for immediate readback - - Remove unused parameter from test_and_verify() - - Add fade test - - Issue: VIZ-3377 - Signed-off-by: Antti Koskipaa - Reviewed-by: Jani Nikula - Signed-off-by: Thomas Wood - -commit b1e40e97c89a82b6f574af298214ea599b089264 -Author: Mike Mason -Date: Wed May 27 08:25:06 2015 -0700 - - scripts/run-tests.sh: add option to not retry incomplete tests on resume - - This patch utilizes piglit's new --no-retry option. That option - prevents incomplete tests from being retried when resuming a - test run. This is necessary because retrying tests that cause - a crash or reboot prevents a test run from being resumed. - - This patch also adds -s to the piglit command line. The -s option - forces test logs to be synced to disk after every test. - Without it, some logs can be lost if a test causes a crash - or reboot, making it impossible to resume the test run at the - correct point. - - Signed-off-by: Mike Mason - Signed-off-by: Thomas Wood - -commit f49723872bf02788872f02e37df3e48682b5ef9b -Author: Derek Morton -Date: Mon May 18 14:37:31 2015 +0100 - - lib/igt_core.c: Flag the test as failing after a segfault - - fatal_signal_handler() was trapping fatal errors but not - flagging the test as failing or setting an exit code. - The result was that the test would return Ok or Skipped - depending on what the other subtests did even though one - of the subtests had segfaulted. - - Signed-off-by: Derek Morton - Signed-off-by: Daniel Vetter - -commit 95019c2a3c4ed5943ad16e17c8dcf36fd6492adc -Author: Yunlian Jiang -Date: Tue May 26 10:22:31 2015 -0700 - - debugger: remove unnecessary struct per_thread_data - - This removes unnecessary 'struct per_thread_data' and avoids the - compilation error 'variable length array in structure extension - will never be supported' by clang. The bug entry is - https://code.google.com/p/chromium/issues/detail?id=476001 - - Cc: Benjamin Widawsky - Cc: Thomas Wood - Signed-off-by: Yunlian Jiang - Signed-off-by: Thomas Wood - -commit 88c9a82318bae6bf97e55bf1a28018708aca2200 -Author: Derek Morton -Date: Tue May 26 15:19:17 2015 +0100 - - lib: Enable building unit tests on android - - Add a make file for android so the unit tests can be built. - Enabled asserts for the library code so the unit test behaviour - is correct. - - Signed-off-by: Derek Morton - Signed-off-by: Thomas Wood - -commit f2a5896bdddc595489a61cb0e0051de8d43a2591 -Author: Tvrtko Ursulin -Date: Fri May 22 11:00:45 2015 +0100 - - kms_rotation_crc: Update rotation direction for kernel changes - - commit 1e8df16778b0d8fd8102b3ee799b028f8f961089 - Author: Sonika Jindal - Date: Wed May 20 13:40:48 2015 +0530 - - drm/i915/skl: Swapping 90 and 270 to be compliant with Xrand - - Changed the rotation direction so IGT needs to be told. - - Reviewed-by: Sonika Jindal - Signed-off-by: Tvrtko Ursulin - Cc: Ville Syrjälä - Cc: Sonika Jindal - Signed-off-by: Damien Lespiau - -commit 308b0e856b503f953a21d98f2b808e8fdd67004f -Author: Chris Wilson -Date: Wed May 20 14:51:46 2015 +0100 - - igt/gem_linear_blits: tidy - - Be clean and use memset(0) on ioctl args before use and downgrade some - of the lesser informatic messages to just debug. - - Signed-off-by: Chris Wilson - -commit e93fbc2873b411f9e42d49f758fc9eb845c2ad1b -Author: Chris Wilson -Date: Tue May 19 22:03:04 2015 +0100 - - igt/gem_streaming_write: Add a variant to exercise CS - - Another issue in streaming writes is into the batch buffer. - - Signed-off-by: Chris Wilson - -commit 3d1f9a223627b44fdaf89a5b848a9705429a80a1 -Author: Chris Wilson -Date: Tue May 19 15:18:58 2015 +0100 - - igt/gem_streaming_writes: Remember to markup the write target! - - Signed-off-by: Chris Wilson - -commit 65fec5e5836cb347e99d22320ec3ff776ddf2a1f -Author: Chris Wilson -Date: Tue May 19 14:51:43 2015 +0100 - - igt/gem_streaming_writes: Add more validation steps - - Inalcude a pre-pass to check that the non-streaming, partial writes - work. - - Signed-off-by: Chris Wilson - -commit c0a0725fad11bb7911420cf9b49f8a2ccdf35071 -Author: Damien Lespiau -Date: Tue May 19 15:04:03 2015 +0100 - - list-workarounds: Print the line where the parsing error occured - - Useful to understand the warnings the scripts prints. - - Signed-off-by: Damien Lespiau - -commit 554aac5f3e349cb5e6cd99f42826893abf564d85 -Author: Imre Deak -Date: Fri May 15 17:30:58 2015 +0300 - - tests/pm_rc6_residency: fix check if RC6P or RC6PP is enabled - - The test checks the residency in a given RC6 state or any deeper states - that are also enabled. For example the RC6 subtest checks the combined - residency in RC6/RC6P/RC6PP. Since the kernel reported value for the RC6 - residency doesn't include the RC6P or RC6PP residency we need to adjust - the RC6 value accordingly. A similar adjustment is needed for the RC6P - subtest. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90369 - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit 2b47e219be73bb03993fc0d0a78dd7db93c3321b -Author: Imre Deak -Date: Fri May 15 17:29:37 2015 +0300 - - tests/pm_rc6_residency: fix counter readout in case of wrap-around - - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit 05e9edb2b938143677254cab1d122cd8b0ecd4c0 -Author: Imre Deak -Date: Fri May 15 16:58:30 2015 +0300 - - tests/pm_rc6_residency: remove redundant idle loops - - Currently the test runs a separate idle loop when reading out each RC6 - counter. But there is no need for this, we can have a signle idle loop - and read out all the counters at once. - - This prepares for an upcoming patch where we need to consider the RC6P - and RC6PP counters as well when checking RC6. - - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit a2ce95eb9ec1b90a5697d8f8c41ae781328e29bf -Author: Imre Deak -Date: Fri May 15 16:31:09 2015 +0300 - - tests/pm_rc6_residency: sanitize the RC6 enabled mask check - - The way the test checks for the RC6 enabled mask atm doesn't work: - calling igt_success outside of any subtests doesn't have any effect. - This means the test will run a 11 second idle loop for each RC6 state - regardless if the platform supports these or have them enabled. Fix this - by checking explicitly if a given RC6 state is enabled before reading - out/checking the corresponding counter. - - With this fix we can also get rid of the GEN6/IVB checks, since the RC6 - mask check makes them redundant. We still need the VLV/CHV checks, since - media RC6 doesn't have a separate bit in the mask. - - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit a76591a4be53b608c5cb9793227aa4a957a2f7b1 -Author: Imre Deak -Date: Fri May 15 16:22:23 2015 +0300 - - tests/pm_rc6_residency: factor out the code to measure residencies - - The upcoming patches will add some additional logic around reading out - the counter values, so factor out the readout code to prepare for those - patches. - - No functional change. - - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit 7883bc8c1cdf3b1cde32acceb4bd4b4c2575ff32 -Author: Imre Deak -Date: Fri May 15 16:15:33 2015 +0300 - - tetst/pm_rc6_residency: sanitize counter check function arguments - - The counter check function (residency_accuracy) cares only about the - counter delta, so no need to pass it the start/stop values separately. - Simplify things to prepare for the upcoming patches. - - No functional change. - - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit a572fb15f350be2c002b53a97cae6ceefb155df8 -Author: Imre Deak -Date: Tue May 12 16:29:32 2015 +0300 - - tests/pm_rc6_residency: simplify the residency counter check - - The temporary vars only obfuscated things, so get rid of them. Also - remove some redundant asserts and info messages. - - The only functional change is that the counter delta will be checked - only against a percentage based accuracy range (90%-100%) and not - against a hard-coded limit (RC6_FUDGE). The two checks serve the same - purpose and the former one is clearer. - - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit 5253af92ad6811d7c02b75355b3a47a60961b60a -Author: Damien Lespiau -Date: Fri May 15 19:37:12 2015 +0100 - - lib/bxt: Update the Broxton PCI IDs - - Cc: Imre Deak - Reviewed-by: Imre Deak - Signed-off-by: Damien Lespiau - -commit d819b7ee358de3972ee453221a4c2c99decb5c32 -Author: Derek Morton -Date: Fri May 15 11:24:55 2015 +0100 - - tests/Android.mk: Treat all KMS tests as Cairo dependent - - If ANDROID_HAS_CAIRO is not set, automatically add all - kms tests to the skip_tests_list. - - Building for android currently fails due to the addition of - new kms tests. Rather than just adding the new tests to the - exclusion list, autogenerating a list of all kms tests and - excluding them will reduce future maintainance. - - Signed-off-by: Derek Morton - Signed-off-by: Damien Lespiau - -commit fa4396d0917aae72633cc4d0c8e14222ec494c84 -Author: Damien Lespiau -Date: Thu May 14 15:38:40 2015 +0100 - - gem_bad_blit: Make the BAD_GTT_TEST address more than 32 bits - - gem_bad_blit.c: In function ‘bad_blit’: - gem_bad_blit.c:89:3: warning: right shift count >= width of type [enabled by default] - OUT_BATCH(BAD_GTT_DEST >> 32); /* Upper 16 bits */ - - v2: remove extraneous () - - Signed-off-by: Damien Lespiau - -commit 15f60217cc79950702afe599b567bdf8fbd5ce75 -Author: Damien Lespiau -Date: Thu May 14 14:49:59 2015 +0100 - - intel_display_crc: A new tool to play with display CRCs - - The CRC debug interface is a bit more than a simple textual file in - debugfs as there are a small command language to control what we want - from them. - - This tool starts, slowly, by allowing us to dump the pipe CRCs whenever - we want. It can be handy to check what is the current CRC when we reach - a certain state on the screen (when using --interactive-debug for - instance) against a known CRC. - - Signed-off-by: Damien Lespiau - -commit fd6846c99f00e265f558cf0106c833b96caf977f -Author: Damien Lespiau -Date: Thu May 14 14:19:01 2015 +0100 - - lib: Add a user data pointer to the argument parsing functions - - It can be useful to have one of those to carry state between the handler - parsing the options and the rest of the test. Right now the only thing - we can do is to use global variables for that. - - Signed-off-by: Damien Lespiau - -commit 7a5e1c6f0aebcfabecc3db96cb87add894530326 -Author: Thomas Wood -Date: Thu May 14 16:38:01 2015 +0100 - - tests: match gem_create prototype in igt_eviction_test_ops create function - - This avoids a warning when using gem_create as the create function. - - Signed-off-by: Thomas Wood - -commit aa6c63463feaba83efb893b4e69e0d334f99afea -Author: Thomas Wood -Date: Thu May 14 16:24:01 2015 +0100 - - igt.cocci: don't use igt_assert_neq to compare pointers - - igt_assert_neq can only compare integers, not pointers. - - Signed-off-by: Thomas Wood - -commit 6141aa2dad814ba8e1254c8e8213f1ba3ae6835a -Author: Thomas Wood -Date: Thu May 14 16:00:25 2015 +0100 - - docs: various documentation fixes - - Fix various typos, add missing parameter documentation, include the - igt_draw section and update the list of ignored headers. - - Signed-off-by: Thomas Wood - -commit 1f6f6c07bd5bed8540dd309c3f5eac9270955f72 -Author: Derek Morton -Date: Thu May 14 09:59:44 2015 +0100 - - tests/gem_cpu_reloc: Fix gem_cpu_reloc OOM failure - - On android with small memory footprints gem_cpu_reloc can fail - due to OOM. - - Refactor gem_cpu_reloc into 2 tests, a basic test which performs - 10 relocations and a full test which skips if there is insufficient - memory. - - Changed the memory required test to better estimate the actual - RAM used. - - v2: Addresed comments from Thomas Wood - - Signed-off-by: Derek Morton - Signed-off-by: Thomas Wood - -commit 1a80f90b7d0f804b39342fcd676f307e03216454 -Author: Paulo Zanoni -Date: Thu May 7 14:14:07 2015 -0300 - - tests/kms_fb_crc: fix the reference CRC checking - - Now we get the reference CRCs on separate untiled FBs just to make - sure FBC is not there to mess the CRC computation. We also get the - reference CRCs for buffers that were drawn in the same way that we - draw them during the tests, so we can finally get rid of that FIXME - comment we have! - - With this, kms_fbc_crc now actually tests something instead of just - wasting CPU cycles... - - Fixes regression introduced by: - - commit 562bbe12f6fb75811a746c742a28d32a17b26aa9 - Author: Daniel Vetter - Date: Fri Feb 27 22:04:18 2015 +0100 - tests: Remove usage of igt_crc_equal and _non_null - - Cc: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit 31906084dea4f3570fea3a0a377a18665be14ba9 -Author: Paulo Zanoni -Date: Thu May 7 13:50:17 2015 -0300 - - tests/kms_fbc_crc: extract fill_mmap_{cpu,gtt}() - - Just like we have fill_render() and fill_blt(). I'm also going to use - fill_mmap_gtt() for the code that generates the reference CRCs. - - Signed-off-by: Paulo Zanoni - -commit b3faeb16fe455497e93846979f21ca08d598d0fe -Author: Paulo Zanoni -Date: Thu May 7 12:16:01 2015 -0300 - - tests/kms_fbc_crc: make the blt test draw the same pattern - - ... as the other drawing tests: single white pixel at top/left of the - screen, instead of painting the whole screen blue. - - This will make it much easier to fix the CRC checking code. - - Signed-off-by: Paulo Zanoni - -commit 5d3c2a6353bfb10f328d65812d7a08145103f422 -Author: Paulo Zanoni -Date: Wed May 6 19:20:17 2015 -0300 - - tests/kms_fbc_crc: extract check_crc() - - To remove some duplicated code. When we finally fix that FIXME, the - code will get a little bigger too. - - Signed-off-by: Paulo Zanoni - -commit a976d7e44abb9d4e4540a8d072cdf55a7e0ea37b -Author: Paulo Zanoni -Date: Wed May 6 19:15:37 2015 -0300 - - tests/kms_fbc_crc: refactor context handling code - - Just a small modification to make the code a little easier to - understand, IMHO. - - Signed-off-by: Paulo Zanoni - -commit fceed3a585cfcc5d2f412f11029a5a2ff3af3726 -Author: Paulo Zanoni -Date: Wed May 6 19:10:46 2015 -0300 - - tests/kms_fbc_crc: unify flip handling - - Just a small simplification to make the code a little easier to - understand, and to help us when we further split drawing vs flipping - later. - - Signed-off-by: Paulo Zanoni - -commit 036401d42c83ab61514fa529ea9e3647a2c8b40f -Author: Paulo Zanoni -Date: Tue May 5 18:05:54 2015 -0300 - - tests/kms_fbc_crc: increase the FBC wait timeout - - Now that we moved to the frontbuffer tracking scheme, it may take a - long time for FBC to be updated after it is invalidated: 300ms is not - enough anymore. - - The problem starts when i915_gem_execbuffer2() indirectly calls - intel_fb_obj_invalidate(), which disables FBC. After this, FBC only - gets reenabled when i915_gem_retire_work_handler() happens and - indirectly calls intel_frontbuffer_flush(). Notice that while FBC is - not yet enabled, the screen contents are correct, so this shouldn't - really be a bug. - - Previous versions of this patch were replacing the gem_bo_busy() calls - with gem_sync(), but after some discussion we concluded this was not - the correct way to handle the problem, so let's just increase the - timeout so we can kill those subtest failures. - - Signed-off-by: Paulo Zanoni - -commit 8c3ac50b00d08daa4b0794d96e76cf78f1253940 -Author: Paulo Zanoni -Date: Tue May 5 17:38:49 2015 -0300 - - tests/kms_fbc_crc: exec_nop() can also invalidate FBC - - So make sure that, at prepare_test(), we wait for FBC to be enabled - again after we run the exec_nop() call. Since after this happens, we - just assert fbc_enabled() at test_crc() instead of waiting for it to - be enabled. - - This is now needed because we moved to software frontbuffer tracking, - so it can take some considerable time for FBC to be reenabled after it - is disabled. - - A previous version of this patch was just calling gem_sync() after - exec_nop(). - - Signed-off-by: Paulo Zanoni - -commit 641d535a03ada74a3088309609a16c79076e6ccc -Author: Paulo Zanoni -Date: Wed May 6 15:23:51 2015 -0300 - - lib/debugfs: wait_for_keypress("crc") when collecting CRC - - Let's just steal the "crc" namespace and add this by default to - igt_pipe_crc_collect_crc() instead of adding more calls to other - tests. If tests want special waits on just some of their collect_crc() - calls, they can use another name instead of "crc". - - This is very useful when developing, especially when the CRC we get is - wrong: we want to look at the screen to see what's going on before we - can think about how to fix the problem. So let's add this to the lib - instead of adding this to every single test I need to debug. - - v2: Add some documentation (Daniel). - - Signed-off-by: Paulo Zanoni - -commit 3db5762384a9495241c1e80ce315a2092e83686a -Author: Mike Mason -Date: Tue May 5 17:14:55 2015 -0700 - - scripts/run-tests.sh: use single combined test list - - i-g-t now creates a single combined test list for tests with - and without subtests. This patch adapts run-tests.sh to that - change. - - Signed-off-by: Mike Mason - Signed-off-by: Thomas Wood - -commit e949c42b496a3cd4f69a2c1953a58d4c1d1f7b46 -Author: Damien Lespiau -Date: Tue May 12 16:39:45 2015 +0100 - - quick_dump: Expand the WM cursor registers - - The tool I used to generate that list doesn't support expanding the list - of registers when dealing with something like CUR_WM_A_*. Expand it by - hand for now (tm). - - Remove CUR_PAL_${pipe}_* for the same reason (and because it's not very - useful to have). - - Signed-off-by: Damien Lespiau - -commit 2ce298cf13f023d50132658e1ff7569e7507c5c6 -Author: Chris Wilson -Date: Tue May 12 15:25:03 2015 +0100 - - igt/gem_stream_writes: Use execbuf LUT to shave a few cycles off dispatch - - Since our goal is to have concurrent read/writes of GPU buffers, we want - to spend as little time in between as possible. - - Signed-off-by: Chris Wilson - -commit 27cf5847dc9f14417b4a51a0b21213ba8ff04ebd -Author: Daniele Ceraolo Spurio -Date: Tue May 12 13:09:30 2015 +0100 - - tests/gem_cs_tlb: fix hardcoded ring id - - The test has 4 subparts, one for each ring, but internally they all - submit to ring 0. Fix it to use the provided ring_id - - Signed-off-by: Daniel Vetter - -commit 980ccf124a87c05aa11c2406d9cf1575e1e3c08e -Author: Tvrtko Ursulin -Date: Tue May 12 11:06:37 2015 +0100 - - igt_kms: Do not reset plane position on assigning a fb - - commit a26f9f9ad0e679c7ce413a25d34f6914e1174151 - Author: chandra konduru - Date: Mon Mar 30 13:52:04 2015 -0700 - - i-g-t: Adding plane scaling test case - - Started doing this and broke kms_rotation_crc. - - Signed-off-by: Tvrtko Ursulin - Reviewed-by: chandra konduru - Signed-off-by: Daniel Vetter - -commit c3bd608fc51620145d29a3ded97370c27cb0ab0c -Author: Tvrtko Ursulin -Date: Tue May 12 11:06:36 2015 +0100 - - igt_kms: Merge condition in igt_plane_set_fb - - There were two paths for fb and !fb. - - Signed-off-by: Tvrtko Ursulin - Reviewed-by: chandra konduru - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 759bb7ac98eaa830fb94af59c3d743adbf465cc7 -Author: Tvrtko Ursulin -Date: Tue May 12 11:06:35 2015 +0100 - - igt_kms: Avoid NULL ptr deref when commiting disabled planes - - I think; - - commit a26f9f9ad0e679c7ce413a25d34f6914e1174151 - Author: chandra konduru - Date: Mon Mar 30 13:52:04 2015 -0700 - - i-g-t: Adding plane scaling test case - - introduced a condition where it attempts to update a disabled plane because - of the newly introduced size_changed flag which is set for disabled frame - buffers. Result is a NULL ptr deref in igt_drm_plane_commit (plane->fb->src_x). - - Start recognising this case as disabled plane and act accordingly. - - v2: Split out igt_plane_set_fb cleanup. (Thomas Wood) - - Signed-off-by: Tvrtko Ursulin - Reviewed-by: chandra konduru - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 8a5736b496b193ee0211ac34e69e43744e167425 -Author: Tvrtko Ursulin -Date: Tue May 12 11:06:34 2015 +0100 - - kms_flip_tiling: New tiling tests, including Y/Yf - - New subtests to excercise flips from tiled to tiled and from - linear to tiled frame buffers. - - These will catch display programming issues like not preserving the - tiling mode in page flips or not re-programming the watermarks. - - v2: Cleanup crc object after failing subtests. - - v3: - * Wait for page flip completion instead of vblank. (Chris Wilson) - * Added linear->tiled flip tests to catch watermark programming issues. - - v4: - * Refactored for less code. - * Check crc after page flip to ensure it happened. (Chris Wilson) - * Skip rather than fail when flip fails. (Chris Wilson) - - Signed-off-by: Tvrtko Ursulin - Reviewed-by: Chris Wilson - Cc: Daniel Vetter - Signed-off-by: Daniel Vetter - -commit b6d26c2a4858d3e6dd70f3278861b333c2758b72 -Author: chandra konduru -Date: Mon May 11 11:51:56 2015 -0700 - - i-g-t: Update kms_panel_fitting to work on other platforms - - kms_panel_fitting currently enabled for SKL only, but as - panel_fitters are available on prior platforms, enable this - kms test for them too. - - Signed-off-by: chandra konduru - Signed-off-by: Daniel Vetter - -commit f5dd258cc7276be30d699d68f7c6952b04067529 -Author: Chris Wilson -Date: Tue May 12 10:02:59 2015 +0100 - - igt/gem_streaming_writes: Build in a self-test - - Use the first pass to write all values prior to the initial execbuf to - verify that the copy itself is true. Subsequent passes then focus on - verifying that writing values whilst the GPU is reading from - neighbouring values is then correct. - - Signed-off-by: Chris Wilson - -commit a5a010c82d07db6c0397ba7e5f50c00683a5c5f3 -Author: Chris Wilson -Date: Tue May 12 09:28:34 2015 +0100 - - igt/gem_mmap/huge-bo: Fix cut'n'paste error - - One paste too many before pushing. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90411 - Signed-off-by: Chris Wilson - -commit 357073c257fddea385a94923024ad142cb3056ec -Author: Chris Wilson -Date: Mon May 11 17:35:35 2015 +0100 - - igt/gem_streaming_writes: Trim number of batch buffers allocated - - Reduce memory usage for batches by a factor of 64 - which we immediately - spend some of in increasing the stress. - - Signed-off-by: Chris Wilson - -commit 5f932c4dad73b276fda5b2a44b15fc922af1a35e -Author: Damien Lespiau -Date: Mon May 11 19:31:26 2015 +0100 - - quick_dump/skl: Add more pipe/plane registers - - With the recent developments, add scaler and NV12 registers to the dump. - Also add the cursor registers that were missing in the first batch. - - Signed-off-by: Damien Lespiau - -commit f6155ac30c0f195845200174abc41d71279bef49 -Author: Damien Lespiau -Date: Mon May 11 17:53:44 2015 +0100 - - build: Add missing line continuation - - When -lrt was added, it was missing a '\' at the end of line. Add it. - - Cc: Tim Gore - Cc: Thomas Wood - Signed-off-by: Damien Lespiau - -commit 09ea86eac13d319fe6a1b84b0b1ff1db1bb86189 -Author: Damien Lespiau -Date: Mon May 11 16:36:51 2015 +0100 - - kms_cursor_crc: Move comment to the appropriate place - - Signed-off-by: Damien Lespiau - -commit 672238dbf76704019d6248e6031479afb8888d3f -Author: Chris Wilson -Date: Mon May 11 15:06:30 2015 +0100 - - igt: Add gem_streaming_writes - - This tries to replicate the missing barrier observed when using - asynchronous mmap(wc) on byt. - - Signed-off-by: Chris Wilson - -commit d9dd33c0d93d5d1a1f9ff3a4a5059367931cadae -Author: Damien Lespiau -Date: Mon May 11 15:08:58 2015 +0100 - - lib: Add missing '\n' to error message - - Those messages where missing a new line at the end. Take the opportunity - to re-format the messages to fit in the 80 chars limit. - - Signed-off-by: Damien Lespiau - -commit 9b0a32dc80b6b0c0f35d06fc833f29510efccd72 -Author: Chris Wilson -Date: Sun May 10 09:09:54 2015 +0100 - - lib/core: Limit fatal signal CRASH reporting to the fatal signals - - Signed-off-by: Chris Wilson - -commit cb57cdc6327f100ade8d205f6bd2da05cf78c3a4 -Author: Damien Lespiau -Date: Thu May 7 18:17:32 2015 +0100 - - skl_compute_wrpll: Prefer even dividers - - Signed-off-by: Damien Lespiau - -commit b3ef2986caebe89adc3fa8a967503f738c38a4da -Author: Damien Lespiau -Date: Thu May 7 18:17:08 2015 +0100 - - skl_compute_wrpll: Count how many even/odd dividers we compute - - Signed-off-by: Damien Lespiau - -commit 8d1739dd84070d8bad0b2940b0026f14cb50f13d -Author: Damien Lespiau -Date: Thu May 7 16:54:21 2015 +0100 - - skl_compute_wrpll: Make sure we respect the DCO frequency constraints - - We might as well verify that we have a semblance of all being in order - by making sure the DCO frequency is within the expected bounds. - - Signed-off-by: Damien Lespiau - -commit acbcdbd8b71604fc0578894eb8f19d926fd8e55b -Author: Damien Lespiau -Date: Tue May 5 16:31:37 2015 +0100 - - skl_compute_wrpll: Add a way to test the SKL WRPLL algorithm - - I had various problems (infinite loops, unable to compute dividers for - certain frequencies) after implementing a BSpec update. Much easier to - debug that in userspace. - - Signed-off-by: Damien Lespiau - -commit 5dbeebc8aadab79047aab978766d8a5677de9b2d -Author: Damien Lespiau -Date: Tue May 5 15:45:21 2015 +0100 - - compute_wrpll: Rename ddi_compute_wrpll to hsw_compute_wrpll - - We're going to add the SKL version, time to rename the HSW/BDW one. - - Signed-off-by: Damien Lespiau - -commit 09f4175889a2107691a9e21d27d74fcd572121b0 -Author: Chris Wilson -Date: Fri May 8 16:44:40 2015 +0100 - - igt/gem_mmap_gtt: Add pagefault-of-doom failure case - - This is a test that should be a showcase for partial views... - - Signed-off-by: Chris Wilson - -commit 578795ff9549f680d426879cf19ef6124a51fcc4 -Author: Chris Wilson -Date: Fri May 8 14:35:37 2015 +0100 - - lib: Teach igt to handle signal failures gracefully - - If we see a fatal signal in a subtest, fail. - - Signed-off-by: Chris Wilson - -commit be955173d0481dd7f5dabe4a8531811d17e66470 -Author: Chris Wilson -Date: Fri May 8 11:43:50 2015 +0100 - - igt/gem_mmap_gtt: Check GTT mmapping of large tiled objects - - Move function CPU mmap test of large bo to gem_mmap, and include a - page-by-page copy between two huge objects (as we have had many bugs - triggering pagefault-of-doom for full apertures before). - - Signed-off-by: Chris Wilson - -commit cf9f48e704030b606260919f2da4c4287e51c4af -Author: Paulo Zanoni -Date: Thu Feb 19 15:41:15 2015 -0200 - - lib: add igt_draw - - For all those IGT tests that need an easy way to draw rectangles on - buffers using different methods. Current planned users: FBC and PSR - CRC tests. - - There is also a tests/kms_draw_crc program to check if the library is - sane. - - v2: - Move the test from lib/tests to tests/ (Daniel). - - Add igt_require() to filter out the swizzling/tiling methods we - don't support (Daniel). - - Simplify reloc handling on the BLT case (Daniel). - - Document enum igt_draw_method (Daniel). - - Document igt_draw_get_method_name() (Paulo). - v3: - Add IGT_DRAW_MMAP_WC (Chris). - - Implement the other trivial swizzling methods (Chris). - - Remove the gem_sync() calls (Chris). - - Signed-off-by: Paulo Zanoni - -commit 8d3023c15bcc9890ab7b89fa8ae4564a295078c2 -Author: Paulo Zanoni -Date: Tue May 5 16:20:05 2015 -0300 - - tests/kms_fbc_crc: fix debugfs read - - Commit 47f6b1305cc3752f318a555b932e194e1500c1d8 completely broke this - test due to the fread() assertion. When we're reading the debugfs file - we really don't care about how many bytes we read because the number - is not constant and we just use strstr() later. Change the assertion - to make it check for at least 1 byte read, just to make sure no one - changes that again. - - Regression introduced by: - commit 47f6b1305cc3752f318a555b932e194e1500c1d8 - Author: Thomas Wood - Date: Wed Mar 25 16:42:57 2015 +0000 - igt.cocci: check the return values of various functions - - Cc: Thomas Wood - Signed-off-by: Paulo Zanoni - -commit 159562c8251d3bd27d338ea7ac6a2936becd05c2 -Author: Daniele Ceraolo Spurio -Date: Wed May 6 15:01:30 2015 +0100 - - tests/gem_ppgtt: Check for vm leaks with flink and ppgtt - - Using imported objects should not leak i915 vmas (and vms). - - In practice this simulates Xorg importing fbcon and leaking (or not) one vma - per Xorg startup cycle. - - v2: use low-level ioctl wrappers and bo offset to check the leak (Chris) - v3: use the flinked bo as batch (Chris) - v4: add check on offset, remove unneeded assignments (Chris) - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniele Ceraolo Spurio (v2+) - Reviewed-by: Chris Wilson - Cc: Chris Wilson - Cc: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit aa720ffaf59da0802fe58bd5850075432f644f40 -Author: Daniel Vetter -Date: Wed May 6 11:38:06 2015 +0200 - - lib/mmio: One more s/OUTRET/OUTREG/ - - A those typos ... - - Signed-off-by: Daniel Vetter - -commit 9bb2ca3a83efd528c11c8515ad85456d53717619 -Author: Daniel Vetter -Date: Wed Mar 25 21:15:34 2015 +0100 - - lib/batchbuffer: Fix COLOR_BLIT_COPY_BATCH_START - - Reviewed-by: Paulo Zanoni - Signed-off-by: Daniel Vetter - -commit c0ed7d344af4d60d2c9663041233c3e0fbc2dc38 -Author: Paulo Zanoni -Date: Tue Mar 24 17:35:10 2015 -0300 - - tests/kms_fbc_crc: remove redundant information from data_t - - While it is nice to have shorter names for the most-accessed - variables, it makes the code more difficult to read since it's not - clear to the code reader whether that "gem_handle" is from some FB or - something else. The reader also has to audit the code to see if, for - example, the value of data->handle[0] stays consistent with - data->fb[0].gem_handle all the tame or if at some point the value is - replaced with something else. So remove the redundant information, - making it explicit that we're using the gem handles and FB IDs of the - framebuffers all the time. - - Signed-off-by: Paulo Zanoni - -commit 235e87de450714df9982fb86fae2dd5a9e8e2980 -Author: Paulo Zanoni -Date: Tue Mar 24 17:11:05 2015 -0300 - - tests/kms_fbc_crc: use igt_pipe_crc_collect_crc() - - Instead of its hardcoded implementation. - - Signed-off-by: Paulo Zanoni - -commit 26ff2c7daac88e12969530a62703913ba9ee0fe3 -Author: Paulo Zanoni -Date: Fri Dec 5 13:40:00 2014 -0200 - - tests/kms_fbc_crc: add wait_for_fbc_enabled() - - The code has a common pattern of "wait 300ms, then check if FBC is - enabled". Most of the time FBC is enabled in either 50ms or 0ms, so - introduce wait_for_fbc_enabled(), which can return much earlier if FBC - is actually enabled before the 300ms timeout. - - Signed-off-by: Paulo Zanoni - -commit 9bb04d3aa6a2b1b86e091967e312a19ce337df4d -Author: Paulo Zanoni -Date: Wed Dec 3 16:12:49 2014 -0200 - - lib: add igt_wait() - - Just a little helper for code that needs to wait for a certain - condition to happen. It has the nice advantage that it can survive the - signal helper. - - Despite the callers added in this patch, there is another that will go - in a separate patch, and another in a new IGT test file that I plan to - push later. - - v2: Check COND again before returning in case we hit the timeout. - - Signed-off-by: Paulo Zanoni - -commit a734ac2058fd0cce842a4290335c0697d89b2d63 -Author: Jani Nikula -Date: Tue Apr 28 13:31:30 2015 +0300 - - rename global mmio variable to igt_global_mmio - - Global variable names should reflect the fact that they are indeed - global, and at the very least they should not be as short as just - "mmio". Rename mmio to igt_global_mmio. - - Signed-off-by: Jani Nikula - -commit db84a8cf143f5d343220eb1d85a20b8b3da4036c -Author: Jani Nikula -Date: Tue Apr 28 11:39:22 2015 +0300 - - tests/gen7_forcewake_mt: use local mmio variable - - igfx_get_mmio() uses the global mmio variable by accident. Use a local - variable instead. - - The intention is to rename the global variable later on, so shadowing it - here does not matter. - - Signed-off-by: Jani Nikula - -commit 0bbbc6360fb1b7adf325ada1bdf7e200ceb8c5c4 -Author: Jani Nikula -Date: Tue Apr 28 13:34:13 2015 +0300 - - intel_vga_{read,write}: use INREG and OUTREG - - Use INREG and OUTREG instead of using mmio directly. - - Signed-off-by: Jani Nikula - -commit 33c2e8b083953401949a9540f47ebb5770e4b543 -Author: Jani Nikula -Date: Tue Apr 28 13:25:35 2015 +0300 - - intel_display_poller: use INREG and OUTREG - - Use INREG and OUTREG instead of using mmio directly. - - Signed-off-by: Jani Nikula - -commit fb1515c170b01575dc18d24879dd20bc300db22d -Author: Jani Nikula -Date: Wed Apr 15 15:50:19 2015 +0300 - - intel_watermark: switch to INREG - - Use INREG instead of using mmio directly. - - Signed-off-by: Jani Nikula - -commit 12d785bcd47396b477cca206e5db2158d02ffd5b -Author: Jani Nikula -Date: Wed Apr 15 15:47:34 2015 +0300 - - intel_reg_{read,write}: switch to INREG and OUTREG - - Use INREG and OUTREG instead of using mmio directly. - - Signed-off-by: Jani Nikula - -commit 87eb37c86b5c4212e48cae1a05a9c21b7ff03e3e -Author: Jani Nikula -Date: Wed Apr 15 15:45:25 2015 +0300 - - intel_reg_checker: switch to INREG - - Use INREG instead of using mmio directly. - - Signed-off-by: Jani Nikula - -commit e9f4c5f9b92ade8465414d3a461d490bf7861476 -Author: Jani Nikula -Date: Wed Apr 15 15:39:55 2015 +0300 - - intel_backlight: switch to INREG and OUTREG - - Use INREG and OUTREG instead of using mmio directly. - - Signed-off-by: Jani Nikula - -commit 510ac32db14e5e847aaf998992f69768c7fffc41 -Author: Jani Nikula -Date: Wed Apr 15 15:42:00 2015 +0300 - - intel_reg: switch to INREG and OUTREG - - Use INREG and OUTREG instead of using mmio directly. - - Signed-off-by: Jani Nikula - -commit 23b7f089207e44244ecc5757a2be5263db08581b -Author: Jani Nikula -Date: Tue Apr 28 11:52:42 2015 +0300 - - lib: add 16 and 8 bit versions of INREG and OUTREG - - Add INREG8, INREG16, OUTREG8, and OUTREG16. While at it, cleanup doc - comments of INREG and OUTREG. - - Signed-off-by: Jani Nikula - -commit 30e84df0c110971cc07cc81fdbf66aa9e7840bc6 -Author: David Herrmann -Date: Mon May 4 20:15:54 2015 +0200 - - tests: add drm_auth tests for generic DRM-auth-magic testing - - This adds tests/drm_auth.c which tests for drmGetMagic() and - drmAuthMagic() deficiencies. - - Signed-off-by: David Herrmann - Signed-off-by: Daniel Vetter - -commit 3be592001b6944433490d491596694ca66bd134f -Author: Michel Thierry -Date: Tue Apr 14 16:42:58 2015 +0100 - - igt/gem_ctx_exec: Add lrc lite restore subtest - - Exercise lite-restore (re-submit a context that is currently running), - by queueing several small batchbuffers. - - This test helps to validate WaIdleLiteRestore. - - Signed-off-by: Michel Thierry - -commit c4ec47b46d7e716f153a904c5a5b5b01a5afc7de -Author: Chris Wilson -Date: Sun May 3 09:16:25 2015 +0100 - - igt/gem_exec_lut_handle: Force slow relocation path - - Signed-off-by: Chris Wilson - -commit c317b788c09e047c951b36a4a8acbce9f8d2f03e -Author: Tvrtko Ursulin -Date: Thu Apr 30 12:27:54 2015 +0100 - - igt_fb: Close the image file when we are done with it - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 48a27bcaf6a284235c41ce196b4969a472f264e6 -Author: Tim Gore -Date: Mon Apr 27 16:17:50 2015 +0100 - - lib/igt_core.c : only disable low mem killer once - - The call to low_mem_killer_disable(true) was being done - from within function oom_adjust_for_doom. However, - oom_adjust_for_doom gets called from 3 places. We only - want the call to low_mem_killer_disable(true) to happen - during common_init, so call it from here instead of from - oom_adjust_for_doom. - - v2:Thomas Wood pointed out that the initial call to disable - the low_mem_killer does not get made when we are just - listing subtests; so I have qualified the call from the - exit handler, which re-enables the low_mem_killer, with - if (!igt_only_list_subtests()). - For belt and braces I have also made low_mem_killer_disable - idempotent, so multiple calls to disable or re-enable are - safe. - - Signed-off-by: Tim Gore - [Thomas: small coding style fix] - Signed-off-by: Thomas Wood - -commit 637f0455da91c91eedae1245464b45f0c3f7310e -Author: Tvrtko Ursulin -Date: Mon Apr 27 12:29:11 2015 +0100 - - kms_rotation_crc: Do not leak framebuffers during test duration - - Test used to call prepare_crtc twice in the plane loop and leaked two - framebuffers per [subtest]x[pipe]x[plane]. - - What the loops really wants to do, instead of second invocation of - prepare_crtc, is to just turn on the display with the unrotated fb to - verify that the plane property has been restored by the VT transition - from previous to graphics mode. - - To enable that factor out code which does that from prepare_crtc into - commit_crtc and call it instead. - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Signed-off-by: Thomas Wood - -commit 4650d3406cd2e1378b215793730b59c065c230d4 -Author: Jani Nikula -Date: Tue Apr 14 22:33:33 2015 +0300 - - man: add man page for intel_reg in reStructured text format - - Produce the intel_reg man page from rst using rst2man. Also facilitate - writing any man page in reStructured text, as long as rst2man is - available. - - v2: configure check for rst2man, credits to Thomas Wood for that. - - Signed-off-by: Jani Nikula - -commit 30a1360f6abeed5f7aaaa069380d07f94ae9a036 -Author: Tvrtko Ursulin -Date: Wed Apr 29 13:24:34 2015 +0100 - - igt_fb: Transfer existing content to Cairo surface for Y/Yf frame buffers - - Rendering into Y and Yf tiled frame buffers with Cairo was losing the - previous content ie. was starting from black. This is different than the - behaviour with linear and X tiled so make it the same by blitting the - initial content when creating the rendering context. - - Signed-off-by: Tvrtko Ursulin - Cc: Damien Lespiau - Signed-off-by: Damien Lespiau - -commit fc69bb0de5f072be45e327bfff0efade6880a1a9 -Author: Chris Wilson -Date: Mon Apr 27 21:05:33 2015 +0100 - - igt/gem_exec_big: Check 64bit relocation values - - On gen8, we should check that the full 64bit relocation value is - correct, and we should be sure to poison the relocation offset between - runs. - - Signed-off-by: Chris Wilson - -commit 40b45bace325b13519c4ddc71eb64665c7796350 -Author: Thomas Wood -Date: Mon Apr 27 17:34:41 2015 +0100 - - tools: add missing header to distributed sources - - Make sure all the sources for intel_reg are included in the - distribution. - - Signed-off-by: Thomas Wood - -commit bad8834ee77e7defb3e1ceb150b07bf6e82d4693 -Author: Thomas Wood -Date: Mon Apr 27 15:32:41 2015 +0100 - - tools: update .gitignore - - Signed-off-by: Thomas Wood - -commit a3e336e4614613e30b2bb2cd21b76c1c69614475 -Author: Joonas Lahtinen -Date: Fri Apr 24 10:38:58 2015 +0300 - - tests/gem_mmap_gtt: Use PAGE_SIZE instead of hard coded value - - Now that there is PAGE_SIZE define, use it. - - Signed-off-by: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit dbf6468f90f864decc79cb5c5802cb4d230fb46d -Author: Tvrtko Ursulin -Date: Wed Apr 22 16:46:48 2015 +0100 - - kms_rotation_crc: Use main test for negative cases - - Saves a good amount of code duplication by supporting expected - failures from the main loop. - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Reviewed-by: Sonika Jindal - Signed-off-by: Thomas Wood - -commit 6f5d400ae9323a7c1c616d591876f29ca0ad0f10 -Author: Tvrtko Ursulin -Date: Wed Apr 22 16:46:47 2015 +0100 - - kms_rotation_crc: No need to square the buffer in paint - - Now that size is calculated in a single place and correct geometry passed in, - paint squares does not need to concern itself with it. - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Reviewed-by: Sonika Jindal - Signed-off-by: Thomas Wood - -commit b769a7c96b4ccf33b9ea75f4d99856995b5ac571 -Author: Tvrtko Ursulin -Date: Wed Apr 22 16:46:46 2015 +0100 - - kms_rotation_crc: Consolidate plane and cursor code paths - - There can only be one, either a plane or a cursor, in each subtest so there - is no need for two framebuffer varilables and also some codepaths can be - unified. - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Reviewed-by: Sonika Jindal - Signed-off-by: Thomas Wood - -commit e23a818c180bfd81ec2eeb1e9ac55223f4bf9658 -Author: Tvrtko Ursulin -Date: Wed Apr 22 16:46:45 2015 +0100 - - kms_rotation_crc: Negative test does not need to render anything - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Reviewed-by: Sonika Jindal - Signed-off-by: Thomas Wood - -commit 148c0d22816f170284edc4232fc58bff58bd1e28 -Author: Tvrtko Ursulin -Date: Wed Apr 22 16:46:44 2015 +0100 - - kms_rotation_crc: Remove unused variable in negative test - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Reviewed-by: Sonika Jindal - Signed-off-by: Thomas Wood - -commit d9011062404a37929bcfb7f1dbfbd9d901215e6f -Author: Tvrtko Ursulin -Date: Wed Apr 22 16:46:43 2015 +0100 - - kms_rotation_crc: Framebuffer used for initial modeset does not need to be painted - - It is just there to light up the display using the full modeset. Also renamed it - from fb_full to fb_modeset to be more descriptive. - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Reviewed-by: Sonika Jindal - Signed-off-by: Thomas Wood - -commit 4dd79d13c94a48c1d346eddb4936d0990c55fdab -Author: Tvrtko Ursulin -Date: Wed Apr 22 16:46:42 2015 +0100 - - kms_rotation_crc: Local framebuffers do not need to be global - - Signed-off-by: Tvrtko Ursulin - Cc: Sonika Jindal - Reviewed-by: Sonika Jindal - Signed-off-by: Thomas Wood - -commit 019ae907ffcb6c4470ddb114a4d0de9634dc4fef -Author: Chris Wilson -Date: Sun Apr 26 12:16:44 2015 +0100 - - lib: Fix types for gem_mmap* - - Signed-off-by: Chris Wilson - -commit fb950bc17ff8dfa3235535a12f0c4dcde281b2e3 -Author: Chris Wilson -Date: Mon Apr 13 19:04:13 2015 +0100 - - lib: Cache static queries - - We frequently check for device capabilities, for which we can safely - assume that there is but one on a system and so cache the first query - value and return it for all future queries. The benefit is to reduce - dmesg debug spam which helps when either bringing up a test or trying to - track down why a test fails. - - Signed-off-by: Chris Wilson - -commit 10f903aa23932e8bce383ee56db8aaefd73dfb28 -Author: Chris Wilson -Date: Sun Apr 26 11:21:10 2015 +0100 - - igt/gem_pwrite: Check that mmap(wc) succeeds - - Signed-off-by: Chris Wilson - -commit cd812a4e89db0150bfcff6d91ffffea37dc106c9 -Author: Chris Wilson -Date: Sun Apr 26 11:18:28 2015 +0100 - - igt/gem_pwrite: Delete unused mmap(wc) for the big CPU test - - Signed-off-by: Chris Wilson - -commit 49bcdc84a3e420a420bce9798b683a02273373f4 -Author: Chris Wilson -Date: Sun Apr 26 10:39:06 2015 +0100 - - igt/gem_pwrite: Also test surfaces larger than the GTT - - Go big or go home! - - Signed-off-by: Chris Wilson - -commit 236bab5cfd2d225d1eeec32d4bfa5f0757952975 -Author: Chris Wilson -Date: Sun Apr 26 11:11:55 2015 +0100 - - lib: Fix types for gem_create() - - Signed-off-by: Chris Wilson - -commit 263da26b9c2ce33a4b6aac05acf97b21fe51d70f -Author: Chris Wilson -Date: Sun Apr 26 10:16:39 2015 +0100 - - intel-gpu-overlay: Improve error message for failure to open an output - - Signed-off-by: Chris Wilson - -commit be6e32b9254f2740da0a287caf2eaa1d745b77a3 -Author: Chris Wilson -Date: Sun Apr 26 10:13:49 2015 +0100 - - igt/gem_pwrite: Test handling of larger than mappable buffers - - Signed-off-by: Chris Wilson - -commit dfda0b6aeccef464cc6f1af60d8ea16c11fb13f7 -Author: Jani Nikula -Date: Wed Dec 10 14:27:07 2014 +0200 - - intel_reg: introduce one intel_reg tool to rule them all - - Three Tools for the Elven-kings under the sky, - Seven for the Dwarf-lords in their halls of stone, - Nine for Mortal Men doomed to die, - One for the Dark Lord on his dark throne - In the Land of Mordor where the Shadows lie. - One Tool to rule them all, One Tool to find them, - One Tool to bring them all and in the darkness bind them - In the Land of Mordor where the Shadows lie. - - J.R.R. Tolkien's epigraph to The Lord of The Tools - | sed 's/Ring/Tool/g' - - Introduce intel_reg as the one Intel graphics register multitool to - replace intel_reg_read, intel_reg_write, intel_iosf_sb_read, - intel_iosf_sb_write, intel_vga_read, intel_vga_write, intel_reg_dumper, - intel_reg_snapshot, and quick_dump.py. - - Signed-off-by: Jani Nikula - -commit e1ce5eac338f44deda488a44db04faceea12f13a -Author: Sonika Jindal -Date: Wed Apr 22 16:44:05 2015 +0530 - - kms_rotation_crc: Adding test for 90/270 rotation - - Adding 90/270 rotation testcase for primary and sprite planes. - - v2: Added position test for sprite. Checking for gen > 9 for 90/270. - Some cleanup and rebase. - v3: Added test for unsupported tiling and unsupported pixel format for 90/270 - v4: Added the legacy commit to initiate modeset in the negative test(Tvrtko) - - Signed-off-by: Sonika Jindal - Reviewed-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 7ef80c0a980bc6b2cb58de7aec443b343ac0d33e -Author: Sonika Jindal -Date: Tue Apr 7 13:59:03 2015 +0530 - - lib/igt_kms: Let set_property return the result - - Return the return value of the set_property ioctl and add check for - the failure. - - Signed-off-by: Sonika Jindal - Reviewed-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 7aeecc197bcf586fe5b8e2091cf3e647991382f9 -Author: Tim Gore -Date: Wed Apr 22 10:29:08 2015 +0100 - - tests/Android.mk : skip kms_legacy_colorkey if no cairo - - test kms_legacy_colorkey depends on cairo, so add it to - the list of test not to build unless "ANDROID_HAS_CAIRO" - is set. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 20ad3e55fbd33f4400d16d4186befd7e2e5d19ac -Author: Tim Gore -Date: Tue Apr 21 17:08:17 2015 +0100 - - tools/quick_dump/makefile.am: add -lrt to get clock_gettime - - Attempting to build IGT on linux without libunwind fails - due to tools/quick_dump not linking the rt library, - causing an undefined symbol error for clock_gettime. - Adding -lrt to the list of libraries in Makefile.am fixes - this. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 52888df084f51899e7e873a24f6c1aa5c66dd191 -Author: Tim Gore -Date: Tue Apr 21 14:53:03 2015 +0100 - - lib/drmtest.h : fix mmap64 again - - In android mmap64 was redirected to mmap2 because mmap64 - was not alway available. But now mmap2 has been removed - from 64 bit android builds (and mmap64 is available), so - update preprocessor conditional to check for __x86_64__. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 5b7edb9cb010fc770f069a2fbba2782ea3ee6936 -Author: Thomas Wood -Date: Mon Apr 20 12:35:01 2015 +0100 - - docs: avoid escaping characters in documentation comments - - Avoid having to escape certain characters in documentation comments by - not allowing docbook markup tags. Markdown formatting in documentation - comments is still supported. - - Signed-off-by: Thomas Wood - -commit cc9110c44733f63d1c81fc546becf7b22fbac394 -Author: Mike Mason -Date: Fri Apr 17 15:10:35 2015 -0700 - - tests/tools_test: Find tools in source or installed locations - - Signed-off-by: Mike Mason - Signed-off-by: Thomas Wood - -commit 36ecc3180a8404c5c9a4ac4db09e69d9679f0aab -Author: Rodrigo Vivi -Date: Tue Apr 14 18:04:01 2015 -0700 - - tests/kms_psr_sink_crc: Make render size and stride based on modified fb size - - Signed-off-by: Rodrigo Vivi - -commit c35247596033c8bd2fd4d834f3941a7075aa84c8 -Author: Rodrigo Vivi -Date: Fri Mar 13 12:11:54 2015 -0400 - - test/kms_psr_sink_crc: Add dpms off/on tests. - - Signed-off-by: Rodrigo Vivi - -commit 782d5e7a032d1a34ef7f45970a5d8025ec47aece -Author: Rodrigo Vivi -Date: Fri Mar 13 12:10:20 2015 -0400 - - test/kms_psr_sink_crc: Split plane setup operations - - No functional changes. This reorg will allow to do some - operations like dpms off/on with different places to wait - for psr to get active. - - Signed-off-by: Rodrigo Vivi - -commit fd9ef1b8c87e0016c8820aed0d42542894430b85 -Author: Rodrigo Vivi -Date: Fri Mar 13 12:28:07 2015 -0400 - - tests/kms_psr_sink_crc: remove timeout option from wait_psr_entry. - - No functional changes. Just making timeout unique for any case. - - Signed-off-by: Rodrigo Vivi - -commit ae9c685133c5a1f30418d6fda1ce898c11c7053c -Author: Rodrigo Vivi -Date: Tue Dec 9 20:44:11 2014 -0500 - - lib/igt_aux: Introduce igt_interactive_debug_manual_check. - - 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 - Signed-off-by: Rodrigo Vivi - -commit e1ac04462d94a9f51335b9f3849ce0bb29b534e4 -Author: Rodrigo Vivi -Date: Fri Dec 5 20:03:43 2014 -0500 - - tests/kms_psr_sink_crc: Add manual mode. - - 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 - Signed-off-by: Rodrigo Vivi - -commit b7b2ecbaefc86debf858141e3d8712a28cfb2b21 -Author: Rodrigo Vivi -Date: Fri Dec 5 20:03:31 2014 -0500 - - tests/kms_psr_sink_crc: Make plane_move visible to human eyes - - this will allow manual tests when crc isn't available. - - Signed-off-by: Rodrigo Vivi - -commit 00992f7d86b6c821030738932a722c581fd75b5d -Author: Rodrigo Vivi -Date: Fri Dec 5 20:01:41 2014 -0500 - - tests/kms_psr_sink_crc: Make mmaps visible to human eyes - - this will allow manual tests when crc isn't available. - - Signed-off-by: Rodrigo Vivi - -commit f20690d864b5483026a9147bb1cab2b009a87de4 -Author: Rodrigo Vivi -Date: Fri Dec 5 19:45:37 2014 -0500 - - tests/kms_psr_sink_crc: Make render visible to human eyes - - 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 - Signed-off-by: Rodrigo Vivi - -commit 3cb21246c1310c2f34c2dc99c893cab060333cb0 -Author: Rodrigo Vivi -Date: Fri Dec 5 19:43:34 2014 -0500 - - tests/kms_psr_sink_crc: Make blt visible to human eyes - - This will allow manual tests when crc isn't available. - - Signed-off-by: Rodrigo Vivi - -commit 1cbe7dd54cc95281407f10e55f51a201b526b245 -Author: Thomas Wood -Date: Thu Apr 16 17:40:28 2015 +0100 - - tests: update .gitignore - - Signed-off-by: Thomas Wood - -commit 2b74b2bb3358f80c72240d1a5ea6f304b21fba8d -Author: Ville Syrjälä -Date: Fri Mar 27 20:51:46 2015 +0200 - - tests: Add kms_legacy_colorkey - - 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ä - -commit 4271b15f3c8df92f7f0e5201b292644d66da0054 -Author: Ville Syrjälä -Date: Thu Apr 9 21:23:06 2015 +0300 - - quick_dump: Fix undefined symbols from libunwind - - ../../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ä - -commit 3dff4af5e053b9b64b1167621088ed8eea9e3222 -Author: Ville Syrjälä -Date: Thu Apr 9 21:20:25 2015 +0300 - - quick_dump: Don't allow undefined symbols in _chipset.so - - 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ä - -commit beddb3be3ffcd61b67a5d541134a5e76685e6f14 -Author: Chris Wilson -Date: Tue Apr 14 19:02:19 2015 +0100 - - igt/gem_exec_lut_handle: Hide exec latency - - 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 - -commit ecb03266b208bd95d160b8fb32d14fda87c5eb10 -Author: Thomas Wood -Date: Mon Apr 13 17:37:22 2015 +0100 - - lib: load images from the data directory in igt_paint_image - - Update igt_paint_image so that it can read images from the package data - directory. - - Signed-off-by: Thomas Wood - -commit 90dadcd0da63d70155bb4c5a40c80a4f5c3e821c -Author: Thomas Wood -Date: Mon Apr 13 12:09:48 2015 +0100 - - lib: use a critical warning when unable to open a data file - - Signed-off-by: Thomas Wood - -commit 8b3082a40e9a17fcd411aabc5c24c2e2ada5c13a -Author: chandra konduru -Date: Mon Mar 30 13:53:00 2015 -0700 - - i-g-t: Adding panel fitting test case - - 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 - [Thomas: convert test to use igt_simple_main] - Signed-off-by: Thomas Wood - -commit a26f9f9ad0e679c7ce413a25d34f6914e1174151 -Author: chandra konduru -Date: Mon Mar 30 13:52:04 2015 -0700 - - i-g-t: Adding plane scaling test case - - 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 - [Thomas: convert test to use igt_simple_main] - Signed-off-by: Thomas Wood - -commit ace4208702c59205754507bec0c9ae4401a4f865 -Author: chandra konduru -Date: Mon Mar 30 13:44:32 2015 -0700 - - i-g-t: Adding test case to test background color. - - 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 - [Thomas: convert test to use igt_simple_main] - Signed-off-by: Thomas Wood - -commit e371b3fbad2e45cfe669953ef4203e9f44659f65 -Author: Joonas Lahtinen -Date: Tue Apr 14 14:14:57 2015 +0300 - - tests/gem_mmap_gtt: add huge BO test - - 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 - Cc: Chris Wilson - Signed-off-by: Joonas Lahtinen - Reviewed-by: Tvrtko Ursulin - [Thomas: remove unused label] - Signed-off-by: Thomas Wood - -commit 577fb75ed88d01f86dbfa593d90cb91ebfa37a2b -Author: Joonas Lahtinen -Date: Wed Apr 8 15:55:41 2015 +0300 - - tests/gem_mmap_gtt: clarify BO domain setting functions - - Add suffix and complementary function for CPU domain. - - v2: - - Change function signatures to be consistent with the rest - - Signed-off-by: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit 629759c2d1fea11a111ee79faf6afd08ff4c99d2 -Author: Thomas Wood -Date: Thu Apr 9 16:34:12 2015 +0100 - - NEWS: Updates - - Signed-off-by: Thomas Wood - -commit c06bba1256d8435fbcea45e54897ad533ad8c1e9 -Author: Thomas Wood -Date: Thu Apr 9 17:08:07 2015 +0100 - - tests: install the test list - - Cc: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit e72686b83b0bb51a0266d61c3024a5f5a6e17af7 -Author: Thomas Wood -Date: Fri Mar 13 14:15:46 2015 +0000 - - tests: create a single combined test list - - 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 - -commit cff102ebb264eb86554651c7cbf259b4342b76c3 -Author: Thomas Wood -Date: Thu Apr 9 09:27:54 2015 +0100 - - lib: use test failure status for igt_set_timeout - - 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 - -commit b47032e191f0afb8d2dabf90889eee6dac8fc0e1 -Author: Thomas Wood -Date: Thu Apr 9 09:24:12 2015 +0100 - - lib: add a define for test failure exit status - - Signed-off-by: Thomas Wood - -commit 41fe1d1a4452891a297cea427a338c8769fc5c26 -Author: Chris Wilson -Date: Mon Apr 13 11:54:18 2015 +0100 - - lib: Implement gem_sync() using WAIT - - 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 - Reviewed-by: Daniel Vetter - -commit 9fd6e07369837ee268097e7aae4c8dea05431fa1 -Author: Chris Wilson -Date: Mon Apr 13 10:48:08 2015 +0100 - - igt/prime_self_import: Ensure driver state is consistent between counts - - 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=90003 - Signed-off-by: Chris Wilson - -commit 2e526ae9cd05f4f2c2e166071b78c68564e191aa -Author: Chris Wilson -Date: Sun Apr 12 13:32:17 2015 +0100 - - igt/gem_flink_race: Explicitly quiesce the GPU before counting objects - - 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 - -commit 007ff02cbcf008628476948cad8e9ea08c6f5f26 -Author: Chris Wilson -Date: Fri Apr 10 09:48:46 2015 +0100 - - igt/gem_mmap_wc: Explicitly check for use-after-close - - 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 - -commit d36465d5205c5510ca4078346e47e8f3afc432e2 -Author: liu,lei -Date: Thu Apr 9 21:17:33 2015 +0800 - - Correct kms_fbc_crc case - - 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 - -commit b556c9e8e5f53874da902c0c54442ef3eb56353e -Author: Shuang He -Date: Tue Apr 19 04:16:06 2011 +0800 - - tests: Fix duplicate 'kms_flip_event_leak' entry in tests/Makefile.sources - - Or, it will cause piglit failure to run I-G-T test case - - Signed-off-by: Shuang He - Signed-off-by: Daniel Vetter - -commit 1f6a64ee8078ac32c2986ee9f043c55ce6f22542 -Author: Chris Wilson -Date: Wed Apr 8 21:32:58 2015 +0100 - - igt/gem_exec_lut_handle: Put some operations back! - - 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 - -commit e22525064d357a65f480873ef9d28985e9957237 -Author: Chris Wilson -Date: Wed Apr 8 20:22:11 2015 +0100 - - igt/gem_exec_lut_handle: Trim a few operations from submission - - 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 - -commit 9d98ccb860f529ef0bef4bdffe0733ce348f1d6f -Author: Thomas Wood -Date: Wed Apr 8 11:46:39 2015 +0100 - - tests: use standard install prefix for programs, scripts and data - - 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 - Signed-off-by: Thomas Wood - -commit 4e11307e0786d6a4fac014136c914c019aa9abb4 -Author: Thomas Wood -Date: Wed Apr 8 11:23:05 2015 +0100 - - tests: ensure scripts and data are included in the distribution - - Prefix the test scripts and data variables with dist_ to ensure they are - included in the distribution. - - Cc: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit 564dfd45a99e688c0a450f911adb864f4d5bd6b5 -Author: Thomas Wood -Date: Thu Apr 2 11:50:01 2015 +0100 - - tests/kms_fbc_crc: fix fread() return value assertion - - 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 47f6b13 (igt.cocci: check the - return values of various functions). - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89833 - Signed-off-by: Thomas Wood - -commit 074d8b440ef37eeb5fc8195a84a8c970f385a563 -Author: Imre Deak -Date: Tue Mar 31 20:32:36 2015 +0300 - - tools/intel_reg_dumper: fix PIPECONF decode - - - 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 - -commit 07a58707c3e3310c8cd87b7fdf53526090fad748 -Author: Imre Deak -Date: Tue Mar 31 20:32:35 2015 +0300 - - tools/intel_reg_dumper: fix DSPCNTR decode for BXT - - Signed-off-by: Imre Deak - -commit 7027227ca24dc4acfa93e772074b111cb0734d65 -Author: Imre Deak -Date: Tue Mar 31 20:32:34 2015 +0300 - - tools/intel_bios_read: fix SSC freq for BXT - - On BXT the SSC reference frequency is fixed 100MHz. - - Signed-off-by: Imre Deak - -commit 790398bbbdc759882255c6f19537c138bfa094a6 -Author: Damien Lespiau -Date: Tue Mar 31 20:32:33 2015 +0300 - - list-workarounds/bxt: Add Broxton to the list of valid platorms - - Signed-off-by: Damien Lespiau - -commit ab7619b5d2d6ef16dfee86f0bdfc4dbea3c6e931 -Author: Damien Lespiau -Date: Tue Mar 31 20:32:32 2015 +0300 - - lib/bxt: Add Broxton PCI ids - - v2: Rebase on top of the SKL upstreaming - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit 6cd0ea090cc12dd1fb62a7ced97179ffc6dbb588 -Author: Imre Deak -Date: Tue Mar 31 20:32:31 2015 +0300 - - lib/intel_chipset: fix HAS_PCH_SPLIT on GEN9 - - 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 - -commit f0cbfb64dfff5fd1d44cf2986f8f85656ee61882 -Author: Imre Deak -Date: Tue Mar 31 20:32:30 2015 +0300 - - lib/intel_chipset: fix HAS_PCH_SPLIT on CHV - - CherryView is GEN8 but doesn't have PCH so fix the macro accordingly. - - Signed-off-by: Imre Deak - -commit 1dc4884875b1fa9f2e7ea82f26b6f361249426b8 -Author: Imre Deak -Date: Tue Mar 31 20:32:29 2015 +0300 - - tools/intel_bios_reader: fix SSC freq for VLV/CHV - - VLV/CHV has a fixed 100MHz SSC reference frequency. - - Signed-off-by: Imre Deak - -commit d9a25af39c873199210ce06209254ed456a06263 -Author: Jani Nikula -Date: Wed Apr 1 12:08:59 2015 +0300 - - README: Update dependencies - - Add libunwind-dev, sort the list. - - Signed-off-by: Jani Nikula - -commit 7968098fb7bdb086d611f543832591064d88397c -Author: Jeff McGee -Date: Fri Apr 3 18:01:12 2015 -0700 - - tests/pm_sseu: Require Gen8+ early in setup - - Pre-Gen8 devices should be skipped early instead of failing - when test resources are not found. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89822 - Signed-off-by: Jeff McGee - -commit a6c3b32622d3d1cd2f3cb67255cd006b99d3fabb -Author: Chris Wilson -Date: Mon Apr 6 10:37:41 2015 +0100 - - igt/kms_vblank: Simple accuracy test - - Queue 60 event to arrive at the same vblank from different points in - time and make sure it just works. - - Signed-off-by: Chris Wilson - -commit 43a1f64e7222e9b5a8d7cb2b887002a8b539452e -Author: Chris Wilson -Date: Fri Apr 3 09:25:02 2015 +0100 - - igt/gem_cpu_reloc: Pretty print execbuf failures - - References: https://bugs.freedesktop.org/show_bug.cgi?id=85672 - Signed-off-by: Chris Wilson - -commit 71de427b53582348f96974920dd40d4b4d3163a0 -Author: Chris Wilson -Date: Fri Apr 3 09:07:09 2015 +0100 - - igt/gem_persistent_relocs: Add note about known byt/full-ppgtt issue - - References: https://bugs.freedesktop.org/show_bug.cgi?id=84859 - Signed-off-by: Chris Wilson - -commit e8457edba6c41c4d44758e28adabf864be764c00 -Author: Chris Wilson -Date: Thu Apr 2 20:14:07 2015 +0100 - - igt/gem_exec_blt: Prevent assertion failure when running as a test load - - gem_exec_blt is used by other scripts to provide a background load, for - example by drv_missed_irq. This mode doesn't act like a normal test and - igt complains bitterly about it. - - Let's just ignore igt here. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=88041 - Signed-off-by: Chris Wilson - -commit 8938e1ed474bc4eb6598d5da01bb7001d4e9627d -Author: Tim Gore -Date: Wed Apr 1 16:56:38 2015 +0100 - - tests/Android.mk : skip kms_pipe_b_c_ivb if no cairo - - test kms_pipe_b_c_ivb depends on cairo, so add it to - the list of test not to build unless "ANDROID_HAS_CAIRO" - is set. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit ebb46bb2e2138b5f864a3fdff21d013d03e7931f -Author: Tim Gore -Date: Wed Apr 1 16:36:59 2015 +0100 - - tests/gem_concurrent.c: rename to gem_concurrent_all - - Recent patch #7763349a9a87.. renamed gem_concurrent_blit.c - to gem_concurrent.c and then added entries to Makefile.am - to make two identical executeables (but with different - names) from this source file. This executeable changes its - behaviour based on argv[0]. But, this has broken the - Android build, which does not use autotools. - - This patch instead renames the source file to match - the name of one executable (gem_concurrent_all.c) and - creates a second source file which simply #includes the - first. The Makefile.am entries are also removed. - This restores the simple test.c -> test executeable - relationship seen in the rest of IGT and allows the - Android build system to work without parsing Makfile.am - or having to incorporate a special workaround for this - test. - - Signed-off-by: Tim Gore - Reviewed-by: Chris Wilson - Signed-off-by: Thomas Wood - -commit a95033fdbcf32ea64ad2b75f38315489ee1c2042 -Author: Joonas Lahtinen -Date: Tue Mar 31 15:53:17 2015 +0300 - - tests: install test programs to libexec - - Install the test programs by default so that they can be packaged. - - Tested with the testdisplay test so that it still runs after the - modifications as it depends on a data file to be present. Need to - pass -r option to enable QR code display on success (PNG data file). - - Packaging is useful when building a complete software stack for a - DUT from scratch. This should bring us closer to achieving a - built-from-scratch testing workflow. - - Package maintainers can always decide to ignore the installed files. - - v2: - - Install more tests including scripts and their data - - v3: - - Add clarification to commit message about why we do this. - (Chris Wilson & Thomas Wood) - - Change libexec into pkglibexec to comply to standard - (Thomas Wood) - - Do not install $(common_files). (Thomas Wood) - - Make it really obvious the installed files are tests by using - tests directory name to avoid any confusion with packagers. - - v4: - - Fixed commit message. - - v5: - - Add file locator helper to retain backwards compatibility. - (Thomas Wood) - - Test with testdisplay -r option that draws the .png file. - - Cc: Chris Wilson - Cc: Thomas Wood - Signed-off-by: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit 590e47c94fd81a182e24b41a715d84491df8cea8 -Author: Chris Wilson -Date: Thu Apr 2 11:37:23 2015 +0100 - - igt/kms_vblank: Include a test for comparing blocking drmWaitVblank - - The other aspect of the spinlock/interrupt on-off overhead is that when - we wait for vblank it immediately turns off, and then we immediately turn - it back on for the next wait. - - Signed-off-by: Chris Wilson - -commit 992f9f6403b95b9822cb651b38d14a95bebc4e73 -Author: Ander Conselvan de Oliveira -Date: Mon Mar 30 14:38:19 2015 +0300 - - tests: Add test for pipe B and C interactions in IVB - - The tests exercise different combinations of enabling pipe B with modes - that require more than 2 lanes and then enabling pipe C. - - v2: Added a couple more tests for different pipe transitions. (Ander) - Use custom modes to make the test reliable. (Daniel) - - v3: Add IGT_TEST_DESCRIPTION. (Thomas) - Rename test to kms_pipe_b_c_ivb. (Ander) - - v4: Fix subtest enumeration. (Thomas) - - Signed-off-by: Ander Conselvan de Oliveira - Signed-off-by: Thomas Wood - -commit 9aeff2b5c57982a5ffd17881e62e94404b10834b -Author: Ander Conselvan de Oliveira -Date: Mon Mar 30 10:03:00 2015 +0300 - - lib/kms: Add a way to override an output's mode - - So that it is possible to use a custom mode with the simplified mode set API. - - v2: Add documentation for igt_output_override_mode(). (Thomas) - - Signed-off-by: Ander Conselvan de Oliveira - Signed-off-by: Thomas Wood - -commit 2f0e3cdcab423e86efc8e5aee113844ccd7b5295 -Author: Thomas Wood -Date: Mon Mar 30 13:19:32 2015 +0100 - - lib/tests: add missing library flags - - Signed-off-by: Thomas Wood - -commit 04b1526f9dc2ef08b5be2a56e6b8fd770a313872 -Author: Thomas Wood -Date: Fri Mar 27 15:21:41 2015 +0000 - - lib: add debug flags - - Signed-off-by: Thomas Wood - -commit ea453dbb4aaed2a4e59b608b0af0fd41916bf256 -Author: Thomas Wood -Date: Fri Mar 27 14:30:06 2015 +0000 - - gem_exec_blt: fix subtest enumeration - - Wrap the sysfs_read and sysfs_write calls in an igt_fixture block so - they are not executed during subtest enumeration. - - Cc: Chris Wilson - Signed-off-by: Thomas Wood - -commit af3e32cee27e99e461e727bdfb6127421ef09fbc -Author: Chris Wilson -Date: Mon Mar 30 17:01:51 2015 +0100 - - igt/gem_evict_everything: Simplify mlocked_evictions - - igt_fork/igt_waitchildren already perform the magic required to raise - errors based on the exit error code of the child, so take advantage of - that and kill the overlycomplicated message passing! - - Signed-off-by: Chris Wilson - -commit 9c6e6db03d41d3e075b0e231302810e522854817 -Author: Chris Wilson -Date: Mon Mar 30 11:09:44 2015 +0100 - - Revert "tests/gem_exec_lut_handle" - - This reverts commit a5934091b84e3f8804fb3fed35374c5a976dd07e. - - Unnerf igt/gem_exec_lut_handle. Sadly completely breaking the - measurement is not a good excuse to hide regressions. - -commit 068f9ceb628b3d721bf3d74c7932afc01a70905c -Author: Chris Wilson -Date: Wed Dec 3 09:05:54 2014 +0000 - - igt/gem_evict_everything: Use mlock to reduce available memory - - The idea here is to check what happens when a large process requests - memory from us - we create and utilize a bunch of surfaces then have to - relinquish some but continue using the whole working set (so as to force - reloads). - - Signed-off-by: Chris Wilson - -commit b9b82fdc5fdcbc43d0720b6aaf79e1f00f407d3a -Author: Chris Wilson -Date: Sun Mar 29 14:11:28 2015 +0100 - - igt/gem_exec_parse: Use a macro for pretty printing the test failure - - By moving the assert up a level, we get an much improved assertion - failure message (e.g. it includes the batch string that fails). - - Signed-off-by: Chris Wilson - -commit a1e4ec4a68ff1144249aa2f98c6834d296ee2061 -Author: Chris Wilson -Date: Sun Mar 29 14:10:53 2015 +0100 - - igt/gem_cs_prefetch: Use gem_execbuf for pretty printing of failures - - Signed-off-by: Chris Wilson - -commit 11291fd52f53d3c729d5ef4e5b2090f38c36cf69 -Author: Chris Wilson -Date: Thu Mar 26 20:52:00 2015 +0000 - - igt/gem_exec_(blt|nop): IGT magic - - $ ./gem_exec_nop --list-subtests - render - bsd - blt - vebox - gem_exec_nop: igt_core.c:946: igt_skip: Assertion `in_fixture' failed. - - Signed-off-by: Chris Wilson - -commit 47f6b1305cc3752f318a555b932e194e1500c1d8 -Author: Thomas Wood -Date: Wed Mar 25 16:42:57 2015 +0000 - - igt.cocci: check the return values of various functions - - Add rules to fix unused-result warnings when compiling with - _FORTIFY_SOURCE defined and apply them to the library and tests. - - Acked-by: Daniel Vetter - Signed-off-by: Thomas Wood - -commit 0c4dd28d2d3b39216f9d041119ebf34cc44b7df7 -Author: Thomas Wood -Date: Tue Mar 24 17:33:02 2015 +0000 - - docs: limit the number of subtests listed - - Avoid producing long lists of subtests in the documentation and instead - provide instructions on how to obtain the full list. - - Signed-off-by: Thomas Wood - -commit 76dad7f41475347f99e8a8ce6af67020dfd7c0f1 -Author: Thomas Wood -Date: Mon Mar 23 11:46:25 2015 +0000 - - Add default debug flags for tests - - Include debugging symbols in tests by default to improve stack traces - and also set the compiler optimisation level to improve the debugging - experience. - - Signed-off-by: Thomas Wood - -commit 277ca2b992c766581ef6ef01ea210808f456fbe0 -Author: Thomas Wood -Date: Fri Mar 13 17:02:12 2015 +0000 - - lib: print a stack trace when a test assertion fails - - Add an optional dependency on libunwind to print stack traces when a - test assertion fails. - - Acked-by: Daniel Vetter - Signed-off-by: Thomas Wood - -commit 2659cbbf643f2fdbf2f9acf8008edd4c6980cd2f -Author: Chris Wilson -Date: Thu Mar 26 12:09:57 2015 +0000 - - igt/gem_exec_(nop|blt): Repeat measurements at min/max GPU frequencies - - Signed-off-by: Chris Wilson - -commit 7763349a9a878ca58de4fb559edcbf81040da07b -Author: Chris Wilson -Date: Thu Mar 26 08:11:43 2015 +0000 - - igt/gem_concurrent_blit: Separate out the combinatorial explosion - - Apparently nobody else likes testing and debugging GEM coherency issues. - However, this also means that QA is skipping these vital tests. Split - out a set of canaries into igt/gem_concurrent_blit and keep the rest in - igt/gem_concurrent_all. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89497 - Signed-off-by: Chris Wilson - -commit c666a19e0c16821a1ccd2a2ea7dda549d19c67d1 -Author: Chris Wilson -Date: Fri Mar 20 22:37:00 2015 +0000 - - igt/gem_exec_blt: Repeat measurement and average - - Through away the unstable outliers for a more consistent measurement. - - Signed-off-by: Chris Wilson - -commit cd8d3809a6e49b0bd9da53b17217f99b3c86243a -Author: Chris Wilson -Date: Tue Mar 24 09:15:12 2015 +0000 - - igt/gem_exec_nop: Repeat and average to stabilize measurements - - Signed-off-by: Chris Wilson - -commit 4f78f9ffa23f777604c617c48c0b850301c3086e -Author: Chris Wilson -Date: Mon Mar 23 20:57:02 2015 +0000 - - igt/gem_exec_blt: Do a warmup run first - - Sometimes it takes a pass for the GPU to come up to full speed, so do a - "cold" pass first. - - Signed-off-by: Chris Wilson - -commit 6259d0a36b0aa2fd6fc37bdfd9bbede34334d771 -Author: Chris Wilson -Date: Sun Mar 22 10:33:57 2015 +0000 - - igt/gem_exec_blt: Repeat measurements for stablity - - Signed-off-by: Chris Wilson - -commit 2fa35c7316c26a469c0076a1a98c0b0a715b3386 -Author: Chris Wilson -Date: Thu Mar 19 08:29:51 2015 +0000 - - lib/core: Silence internally used signals - - We use SIGTERM to kill off child processes. We use it a lot. Reporting - everytime we use it is just spam. Treat the similar user signals - (SIGINT, SIGQUIT and the should-never-have-been SIGPIPE) similarly to - reduce noise. - - Signed-off-by: Chris Wilson - Cc: Thomas Wood - -commit 559987fc01f16f010681fedff69ffe8fb2231d50 -Author: Mika Kuoppala -Date: Tue Mar 24 13:03:26 2015 +0200 - - tools/intel_error_decode: Add gen8+ fault data encodings - - These two registers contains the 48bit fault address. - - Reviewed-by: Michel Thierry - Signed-off-by: Mika Kuoppala - -commit f96bfb8e8c62b7e3f6340579fec5be6bb6d50b8e -Author: Mika Kuoppala -Date: Mon Mar 23 11:33:37 2015 +0200 - - tools/intel_error_decode: Add decodings for FAULT_REG - - Add decodings for FAULT_REG - - v2: fix fault encodings and ignore addr type for gen8+ (Michel) - fix engine mask - - Reviewed-by: Michel Thierry - Signed-off-by: Mika Kuoppala - -commit 0a2ef9c3490eda9b5e28c936bbe7655ff7a05bd7 -Author: Mika Kuoppala -Date: Mon Mar 23 11:35:14 2015 +0200 - - tools/intel_error_decode: Add ERROR decodings for gen8 - - Add ERROR decodings for gen8 - - Reviewed-by: Michel Thierry - Signed-off-by: Mika Kuoppala - -commit 1cfcca66ec79feb9dbfcad7b7849eddaf026d2cf -Author: Ville Syrjälä -Date: Wed Mar 25 10:53:59 2015 +0200 - - tools: Update .gitignore - - Ignore intel_watermark and unignore the, now extinct, intel_dpio_{read,write}. - - Signed-off-by: Ville Syrjälä - -commit 07707aff752db9e406608fb2ed998bfc35a6f422 -Author: Jeff McGee -Date: Tue Mar 24 16:20:19 2015 -0700 - - tests/pm_sseu: Create new test pm_sseu - - New test pm_sseu is intended for any subtest related to the - slice/subslice/EU power gating feature. The sole initial subtest, - 'full-enable', confirms that the slice/subslice/EU state is at - full enablement when the render engine is active. Starting with - Gen9 SKL, the render power gating feature can leave SSEU in a - partially enabled state upon resumption of render work unless - explicit action is taken. - - v2: Add test description and apply recommendations of igt.cocci - (Thomas Wood). - v3: Skip instead of fail if debugfs entry i915_sseu_status is not - available. - - Signed-off-by: Jeff McGee - Tested-by: Lei Liu - Signed-off-by: Thomas Wood - -commit aef4605f7c42df222761f6735375f499586d9d25 -Author: Jeff McGee -Date: Thu Mar 12 10:52:08 2015 -0700 - - lib: Add media spin - - The media spin utility is derived from media fill. The purpose - is to create a simple means to keep the render engine (media - pipeline) busy for a controlled amount of time. It does so by - emitting a batch with a single execution thread that spins in - a tight loop the requested number of times. Each spin increments - a counter whose final 32-bit value is written to the destination - buffer on completion for checking. The implementation supports - Gen8, Gen8lp, and Gen9. - - v2: Apply the recommendations of igt.cocci. - - Signed-off-by: Jeff McGee - Tested-by: Lei Liu - Signed-off-by: Thomas Wood - -commit 301b9e4bb389a968cfae79a1bea07834436165b8 -Author: Jeff McGee -Date: Tue Mar 24 11:30:57 2015 -0700 - - tests/drv_getparams: Skip instead of fail on EINVAL - - Avoid failing on older kernels where the GETPARAM interfaces - don't exist. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89669 - Signed-off-by: Jeff McGee - -commit 9ba93c43cfb19c5a82a1d6f20f2d3140c8ca80bf -Author: Tim Gore -Date: Tue Mar 24 14:16:04 2015 +0000 - - tests/gem_tiled_fence_blits: split into subtests - - The gem_tiled_fence_blits test tends to get oom killed - on low memory (< 4GB) Android systems. This is because the - test tries to allocate (sysinfo.totalram * 9 / 10) in - buffer objects and the remaining 10% of memory is not - always enough for the Android system. - As with a similar issue with gem_render_linear_blits, - this problem is resolved by splitting into subtests. - A "basic" subtest uses minimal memory buffers to test - the basic operation, and a "normal" subtest which is - skipped if there is insufficient memory. - - I also took the opportunity to cull some numeric literals. - - Signed-off-by: Tim Gore - -commit 4d2577e0ddbec1f0be919b113a3eccb0afb53886 -Author: Ville Syrjälä -Date: Wed Dec 10 21:17:36 2014 +0200 - - tools/intel_watermark: Tool to decode watermark registers - - The watermark registers on the gmch platform are a bit of a mess. Add - a tool to make some sense of them. While at it decode the ilk-bdw wm - registers as well. SKL+ is left out for now since it's a very different - beast. - - Signed-off-by: Ville Syrjälä - -commit e5e7a5307113cb7622e6b3da4d66f681e9fe3a40 -Author: Ville Syrjälä -Date: Mon Mar 16 13:19:48 2015 +0200 - - lib: Add i854 PCI ID - - Signed-off-by: Ville Syrjälä - -commit 978881801e6cb69e27f9a3b016bc7b88d3b13a1d -Author: Ville Syrjälä -Date: Thu Feb 5 19:29:20 2015 +0200 - - tools/intel_iosf_sb_read: Support different register strides - - Some IOSF SB units ogranize their registers in a pecualiar way. Even - though the registers are 32 bits wide, the register offsets only - increment by one when going from one register to the next. Correctly - deal with this when dumping several consecutive registers. - - Signed-off-by: Ville Syrjälä - -commit bd692becf70acfe0829033f8a33680d3d54fcfb2 -Author: Ville Syrjälä -Date: Thu Feb 5 20:04:29 2015 +0200 - - tools/intel_iosf_sb_read: Add -c command line option like intel_reg_read - - Add a command line option '-c ' that can be used to read set of - consecutive registers without having to specify the offset for each of - them. - - Signed-off-by: Ville Syrjälä - -commit dcb3edf2a971b2c00cace8bf2c052f76c24af56b -Author: Ville Syrjälä -Date: Thu Feb 5 20:04:29 2015 +0200 - - tools/intel_iosf_sb_*: Support reading/writing multiple registers at once - - Allow the user to specify a list of registers to read, and register/value - pairs to write. - - Signed-off-by: Ville Syrjälä - -commit 0461e8cf4314ee43ef4440ebdaf68eff2c57e5a2 -Author: Ville Syrjälä -Date: Thu Feb 5 16:50:07 2015 +0200 - - tools/intel_iosf_sb_*: Use getopt() to parse the options - - I want to add some command line options so switch to getopt() to make - that easier. - - Signed-off-by: Ville Syrjälä - -commit 38e3c58cba951ff43f8314edfd0adb8082d81f8b -Author: Ville Syrjälä -Date: Thu Feb 5 19:44:40 2015 +0200 - - tools/intel_iosf_sb_*: Replace if ladder with an array and bsearch() - - Replace the silly strcasecmp() if ladder with and array that maps the - unit names to port numbers. And keep the thing sorted so we can do - the lookup with bsearch() for extra speed :) - - Signed-off-by: Ville Syrjälä - -commit 29ebc68313a8dee9b98fac1b337f9bf60b3bfb0a -Author: Ville Syrjälä -Date: Thu Feb 5 16:18:17 2015 +0200 - - tools: Remove intel_dpio_{read,write} tools - - intel_dpio_{read,write} as redundant as intel_iosf_sb_{read,write} - handle the same task. - - The difference between the tools was the opcode used to read/write the - registers, but with DPIO both opcodes work just fine, so there's no need - for both sets of tools. - - Signed-off-by: Ville Syrjälä - -commit 0129b02c7bb9cbff81974cbbaeebc4529d823bb4 -Author: Ville Syrjälä -Date: Thu Feb 5 16:17:06 2015 +0200 - - toos/intel_iosf_sb_*: Fix DPIO IOSF SB port number - - The correct port is 0x12, not 0x13 which is actually GPIO_NC. - - Signed-off-by: Ville Syrjälä - -commit ac28ecefe04ef2961baa78b949e05d87eee55e3f -Author: Ville Syrjälä -Date: Mon Mar 16 13:36:50 2015 +0200 - - lib: Allow 32bit addresses for IOSF-SB registers - - Signed-off-by: Ville Syrjälä - -commit 0a3ef582daa961047dabf3008177f60db8984b03 -Author: Ville Syrjälä -Date: Thu Feb 5 16:12:11 2015 +0200 - - lib: Change IOSF SB devfn to 0.0 - - The devfn field in the IOSF SB messages is only relevant when there's a - real PCI bus or some other multifunction device behind a single port. - Otherwise the port number itself is enough to uniquely identify the - target. In fact some IOSF SB targets reject the access when devfn is not - 0.0 (eg. GPIO_NC on BYT). - - Signed-off-by: Ville Syrjälä - -commit 06a9c3566462e04d47c3006daeb4ff0c89c5d043 -Author: Damien Lespiau -Date: Tue Mar 24 03:27:08 2015 +0000 - - quick_dump/skl: Add power well registers - - Signed-off-by: Damien Lespiau - -commit 392e8ee75fcbc4da7c972aaa03931c22ed8485e4 -Author: Jesse Barnes -Date: Mon Mar 23 12:49:08 2015 -0700 - - tests/pm_rps: add test descriptions - - Document a copule of the subtests with their purpose, methods, and - expected results. - - Reviewed-by: Ben Widawsky - Signed-off-by: Jesse Barnes - -commit 1765838e34d96c7eb2288cf899ab19f819fa5cb0 -Author: Daniel Vetter -Date: Mon Mar 23 11:00:20 2015 +0100 - - tests/gem_tiled_swapping: Fix up L-shaped testing - - I've fumbled this, resulting in this this skipping everywhere. - Unfortunately no QA test report for this regression ... - - Signed-off-by: Daniel Vetter - -commit a5934091b84e3f8804fb3fed35374c5a976dd07e -Author: Daniel Vetter -Date: Wed Mar 18 11:15:12 2015 +0100 - - tests/gem_exec_lut_handle - - Reduce default number of repeats a lot. High repeat count is only - useful for microbenchmarking, not that much for regression testing. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87131 - Signed-off-by: Daniel Vetter - -commit a5c6b8df8b7bc46a8664044faa7566ce56fa06a8 -Author: Daniel Vetter -Date: Fri Mar 13 18:02:45 2015 +0100 - - tests/kms_cursor_crc: Add dpms and suspend tests - - There was some confusion about whether we restore cursors correctly - after dpms and suspend/resume. Apparently we still do! - - Signed-off-by: Daniel Vetter - -commit d297e58529217cb70e79639b13608f458332b2d0 -Author: Daniel Vetter -Date: Thu Mar 5 11:02:03 2015 +0100 - - lib: Only warn about suspicious CRCs - - It is theoretically possible to hit these in the wild, so only warn - about them. Dropping the test is probably too much since these caught - some real bugs in the past. - - Signed-off-by: Daniel Vetter - -commit 562bbe12f6fb75811a746c742a28d32a17b26aa9 -Author: Daniel Vetter -Date: Fri Feb 27 22:04:18 2015 +0100 - - tests: Remove usage of igt_crc_equal and _non_null - - Tests should positively check for crc matches, not for mismatches. - Enforce this by only exposing and igt_assert function for comparing - crcs. - - For the few tests which didn't just do this as consistency checks but - to do functional tests add FIXME comments that some reference crc - values are missing. - - Signed-off-by: Daniel Vetter - -commit e588f6dfa6f022120d5a55ef96994dbbc33d0dc9 -Author: Daniel Vetter -Date: Fri Feb 27 20:37:29 2015 +0100 - - lib/debugfs: Add igt_assert_crc_equal - - Because of hash collisions tests should only ever compare crc - checksums for equality. Checking for inequality can result in random - failures. - - To ensure this only expose and igt_assert function and use that. - Follow-up patches will rework the code for tests which don't follow - this requirement and try to compare for CRC inequality. - - v2: Rebase on top of Matt's kms_plane changes. - - Signed-off-by: Daniel Vetter - -commit 4fec18e5e0cbbf384b8a49febd9dc650f2712bad -Author: Daniel Vetter -Date: Fri Feb 27 20:24:15 2015 +0100 - - lib/core: add interactive debug point to igt_fail - - Useful for inspecting the screen state in kms tests when they fail. - - Also move the screen clearing in kms_cursor_crc to the bottom. - - Signed-off-by: Daniel Vetter - -commit e7d26df4198af40c92292cb4209fd803fa02062f -Author: Chris Wilson -Date: Thu Mar 19 15:24:52 2015 +0000 - - igt/kms_vblank: Simple harness for measuring speed of drmWaitVBlank - - Signed-off-by: Chris Wilson - -commit a72d4056291efd2571105cbb0a254a9cde13c6c6 -Author: Chris Wilson -Date: Wed Mar 18 14:15:22 2015 +0000 - - igt/gem_concurrent_blit: Test copying over itself - - Suggested by Lionel Landwerlin as a means to emulate video decode - workloads. - - Signed-off-by: Chris Wilson - -commit ea4aa70f3c83a942ee34868ade1eba126b15d879 -Author: Chris Wilson -Date: Thu Mar 19 08:36:25 2015 +0000 - - igt/gem_wait: When waiting for infinity, an infinity remains - - Incorrect testing of out parameters leads to bug noise... - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89494#c4 - Signed-off-by: Chris Wilson - -commit 1d0aa69f55fdb31662946f1cb472dda31347d89b -Author: Chris Wilson -Date: Wed Mar 18 08:46:14 2015 +0000 - - igt/gem_exec_nop: Enlighten the failure error message - - References: https://bugs.freedesktop.org/show_bug.cgi?id=89633 - Signed-off-by: Chris Wilson - -commit 484c1a6f1cf97d3d1ff757cddd8f77accc89790a -Author: Chris Wilson -Date: Wed Mar 18 08:33:54 2015 +0000 - - igt/gem_read_read_speed: Speed up batch submission - - Create the RCS and BCS batches once and reuse them to avoid the - rewriting and relocation overhead on every submission - the goal is to - focus on the interring synchronisation overhead. - - Signed-off-by: Chris Wilson - -commit d3e9316b441bc172f5936e787879d1d13f1f7a01 -Author: Chris Wilson -Date: Wed Mar 18 08:33:22 2015 +0000 - - lib/batch: Fix range checks for blits - - Signed-off-by: Chris Wilson - -commit 233808a58db1f62d773b03f9dad599924170aca6 -Author: Chris Wilson -Date: Wed Mar 18 08:36:37 2015 +0000 - - lib/batch: Trivial compile fix for 32-bit builds - - intel_batchbuffer.c: In function 'fill_object': - intel_batchbuffer.c:589:20: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] - obj->relocs_ptr = (uint64_t)relocs; - ^ - intel_batchbuffer.c: In function 'exec_blit': - intel_batchbuffer.c:598:21: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] - exec.buffers_ptr = (uint64_t)objs; - - Signed-off-by: Chris Wilson - -commit a172676488def584cfe8d0340c7e5ef4b7f81d74 -Author: Chris Wilson -Date: Mon Mar 16 16:29:57 2015 +0000 - - igt/gem_concurrent_blt: Test overwrite source used for read-read optimisation - - Signed-off-by: Chris Wilson - -commit 35b0ac99fc4bb05ea98c2588a0c77a26f1964f70 -Author: Chris Wilson -Date: Mon Mar 16 11:55:46 2015 +0000 - - igt/gem_concurrent_blit: Exercise concurrent reads - - Since we are considering implementing read-read optimisations for mixed - engine workloads, make sure that we at least have a few tests that check - for coherency when doing so. - - Signed-off-by: Chris Wilson - -commit 99b5ee8aaad4920582b0143fe2e02c7149c4cf41 -Author: Chris Wilson -Date: Thu Jan 22 10:03:45 2015 +0000 - - igt/gem_concurrent_blit: Move buffer allocation after requires - - The choice is to either move the igt_require from the buffer allocation - (and allow the allocation to fail) inside the igt_fixture, or move the - buffer allocation to the subtest. Moving it to the subtest has the - advantage of ensuring that every test has the same initial state (no - chance of leaking state across tests) and speeding up running a single - subtest. - - Note this is necessary in order to run igt/gem_concurrent_blit on older - kernels, otherwise the requirement for mmap(wc) causes us to skip the - majority of tests. - - Signed-off-by: Chris Wilson - -commit ed7e33451e91e1b4cde7553ccbe31e09562c87f7 -Author: Chris Wilson -Date: Mon Mar 16 15:14:14 2015 +0000 - - igt: Add benchmark for read-read optimisation - - Signed-off-by: Chris Wilson - -commit 505645c2ab90404067c7817072a1b8eda316e67e -Author: Daniel Vetter -Date: Fri Mar 13 17:57:03 2015 +0100 - - tests: Rename core_getparams to drv_getparams - - Signed-off-by: Daniel Vetter - -commit ae339f0977cc02ceb9e39ad458f7d8cfbf3c9fd6 -Author: Jeff McGee -Date: Thu Mar 12 17:26:25 2015 -0700 - - tests/core_getparams: Create new test core_getparams - - New test core_getparams consists of 2 subtests, each one testing - the ability of userspace to query the correct value of a GT config - attribute: subslice total or EU total. drm/i915 implementation of - these queries is required for Cherryview and Gen9+ devices (non- - simulated). - - v2: Duplicate small amount of new libdrm functionality to avoid - bumping libdrm version requirement (Daniel). Convert some - igt_asserts to the appropriate comparison variants. Add a - test description. - v3: Actually use the LOCAL GETPARAM defines. Otherwise can't build - against older libdrm as intended by v2. - - For: VIZ-4636 - Signed-off-by: Jeff McGee - Reviewed-by: Zhigang Gong - Signed-off-by: Daniel Vetter - -commit 7655606532afb0dcfa6d11a5af83ed9beac5d1fa -Author: Daniel Vetter -Date: Fri Mar 13 09:37:49 2015 +0100 - - NEWS: Post-release bump - - Let's prep for more cool stuff! - - Signed-off-by: Daniel Vetter - -commit e3e659163f0dcb4bc5de852190a0478092784234 -Author: Thomas Wood -Date: Thu Mar 12 17:06:54 2015 +0000 - - Update version to 1.10 and add the release date - - Signed-off-by: Thomas Wood - -commit 3b8e121552b2bd0c9023fbec0b88da36a27ce42c -Author: Thomas Wood -Date: Thu Mar 12 17:01:57 2015 +0000 - - lib: small documentation fixes - - Signed-off-by: Thomas Wood - -commit 595575b9cbdc705edc6f1ac6a3fbf2ceb45bf5ba -Author: Thomas Wood -Date: Thu Mar 12 16:32:17 2015 +0000 - - Remove old entries from .gitignore files - - Signed-off-by: Thomas Wood - -commit a6c40c7665287305fe838b6871a26bcfecad9c0a -Author: Thomas Wood -Date: Thu Mar 12 14:59:20 2015 +0000 - - lib: move igt_interactive_debug into igt_core.c - - igt_interactive_debug should be defined in igt_core.c, rather than the - header, to avoid it being defined more than once. - - Reported-by: Damien Lespiau - Signed-off-by: Thomas Wood - -commit dde047fe2c84e2519a8ed24db4ac9c794285bbd1 -Author: Damien Lespiau -Date: Thu Mar 12 14:31:15 2015 +0000 - - lib/fb: Use PRIx64 for uint64_t in format string - - Fix the following warning: - - igt_fb.c: In function 'igt_create_fb_with_bo_size': - igt_fb.c:414:2: warning: format '%llx' expects argument of type - 'long long unsigned int', but argument 9 has type 'uint64_t' [-Wformat=] - - igt_debug("%s(width=%d, height=%d, format=0x%x [bpp=%d], tiling=%llx, size=%d\n", - - introduced by commit: - - commit e36091d1c7010e825897dc4487f9985ab353973b - Author: Tvrtko Ursulin - Date: Tue Mar 3 14:11:01 2015 +0000 - - tiling: Convert framebuffer helpers to use fb modifiers - - Cc: Tvrtko Ursulin - Signed-off-by: Damien Lespiau - -commit b1177831abedbf7dac323c6e67c2ec7c56c88009 -Author: Tvrtko Ursulin -Date: Tue Mar 3 14:11:06 2015 +0000 - - tests/kms_flip_tiling: Exercise Y tiling modes on Gen9+ - - Signed-off-by: Tvrtko Ursulin - -commit 7b8ba120b956e706f2cdea831233973f0ee079fa -Author: Damien Lespiau -Date: Tue Mar 3 14:11:05 2015 +0000 - - testdisplay/skl: Add command line options for Yb/Yf tiled fbs - - Signed-off-by: Damien Lespiau - -commit ff451a6d439f76ddc51cc0a374f086ace4dab680 -Author: Damien Lespiau -Date: Tue Mar 3 14:11:04 2015 +0000 - - lib: Allow the creation of Ys/Yf tiled FBs - - There's no fencing for those tiling layouts, so we create a linear bo - for cairo to play with, and when cairo is finished with it, we do a fast - copy blit to the fb BO with its final tiling. - - v2: Move to correct domain after CPU is done with the object (-EINVAL). (Tvrtko Ursulin) - Correct arguments passed in to framebuffer creation (segfault). (Tvrtko Ursulin) - Pass zero stride to kernel as it expects for Yf&Ys. (Tvrtko Ursulin) - - v3: Rebase for gem_mmap__cpu changes. (Tvrtko Ursulin) - - v4: Rebase for addfb2.5. (Tvrtko Ursulin) - - Signed-off-by: Damien Lespiau - Signed-off-by: Tvrtko Ursulin - -commit eb93c1b33ef6eebe53646003e951e54a3e68bc5e -Author: Tvrtko Ursulin -Date: Tue Mar 3 14:11:03 2015 +0000 - - lib/igt_fb: Use new ADDFB2 extension for new tiling modes - - Signed-off-by: Tvrtko Ursulin - -commit c7bac3c62ab27045ceec898787435bbb5678b015 -Author: Tvrtko Ursulin -Date: Tue Mar 3 14:11:02 2015 +0000 - - lib: Add support for new extension to the ADDFB2 ioctl. - - New functionality accessesed via the __kms_addfb wrapper. - - Signed-off-by: Tvrtko Ursulin - -commit e36091d1c7010e825897dc4487f9985ab353973b -Author: Tvrtko Ursulin -Date: Tue Mar 3 14:11:01 2015 +0000 - - tiling: Convert framebuffer helpers to use fb modifiers - - This converts the IGT API only, underneath legacy set_tiling is still used. - - v2: One got away in kms_flip. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Damien Lespiau - -commit 672e88acb72bf58f322af928b2bc636d14aa9f21 -Author: Damien Lespiau -Date: Tue Mar 3 14:11:00 2015 +0000 - - lib: Provide a raw version of the gen9 fast copy blits - - So we can use it with bare kernel types, without going through libdrm - bos. - - v2: Don't forget the object handle. (Tvrtko) - Correct surface pitch calculation. (Tvrtko) - - Signed-off-by: Damien Lespiau - Signed-off-by: Tvrtko Ursulin - -commit 6533d113a9710429115bee26d1f372e1a06701df -Author: Damien Lespiau -Date: Tue Mar 3 14:10:59 2015 +0000 - - lib: Split two helpers to build fast copy's dword0 and dword1 - - Again, these helpers will be useful for a raw version of the gen9 fast - copy. - - Signed-off-by: Damien Lespiau - -commit 130221b3b5be3ad03bd0ac2b12d8b009eaf540d4 -Author: Damien Lespiau -Date: Tue Mar 3 14:10:58 2015 +0000 - - lib: Don't give a struct igt_buf * to fast_copy_pitch() - - So we can use this function in a "raw" (ie without igt_buf) version. - - Signed-off-by: Damien Lespiau - -commit cbd927cd35473c88bf5e2f5f42e61af612eaa75e -Author: Damien Lespiau -Date: Tue Mar 3 14:10:57 2015 +0000 - - lib/skl: Add gen9 specific igt_blitter_fast_copy() - - v2: Adjust for BB handling changes. (Tvrtko Ursulin) - Correct XY_FAST_COPY_DST_TILING_Yf. (Tvrtko Ursulin) - - v3: New tiling modes are not defined in the kernel any more. (Tvrtko Ursulin) - - Signed-off-by: Damien Lespiau - Signed-off-by: Tvrtko Ursulin - -commit 0c15e068a587fbb144ba6d689b402b95cd51470e -Author: Tvrtko Ursulin -Date: Tue Mar 3 14:10:56 2015 +0000 - - tests/kms_addfb: Y tiled testcases - - v2: Moved all init into fixtures. - - Signed-off-by: Tvrtko Ursulin - -commit 0a087733d24fcb2b80584b23e931533d72828770 -Author: Tvrtko Ursulin -Date: Tue Mar 3 14:10:54 2015 +0000 - - tests/kms_addfb: Add support for fb modifiers - - Just a few basic tests to make sure fb modifiers can be used and - behave sanely when mixed with the old set_tiling API. - - v2: - * Review feedback from Daniel Vetter: - 1. Move cap detection into the subtest so skipping works. - 2. Added some gtkdoc comments. - 3. Two more test cases. - 4. Removed unused parts for now. - - v3: - * Removed two tests which do not make sense any more after the - fb modifier rewrite. - - v4: - * Moved gtkdoc comments into .c file. - * Moved all initialization into fixtures. - * Rebased for fb modifier changes. - - v5: - * Added bad modifier subtest. - - Signed-off-by: Tvrtko Ursulin - -commit f59935c0ce878d20f1a34ae814a778bf476c36f8 -Author: Chris Wilson -Date: Wed Mar 11 08:40:23 2015 +0000 - - igt/kms_psr_sink_crc: Prettify i915_edp_psr_status failures - - Change the formatting asserts into requires and add the contents into - the debug log. - - Signed-off-by: Chris Wilson - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89525 - -commit 07be8fec156ba8405f2aafa3a37fe29d06893f05 -Author: Matt Roper -Date: Thu Mar 5 15:01:00 2015 -0800 - - igt.cocci: Replace igt_assert() with igt_assert_CMP() where possible - - The integer comparison macros give us better error output by including - the actual values that failed the comparison. - - Signed-off-by: Matt Roper - Signed-off-by: Daniel Vetter - -commit 14a3d88a0967718124fc3b6c111a877203da025f -Author: Matt Roper -Date: Wed Mar 4 10:50:53 2015 -0800 - - tests/kms_plane: Ensure planes recover from DPMS - - i915 was using the main atomic 'disable plane' to turn off sprite planes - during a CRTC disable. This was problematic because it modified the - plane state, preventing us from recovering the original state later. - One such case was that during a DPMS OFF followed by a DPMS ON, any - sprite planes would not be restored properly. - - Let's add a test that toggles DPMS off and on and ensures that the CRC - remains the same (i.e., planes are successfully restored unchanged). - - Signed-off-by: Matt Roper - Signed-off-by: Daniel Vetter - -commit b8db5d60e0f19c46142f22f9dcbe4d7b6d166b9f -Author: Chris Wilson -Date: Fri Mar 6 08:49:52 2015 +0000 - - lib/core: Make the start of the debug output more clear - - I missed the quiet "Log start" between the test failure and the debug - output (and so was very confused by the repetition). You have to shout - at me! - - v2: Thomas suggested I make the end of the logging clear as well. Since - I completely missed that there was a end marker, he must be right! - - Signed-off-by: Chris Wilson - Cc: Thomas Wood - -commit e23accf43753055430064fa02efe7d33ab11564f -Author: Chris Wilson -Date: Fri Mar 6 08:37:09 2015 +0000 - - igt/gem_wait: Test negative timeouts - - The user should be able to specify a negative timeout to indefinitely - wait upon a bo becoming idle. - - Signed-off-by: Chris Wilson - -commit 15559e6cb613fe152f71471643de0ac0c12332d4 -Author: Chris Wilson -Date: Fri Mar 6 08:47:06 2015 +0000 - - igt/gem_wait: Timeout parameter to the WAIT ioctl is signed - - So convert from uint64_t to int64_t. The distinction becomes important - when you realise what test we were missing... - - Signed-off-by: Chris Wilson - -commit 50158de8122fabdb34b8f9dd5cf43a2d9c72e0b4 -Author: Daniel Vetter -Date: Thu Mar 5 09:42:29 2015 +0100 - - NEWS: Update to prep for release - - Signed-off-by: Daniel Vetter - -commit ee5c119c0cfe990ada07ae47a22f4d7f05b415d5 -Author: Tim Gore -Date: Tue Mar 3 10:43:43 2015 +0000 - - tests/gem_render_tiled_blits: split into subtests - - The gem_render_tiled_blits test tends to get oom killed - on low memory (< 4GB) Android systems. This is because the - test tries to allocate (sysinfo.totalram * 9 / 10) in - buffer objects and the remaining 10% of memory is not - always enough for the Android system. - A similar issue with gem_render_linear_blits was resolved - by creating several subtests. A "basic" subtest that uses - minimal memory buffers to test the basic operation, and - two stress tests which are skipped if there is insufficient - memory. The first stress test uses more memory than the - graphics apperture and the second uses enough to ensure - that swap space is used (if present). - This patch makes the same changes to gem_render_tiled_blits. - - v2: Following comments from Daniel Vetter: - a) Use igt_main macro instead of "open coding", and - b) cull some leading spaces - - Signed-off-by: Tim Gore - -commit 9f90aabc66cd62b328c16e6917dc76baafd3ab5e -Author: Tim Gore -Date: Tue Mar 3 10:23:00 2015 +0000 - - tests/gem_render_linear_blits: split into two subtests - - The gem_render_linear_blits test tends to get oom killed - on low memory (< 4GB) Android systems. This is because the - test tries to allocate (sysinfo.totalram * 9 / 10) in - buffer objects and the remaining 10% of memory is not - always enough for the Android system. - After a discussion with Chris Wilson I have split this - test into a "basic" and an "apperture-thrash" subtest, - in the same way as gem_linear_blits. The basic test - uses just two buffer objects and the apperture-thrash - test is skipped if there is insuffiecient memory. - - v2: Following comment from Chris Wilson: - a) Remove the command line option for count. - b) Add a third subtest to ensure swap is tested - - v3: Replace some leading spaces with tabs - - v4: Follwing comment from Daniel Vetter: - a) Use igt_main macro instead of "open coding", and - b) cull some more leading spaces - - Signed-off-by: Tim Gore - -commit 043f5869586c471991b7cdb97a542901ab662ef6 -Author: Mika Kuoppala -Date: Fri Feb 13 19:04:49 2015 +0200 - - tools/intel_gtt: Add support for gen8 - - Add 64bit ptes and 8MB mmiobar offset for gen8 - - Cc: Ville Syrjälä - Cc: Ben Widawsky - Acked-by: Ben Widawsky - Signed-off-by: Mika Kuoppala - -commit 5e4fc0c48c9a44689ec1593f356a8f22e1ca6bb8 -Author: Daniel Vetter -Date: Tue Nov 18 14:39:14 2014 +0100 - - tests/gem_tiled_swapping: Skip on L-shaped memory - - The only thing the kernel can do is pin the buffers, which essentially - means no swapped tiled objects. - - Signed-off-by: Daniel Vetter - -commit f26d8a04c3938845d4db07cf6587b29e287dc2dc -Author: Paulo Zanoni -Date: Fri Feb 27 15:05:39 2015 -0300 - - tests/pm_rpm: I2C VGA detection is unreliable - - We fail to detect some VGA monitors using our I2C method, leading to - bug reports from QA. If you look at the dmesg of these cases, you'll - see the Kernel complaining about EDID reading mostly FFs and then - disabling bit-mangling. Since we don't want to reimplement everything - the Kernel does, let's just accept the fact that some VGA outputs - won't be properly detected. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84273 - Signed-off-by: Paulo Zanoni - -commit f45698df8b6b4d9375acc8e668fc54f81250fd2f -Author: Daniel Vetter -Date: Fri Feb 27 19:32:33 2015 +0100 - - lib/igt_core: don't add newlines in logging functions - - igt_kms extensively uses line continuation when dumping state updates - at the debug level. They got badly mangled with the recent changes to - for the log handling functions. Two separate fixes: - - Don't prepend domain and other metainformation when it's just a - continuation line. - - Dont add newlines when dumping the log recorder. - - If someone interleaves different log level messages this will go awry, - but really just don't do that. - - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 305fb1db5c1ec231b1cef3fd4c2106bc36ef48d8 -Author: Daniel Vetter -Date: Fri Feb 27 16:24:25 2015 +0100 - - lib: add igt_assert_lt - - Found one user in gem_wait.c - - Signed-off-by: Daniel Vetter - -commit e3f8eb58e64954f80207ff147de3eccba96769cd -Author: Daniel Vetter -Date: Fri Feb 27 16:18:40 2015 +0100 - - tests/kms_universal_planes: Inline igt_assert(ret == 0) checks - - This way the debug output in case of failures is nicer since we dump - the entire test condition. - - Also replace one open-coded igt_assert_eq. - - Signed-off-by: Daniel Vetter - -commit 59d8d663cdac2d1f8e876d53f328e414a993c610 -Author: Matt Roper -Date: Thu Feb 26 19:00:19 2015 -0800 - - kms_universal_plane: Check for cursor fb leaks - - We've been leaking the framebuffers that get created inside the - legacy -> universal cursor compatibility layer and nobody noticed. Add - an i-g-t test to check debugfs and ensure we end up the same number of - framebuffers we started with after performing cursor operations. - - Cc: Chris Wilson - Signed-off-by: Matt Roper - Signed-off-by: Daniel Vetter - -commit d73c5eb97747c899eda2648e238711f6d516b4c9 -Author: Marc Herbert -Date: Thu Feb 26 18:43:43 2015 -0800 - - lib/igt_kms.c: igt_require -> igt_require_f("two displays required\n") - - The bare "Test requirement: modes" message is too cryptic, I had to go and - read the source code to understand the missing requirement. - - Signed-off-by: Marc Herbert - Signed-off-by: Daniel Vetter - -commit 8e0a0c9de658931454ba2a549d922e7e9f534dea -Author: Deepak S -Date: Thu Feb 26 21:10:29 2015 +0530 - - tests/pm_rc6_residency: Add media_rc6_residency_counter subtest - - Added new media_rc6_residency_subtest for chv & vlv. - - Signed-off-by: Deepak S - Signed-off-by: Daniel Vetter - -commit af02ef4a483184dbd9a549e98f40a1975aa204fe -Author: Deepak S -Date: Thu Feb 26 21:10:28 2015 +0530 - - tests/pm_rc6_residency: Fix proper residency calculation - - With current code we are not considering the RC6 residency during sysfs - read. This is causing test to fail due to incorrect residency_accuracy check - This patch consider code time spent for accuracy check - - Signed-off-by: Deepak S - Signed-off-by: Daniel Vetter - -commit d5579f472e103e7cafb7bb10d5c52246c3d1f072 -Author: Daniel Vetter -Date: Thu Feb 26 16:32:43 2015 +0100 - - tests/drv_suspend: Unrename tests - - Renaming tests massively confuses QA's test result tracking and - blacklisting. So except when really good reasons are around we - shouldn't do it. - - Here I think just adding the -hibernat suffix and leaving test names - unchanged is enough. - - Cc: David Weinehall - Cc: Imre Deak - Signed-off-by: Daniel Vetter - -commit 26f40811d70cdb80d81edea13c1d2ee55074d196 -Author: Thomas Wood -Date: Fri Feb 20 11:31:01 2015 +0000 - - lib: small documentation fixes - - Signed-off-by: Thomas Wood - -commit d9224c3479e70be31612f881d180666e1dbead93 -Author: Thomas Wood -Date: Thu Feb 19 15:19:57 2015 +0000 - - lib/tests: update .gitignore - -commit 4ff4ea601a0bfeceb7f291af2c3410ad547af760 -Author: Thomas Wood -Date: Thu Feb 19 13:58:06 2015 +0000 - - lib: print the signal name to stderr when handling a signal - - Print the received signal name to stderr when handling a signal. This - uses an array of handled signal names since strsignal() only provides - descriptions. - - Signed-off-by: Thomas Wood - -commit aecad4fc2ea86f5377c443a4f15ea91d3e0d614c -Author: Thomas Wood -Date: Wed Feb 18 15:47:07 2015 +0000 - - tests: remove extra file - - Remove a file accidentally added in commit 6f582f7 (tests: Add - gem_ctx_param_basic). - - Cc: Daniel Vetter - Signed-off-by: Thomas Wood - -commit 8fb19782f82f25249aaed0ff0e5fa6601dbb0e9d -Author: Thomas Wood -Date: Wed Feb 18 16:19:59 2015 +0000 - - lib: remove handled option arguments from argv - - Remove options from argv that have been handled by getopt to allow - additional non-option parameters to be processed in the test application. - - This fixes issues when using options such as --debug with tests that accept - additional non-option parameters. - - Signed-off-by: Thomas Wood - -commit 55cc132b3219fbbf8c5705c674ef0f9a9b53d593 -Author: Thomas Wood -Date: Tue Feb 17 15:10:13 2015 +0000 - - lib: use defines for igt_simple_init and igt_subtest_init - - Using defines removes an extra function call and prepares for changes - to the command line argument handling. - - Signed-off-by: Thomas Wood - -commit efddb93680c5c5ca2d0c0c9c9af497908c1fa6f7 -Author: Thomas Wood -Date: Tue Feb 17 11:52:29 2015 +0000 - - tests: improve pipe enumeration - - Signed-off-by: Thomas Wood - -commit 0f3a5809e7801d4f48759ce4ffda764fcd7fb6bb -Author: Praveen Paneri -Date: Wed Feb 25 14:26:21 2015 +0530 - - tests/gem_bad_blit.c : Fix dst address for Gen8 onwards - - Gen8 Onwards use 48 bit addressing for src and dst base - addresses. This patch fixes this for destination base address. - - Signed-off-by: Praveen Paneri - Signed-off-by: Daniel Vetter - -commit c6d18ee56ba2f148e9146acd832c530b53aab096 -Author: Marc Herbert -Date: Tue Feb 24 12:29:22 2015 -0800 - - lib/igt_kms.c: remove tests dependency on VT /dev/tty0 - - Required to run on any recent, freon-based and X11-free ChromeOS release. - - v2: - - igt_debug() instead of igt_warn() - - return KD_GRAPHICS instead of -1UL - - print previous mode in debug statements. Among others this help a tiny - bit with the now confusing debug output ("cannot change" immediately - followed by a misleading "mode changed"). - - Signed-off-by: Marc Herbert - Signed-off-by: Daniel Vetter - -commit 7890b09348ce8d494298ac9a308df25d526fe3ea -Author: David Weinehall -Date: Wed Feb 11 16:46:02 2015 +0200 - - tests/drv_suspend: hibernation test - - intel-gpu-tools currently has a bunch of tests for suspend, - but currently none (that I could find) for hibernate. - - Attached is a rudimentary patch to add said test. It does so - by repurposing the drv_suspend driver to handle both suspend - and hibernate, since the difference is miniscule. - - I decided to split the suspend/autoresume functions in - igt_aux.c though, to be able to leave the igt_system_uspend_autoresume() - function unchanged (the other option would be to - introduce a boolean function argument and have that - decide what parameters to pass to rtcwake). - - The timeout passed to rtcwake probably needs tuning (it might - even need to be dynamically adjusted, since the time hibernation takes - varies wildly depending on the amount of non-cache memory in use). - - Signed-off-by: David Weinehall - Reviewed-by: Imre Deak - -commit 5b93daf5cb40f79b948029588f059b0b61638590 -Author: Chris Wilson -Date: Wed Feb 18 16:06:15 2015 +0000 - - lib: Use strtol not strtod for overiding the PCI ID - - Simply to avoid the roundtrip through floating points and any extra - headaches from worrying about the implications - - Signed-off-by: Chris Wilson - -commit eaa7e6183cedee10acfa321ac3c66bfe58c0ed5a -Author: Chris Wilson -Date: Wed Feb 18 15:58:06 2015 +0000 - - lib: Cache DRM device id to reduce number of ioctls - - The DRM device id for the igfx is fixed, since there can only be one in - the system. So once we query it for the first time we can safely report - that value on every subsequent request, cutting out a lot of noisy - ioctls from inside tests. - - Signed-off-by: Chris Wilson - -commit a22548fec06faba738a2d59b45b54704e4757685 -Author: Thomas Wood -Date: Mon Feb 16 11:17:11 2015 +0000 - - lib: small documentation fixes - - Signed-off-by: Thomas Wood - -commit f8fd4c977a9dd32992bf5f244bde0b817f7e2c82 -Author: Thomas Wood -Date: Tue Jan 20 15:31:51 2015 +0000 - - lib: print recent log messages to stderr when a test or subtest fails - - Signed-off-by: Thomas Wood - -commit a5f21726cdf542bf3c8e9ac6b7c0ab99a03596f9 -Author: Thomas Wood -Date: Mon Jan 19 15:27:51 2015 +0000 - - lib: add a ring buffer for log entries - - Signed-off-by: Thomas Wood - -commit 89201c5328280a00c027fba404459de91b546a80 -Author: Matt Roper -Date: Mon Jan 26 09:23:51 2015 -0800 - - tests/kms_universal_plane: Fix subtest enumeration - - We shouldn't use the contents of data.display to determine which pipes - to run subtests on since this structure is initialized in an igt_fixture - and won't contain any useful data when enumerating subtests (i.e., - --list-subtests won't return anything). - - Instead, just assume we have three pipes in the main loop and ensure - that each subtest will skip if we don't really have that many. - - Signed-off-by: Matt Roper - Signed-off-by: Thomas Wood - -commit e8e28931b1c1c7b412474963d7a89bc307636950 -Author: Lu, Han -Date: Thu Feb 12 08:41:59 2015 +0800 - - tools/intel_audio_dump: add support for Skylake - - This patch adds support for dumping audio registers of Skylake. - - Signed-off-by: Lu, Han - -commit cd6644230b557bb3f5d19e499efb265ba6ed2787 -Author: Damien Lespiau -Date: Fri Feb 13 08:48:52 2015 +0000 - - quick_dump: Add interrupt and PPAT registers to the SKL dump - - Signed-off-by: Damien Lespiau - -commit 3c8aa2fb6ef9ac2526af27c5b14d51552768d5c3 -Author: Daniel Vetter -Date: Fri Feb 13 14:54:25 2015 +0100 - - tests/gem_ctx_param_basic: Include header, not source - - Oops. Reported by Tim Gore. - - Signed-off-by: Daniel Vetter - -commit 3cd45dec2e4be3edacdfc233089b6bd3651fa595 -Author: Daniel Vetter -Date: Tue Feb 10 17:46:43 2015 +0100 - - lib/igt_gt: Document and consolidate - - Also move forcewake and stop_rings code from igt_debugfs to igt_gt - since it fits better. And move the hang injection fork helpers from - igt_aux to igt_gt, too. - - Also push the intel_gen call into igt_hang_ring while at it. - - Signed-off-by: Daniel Vetter - -commit 25c4347078f181a938eaaefbed7e2e27c9dc1a3f -Author: Daniel Vetter -Date: Sat Feb 7 12:45:49 2015 +0100 - - doc: Consolidate naming conventions into docbook - - Duplication just means it gets out of sync. - - Also update they keyword list in the Makefile, not everything was listed. - And add a new "invalid" keyword. - - While at it update NEWS. - - Signed-off-by: Daniel Vetter - -commit 14185f04bd7c5fb2052a3e6454ceda5b46c37a61 -Author: Daniel Vetter -Date: Sat Feb 7 12:38:56 2015 +0100 - - tests/gem_wait: Adjust makefile - - I've forgotten to do this in - - commit e4753d2d96fbb88077e70820793137f45f02c9ba - Author: Daniel Vetter - Date: Mon Sep 29 14:42:33 2014 +0200 - - tests/gem_wait_render_timeout: Convert to subtests - - Signed-off-by: Daniel Vetter - -commit 2eca38eab9ccb4bc41ceda4992614ffb311ce4f7 -Author: Daniel Vetter -Date: Sat Feb 7 12:37:48 2015 +0100 - - lib/igt_aux: s/swap/igt_swap/ - - It collides with the subtest naming convention glossary entry for swap. - Which makes the docbook xml stuff unhappy. - - Signed-off-by: Daniel Vetter - -commit 3e9b4e37e68da2b866e9cebf7ceb6624617e353b -Author: Daniel Vetter -Date: Fri Feb 6 23:10:26 2015 +0100 - - tests: Align subtest with naming convention - - Yeah, historically grown but we should try to be somewhat consistent. - It helps with filtering testcases. - - Signed-off-by: Daniel Vetter - -commit bf5035a728b4f0cd06e7205bc1911069ff224433 -Author: Daniel Vetter -Date: Fri Feb 6 23:09:45 2015 +0100 - - tests/gem_ppgtt: Start rcs before bcs for context tests - - This way the igt_require for the ctx support is hit before we've - launched a bazillion threads and need to wait until they're all done. - - Signed-off-by: Daniel Vetter - -commit 7a03ddf994f089e795c2b6c4122fdf490f11bef0 -Author: Daniel Vetter -Date: Fri Feb 6 23:06:00 2015 +0100 - - tests: Add invalid pad tests for ctx create/destroy - - We've missed them, and the kernel isn't nasty enough and forgot to - check them. To add these tests convert the existing create/destroy - tests over to subtests. - - v2: Do the basic create/destroy in ctx_bad_destroy in a fixture - so that all the tests skip properly. - - Signed-off-by: Daniel Vetter - -commit 6f582f70e1b344c6d0e20f312f376892553af55e -Author: Daniel Vetter -Date: Fri Feb 6 17:54:46 2015 +0100 - - tests: Add gem_ctx_param_basic - - Boring ioctl validation. Luckily no gaps found while doing it. - - v2: git add ftw! - - v3: Fixes: - - - args->size is an outparam for get, adjust test. - - Pick an invalid param, not an invalid ioctl number ... tsk. - - Signed-off-by: Daniel Vetter - -commit 75c075cb263bf33259d26692b4f093f84276915c -Author: Daniel Vetter -Date: Fri Feb 6 17:13:59 2015 +0100 - - lib/ioctl: Document ctx param functions - - And move them so that they're grouped with the other context wrappers. - - Signed-off-by: Daniel Vetter - -commit 364efcdf9b1f90ec0befda9b1097434c88a1eb18 -Author: Daniel Vetter -Date: Fri Feb 6 17:13:27 2015 +0100 - - tests/gem_reset_stat: Use new ctx helpers - - A bit more invasive since getting rid off all the places meant - to flatten some of the control flow with implicit igt_require. - - Signed-off-by: Daniel Vetter - -commit ccc4261dc3d369a3463aa1b8ecbc676d69e337b8 -Author: Daniel Vetter -Date: Fri Feb 6 17:12:45 2015 +0100 - - tests/gem_ctx_*: Use helpers - - Signed-off-by: Daniel Vetter - -commit 09b8211d4136d6f7767652ddf73dfb0b7c1213a2 -Author: Daniel Vetter -Date: Fri Feb 6 17:15:13 2015 +0100 - - lib/ioctl: Add gem_context_destroy helpers - - We also need a raw version for some tests. - - Signed-off-by: Daniel Vetter - -commit 8d21b39251615d3516522a9fe56f77e9bf9fdc62 -Author: Daniel Vetter -Date: Fri Feb 6 11:10:25 2015 +0100 - - lib/ioctls: make gem_context_set/get_param infallible - - We have separate require checks already, so these failing is a bug in - the test logic. - - Signed-off-by: Daniel Vetter - -commit 15801b4dadfef1e754d415414ad931be639c85bf -Author: Daniel Vetter -Date: Fri Feb 6 11:06:11 2015 +0100 - - igt/ioctls: doc for gem_mmap - - Just spotted while driving around. gtkdoc needs the full parameter - list otherwise it doesn't recognize it as a function. So add them. - - Signed-off-by: Daniel Vetter - -commit a3e34ce258aae0602c38fd8020d49f1fd1c7a83f -Author: Daniel Vetter -Date: Fri Feb 6 11:05:28 2015 +0100 - - lib/ioctl: gem_ prefix for igt_require_mmap_wc - - We stick to the overall prefix even for magic require functions. - - Signed-off-by: Daniel Vetter - -commit c18b2d57a98c061845e0ec31bfffc90e03356aaa -Author: Daniel Vetter -Date: Fri Feb 6 10:53:10 2015 +0100 - - lib/ioctl: api polish for gem_context_has_param - - Just push the igt_require down to align with the usual style. - - Signed-off-by: Daniel Vetter - -commit c66b2425e706bec5ce6df8664d19b06e047eb0ee -Author: Daniel Vetter -Date: Fri Feb 6 10:49:20 2015 +0100 - - lib/gt: api polish for igt_can_hang_ring - - Align with common igt library style: - - Push the igt_require into the function. - - Push the intel_gen into the function. - - Signed-off-by: Daniel Vetter - -commit 9ca2cc12b4a11c20b41479e94ac8837321c0a2b1 -Author: Matt Roper -Date: Mon Feb 2 11:07:55 2015 -0800 - - kms_cursor_crc: Kernel now checks for integer overflow - - As of kernel commit - - commit a679064a7e9e8799177a64a31668a34a1bc6a4f1 - Author: Matt Roper - Date: Fri Jan 30 16:22:37 2015 -0800 - - drm/i915: Switch planes from transitional helpers to full atomic helpers - - the kernel now checks for cursor coordinates that would result in - integer overflow and returns -ERANGE, similar to the checking that was - already done for other plane types. We update kms_cursor_crc here to - reflect this small behavior change: - * Check for success at extreme boundary conditions INT_MAX-{width,height} - rather than INT_MAX - * Add new check for success at SHRT_MAX; if the driver were to - internally use short values and overflow, we could have the cursor - reappear on the screen. - * Add a test for failure with proper error code at INT_MAX-{width,height}+1 - - Signed-off-by: Matt Roper - -commit 9846e7f2c57dc7c36d5d6f64e4a9fc7f50feda33 -Author: Ben Widawsky -Date: Tue Jan 27 17:59:06 2015 -0800 - - gem_render_copy: Provide an all pixels check - - Signed-off-by: Ben Widawsky - Reviewed-by: Imre Deak - -commit 38a0c41340109a9f0b365e514147c20f95248aea -Author: Thomas Wood -Date: Wed Jan 28 16:49:31 2015 +0000 - - lib/tests: check that invalid subtest names are rejected - - Signed-off-by: Thomas Wood - -commit f0516f3d3537d57aa0885212082668db2c4d5df9 -Author: Thomas Wood -Date: Wed Jan 28 16:30:54 2015 +0000 - - lib/tests: verify subtest enumeration output - - Check that the subtest list is not empty if using --list-subtests - returns with an exit code of 0, and that the list is empty if it returns - with 79. - - Signed-off-by: Thomas Wood - -commit 16cfa37a505aaafd26b09b463a562c6985453fae -Author: Thomas Wood -Date: Tue Jan 27 14:12:27 2015 +0000 - - lib: add exit status message to simple tests - - Add an exit status message to simple tests, similar to the one printed - for subtests. This includes the test outcome and the time taken to run - the test. - - Signed-off-by: Thomas Wood - -commit 9942a404379c1a021a6d26b8b2fcd9b70818a971 -Author: Thomas Wood -Date: Tue Jan 27 14:10:15 2015 +0000 - - lib: add subtest start and exit status code messages to debug output - - Signed-off-by: Thomas Wood - -commit 2b05ecfb0625ddf4b8cced18c471063aa23e2768 -Author: Thomas Wood -Date: Mon Jan 26 16:59:53 2015 +0000 - - lib: validate subtest names - - Subtest names should only contain '-', '_' and alphanumeric characters. - - Signed-off-by: Thomas Wood - -commit 61737903ad4d4423516a41538d1ce4cf7287da0e -Author: Thomas Wood -Date: Mon Jan 26 16:09:40 2015 +0000 - - lib: print warning and critical messages when listing subtests - - These messages are sent to stderr and could indicate an issue when - enumerating subtests. - - Signed-off-by: Thomas Wood - -commit a228223ffaf38fa758eea58258cfe745b6cde4b6 -Author: Thomas Wood -Date: Mon Jan 26 16:09:09 2015 +0000 - - lib: warning messages should be sent to stderr - - This is a regression from commit df11a0f (lib: add a critical warning - level). - - Signed-off-by: Thomas Wood - -commit bef692d9f3556caf3e901de62f3b24d1aec5798e -Author: Michał Winiarski -Date: Tue Feb 3 20:13:56 2015 +0100 - - tests/gem_userptr_blits: Race between close and invalidate - - It was possible for invalidate range start mmu notifier callback to race - with releasing userptr object. If the object is released prior to - taking a spinlock in the callback, we'll encounter a null pointer - dereference. - - v2: Moved expressions inside igt_assert(), added mem barrier (Chris) - - Cc: Chris Wilson - Signed-off-by: Michał Winiarski - Reviewed-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 87edb519408746d31110ea4a01cfbf0734433cb8 -Author: Imre Deak -Date: Thu Jan 29 00:03:19 2015 -0800 - - rendercopy/gen9: fix gem_render_copy 3d state setup - - Without emitting the default 3DSTATE_WM_DEPTH_STENCIL state the test - will fail. - - Signed-off-by: Imre Deak - -commit 51d87b80493169f68bf1cda0eb2f6715310fe45c -Author: Thomas Daniel -Date: Mon Jan 19 16:34:51 2015 +0000 - - tests/prime_self_import: further fix object counts - - A previous commit: - - commit 2f2c491cf3167befe7c79e4b17afb4f6284dfc84 - Author: Mika Kuoppala - Date: Fri Mar 28 10:52:46 2014 +0200 - - lib/drmtest: don't dup quiescent fd - - introduced a regression for drm object leak checking. A following commit: - - commit 8741c2289f17e9bcb740a01cad4764a71c918eea - Author: Mika Kuoppala - Date: Wed May 7 16:46:19 2014 +0300 - - tests/gem_flink_race,prime_self_import: fix object counts - - fixed the regression for some cases but missed the export-vs-gem_close-race - subtest. Note that test behaviour depends on whether the subtest is run as - part of the whole prime_self_import test (fail), or as a single subtest (pass). - Using execlists on Gen8+ reverses the pass/fail due to lazy context allocation - which is presumably why this has now been noticed. - - This commit applies the same fix to the export-vs-gem_close-race subtest. - - Cc: Mika Kuoppala - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87627 - Signed-off-by: Thomas Daniel - Reviewed-by: Mika Kuoppala - Signed-off-by: Mika Kuoppala - -commit 7848d214729a366eca937a63ec8ea025988203d2 -Author: Chris Wilson -Date: Tue Jan 27 09:38:34 2015 +0000 - - igt/gem_tiled_wc: Use correct offsets - - A last moment "tidification" in - - commit 5e9fac54918e424d928bc15b90e4c65d4cfdd356 - Author: Chris Wilson - Date: Thu Jan 22 07:52:09 2015 +0000 - - igt/gem_tiled_wc: Fix! Finish! - - wreaked havoc again. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88816 - Signed-off-by: Chris Wilson - -commit ebd8b32bc6f5046815e00a6bee7f7f6650591cce -Author: Libin Yang -Date: Thu Jan 15 09:20:47 2015 +0800 - - tools/intel_audio_dump: add details dump for Cherryview - - This patch adds the details dump for audio registers of Cherryview. - - Signed-off-by: Libin Yang - Reviewed-by: Zhenyu Wang - -commit fa94e01ee71ee97a07a38802e9771b885b51eeeb -Author: Thomas Wood -Date: Tue Jan 20 11:14:42 2015 +0000 - - docs: fix parsing issue - - Use entities for the special characters '<' and '>' to avoid "" being - treated as a tag. - - Signed-off-by: Thomas Wood - -commit 6011508afed046d60eebf44f51e52a76c326a591 -Author: Daniel Vetter -Date: Thu Jan 22 10:01:28 2015 +0100 - - tests/gem_concurrent_blit: Fix indent - - Thrown up my brain's parser for a moment ;-) - - Signed-off-by: Daniel Vetter - -commit fbcc7ba20f5a45a6e2fc9e74a68608ebc804ec29 -Author: Daniel Vetter -Date: Thu Jan 22 09:43:10 2015 +0100 - - tests/gem_concurrent_blt: Adjust subtest naming - - Our tooling doesn't cope with () in the testnames (piglit becomes all - confused apparently) and the naming convention says to use "blt" and - "render". - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88220 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88349 - Signed-off-by: Daniel Vetter - -commit 9f952940c00f002acb0cef5a5d6251d45be8ff2c -Author: Zhipeng Gong -Date: Tue Jan 13 08:50:21 2015 +0800 - - test/gem_dummy_reloc_loop: add tests for dual bsd ring - - Signed-off-by: Zhipeng Gong - Signed-off-by: Daniel Vetter - -commit f8d47cb70dae434571c6fe5ae39a0fc4909ba7fa -Author: Zhipeng Gong -Date: Tue Jan 13 08:50:20 2015 +0800 - - tests/gem_exec_params: check the invalid flags for dual bsd ring - - v2: add more tests to address Daniel's comments(Zhipeng) - - Signed-off-by: Zhipeng Gong - Signed-off-by: Daniel Vetter - -commit 17937a0114b29a273152c4c2df72c5b1a992b07c -Author: Zhipeng Gong -Date: Tue Jan 13 08:50:19 2015 +0800 - - i-g-t: check whether kernel has dual bsd ring - - v2: change the number to be consistent with upstream (Zhipeng) - - Signed-off-by: Zhipeng Gong - Signed-off-by: Daniel Vetter - -commit 5e9fac54918e424d928bc15b90e4c65d4cfdd356 -Author: Chris Wilson -Date: Thu Jan 22 07:52:09 2015 +0000 - - igt/gem_tiled_wc: Fix! Finish! - - It helps when testing whether tiled data read back through a linear - mmaping to first tile the data. And not repeatedly unmapping the linear - map stops it from segfaulting. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88686 - Signed-off-by: Chris Wilson - -commit 3d65ff780d6d7a1b354bd530942a194a97f73dca -Author: Rodrigo Vivi -Date: Mon Jan 12 10:21:58 2015 -0800 - - lib: s/IGT_DEBUG_INTERACTIVE/--interactive-debug=var - - Use cmdline variable for interactive debug instead of env var. - - v2: Make interactive-debug domain optional and use "all" when not set. - - Signed-off-by: Rodrigo Vivi - Signed-off-by: Daniel Vetter - -commit eeff390598f6bf7292a9775cc6c470207f90a128 -Author: Ander Conselvan de Oliveira -Date: Mon Jan 19 15:43:57 2015 +0200 - - kms_plane: Add test that suspends/resumes before getting crc - - This adds a test that does a suspend/resume cycle between configuring - a plane and getting the crc value for the pipe. The intention is to - test if the user requested stated is restored properly, instead of - being clobbered by the state read out from the hardware. - - Signed-off-by: Ander Conselvan de Oliveira - Signed-off-by: Daniel Vetter - -commit a29f28eba975388aed43c83dd6ed3ec2a869f4ce -Author: Chris Wilson -Date: Mon Jan 19 09:42:25 2015 +0000 - - igt/drv_module_reload: Check more carefully for a live driver - - As drm_open_any() now quietly fails if there is no driver, this - nullifies the effectiviness of using gem_exec_nop as the test for a good - reload. Combine with gem_alive (and guarantee that gem_alive can detect - a dead driver, putting lie to - - commit 032f30cb38bb03562ee7fde19cd278b1d8ac31a9 - Author: Thomas Wood - Date: Tue Jan 13 13:33:57 2015 +0000 - - lib: remove unnecessary checks on the drm_open_any return value - - ) first. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88573 - Signed-off-by: Chris Wilson - -commit 20d6e0f41b3b70a89946e5271bc4ffa7695be1b0 -Author: Tim Gore -Date: Fri Jan 16 09:12:15 2015 +0000 - - tools/intel_gpu_frequency: remove use of getsubopt - - getsubopt is not available in android. The "get" option - doesn't really need sub-options, just display all the - current frequency settings (as per discussion with - Ben Widawsky) - - Ben v2: Remove the -geff example in the header - Fixed another typo for the --set while there (found by Dave Gordon) - - Signed-off-by: Tim Gore - Reviewed-by: Ben Widawsky - -commit 0167619bbcc6b45b4045a85468007ecc9f606c71 -Author: Thomas Wood -Date: Wed Dec 17 11:37:31 2014 +0000 - - lib: use critical log level for assertion failure messages - - Signed-off-by: Thomas Wood - -commit df11a0f4a83a78ca63e04ff915a77e33cf8422fe -Author: Thomas Wood -Date: Tue Dec 16 15:18:20 2014 +0000 - - lib: add a critical warning level - - Signed-off-by: Thomas Wood - -commit 032f30cb38bb03562ee7fde19cd278b1d8ac31a9 -Author: Thomas Wood -Date: Tue Jan 13 13:33:57 2015 +0000 - - lib: remove unnecessary checks on the drm_open_any return value - - drm_open_any always returns a valid file descriptor, so there is no need - to check the return value. - - Signed-off-by: Thomas Wood - -commit 07e9f3edb9dd8e99c2511b6b8c4cf750a5dbe536 -Author: Tim Gore -Date: Mon Jan 12 09:50:22 2015 +0000 - - lib/Android.mk: add -DHAVE_LINUX_KD_H to fix android build - - commit cf93bc8df9f5f94a0aedc8b52bad0ad4e036737c by Alan Coopersmith - (introduced to enable solaris builds) reqires HAVE_LINUX_KD_H to be set - in order for kd.h to get picked up in igt_kms.c. This is not currently - set in the Android makefile so Android builds are broken. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 6e2fd6f64d156e9abdb3f4c51e4589fb77ec74dd -Author: Thomas Wood -Date: Tue Jan 13 11:53:49 2015 +0000 - - tools: add intel_gpu_frequency to .gitignore - - intel_gpu_frequency was added in commit 5fb26d1 (intel_gpu_frequency: A - tool to manipulate Intel GPU frequency), but wasn't added to .gitignore. - - Cc: Ben Widawsky - Signed-off-by: Thomas Wood - -commit c1d8293cc79350aa0ee803c7408a9c970f8eebc8 -Author: Thomas Wood -Date: Tue Jan 13 11:50:02 2015 +0000 - - intel_gpu_frequency: fix array bounds warning - - Add a parameter for the size of the act_upon array in the parse function - since its size cannot be calculated with ARRAY_SIZE from just the - pointer. - - Cc: Ben Widawsky - Signed-off-by: Thomas Wood - -commit a263cc87958de96acd77fdae6bf8a09bdf46204e -Author: Chris Wilson -Date: Thu Jan 15 09:36:05 2015 +0000 - - igt/gem_tiled_swapping: Cycle through the bo a couple of times - - In order to exercise coherency across swapin/swapout of the same bo, - explicitly loop over all bo a couple of times. - - Signed-off-by: Chris Wilson - -commit d3bf83af031a2e1c937b3f66fd3fbaec72864525 -Author: Chris Wilson -Date: Thu Jan 15 08:49:59 2015 +0000 - - igt/gem_mmap_wc/set-cache-level: Exercise set-cache-level WARNing - - With the introduction of mmap(wc) and its unbound GTT write domain, we - can now hit the warning inside set-cache-level, complaining about the - failure to do correct cpu cache tracking. - - Signed-off-by: Chris Wilson - -commit 3ea7a2807214900edfdfc171968d7c2e22890c0b -Author: Chris Wilson -Date: Wed Jan 14 14:33:29 2015 +0000 - - igt/gem_exec_big: Don't try to repeatedly munmap(NULL) - - Signed-off-by: Chris Wilson - -commit 3214a27b5ba7cd621b091f1d0702e069a750c054 -Author: Chris Wilson -Date: Tue Jan 13 09:17:29 2015 +0000 - - igt/gem_mmap_wc: Reorder gem_close() - - Unlike a GTT mmap, a WC mmap does not have a direct reference to the - object, only to the backing storage. If we want to control the domain - correctly for mmap(wc), we have to keep the bo reference around. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88356 - Signed-off-by: Chris Wilson - -commit 5fb26d1469f95ea93df2f047f57c0cdcf27da5d7 -Author: Ben Widawsky -Date: Sat Jan 10 14:36:20 2015 -0800 - - intel_gpu_frequency: A tool to manipulate Intel GPU frequency - - WARNING: very minimally tested - - In general you should not need this tool. Its primary purpose is for - benchmarking, and for debugging performance issues. - - For many kernel releases now sysfs has supported reading and writing the GPU - frequency. Therefore, this tool provides no new functionality. What it does - provide is an easy to package (for distros) tool that handles the most common - scenarios. - - v2: - Get rid of -f from the usage message (Jordan) - Add space before [-s (Jordan) - Add a -c/--custom example (Jordan) - Add a setting for resetting to hardware default (Ken) - Replicate examples in commit message in the source code. (me) - - v3: - Its not It's (me) - Add --help/-h to usage - Add Version + man page - Rename tool to intel_gpu_frequency, from intel_frequency - Remove "sudo" from the examples - - Signed-off-by: Ben Widawsky - Reviewed-by: Jordan Justen - Cc: Kenneth Graunke - - Here are some sample usages: - $ intel_gpu_frequency --get=cur,min,max,eff - cur: 200 MHz - min: 200 MHz - RP1: 200 MHz - max: 1200 MHz - - $ intel_gpu_frequency -g - cur: 200 MHz - min: 200 MHz - RP1: 200 MHz - max: 1200 MHz - - $ intel_gpu_frequency -geff - RP1: 200 MHz - - $ intel_gpu_frequency --set min=300 - $ intel_gpu_frequency --get min - cur: 300 MHz - min: 300 MHz - RP1: 200 MHz - max: 1200 MHz - - $ intel_gpu_frequency --custom max=900 - $ intel_gpu_frequency --get max - cur: 300 MHz - min: 300 MHz - RP1: 200 MHz - max: 900 MHz - - $ intel_gpu_frequency --max - $ intel_gpu_frequency -g - cur: 1200 MHz - min: 1200 MHz - RP1: 200 MHz - max: 1200 MHz - - $ intel_gpu_frequency -e - $ intel_gpu_frequency -g - cur: 200 MHz - min: 200 MHz - RP1: 200 MHz - max: 200 MHz - - $ intel_gpu_frequency --max - $ intel_gpu_frequency -g - cur: 1200 MHz - min: 1200 MHz - RP1: 200 MHz - max: 1200 MHz - - $ intel_gpu_frequency --min - $ intel_gpu_frequency -g - cur: 200 MHz - min: 200 MHz - RP1: 200 MHz - max: 200 MHz - -commit cdbc514b4144b614b6ca296c0817828b6a20aa26 -Author: Chris Wilson -Date: Mon Jan 12 12:57:27 2015 +0000 - - igt/gem_exec_big: Use mmap(wc) to speed up verification - - Signed-off-by: Chris Wilson - -commit b65903b7db6c625526e29b2023e50661e584f1a0 -Author: Chris Wilson -Date: Mon Jan 12 10:42:03 2015 +0000 - - igt/gem_exec_big: Also test a large batch with a large number of relocs - - Signed-off-by: Chris Wilson - -commit 9917744176cfe694d51d77ac2eff173d9662e7b8 -Author: Yang, Libin -Date: Mon Jan 12 01:38:34 2015 +0000 - - tools/intel_audio_dump: add support for Cherryview - - This patch adds support for dumping audio registers of Cherryview. - - Signed-off-by: Libin Yang - -commit 67eb20c8a3569aa18d3378d8fe54cd78396a2c16 -Author: Ben Widawsky -Date: Sat Jan 10 11:00:22 2015 -0800 - - tools/Makefile: Alphabetize the list - - Signed-off-by: Ben Widawsky - Reviewed-by: Jordan Justen - -commit 1dddf32df97f1f1c5269d1bc3ece1d6183277603 -Author: Chris Wilson -Date: Tue Nov 18 09:45:56 2014 +0000 - - igt/gem_exec_big: Increase stress - - We should be able to execute batches up to the full GTT size (give or - take fragmentation), so let's try! - - Signed-off-by: Chris Wilson - -commit a315476a6ba07f83631a60355bd01a6f73ced50b -Author: Chris Wilson -Date: Sat Sep 6 08:16:27 2014 +0100 - - igt/gem_evict_(alignment|everything): contend with GPU hangs - - Signed-off-by: Chris Wilson - -commit ce79b7aa8010d848d4e9c417bcba375eac958f60 -Author: Chris Wilson -Date: Thu Sep 4 13:57:17 2014 +0100 - - igt/gem_reloc_vs_hang: Inject hangs! - - Signed-off-by: Chris Wilson - -commit 5ae9ecaf55ee3263f17ac3837b0dfdd6626cca51 -Author: Chris Wilson -Date: Thu Sep 4 13:16:52 2014 +0100 - - igt/gem_pread_after_blit: Inject hangs! - - Signed-off-by: Chris Wilson - -commit 16bafdf5bf0248c02ea9824aca003b2a23d464be -Author: Chris Wilson -Date: Thu Sep 4 09:26:24 2014 +0100 - - igt/gem_concurrent_blit: Inject hangs before verifying contents - - After setting up the copy operations, add a hanging batch. This should - mean that we complete the copy and the compare then races against the - GEM reset. Hopefully, this will catch driver bugs where the target - object is no longer accessible after the hang. - - Note: hang injection is disabled until the required kernel interface is - completed. But there are useful additional tests here... - - Signed-off-by: Chris Wilson - -commit 25cf0551c7d210c8c085c109891dc97a2cc61e27 -Author: Chris Wilson -Date: Tue Jan 6 09:59:47 2015 +0000 - - igt/gem_ctx_thrash: Tweak resource limits - - On some systems (ok, most systems!) we may need to enlarge the allowed - number of open files in order to create enough fd to fill the aperture. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87572 - Signed-off-by: Chris Wilson - -commit eaa1e8e127205a9517bfc89275cd8723e8b09ed2 -Author: Chris Wilson -Date: Tue Jan 6 10:06:41 2015 +0000 - - ioct_wrappers: Add some mmap(wc) blurb dropped between authors - - Signed-off-by: Chris Wilson - -commit 33d52a854375581321eb7ae36b06705425fb482f -Author: Alan Coopersmith -Date: Tue Dec 23 19:07:14 2014 -0800 - - Skip MADV_DOFORK & MADV_DONTFORK calls on OS'es that don't support them - - Signed-off-by: Alan Coopersmith - Signed-off-by: Daniel Vetter - -commit 843beb152bb948c972e573448be02ea0a902f3ea -Author: Alan Coopersmith -Date: Tue Dec 23 19:07:13 2014 -0800 - - Don't try to use CLOCK_MONOTONIC_COARSE on OS'es that don't support it - - Signed-off-by: Alan Coopersmith - Signed-off-by: Daniel Vetter - -commit 95ea5d5c0b0342ec95899c6d33311b6ff40732b3 -Author: Alan Coopersmith -Date: Tue Dec 23 19:07:12 2014 -0800 - - Provide sighandler_t fallback for non-GNU-libc platforms - - Signed-off-by: Alan Coopersmith - Signed-off-by: Daniel Vetter - -commit f04b9dfba00b724879b0310a5d1442196afcc24e -Author: Alan Coopersmith -Date: Tue Dec 23 19:07:11 2014 -0800 - - Need to #include for basename() on Solaris - - Signed-off-by: Alan Coopersmith - Signed-off-by: Daniel Vetter - -commit 99e6defbe79d3a41f967b55d33ce1a856914e797 -Author: Alan Coopersmith -Date: Tue Dec 23 19:07:10 2014 -0800 - - Use pthread calls instead of raw syscalls on non-Linux systems - - Raw system calls aren't portable to other kernels. - - Signed-off-by: Alan Coopersmith - Signed-off-by: Daniel Vetter - -commit cf93bc8df9f5f94a0aedc8b52bad0ad4e036737c -Author: Alan Coopersmith -Date: Tue Dec 23 19:07:09 2014 -0800 - - Solaris needs to #include instead of - - Signed-off-by: Alan Coopersmith - Signed-off-by: Daniel Vetter - -commit f7766d1c77ffef757e05cbd6c6ed110cdd830045 -Author: Alan Coopersmith -Date: Tue Dec 23 19:07:08 2014 -0800 - - Fix #ifdef check for _SC_AVPHYS_PAGES in intel_get_avail_ram_mb() - - Check for the sysconf value used here, not the one used in the - previous function. - - Signed-off-by: Alan Coopersmith - Signed-off-by: Daniel Vetter - -commit f3e1a3d9f8cc366a1e0dbda42f3da9d37064fcd0 -Author: Akash Goel -Date: Fri Jan 2 16:33:34 2015 +0530 - - igt/gem_mmap_wc: Add the invalid flags subtest - - A new subtest added to validate the new version of gem_mmap ioctl, - for creating the wc mappings, on yet to be supported flags. - - v2: Removed the flags checking for older kernels (Daniel) - - Signed-off-by: Akash Goel - Signed-off-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit f2a045f851fa46b2674d455fd5560bdc1fe21a0c -Author: Chris Wilson -Date: Fri Jan 2 16:33:33 2015 +0530 - - igt/gem_concurrent_blit: Exercise wc mappings - - Signed-off-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit d95736906d7acea3f52a16076c70f0907684afb5 -Author: Chris Wilson -Date: Fri Jan 2 16:33:32 2015 +0530 - - igt/gem_fence_upload: Add comparison against wc mmaps - - Signed-off-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 58865891ba31914eb35f56a553ff7056e3443b06 -Author: Chris Wilson -Date: Fri Jan 2 16:33:31 2015 +0530 - - igt/gem_gtt_speed: compare against WC mmaps - - Signed-off-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit e70c789909efee8da5c483dc84361418c1d43018 -Author: Chris Wilson -Date: Fri Jan 2 16:33:30 2015 +0530 - - igt/gem_tiled_wc: Exercise wc mmaps with swizzling - - This exercises both the wc mmappings and the extended get_tiling ioctl. - Userspace cannot handle bit17 swizzling through wc mmaps (because bit17 - requires swizzling based on the actual physical address of the page - - which is unknown to userspace) and so we need an extended get_tiling - ioctl to report the actual as well as the logical swizzling on an - object. We then check that the contents of the object are tiled and - swizzled correctly when viewed through a wc mmap. - - Signed-off-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit a464fb758e102cb3af90e23e002472a9faac340b -Author: Chris Wilson -Date: Fri Jan 2 16:33:29 2015 +0530 - - igt/gem_mmap_wc: Exercise mmap(wc) interface - - Signed-off-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit c49a7e9163c2ee30c4bfe930dc0418cf5e2eb0d4 -Author: Chris Wilson -Date: Mon Jan 5 14:34:58 2015 +0000 - - lib/core: Fix compile error from rebasing - - s/KMSG_INFO/KERN_INFO/ - - Signed-off-by: Chris Wilson - -commit d8bf7e17cb5b4b734071563f330a20e41cc6acc4 -Author: Chris Wilson -Date: Mon Jan 5 14:07:31 2015 +0000 - - lib/core: Show the exitcode in kmsg as well - - This provides symmetry with logging the start of the test via kmsg. - - Signed-off-by: Chris Wilson - -commit cb512b6470fa848c9b351c2090cd3e3f588cfc5f -Author: Vincent Cheng -Date: Wed Dec 31 10:39:51 2014 +0000 - - tools/intel_gpu_abrt: Fix bashism - - intel-gpu-tools ships a #!/bin/sh script that has bash-specific syntax - (which breaks on distros such as Debian and Ubuntu where /bin/sh is a - symlink to something other than bash). - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87888 - -commit eb799b29947a9030aca7d808e97190635636c8de -Author: Chris Wilson -Date: Sun Dec 21 13:53:27 2014 +0000 - - overlay: Hide kworker threads in overview - - The kworker threads are used for flip handling and other non-userspace - driver tasks. They are non-blocking and so do not impact upon how - userspace performs, but they do obscure that information in the - overview. - - Signed-off-by: Chris Wilson - -commit 0be9766952333dc54a0c568bc487660c0caf5edf -Author: Chris Wilson -Date: Sun Dec 21 13:50:34 2014 +0000 - - overlay: A couple of valgrind pleasers - - Make sure we initialise values to keep valgrind happy - - Signed-off-by: Chris Wilson - -commit 7f9d14aa516527f6abf77b4df294acfa832d0dc6 -Author: Chris Wilson -Date: Sun Dec 21 13:49:25 2014 +0000 - - overlay: Negative modulus - - Don't use a negative index into the array if the desired element is - negative, just wrap around properly into the ring for the chart. - - Signed-off-by: Chris Wilson - -commit c537cdb08eb7a862b50fab2d66aa40f8efaaf933 -Author: Chris Wilson -Date: Thu Dec 18 16:21:16 2014 +0000 - - igt/gem_ctx_thrash/threads: Allow bo resuse - - We already allocate enough objects to thrash the ppGTT VMs, so allow us - to reuse the batch buffers for some efficiency gains and through the - contention more towards the ctx->vm. - - Signed-off-by: Chris Wilson - -commit 4bde75434999568db4868adfcdc9f93fcb7c49c4 -Author: Chris Wilson -Date: Thu Dec 18 16:20:10 2014 +0000 - - igt/gem_ctx_thread/processes: Serialise after forking children - - Play nice, especially with the subtest, and wait for the children to - exit before finishing the test. If we don't we end up with a fork bomb - for some unknown reason... - - Signed-off-by: Chris Wilson - -commit 9f389d00cf83248fa31f626a5a4a3f5ac7c07a75 -Author: Chris Wilson -Date: Thu Dec 18 11:45:30 2014 +0000 - - igt/gem_ctx_thrash: Boost workloads - - Now that we are no longer busy-spinning inside random(), we can spend - more time exercising i915.ko - - Signed-off-by: Chris Wilson - -commit 14c661599b0a9af9169779b9ffcffa4bbbb7bb3d -Author: Chris Wilson -Date: Thu Dec 18 11:44:52 2014 +0000 - - lib/gen8: Make rendercopy threadsafe - - Signed-off-by: Chris Wilson - -commit 71e9e9c564419cd1f4563c628dc80e707a512065 -Author: Chris Wilson -Date: Thu Dec 18 09:08:13 2014 +0000 - - lib: random() is too slow - - random() being a good multithread-safe RNG is too slow to be used in - stress tests, especially for a seemingly trivial task of randomising the - order of an array. - - Signed-off-by: Chris Wilson - -commit 6999b70a8438789c3afaad0cb76cf364bd4274c1 -Author: Tim Gore -Date: Wed Dec 17 10:44:11 2014 +0000 - - Demos/Android.mk: build intel_sprite_on - - This reverts the effect of two commits - 06fb6c233dd82aac766aa9206644f6eff668ca99 - 264e1ac10ac14a098a78cc9f96c4e7cabb124ee5 - - Both of these were to stop demos/intel_sprite_on - from being built, but the first was just broken. - - So this commit re-enables building intel_sprite_on. - However, intel_sprite_on will not build in recent - Android trees. To overcome this the version - of IGT kept in the Android repository will carry a patch - to intel_sprite_on, and the automatic build test of - IGT on android will patch the freedesktop code on the fly. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit f73697aa8b9131f4bbcd438c66d45b24254d92c7 -Author: Thomas Wood -Date: Wed Dec 17 14:34:47 2014 +0000 - - NEWS: New heading for 1.10 - - Signed-off-by: Thomas Wood - -commit 959a7db668f19715e7d85f7899a3c38428c4deed -Author: Chris Wilson -Date: Tue Dec 16 12:12:51 2014 +0000 - - igt: Add gem_ctx_thrash to fill the GGTT with contexts - - Signed-off-by: Chris Wilson - -commit 739790d7eda4866538386f2a24e597c700c24c49 -Author: Daniel Vetter -Date: Wed Dec 17 09:05:10 2014 +0100 - - tests/gem_exec_blt: Add subtest that uses dumb buffers - - Just to make sure this keeps working since a patch to WARN_ON using - dumb buffers in execbuf was accidentally merged. - - Signed-off-by: Daniel Vetter - -commit 6262f353bb04112becc8679f63b1caaf083f1484 -Author: Thomas Wood -Date: Fri Dec 12 15:26:36 2014 +0000 - - Update version to 1.9 and add the release date - - Signed-off-by: Thomas Wood - -commit 06fb6c233dd82aac766aa9206644f6eff668ca99 -Author: Tim Gore -Date: Fri Dec 12 14:29:00 2014 +0000 - - Demos/Android.mk: dont build intel_sprite_on - - intel_sprite_on wont build on Android. Previous - attempt to disable was just wrong! - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 267b352c4fd161a5e96d0a569cdc1f7a3191e90e -Author: Thomas Wood -Date: Fri Dec 12 14:28:38 2014 +0000 - - NEWS: Updates - - Signed-off-by: Thomas Wood - -commit f59bbf7e8f6b0b5208e6cc11e01537a93ae93706 -Author: Thomas Wood -Date: Fri Dec 12 14:18:07 2014 +0000 - - lib: fix a few documentation warnings - - Signed-off-by: Thomas Wood - -commit a11117e42fabc3228d21a4786584acbe9840f1dc -Author: Tim Gore -Date: Fri Dec 12 12:14:33 2014 +0000 - - Android.mk: replace std=c99 with std=gnu99 - - The android makefiles were passing the -std=c99 flag to the - compiler which disables the typeof keyword. This causes a - build fail for a recent addition to igt_aux.h. - Change this to -std=gnu99, which is the flag used in the - linux build - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 264e1ac10ac14a098a78cc9f96c4e7cabb124ee5 -Author: Tim Gore -Date: Fri Dec 12 11:55:21 2014 +0000 - - Demos/Android.mk: dont build intel_sprite_on - - intel_sprite_on wont build on Android. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 6414707bdc318a0bed4c3ae2fe404e27f3cd377c -Author: Joonas Lahtinen -Date: Thu Dec 11 15:11:53 2014 +0200 - - lib: Fix out of tree build of version.h - - Write the version.h.tmp file into the build directory instead of source - directory. This allows out of tree building when those two are not the - same. - - Signed-off-by: Joonas Lahtinen - Signed-off-by: Thomas Wood - -commit 42b02c284ed24871528df8f1b3eaad7fe1554fd9 -Author: Thomas Wood -Date: Mon Dec 8 11:12:51 2014 +0000 - - lib: add a function to lock memory into RAM - - Add a function to lock memory into RAM and use it in the - gem_tiled_swapping test to reduce the amount of allocated memory - required to force swapping. This also reduces the amount of time - required for the test to complete, since the data set is smaller. - - The following durations were recorded with gem_tiled_swapping on a - haswell system before the change: - - Subtest non-threaded: SUCCESS (55.889s) - Subtest threaded: SUCCESS (810.532s) - - and after: - - Subtest non-threaded: SUCCESS (11.804s) - Subtest threaded: SUCCESS (268.336s) - - v2: add various assertions and requirements and make sure - gem_tiled_swapping works on systems with less RAM (Daniel Vetter) - - v3: fix allocation size calculation - - Signed-off-by: Thomas Wood - -commit 5fe9c88bdad9bf54013b58f2324b7b47d92ca09d -Author: Thomas Wood -Date: Tue Dec 2 11:37:26 2014 +0000 - - lib: add optional log domain filtering - - v2: add an "application" filter for the default domain (used by - applications) - - Signed-off-by: Thomas Wood - -commit 8161a21762b552d97fe6bde8d4fd441d9cd10f61 -Author: Thomas Wood -Date: Tue Dec 2 10:54:54 2014 +0000 - - lib: introduce log domains - - Log domains can be used to identify the source of log messages, such as - the test being run or the helper library. - - v2: Add separate domains for different parts of the helper library and - use an empty default domain for applications. - Expand the log output to include the process name and the log level - of the message in addition to the domain and pid. - Print the expanded message only for warning and debug messages. - - v3: check for glibc before using program_invocation_short_name - - Signed-off-by: Thomas Wood - -commit 85b74d5c14506bbae53ab02408102645e071a206 -Author: Thomas Wood -Date: Tue Dec 2 10:53:47 2014 +0000 - - tests/gem_tiled_swapping: use igt_info logging wrapper - - Signed-off-by: Thomas Wood - -commit 16f1506ff605127121249d35a233d1ba438ffeef -Author: Thomas Wood -Date: Wed Dec 10 16:24:03 2014 +0000 - - tests: replace 3D test images - - Use images with a smaller file size, created by saving the left and - right stereo output of glxgears. - - Signed-off-by: Thomas Wood - -commit bdbf78db018d0d1854ea4274d983cf32e57a7d74 -Author: Thomas Wood -Date: Wed Dec 10 14:47:45 2014 +0000 - - tools: add missing copyright headers - - Signed-off-by: Thomas Wood - -commit f3ae3deb4f7266cd761a6c81ea2263ced23c2fc3 -Author: Thomas Wood -Date: Fri Dec 5 14:46:28 2014 +0000 - - NEWS: Updates - - Signed-off-by: Thomas Wood - -commit e80922eba61e71bbaae3febf5c69f0ed00809591 -Author: Thomas Wood -Date: Fri Dec 5 14:07:53 2014 +0000 - - Add a MAINTAINERS file - - Acked-by: Daniel Vetter - Signed-off-by: Thomas Wood - -commit 84f23415c4a82ed3bd230701b2c085ca5dd699a3 -Author: Thomas Wood -Date: Wed Oct 29 11:18:27 2014 +0000 - - Update README - - Signed-off-by: Thomas Wood - -commit 5d46f68eab1cb6bdaa52eff33bcb0d61149eca3d -Author: Ville Syrjälä -Date: Tue Dec 9 22:33:16 2014 +0200 - - tests/kms_cursor_crc: Restore the valid pipe/connector combo check - - The valid pipe/connector combo check was lost in - commit 57259d714d3fe1170cf931af72648219856a9918 - Author: Daniel Vetter - Date: Mon Nov 24 16:08:32 2014 +0100 - - lib/igt_debugfs: Don't setup crc in _new - - Restore it to make the test again useful on CHV. - - Cc: Daniel Vetter - Signed-off-by: Ville Syrjälä - -commit b6f68c10b4ee2b730baeb8129aba36b5210ac291 -Author: Ville Syrjälä -Date: Tue Dec 9 14:44:02 2014 +0200 - - tests/kms_mmio_vs_cs_flip: Count valid tests for all crtcs - - Report SKIP only if none of the pipe/connector combos worked, instead of - trying to report for each pipe separately. - - Signed-off-by: Ville Syrjälä - -commit 1b6eb414f36f3728f5c0393d8f4eefee74abdce9 -Author: Ville Syrjälä -Date: Tue Dec 9 15:27:59 2014 +0200 - - lib/igt_debugfs: Throw away the two first CRCs - - On CHV we sometimes see not just one but two bad CRCs. No real idea - what would cause that, but let's just throw away the second CRC as - well to gain some stability for the tests. - - Signed-off-by: Ville Syrjälä - -commit 01153e7d5f0b8d4edb0306c2a27030d2757235f4 -Author: Damien Lespiau -Date: Tue Dec 9 17:10:42 2014 +0000 - - drv_hangman: Remove unused function - - Signed-off-by: Damien Lespiau - -commit d49ef76e98d5966c31f6b960dcc1530103b42ae9 -Author: Damien Lespiau -Date: Tue Dec 9 17:07:22 2014 +0000 - - kms_cursor_crc: Remove value to 'return' in a void function - - Signed-off-by: Damien Lespiau - -commit c252c77dbfae6c7ed4d9a67b2bf545c468c2e205 -Author: Jani Nikula -Date: Wed Feb 12 16:29:54 2014 +0200 - - tools: terminate getopt_long long option arrays properly - - The last element of the long options array has to be filled with zeros. - - Signed-off-by: Jani Nikula - -commit f333981e1a2f5e7a16d030469c29b53c914a831c -Author: Ville Syrjälä -Date: Fri Nov 28 09:30:45 2014 +0200 - - tests/kms_flip: Target the back buffer with the dummy load - - Aim the dummy load to the current back buffer instead if the front - buffer. Assuming the idea is to get the next flip to be stuck behind - the dummy load? - - Signed-off-by: Ville Syrjälä - -commit 092682a3e5a48bf3555fdb7c4931fecc1df09f9e -Author: Ville Syrjälä -Date: Thu Nov 27 16:51:34 2014 +0200 - - tests/kms_flip: Calibrate the dummy load delay in kms_flip - - Try to tune the dummy load to ~1 second. The calibration happens the - first time dummy load is generated. - - v2: Actually do the number of ops intended and - calibrate to 1 second and not 2 - - Signed-off-by: Ville Syrjälä - -commit b0cb1e1f9d4b16a13c0afc16c809039fbb288213 -Author: Ville Syrjälä -Date: Wed Dec 3 15:25:25 2014 +0200 - - tests/kms_flip: Use fixed size (2kx2k) buffers for dummy load - - Make the dummy load independent of the display resolution by using a - two fixed size dummy bos to generate the load. As a final step do - another copy from one of the dummy bos to the fb to make sure there's - a dependency between the dummy load and any subsequent operation on - the fb. - - Signed-off-by: Ville Syrjälä - -commit 21db302c9bf8eb936f37f627aea40d3e431fc36c -Author: Ville Syrjälä -Date: Wed Dec 3 14:59:22 2014 +0200 - - tests/kms_flip: Refactor blit code - - Pull the code to emit a single blit to a separate function. - - Signed-off-by: Ville Syrjälä - -commit 8032f526ef1d075e303342b7741db35faadfd00f -Author: Ville Syrjälä -Date: Wed Dec 3 14:51:16 2014 +0200 - - tests: Run lib/igt.cocci - - Found some open coded min()/max()/swap() macros. - - Signed-off-by: Ville Syrjälä - -commit e1bdab9973ffdb5477666a384b011fa012965758 -Author: Ville Syrjälä -Date: Fri Nov 28 11:11:17 2014 +0200 - - lib/igt.cocci: Deal with min/max/swap - - Replace open coded min/max/swap with the macro invocation. - - Signed-off-by: Ville Syrjälä - -commit 1658edceee85bd5f57e8dd39075f1d127260d5b6 -Author: Ville Syrjälä -Date: Fri Nov 28 10:03:38 2014 +0200 - - lib: Add swap() macro - - swap() will swap its two arguments while keeping the required - tmp variable hidden. Makes for neater code. - - Signed-off-by: Ville Syrjälä - -commit b32b5327a20b3747890235c362b093439b854f59 -Author: Imre Deak -Date: Thu Dec 4 17:23:05 2014 +0200 - - tests/pm_rps: vlv: round middle point to freq supported by HW - - When setting the calculated middle frequency value the test assumes that - the HW/kernel rounds this value according to a 50MHz step value. This is - not so at least on VLV/CHV, on my B0 BYT-M for example this step value - is 22MHz, so there the test will fail. - - To fix this get the nearest supported value by setting the target - frequency as a min or max frequency and read it back. The kernel will - round the returned value to the nearest supported. - - v2: - - remove the 50MHz rounding that was done for non-VLV platforms, the new - way of rounding should provide the correct value for all platforms - (Ville) - - Acked-by: Daniel Vetter - Signed-off-by: Imre Deak - -commit f70afed4c7abd95fc3250141a1e36587e31f7c87 -Author: Imre Deak -Date: Thu Dec 4 17:05:25 2014 +0200 - - tests/pm_rps: vlv: load gpu for idle min/max tests - - When changing the sysfs GT min/max frequencies, the kernel won't - explicitly change the current frequency, unless it becomes out of bound - based on the new min/max values. The test happens to work on non-VLV - platforms because on those the kernel resets the current frequency - unconditionally (to adjust the RPS interrupt mask as a side-effect) and - that will lead to an RPS interrupt setting the minimum frequency. - - To fix this load the GPU after decreasing the min frequency and before - checking the current frequency. This should set the current frequency to - the minimum. - - Acked-by: Daniel Vetter - Signed-off-by: Imre Deak - -commit aabf2d095269ae4cb8e77dd61e5c0c16e602c1d8 -Author: Imre Deak -Date: Thu Dec 4 16:40:19 2014 +0200 - - tests/pm_rps: vlv: wait for freq to settle - - At least on VLV when forcing a new GT frequency by writing to the - min/max freq sysfs entries the kernel doesn't wait until the new - frequency settles, so the subsequent readback check might fail. To fix - this wait until the current frequency is between the min/max values - using a 10ms timeout. - - Acked-by: Daniel Vetter - Signed-off-by: Imre Deak - -commit 470071d4aba10f85b3728cf24acd792a273c1d28 -Author: Chris Wilson -Date: Mon Dec 8 07:49:49 2014 +0000 - - igt/drm_read: Require that pipe 0 is active - - As we require a pipe enabled to generate vblanks, the first step is to - then to check that pipe 0 is active or else skip the test. - - Signed-off-by: Chris Wilson - -commit 819e68f2ed0064f48250a4ed8e5135026c90b514 -Author: Chris Wilson -Date: Fri Dec 5 13:12:37 2014 +0000 - - igt/drm_read: Abuse read(drm) - - Check that the more obvious userspace error conditions are handled by - the kernel, ideally without loss of data. These include nonblocking - waits, passing invalid buffers and passing buffers of the incorrect - length. - - Signed-off-by: Chris Wilson - -commit b64704673e2a4d891386a1200150e679216b6d60 -Author: Chris Wilson -Date: Fri Dec 5 11:04:42 2014 +0000 - - intel_error_decode: Decode the ERROR register on Sandybridge and Ivybridge - - Signed-off-by: Chris Wilson - -commit 88ff1cec3a830fc467b91efb7e1dcdb4d82a0e17 -Author: Damien Lespiau -Date: Thu Dec 4 13:42:12 2014 +0000 - - gem_bad_reloc: Don't flip-flop between SKIP and PASS - - Here is a cheap way for this test to give consistent results. This - doesn't change the usefulness of this test, hopefully. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85270 - Acked-by: Daniel Vetter - Signed-off-by: Damien Lespiau - -commit b3cce757b5e8c0d6b40e2c401e5391162d58e8c6 -Author: Thomas Wood -Date: Thu Dec 4 11:13:04 2014 +0000 - - tests: add gem_gpgpu_fill to .gitignore - - gem_gpgpu_fill was added in commit 4ec8479 (tests: Add gem_gpgpu_fill), - but wasn't added to .gitignore. - - Cc: Zhenyu Wang - Signed-off-by: Thomas Wood - -commit c76f35386c2533e9959be37feca0e80d252fec30 -Author: Thomas Wood -Date: Wed Dec 3 14:38:45 2014 +0000 - - lib: always reset connectors after the state is forced - - Install the exit handler to reset connector states whenever - kmstest_force_connector is called, so that the connector states are - always reset even if a test fails. - - Signed-off-by: Thomas Wood - -commit 8d82e5b5efb56bdf1aa2eae8a3d82817854e119b -Author: Thomas Wood -Date: Wed Oct 8 16:16:39 2014 +0100 - - lib: remove igt_edid.h - - This has been replaced by igt_kms_get_base_edid(). - - Signed-off-by: Thomas Wood - -commit 304c874b58c0a65dcc5442c50099d048d4fe0633 -Author: Thomas Wood -Date: Wed Oct 8 15:24:36 2014 +0100 - - tests: use base edid - - Use the base edid for testing, which includes several different display - modes. - - Signed-off-by: Thomas Wood - -commit 43da3e706b955751506073e1c0e959209f6c7cf4 -Author: Thomas Wood -Date: Wed Oct 8 14:49:36 2014 +0100 - - tests/kms_force_connector: split into subtests - - v2: fix the initial mode count - - Signed-off-by: Thomas Wood - -commit 273a06dc9b68f9c6d78431de23a12ad7364bff99 -Author: Thomas Wood -Date: Wed Oct 8 14:11:30 2014 +0100 - - igt_kms: add a base edid - - Add a basic edid block that includes several different display modes. - - Signed-off-by: Thomas Wood - -commit b2ac2642a9b5448761086bdb8ae1a1e2974b3995 -Author: Thomas Wood -Date: Fri Nov 28 11:02:44 2014 +0000 - - tests: add more test descriptions - - Add more test descriptions based on exiting comments. - - Signed-off-by: Thomas Wood - -commit 029dee797965357dbcbe5a097731701e4d965d82 -Author: Thomas Wood -Date: Fri Nov 28 11:37:33 2014 +0000 - - docs: treat the test description as cdata - - Enclose the test description in cdata tags since the test descriptions - come from the tests themselves and may not be escaped for use in xml. - - Signed-off-by: Thomas Wood - -commit a5425a101cd38941961c13f97b56aa0683f64f8e -Author: Thomas Wood -Date: Wed Nov 19 15:44:00 2014 +0000 - - docs: add a glossary of test name terms - - Add a glossary of test name terms based on the details in - tests/NAMING-CONVENTION. - - Signed-off-by: Thomas Wood - -commit bc6dc7efdb65a6f5ac01cc2c306951dd9dd92fc4 -Author: Thomas Wood -Date: Wed Nov 26 18:20:03 2014 +0000 - - docs: add exit status documentation - - Signed-off-by: Thomas Wood - -commit e4e18faffc21cceb1f45c6bbfad9f1ceacdccf05 -Author: Thomas Wood -Date: Fri Nov 28 11:49:49 2014 +0000 - - docs: add subtest lists to test descriptions - - Signed-off-by: Thomas Wood - -commit 7d2ab7083b46d30335cdb01006ae8af021578ea2 -Author: Thomas Wood -Date: Mon Nov 17 11:51:51 2014 +0000 - - docs: split the test program documentation into sections - - Signed-off-by: Thomas Wood - -commit 4ec8479c53f187cc435f118d90f73ffa43887cd0 -Author: Zhenyu Wang -Date: Wed Dec 3 19:09:13 2014 +0800 - - tests: Add gem_gpgpu_fill - - This is simply a copy of gem_media_fill but using new - GPGPU fill operation. - - v2: Use general fill func pointer. - - Signed-off-by: Zhenyu Wang - -commit 10c6ad3805489819047ee24379bb1e7ab08ead1d -Author: Zhenyu Wang -Date: Wed Dec 3 19:05:09 2014 +0800 - - lib: Add GPGPU fill - - This is to add fill operation using GPGPU pipeline which is similar to - current media fill. This can be used to simply verify GPGPU pipeline - and help to enable it on newer HW, currently it works on Gen7 only and - will add support on later platform. - - Now this sets very simply thread group dispatch for one thread per - thread group on SIMD16 dispatch. So the fill shader just uses thread - group ID for buffer offset. - - v2: No new fill func typedef but adapt to igt_fillfunc_t. - - Signed-off-by: Zhenyu Wang - -commit 106f0bf965ac5ba8e5553e3e1b39396750bedc74 -Author: Zhenyu Wang -Date: Wed Dec 3 18:56:39 2014 +0800 - - lib: rename igt_media_fillfunc_t typedef to igt_fillfunc_t - - This makes fill function more general to prepare for other - fill method using GPGPU pipeline. - - Signed-off-by: Zhenyu Wang - -commit 4e5c16c17ed14831aaa369877d78788ad23ce388 -Author: Tim Gore -Date: Mon Dec 1 14:42:37 2014 +0000 - - tests/drv_hangman: remove check for other drm clients - - This test will not run on Android as the coreu service - remains running even after the android system is stopped. - Coreu is a client of drm and when the test finds this it - fails an assert. - Coreu is started by the init process and there is no - tidy, non invasive way to stop it (init just restarts it). - Coreu isn't doing anything and would not be expected to - interfere with this test. In addition, all the other - igt tests just rely on the user/test script to ensure - that there are no other drm clients, so this test can - do the same. On Android we must rely on coreu being - dormant when this test runs. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit 77b52f1881c0c62732a1deef8b900e50f1f22301 -Author: Tim Gore -Date: Tue Nov 18 14:59:25 2014 +0000 - - tests/Android.mk: Add kms_pwrite_crc to cairo test list - - kms_pwrite_crc was recently added and requires cairo, so - add this to the list of tests to exclude if cairo is not - avaiable - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit e06a7448d894392a294d89959fc1cf4e6a01fd19 -Author: Ville Syrjälä -Date: Fri Nov 28 11:13:45 2014 +0200 - - tests/kms_flip: Fix assert about vblank wait duration - - If we wait for one vblank, we may end up returning almost immediately, - so trying to assert anything but >0 about the minimum duration is - bogus. - - Instead wait for two vblanks and then we can assert that we should have - be blocked for at least one frame. And move the upper bound to a little - over two frames to match. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79050 - Signed-off-by: Ville Syrjälä - -commit ddf0f097764da6fdc50ab40c33bef7a0c08d54e3 -Author: Tim Gore -Date: Fri Nov 28 14:46:24 2014 +0000 - - tests/gem_ring_sync_copy: reduce memory usage - - gem_ring_sync_copy uses a lot of memory and gets OOM killed on smaller - systems (eg android devices). Most of the allocation is for "busy work" - to keep the render rings busy and for this we can just re-use the same - few buffers over and over. This enables the test to be run on low end - devices. - - Reviewed-by: Damien Lespiau - Signed-off-by: Tim Gore - Signed-off-by: Damien Lespiau - -commit dbac905600c37f180618e6b4467cafbb6c3f8f2a -Author: Thomas Wood -Date: Tue Nov 25 14:10:04 2014 +0000 - - lib: ensure subtests are not added to simple tests - - Simple tests do not support subtests, so fail if igt_subtest is used in - one. - - Signed-off-by: Thomas Wood - -commit 3bebf3dd011cb7acf280d4deb02723718149a99c -Author: Thomas Wood -Date: Tue Nov 25 14:03:40 2014 +0000 - - tests: use subtests in gem_tiled_swapping - - Signed-off-by: Thomas Wood - -commit ae3a9466316d61ab336f43d06e6ed8bc5025389a -Author: Thomas Wood -Date: Tue Nov 25 11:59:37 2014 +0000 - - lib: fix symbol names in documentation comments - - Signed-off-by: Thomas Wood - -commit b8f193bbbff1a322296969ded5a4c3f9fd759c6d -Author: Gagandeep S Arora -Date: Thu Nov 13 23:42:46 2014 +0530 - - demos/intel_sprite_on: Added support to compile intel_sprite_on on Android. - - Added Android.mk for intel_sprite_on. - - v2: Addressed review comments by Daniel Vetter. - - Moved the cairo independent functions from igt_kms.c to igt_aux.c. - - Signed-off-by: Gagandeep S Arora - Signed-off-by: Thomas Wood - -commit dad4694b004a65455523abbb0c7f9839d7125dae -Author: Thomas Wood -Date: Mon Nov 24 14:16:25 2014 +0000 - - lib: fix igt_reset_connectors - - Use igt_debugfs_open to open the connector file, since the - forced_connectors array now only stores the connector path relative to - the debugfs path. Also add some extra error checking to ensure a test - failure if the reset fails. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85829 - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 57259d714d3fe1170cf931af72648219856a9918 -Author: Daniel Vetter -Date: Mon Nov 24 16:08:32 2014 +0100 - - lib/igt_debugfs: Don't setup crc in _new - - The problem is that this causes writes to registers, and if the pipe - is off they might go nowhere (e.g. when runtime pm is enabled). - Furthermore we can only really check once the modeset setup is done, - but again most tests set up the CRC structure before calling - igt_commit and friends. We could add crc restore support to the - kernel's rpm code, but that will end up being rather invasive and - fragile hard-to-test code. - - Now originally this was needed back when CRC support wasn't available - everywhere. But that's fixed now. - - So given all this just drop that sanity check and make sure that we - only touch the debugfs file (and so the hw state) when we know the - pipe is running in the desired configuration. - - A complementary kernel patch will try to catch offenders by returning - -EIO if the pipe is off. - - v2: Forgot to git add one hunk. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86092 - Signed-off-by: Daniel Vetter - -commit d8078911f63494eba67f8f07ffb56c4bdeae7bc9 -Author: Daniel Vetter -Date: Tue Nov 18 15:17:43 2014 +0100 - - tests/kms_render: gen2/3 can't do 10bpc - - So skip those. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=86236 - Signed-off-by: Daniel Vetter - -commit 08f0e1c625571533bbef9a591d4ae4ce65c4144d -Author: Daniel Vetter -Date: Tue Nov 18 13:49:29 2014 +0100 - - tests/prime_self_import: Track leaked objects accurately - - drm_open_any keeps a buffer handle around for the cleanup sync work, - so we can only grab the buffer count after the latst drm_open_any - call. Otherwise we'll detect a fake leak. - - This broke in - - commit 2f2c491cf3167befe7c79e4b17afb4f6284dfc84 - Author: Mika Kuoppala - Date: Fri Mar 28 10:52:46 2014 +0200 - - lib/drmtest: don't dup quiescent fd - - since that additional open drm fd keeps a gem object for the default - context around. Hence why this also only blows up on gen6+ - earlier - platforms don't have hw context support. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79821 - Cc: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 120d6d1b2c8b3f036058bf2d24d08602dea69ec9 -Author: Daniel Vetter -Date: Tue Nov 18 10:39:38 2014 +0100 - - lib/aux: Make it clear that rtcwake failures aren't bugs - - Because QA has a bunch of shitty machines with old distros and tends - to re-port this all the time. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=82232 - Signed-off-by: Daniel Vetter - -commit 16f99ee419f56bf7b56657c78ecaa22ccf0c2982 -Author: Daniel Vetter -Date: Mon Nov 17 14:46:50 2014 +0100 - - lib/os: Push simulation test down into intel_require_memory - - This has the upside that we'll never forget to add it to thrashing - tests. But we'll also never miss to move it when adding basic - functionality tests to existing binaries. Chris already started this - refining work in e.g. - - commit d77eda6614a1955717f224be023dedf74eb7735d - Author: Chris Wilson - Date: Fri Nov 14 07:45:40 2014 +0000 - - igt/gem_linear_blits: Require that we do the full test - - by moving igt_skip_on_simulation into subtests. - - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit a535cdedfbd280c5e07be1c2445e09973836509a -Author: Daniel Vetter -Date: Mon Nov 17 14:43:33 2014 +0100 - - lib/os: Pust igt_require into memory check function - - More in line with the usual igt pattern and simplifies the code - - every called just wrapped it in igt_require. - - Signed-off-by: Daniel Vetter - -commit aa63fc740c510ed44c1a8dc0fc00f0c92c0581a2 -Author: Thomas Wood -Date: Fri Nov 7 14:45:01 2014 +0000 - - configure: update bug reporting url - - Signed-off-by: Thomas Wood - -commit f674a1f61fe1e63209ba3fab05313ba14ffd071e -Author: Chris Wilson -Date: Fri Nov 14 07:45:40 2014 +0000 - - igt/gem_tiled_blits: Require that we do the full test - - Signed-off-by: Chris Wilson - -commit d77eda6614a1955717f224be023dedf74eb7735d -Author: Chris Wilson -Date: Fri Nov 14 07:45:40 2014 +0000 - - igt/gem_linear_blits: Require that we do the full test - - Signed-off-by: Chris Wilson - -commit b35b1505f762839b0e9a0f8a146804444566a92a -Author: Imre Deak -Date: Thu Nov 13 13:33:54 2014 +0200 - - tests/pm_rpm: add gem-evict-pwrite subtest - - This triggers a device suspended WARN in the kernel in - gen6_ggtt_insert_entries() while calling the GEM pwrite ioctl. - - The sequence is suggested by Daniel. - - Signed-off-by: Imre Deak - Reviewed-by: Daniel Vetter - -commit f12ed8305807975e232e42fd34ad75e1147a788e -Author: Ville Syrjälä -Date: Thu Nov 13 17:24:57 2014 +0200 - - tests/kms_pwrite_crc: Add pwrite vs display coherency test - - Add a test to verify that pwriting to a future scanout buffer works - correctly. The specific problem occurs when the buffer is already - UC/WT before the pwrite, not the current scanout buffer, and not - currently in the CPU write domain. With the buggy kernel no clflush - will be performed after the pwrite, and hence we end up with cache - dirt on the display. - - The problem only affects LLC platforms (non-LLC would clflush anyway - after pwrite), but we can let the test run on all platforms. - - v2: Fix typos in commit message and add to .gitignore - - Signed-off-by: Ville Syrjälä - -commit ebab9f080b24ac11507e872fcfdf58ea9cb7e6fc -Author: Thomas Wood -Date: Thu Nov 13 11:47:19 2014 +0000 - - lib: only skip subsequent tests if a timeout occurs outside of a subtest - - Make timeout behaviour more consistent with igt_fail, where subsequent - subtests are only skipped if the failure occurs outside of a subtest. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85718 - Signed-off-by: Thomas Wood - -commit f6aa80ca18f3dc5fe751c941fb1af6b4b44d21ef -Author: Thomas Wood -Date: Mon Nov 10 15:09:51 2014 +0000 - - tests/kms_flip: add a timeout for the nonblocking-read test - - kms_flip/nonblocking-read will block indefinitely if it fails, so - introduce a timeout to indicate test failure. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85718 - Signed-off-by: Thomas Wood - -commit 34424138bcee87dc8e3c7555f28aa2642668e2e8 -Author: Thomas Wood -Date: Fri Nov 7 16:25:59 2014 +0000 - - lib/tests: add a test for igt_set_timeout - - Signed-off-by: Thomas Wood - -commit 6ee3337b28b3598da723099d43ae14fac96d06e5 -Author: Daniel Vetter -Date: Fri Nov 7 10:40:32 2014 +0100 - - tests/gem_exec_parse: Go OCD about C-style comments - - Cc: Brad Volkin - Signed-off-by: Daniel Vetter - -commit bf31ed80e097d6d69c436a5070f6ab6d0a5d08b6 -Author: Brad Volkin -Date: Mon Nov 3 11:19:00 2014 -0800 - - tests/gem_madvise: set execbuf.batch_len before doing an execbuf - - The command parser's batch_len optimization causes the parser to - reject this batch as not having an MI_BATCH_BUFFER_END because - the length was not set correctly. - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit c1fdc2f0e95714e20b157e318f07110219a2237f -Author: Brad Volkin -Date: Mon Nov 3 11:18:59 2014 -0800 - - tests/gem_exec_parse: fix batch_len setting for cmd-crossing-page - - The size of the batch buffer passed to the kernel is significantly - larger than the size of the batch buffer passed to the function. A - proposed optimization as part of the batch copy kernel series is to - use batch_len for the copy and parse operations, which leads to a - false "batch without MI_BATCH_BUFFER_END" failure for this test. - - To fix this, modify the test to set batch_start_offset and batch_len - such that they define the range of actual commands in the batch, - including a few of the surrounding nops for alignment purposes. - - v2: update batch_start_offset as well - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 4dd6e0edcf4fb2dd52fafa8b448ce87fafc4125d -Author: Thomas Wood -Date: Wed Nov 12 10:47:30 2014 +0000 - - configure: require automake 1.12 - - The check tests require AM_TESTS_ENVIRONMENT, which was added in - automake 1.12. - - Signed-off-by: Thomas Wood - -commit 10aacc73348f77c8ca01f02730710d8d23fb04de -Author: Thomas Wood -Date: Wed Nov 12 10:39:41 2014 +0000 - - tests: ensure the script based tests are included in the distribution - - TESTS_scripts was accidentally removed from EXTRA_DIST in commit 685e577 - (Move library selftests to lib/tests). - - Cc: Daniel Vetter - Signed-off-by: Thomas Wood - -commit 50d539efebbd71b4f5499e69d0768e69dceae09a -Author: Mika Kuoppala -Date: Fri Nov 7 15:33:34 2014 +0200 - - tests/gem_reset_stats: add defer-hangcheck test - - to see if one can fool hangcheck by keeping non hanging - ring busy - - v2: break from loop instead of return (Daniel Vetter) - - Cc: Chris Wilson - Signed-off-by: Mika Kuoppala - -commit c049c39f357295ecfc4d0795b5b3b1e35b04ac58 -Author: Thomas Wood -Date: Mon Nov 3 13:48:51 2014 +0000 - - tests: use igt_debugfs where possible - - Signed-off-by: Thomas Wood - -commit 4f689d52e7e6a511fb0de21ccc0b938d57ce6f41 -Author: Thomas Wood -Date: Thu Oct 30 15:54:44 2014 +0000 - - tests/drm_lib.sh: add a "--help-description" option - - Signed-off-by: Thomas Wood - -commit 895204fc6257f8ce2cae380f98cab4fd753251a1 -Author: Thomas Wood -Date: Thu Oct 30 15:54:02 2014 +0000 - - testdisplay: add a test description - - Signed-off-by: Thomas Wood - -commit 98188b4b416fe066f8d7c8ea18b4186c3381223b -Author: Thomas Wood -Date: Tue Oct 14 15:02:54 2014 +0100 - - docs: include descriptions for the test programs - - v2: fix various distcheck issues - - Signed-off-by: Thomas Wood - -commit e6fec38cf7151596d3f9ead99ea5386be7a7b6de -Author: Thomas Wood -Date: Tue Oct 14 13:46:57 2014 +0100 - - Build the docs directory last - - Ensure that other components are built before generating the - documentation. - - v2: build the docs directory after any optional directories - - Signed-off-by: Thomas Wood - -commit 3d0dca47c6fdec0720aca8016af9a889a0eb3409 -Author: Thomas Wood -Date: Mon Oct 13 11:40:12 2014 +0100 - - docs: add some test descriptions - - Signed-off-by: Thomas Wood - -commit f8b3c704af190fcf49f358ea1395ad8fb8b5b5cb -Author: Thomas Wood -Date: Fri Oct 10 16:56:20 2014 +0100 - - lib: add the ability to include a description with a test - - The IGT_TEST_DESCRIPTION macro can be used to define a description for a - test. - - v2: Remove semicolon from end of macro (Damien Lespiau) - Add API documentation for the macro. - - Signed-off-by: Thomas Wood - -commit c06016798cbd24c24283dbdb3ac2762834d04bcf -Author: Thomas Wood -Date: Fri Oct 31 15:45:09 2014 +0000 - - configure: fix issues when running outside the source tree - - Signed-off-by: Thomas Wood - -commit ce0d34d73d240a95193a4a6f82adfe5f4844bb66 -Author: Thomas Wood -Date: Fri Oct 31 15:00:03 2014 +0000 - - testdiplay: add a "--help" option - - Signed-off-by: Thomas Wood - -commit db425d69f62690a95048fde6d5dc515686bfa9ac -Author: Thomas Wood -Date: Fri Oct 31 12:32:22 2014 +0000 - - testdisplay: ensure invalid long option exit status is non-zero - - The optopt variable is not set if an invalid long option is used, so - check the current option character instead. - - Signed-off-by: Thomas Wood - -commit b441e6ac2ac98ee2f365683f339c8802d238043f -Author: Thomas Wood -Date: Fri Oct 31 11:45:16 2014 +0000 - - lib/tests: don't use hard error status to indicate test failure - - An exit status of 99 is reported separately in the test summary as an - error, rather than as a test failure. - - Signed-off-by: Thomas Wood - -commit 03a4ad16d17b201ba719bc48d2fb2de341a1cf2f -Author: Thomas Wood -Date: Fri Oct 31 11:38:02 2014 +0000 - - lib/tests: fix tests and test list location - - The igt_command_line.sh script was moved by commit 685e577 (Move library - selftests to lib/tests), but the location of the tests and the test - lists was not updated. - - Cc: Daniel Vetter - Signed-off-by: Thomas Wood - -commit 86bb6072a6e104e59ebbea2b41d4d86aeed134dc -Author: Thomas Wood -Date: Wed Nov 5 15:58:54 2014 +0000 - - tools/quick_dump: don't include generated sources in the distribution - - This also ensures that "make dist" works even if SWIG is not available. - - BUILT_SOURCES is not required because the files are already explicit - dependencies of other rules. - - v2: make sure SWIG is not invoked with the incorrect output filename - - Signed-off-by: Thomas Wood - -commit 2c44d6316a15170a5e2897488729f3d6868e0a1c -Author: Zhao Yakui -Date: Thu Nov 6 16:02:31 2014 +0800 - - Mediafill/skl: Remove redundant field to fix GPU hang - - After applying the commit(982f7eb238a0898c456e0574dee7c4507738d75f), the - OUT_RELOC is updated on Broadwell and later, which is to handle the - 64-bit field of gfx address internally. In such case some commands - should be fixed, otherwise GPU hang will be triggered when running - gem_media_fill. (It is already fixed on Broadwell) - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Damien Lespiau - -commit c68028936b83a316c7360fe2dc1276cf2424c116 -Author: Zhao Yakui -Date: Thu Nov 6 16:02:30 2014 +0800 - - Rendercopy/skl: Remove redundant field to fix GPU hang - - After applying the commit(982f7eb238a0898c456e0574dee7c4507738d75f), the - OUT_RELOC is updated on Broadwell and later, which is to handle the - 64-bit field of gfx address internally. In such case some commands - should be fixed, otherwise GPU hang will be triggered when running - rendercopy. (It is already fixed on Broadwell) - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Damien Lespiau - -commit e34240d4c18bfef1895fad6e8ce9cc80c844ac14 -Author: Brad Volkin -Date: Tue Nov 4 14:00:43 2014 -0800 - - tests/drv_hangman: skip a few asserts when using the cmd parser - - This test has a few checks that batch buffer addresses in the error - state match the expected address for the userspace supplied batch. - But the batch buffer copy piece of the command parser means that - the logged addresses are actually _supposed_ to be different. So - skip just those checks. - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit a973aabed04bb00686b9fd4ce4c1d83ad9b8b0e7 -Author: Chris Wilson -Date: Tue Nov 4 16:34:40 2014 +0000 - - tests: Remove spurious binaries from gem_tiled_wb commit - - commit c45216b26d223ffd7f68c5794870214445a64b5c - Author: Chris Wilson - Date: Tue Nov 4 07:30:57 2014 +0000 - - igt/gem_tiled_wb: Exercise CPU mmaps with swizzling - - brought along a few interlopers. - -commit 83757d7b393e61502fdf331f8239da8acc34213c -Author: Daniel Vetter -Date: Tue Nov 4 17:24:55 2014 +0100 - - tests/prime_nv_test: Skip cpu mmap testcase - - It's not implemented yet, so no point in running the test really. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68638 - Signed-off-by: Daniel Vetter - -commit fbc673023803b197453af3c7b985c941f654a8fb -Author: Chris Wilson -Date: Tue Nov 4 12:13:11 2014 +0000 - - igt/gem_tiled_wb: Remove extraneous mmap(wc) requirement - - Signed-off-by: Chris Wilson - -commit c45216b26d223ffd7f68c5794870214445a64b5c -Author: Chris Wilson -Date: Tue Nov 4 07:30:57 2014 +0000 - - igt/gem_tiled_wb: Exercise CPU mmaps with swizzling - - This exercises the the extended get_tiling ioctl in order to determine - proper swizzling for direct access to objects through WB. - Userspace cannot handle bit17 swizzling through wc mmaps (because bit17 - requires swizzling based on the actual physical address of the page - - which is unknown to userspace) and so we need an extended get_tiling - ioctl to report the actual as well as the logical swizzling on an - object. - - Signed-off-by: Chris Wilson - -commit 6fff1f8787687a08f66c28007abe1f1edebd5124 -Author: Chris Wilson -Date: Tue Nov 4 12:06:17 2014 +0000 - - ioctl_wrappers: Pass in offset to CPU mmaps - - Signed-off-by: Chris Wilson - -commit 676ccf862c4039f8e9cea8fb23bea053f9f5cf83 -Author: Chris Wilson -Date: Tue Nov 4 07:40:11 2014 +0000 - - igt/gem_linear_blits: Add sufficient RAM check - - References: https://bugs.freedesktop.org/show_bug.cgi?id=85834 - Signed-off-by: Chris Wilson - -commit e6228509664190a24cb1c22ac597ace8f79ecdd7 -Author: Thomas Wood -Date: Wed Oct 29 12:26:09 2014 +0000 - - lib/igt_core.h: add debug messages for test requirements - - Signed-off-by: Thomas Wood - -commit d950f37be32a2bcf1a3da867bed3f9f397fb912d -Author: Thomas Wood -Date: Wed Oct 29 12:03:22 2014 +0000 - - lib/igt_core.h: fix igt_skip_on_f requirement message - - Signed-off-by: Thomas Wood - -commit 5a61421a02fe40a1dcf9f8575d5a5c136da3fdd4 -Author: Thomas Wood -Date: Wed Oct 29 17:20:52 2014 +0000 - - lib/tests: use the "check_" prefix for tests - - The "check_" prefix ensures the test programs are not installed and are - only built when "make check" is run. - - Signed-off-by: Thomas Wood - -commit b78d142a1583e850713474d8053bea643247b8af -Author: Thomas Wood -Date: Wed Oct 29 17:18:06 2014 +0000 - - build: fix distcheck - - Fix distcheck issues introduced by commit 685e577 (Move library - selftests to lib/tests). - - Cc: Daniel Vetter - Signed-off-by: Thomas Wood - -commit ab5f7eace1857e60b6432dcabde98089380e5e74 -Author: Thomas Wood -Date: Wed Oct 29 16:17:41 2014 +0000 - - lib: ensure the library is built before the tests - - This fixes the build problems introduced by commit 685e577 (Move library - selftests to lib/tests). - - Cc: Daniel Vetter - Signed-off-by: Thomas Wood - -commit ad5cb25d702d7c5faada1de6f9208114a189cab1 -Author: Gagandeep S Arora -Date: Sat Sep 13 01:26:04 2014 +0530 - - demos/intel_sprite_on: Added support to display all sprites. - - Extended intel_sprite_on functionality to display all the - available sprite planes on a particular connector. - - Signed-off-by: Gagandeep S Arora - Signed-off-by: Thomas Wood - -commit b6715d9aa7af22316c356d62a917bb034bab7c5f -Author: Daniel Vetter -Date: Wed Oct 29 13:31:15 2014 +0100 - - tests: Reenable testdisplay - - This seems to have been accidentally disabled in - - commit 982f7eb238a0898c456e0574dee7c4507738d75f - Author: Chris Wilson - Date: Fri Aug 29 15:19:57 2014 +0100 - - Prepare for 64bit relocation addresses - - Apparently no one noticed. - - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 97f33912555cd15915ce2b8637bdd05ea0632943 -Author: Daniel Vetter -Date: Wed Oct 29 13:28:55 2014 +0100 - - tests/testdisplay: Fix test status check fumble - - This is a regression from - - 4306538d1d3f60877866c39c9ca953cc5e541dae is the first bad commit - commit 4306538d1d3f60877866c39c9ca953cc5e541dae - Author: Daniel Vetter - AuthorDate: Thu Oct 2 11:18:20 2014 +0200 - Commit: Daniel Vetter - CommitDate: Thu Oct 2 11:34:55 2014 +0200 - - tests: Sprinkle missing igt_exit() where needed. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85582 - Signed-off-by: Daniel Vetter - -commit c15e6933bc5b9b224818ff43060cb0a436e24345 -Author: Daniel Vetter -Date: Tue Oct 28 10:54:32 2014 +0100 - - Add CONTRIBUTING file - - i-g-t has become a fairly big project with lots of people involved, so - lets document the basics and formalize the current process a bit. - - Also use this opportunity to announce Thomas Wood as igt maintainer - once more. - - v2: Recommend --subject-prefix="PATCH i-g-t" as suggested by Damien. - - v3: Clean out contributing-related information from README. - - Cc: Thomas Wood - Cc: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit 685e57736a2c5da2e955ffd2f0027e4b42e397f7 -Author: Daniel Vetter -Date: Mon Oct 27 15:08:50 2014 +0100 - - Move library selftests to lib/tests - - Again they're not really igt testcases so are in the way of - running spatch unconditionally. Move them someplace else. - - Signed-off-by: Daniel Vetter - -commit 9d6a2cacf6796c8e06e4b7432c5f795d4ee56d8b -Author: Daniel Vetter -Date: Mon Oct 27 14:51:55 2014 +0100 - - Move watermark code from tests to tools - - They're now igt tests, and so if you blindly run lib/igt.cocci with - spatch on tests/*c they get mangled. Move them away, but still keep - them as noinst targets. - - Signed-off-by: Daniel Vetter - -commit 15972aa8666781ad557f17ed4b5d689cdb657d78 -Author: Paulo Zanoni -Date: Fri Oct 24 17:40:04 2014 -0200 - - tests/pm_rpm: add system-suspend-{execbuf,modeset} subtests - - We were having a problem where the system-suspend test was passing, - but then the next test - gem-execbuf-stress - was failing because of - bugs caused by the suspend subtest. So add a single test that emulates - the same problem, and another test that just sets a mode after resume. - This way, we should be reproducing the problem even if you don't run - the tests in the order they are defined. - - Signed-off-by: Paulo Zanoni - -commit cba3088619745f509a10d1339db2cd279913e051 -Author: Damien Lespiau -Date: Wed Oct 15 23:13:30 2014 +0100 - - skl_ddb_allocation: Respect the minimum number of blocks - - Signed-off-by: Damien Lespiau - -commit 7296e09ee7f17e6d564e52cf64ee900670849429 -Author: Ville Syrjälä -Date: Tue May 27 21:33:10 2014 +0300 - - tests/kms_flip: Make flip-vs-panning-vs-hang change DSPSURF - - Make sure DSPSURF will change during the panning operation - in flip-vs-panning-vs-hang. - - This will now test agains bugs between the kernel's mmio vs. - CS flip race handling and GPU resets. If the kernel is buggy - if will fail to notice that the panning operation changed the - base address before the GPU reset had a chance to deal with the - pending page flips, and so the flip would never complete due to - DSPSURFLIVE not matching the expected value. - - Signed-off-by: Ville Syrjälä - Signed-off-by: Daniel Vetter - -commit e497600fb73d138e51a641f7792f11822c20a929 -Author: Chris Wilson -Date: Fri Oct 24 07:40:04 2014 +0100 - - igt/gem_userptr_blits/dmabuf: Map the right pointer for !llc - - References: https://bugs.freedesktop.org/show_bug.cgi?id=85354#c2 - Signed-off-by: Chris Wilson - -commit eae9f724f2335d8b44ef884e24b1590c3b0a3a33 -Author: Mika Kuoppala -Date: Mon Sep 15 13:01:31 2014 +0300 - - tests/gem_workarounds: adapt to constant wa list from driver - - Driver now returns the constant values that were set once - on ring initialization time. Extend the simple interface - check to all gens (i915_wa_registers needs to be present). - Due to delay when render context is visible on cpu side, - wait gpu to execute something on default context to get rid - of undeterministic behaviour by sometimes getting all ones. - - Cc: Arun Siluvery - Signed-off-by: Mika Kuoppala - -commit 8b556f7c8fc8b16fdeb7d23adb0e2fb54a8982fc -Author: Daniel Vetter -Date: Thu Oct 23 17:54:44 2014 +0200 - - tests/*: lib/igt.cocci found something! - - Signed-off-by: Daniel Vetter - -commit 47246981b2497f7a767506fec6f9993d4772183a -Author: Sonika Jindal -Date: Thu Oct 23 08:48:50 2014 -0700 - - kms_rotation_crc: Add test for cursor rotation (v2) - - v2: Slight rebasing onto latest i-g-t codebase (Matt). - - Signed-off-by: Sonika Jindal - Reviewed-by: Matt Roper - Signed-off-by: Matt Roper - Signed-off-by: Daniel Vetter - -commit 4f6a6cbdfff104cd2382c09909d89bbda010dc29 -Author: Mika Kuoppala -Date: Mon Oct 20 13:27:55 2014 +0300 - - lib: fix #define max - - Regression from: - - commit be4710a541b517b5f8663448bffed5656d59b47b - Author: Thomas Wood - Date: Fri Oct 10 11:20:35 2014 +0100 - - lib: add common min and max macros - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85218 - Tested-by: Guo Jinxian - Signed-off-by: Mika Kuoppala - -commit 18cb650318bb2c910f95d7c7df6625110ed1a590 -Author: Chris Wilson -Date: Thu Oct 23 07:55:54 2014 +0100 - - igt/gem_userptr_blits/dmabuf: Provide partial coverage on !llc platforms - - Without LLC, we cannot assume coherency between system RAM and the GTT. - If we try to use the GTT with snooped memory, the machine may lock up, - so the kernel prevents us from doing so, causing the test to fail. - However, we still do want to verify that we can access the userptr - through a dmabuf, so just check that we can make a copy from it using - the GPU and ignore the GTT cross-checking. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85354 - Signed-off-by: Chris Wilson - -commit ac2079596c0a8119f77d58ae3d5e3f8e13e5b96d -Author: Paulo Zanoni -Date: Tue Oct 21 11:45:59 2014 -0200 - - lib/igt_aux: move audio RPM code to igt_setup_runtime_pm() - - If we don't enable audio runtime PM, the audio driver won't release - its reference, the refcount won't ever become zero, so we will never - actually runtime suspend. So move this code from pm_rpm.c to - igt_aux.c, so kms_flip - and any other IGT test case using RPM - can - benefit from it. - - Previously, if you ran pm_rpm before running the other tests - or if - you just didn't have snd_hda_intel loaded - you wouldn't notice this - bug. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78893 - Reviewed-by: Daniel Vetter - Signed-off-by: Paulo Zanoni - -commit a06071c0cf66f1a077563fb3ffa15856a57db18d -Author: Brad Volkin -Date: Wed Oct 15 14:52:42 2014 -0700 - - tests/gem_exec_parse: test for chained batch buffers - - libva makes extensive use of chained batch buffers. The batch - buffer copy portion of the command parser has the potential to - break chained batches, so add a simple test to make sure that - doesn't happen. - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit bba1cd0091b3e8e987f15dac1f38d233b5b0ee78 -Author: Paulo Zanoni -Date: Tue Oct 14 13:52:58 2014 -0300 - - tests/kms_cursor_crc: HSW/BDW only have square cursors - - When I look at cursor_size_ok() (from the Kernel's intel_display.c), I - see that only 845g and i865g support non-square cursors, so SKIP the - tests on HSW/BDW instead of failing them. - - This problem happened because support for non-square cursors was being - developed for HSW/BDW, but it ended up not being merged due to a small - problem and priority changes. Let's make those tests SKIP until we - have proper support on the Kernel: after that, we can revert this - patch. - - v2: Improve commit message. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84268 - Signed-off-by: Paulo Zanoni - -commit fc6d464a59ca33257b31ed8273681250a0807e9e -Author: Paulo Zanoni -Date: Tue Oct 14 16:01:10 2014 -0300 - - lib/igt_aux: make igt_wait_for_pm_status() resist the signal helper - - If the signal helper is active, the usleep() calls return earlier, and - we may end up returning false way before the 10s timeout, failing the - subtests. This currently happens on the kms_flip RPM interruptible - subtests. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78893 - Signed-off-by: Paulo Zanoni - -commit 06de0e7f297d3f0e7747edea6252201ff43846b9 -Author: Thomas Wood -Date: Wed Oct 15 12:10:13 2014 +0100 - - tests/kms_force_connector: fix assertion when VGA is already connected - - Compare the number of modes available when the edid is reset with the - number before the edid was overridden. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82230 - Signed-off-by: Thomas Wood - -commit 1a0ae51f512860e89a7a5978d76a8c280e9324eb -Author: Thomas Wood -Date: Thu Oct 16 17:29:55 2014 +0100 - - tests: add a check for command line handling - - Check that command line handling works consistently across all tests. - - Signed-off-by: Thomas Wood - -commit d02ffe46bb89305a81d249ba75afe84835bbe70e -Author: Thomas Wood -Date: Thu Oct 16 16:35:44 2014 +0100 - - drm_lib.sh: add standard command line options - - Signed-off-by: Thomas Wood - -commit 48394471c58462fe3c245b27e730db7a8aedf29a -Author: Thomas Wood -Date: Thu Oct 16 14:23:24 2014 +0100 - - configure: include the skylake quick_dump files in EXTRA_DIST - - Signed-off-by: Thomas Wood - -commit d2595d765008ddc0cb6fa7ac4c8a4ecf45c6268e -Author: Thomas Wood -Date: Thu Oct 16 13:59:37 2014 +0100 - - quick_dump: fix distcheck - - Commit 711a17a (quick_dump: Move base_display.txt to indivual platforms) - renamed base_display.txt to common_display.txt, but didn't update - Makefile.am accordingly. Since common_display.txt is now included in the - platform files, it is automatically included in $(QUICK_DUMP_EXTRA_DIST) - and therefore just the reference to base_display.txt needs removing. - - Cc: Damien Lespiau - Signed-off-by: Thomas Wood - -commit be4710a541b517b5f8663448bffed5656d59b47b -Author: Thomas Wood -Date: Fri Oct 10 11:20:35 2014 +0100 - - lib: add common min and max macros - - Signed-off-by: Thomas Wood - -commit d4e3b6a0f5cd759182a53e2bc51a3d3f317a81f0 -Author: Thomas Wood -Date: Wed Oct 8 17:06:58 2014 +0100 - - lib: various documentation fixes - - Signed-off-by: Thomas Wood - -commit 303fe742fcdd7da6f03f948a4e41b529ee39613a -Author: Damien Lespiau -Date: Mon Oct 13 15:14:15 2014 +0100 - - skl_ddb_allocation: Make 'end' exclusive in the DDB allocation entry - - Ville suggested that we should use the same semantics as C arrays to - reduce the number of those pesky +1/-1 in the allocation code. - - Signed-off-by: Damien Lespiau - -commit f951943055f9af516d87f221076b6a690df1ee7a -Author: Damien Lespiau -Date: Mon Apr 28 07:11:04 2014 +0100 - - skl_ddb_allocation: Add checks on the DDB entries - - Signed-off-by: Damien Lespiau - -commit 69a465d22a9d06045f76621dfba46861adb6456c -Author: Damien Lespiau -Date: Mon Apr 28 05:56:31 2014 +0100 - - skl_ddb_allocation: Add a standalone version of the DDB allocator - - This is useful to debug the allocation algorithm. - - Signed-off-by: Damien Lespiau - -commit e11b7100c9c8d4e74a4d4439b1519ea50741fda5 -Author: Thomas Wood -Date: Thu Oct 9 16:44:12 2014 +0100 - - tests/kms_force_connect: skip if a VGA connector is not available - - v2: rename "connector" to "vga_connector" to improve the skip message - (Chris Wilson) - - Suggested-by: Paulo Zanoni - Signed-off-by: Thomas Wood - -commit 5209ec142dc1f5380c2c9d12c5b28d15b4311cdf -Author: Thomas Wood -Date: Thu Oct 9 16:29:20 2014 +0100 - - tests/kms_force_connector: ensure igt_exit is called at exit - - Since commit 5782eca (lib/igt_core.c: disable lowmemorykiller during - tests), igt_exit needs to be called before the test exits. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84771 - Cc: Tim Gore - Signed-off-by: Thomas Wood - -commit 5c7d54eae5cbf9fd74cd8bd755b90d0edb1283dc -Author: Rodrigo Vivi -Date: Tue Oct 14 10:19:13 2014 -0700 - - tests/pm_rc6_residency: Split RC6p and RC6pp. - - sysfs interface for rc6 has been changed to only expose deep RC6 file to the platorms - that really support them, aka SNB and IVB. - - So let's split this test and only test RC6p and RC6pp on these platforms. - - Reference: https://bugs.freedesktop.org/show_bug.cgi?id=84886 - Signed-off-by: Rodrigo Vivi - -commit e7abb635162a3729f5a86419420f0192b557fcde -Author: Paulo Zanoni -Date: Tue Oct 14 15:09:22 2014 -0300 - - tests/pm_rpm: use igt_assert_eq() on COMPARE() - - A few weeks ago we were hitting this assertion, and the _eq macro is - more useful when you're debugging. - - Signed-off-by: Paulo Zanoni - -commit 97715d5f0fad67da1d8e06db8f9d5a3c1d1aa51c -Author: Paulo Zanoni -Date: Tue Oct 14 14:59:36 2014 -0300 - - tests/pm_rpm: fix some compilation warnings - - warning: ignoring return value of ‘write’, declared with attribute - warn_unused_result [-Wunused-result] - - Signed-off-by: Paulo Zanoni - -commit 7308e3a92be0529eaff26bc488f86924db09b688 -Author: Paulo Zanoni -Date: Tue Oct 14 14:42:23 2014 -0300 - - tests/pm_rpm: reduce the number of rounds on the stress tests - - With the current Kernel, it takes more than 10 minutes to run - modeset-stress-extra-wait on BYT with eDP, and we don't really want - IGT subtests that take more than 10 minutes to run: QA reports them as - bugs. - - Since, as far as I remember, any of these RPM race condition bugs we - had could always be triggered with just 4-5 rounds of testing, let's - tune down the number of rounds we test: - - Before: - rounds = (--quick option used) ? 10 : 50; - - After: - rounds = (--quick option used) ? 10 : 40; - rounds = (wait_flags & WAIT_EXTRA) ? rounds / 2 : rounds; - - This should make all subtests be way above the 10m limit. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84897 - Signed-off-by: Paulo Zanoni - -commit 8aa7fdaee8afe569544ffd33f5c3ebac27d2da5b -Author: Chris Wilson -Date: Tue Oct 14 10:10:42 2014 +0100 - - igt/gem_bad_reloc: Handle real offset being 0 - - Signed-off-by: Chris Wilson - -commit cd5ed4529693c00863405fcf29d9b27d91f3fe28 -Author: Chris Wilson -Date: Tue Oct 14 09:27:40 2014 +0100 - - igt/gem_negative_reloc: Execute a BLT operation with a negative reloc - - Signed-off-by: Chris Wilson - -commit a0b5c6d2ee784a8ea49534050087b3c630a41bc4 -Author: Rodrigo Vivi -Date: Fri Oct 10 08:18:28 2014 -0700 - - Revert "tests/kms_sink_crc_basic: Wait 2 vblanks before grabing the new crc." - - This reverts - commit d92fbc23138b1014e8574daf29dbb06b8c81aa7a. - Author: Rodrigo Vivi - Date: Tue Sep 9 12:25:47 2014 -0400 - - tests/kms_sink_crc_basic: Wait 2 vblanks before grabing the new crc. - - Sink CRC is fixed on kernel to wait as many vblanks as needed. It was fixed b - commit ad9dc91b6e21266bfc6f466db4b95e10211f31ee - Author: Rodrigo Vivi - Date: Tue Sep 16 19:18:12 2014 -0400 - - drm/i915: Fix Sink CRC - - This this fix in place we don't need this extra 2 vblanks on test case itself - - Signed-off-by: Rodrigo Vivi - -commit 9c8ee51be25c6c27c97a6898a71bc7f79439f9dc -Author: Rodrigo Vivi -Date: Fri Oct 10 08:14:32 2014 -0700 - - Revert "tests/kms_psr_sink_crc: Wait 2 vblanks before grabing the new crc." - - This reverts - commit d190a1f9668680c7a429110c91f8faa27949b220. - Author: Rodrigo Vivi - Date: Wed Sep 3 21:26:29 2014 -0400 - - tests/kms_psr_sink_crc: Wait 2 vblanks before grabing the new crc. - - Sink CRC is fixed on kernel to wait as many vblanks as needed. It was fixed by: - commit ad9dc91b6e21266bfc6f466db4b95e10211f31ee - Author: Rodrigo Vivi - Date: Tue Sep 16 19:18:12 2014 -0400 - - drm/i915: Fix Sink CRC - - This this fix in place we don't need this extra 2 vblanks on test case itself. - - Signed-off-by: Rodrigo Vivi - -commit ca6b63f588183cc4ba19d54c2901e84491084692 -Author: Mika Kuoppala -Date: Fri Oct 10 16:59:00 2014 +0300 - - tools/null_state_gen: Add copyright notice to state output - - along with info about what generated it. - - Signed-off-by: Mika Kuoppala - -commit f246f1ed0c2f5eb0c0dc7d92b3d678ecdbf03539 -Author: Armin Reese -Date: Fri Sep 5 13:58:11 2014 -0700 - - tools/null_state_gen: Add GEN9 golden context batch buffer creation - - Modifications to 'null_state_gen' so it can generate GEN9 - golden context batch buffer source for SKL. - - v2: - rebased on top of gen8 changes (Mika) - - fixed state base address command size (Mika) - - base address size macro as pages (Mika) - - v3: - rebased on top of current master (Mika) - - removed obsolete #includes (Mika) - - added copyright (Mika) - - render and component packing added (Mika) - - Cc: Damien Lespiau - Cc: Armin Reese - Cc: Volkin, Bradley D - Reviewed-by: Volkin, Bradley D (v2) - Signed-off-by: Armin Reese (v1) - Signed-off-by: Mika Kuoppala - -commit 0e8ac72d5d608d82a91bb5232badfb872589ac14 -Author: Mika Kuoppala -Date: Mon Sep 8 10:49:59 2014 +0300 - - tools/null_state_gen: Add Gen8 golden state - - Previously we didn't have a clear understanding what is necessary - for a pipeline state to be properly initialized. So we had to improvise - and use a stripped out render copy. - - Now we have a more clear understanding so switch out render copy based - frankenstate to state we can call golden state. - - v2: - export intel_batch_state_offset - - add 3DSTATE_RASTER (Bradley Volkin) - - Cc: Volkin, Bradley D - Signed-off-by: Mika Kuoppala - -commit b69659c3f5ed285bd218350deeff52761aec3d10 -Author: Mika Kuoppala -Date: Mon Sep 8 10:41:38 2014 +0300 - - tools/null_state_gen: Add macro to emit commands with null state - - In null/golden context there are multiple state commands where - the actual state is always zero. For more compact batch representation - add a macro which just emits command and the rest of the state as zero. - - v2: - Be more verbose about length bias (Bradley Volkin) - - strip out unrelated state_offset declaration (Bradley Volkin) - - Cc: Volkin, Bradley D - Signed-off-by: Mika Kuoppala - -commit a1f847cba91b9e542e37bb80895d8f8909319dd3 -Author: Mika Kuoppala -Date: Thu Oct 9 18:39:05 2014 +0300 - - tools/null_state_gen: Limit the total state len to 4096 bytes - - Currently our kernel side buffer object is only one page. - Limit the amount of dwords to 1024 to enforce this. - - Signed-off-by: Mika Kuoppala - -commit b498d81f152760b2a58d53ac3acb5269f44a253d -Author: Mika Kuoppala -Date: Thu Oct 9 18:35:49 2014 +0300 - - tools/null_state_gen: Add more debug output - - Be more verbose about the state size we generate. - - Signed-off-by: Mika Kuoppala - -commit c283ead78c4cb5cd56d0a7e74ebc43970ff5741d -Author: Mika Kuoppala -Date: Thu Oct 9 19:10:48 2014 +0300 - - tools/null_state_gen: Add copyrights - - to files where they were missing. - - Signed-off-by: Mika Kuoppala - -commit b7d80d104758fb4c90723246aed943c0097c6156 -Author: Adam Sampson -Date: Tue Oct 7 17:41:18 2014 +0100 - - Don't use += to append to a shell variable. - - POSIX only requires "=" to be supported; "+=" works in bash but not in - dash. - - Signed-off-by: Adam Sampson - Signed-off-by: Thomas Wood - -commit 432a4b488110561bc4dc8a50665b60380fb50e04 -Author: Adam Sampson -Date: Tue Oct 7 17:41:17 2014 +0100 - - Use = rather than == in test. - - The POSIX standard only requires test to support "="; "==" works in bash - but not in dash. Other comparisons in configure.ac use "=" already. - - Signed-off-by: Adam Sampson - Signed-off-by: Thomas Wood - -commit c7551bf7ccee3ce52dc51b4684716c4b10b80604 -Author: Chris Wilson -Date: Wed Oct 8 10:44:06 2014 +0100 - - igt/kms_flip/nonblocking_read: Demonstrate that O_NONBLOCK is a myth - - Signed-off-by: Chris Wilson - -commit 7041edfd144035f987001bd4f4a367d403cad912 -Author: Damien Lespiau -Date: Wed Oct 8 10:25:48 2014 +0100 - - quick_dump: Drop common_display.txt from VLV/CHV - - Those registers are big core registers and weren't really relevant for - VLV/CHV. Drop them from the dump then. - - Suggested-by: Ville Syrjälä - Signed-off-by: Damien Lespiau - -commit 7f8228955f3f3eef42e6fc61f4fa95b37b36df75 -Author: Damien Lespiau -Date: Mon Oct 6 17:42:33 2014 +0100 - - quick_dump/skl: Make quick_dump SKL aware - - Signed-off-by: Damien Lespiau - -commit d0a412597b92208d13d640013a2b277bd22f6c11 -Author: Damien Lespiau -Date: Mon Oct 6 15:10:35 2014 +0100 - - quick_dump/skl: Add some display registers - - Signed-off-by: Damien Lespiau - -commit 711a17ac753161500c5901e9f4d85ad8906b2a8b -Author: Damien Lespiau -Date: Mon Oct 6 18:32:51 2014 +0100 - - quick_dump: Move base_display.txt to indivual platforms - - SKL will have a whole separate display regs file, so merge - base_display.txt into each platform file. - - Signed-off-by: Damien Lespiau - -commit 2faf5a8665bba9ab7ad64ac6aa8c13be8f176d7d -Author: Damien Lespiau -Date: Mon Oct 6 16:30:39 2014 +0100 - - quick-dump: Make quick dump link against libintel_tools - - Because quick-dump was only selecting a few files in lib/ and we move - stuff around and/or add new dependencies we were failing to provide the - necessary symbols to the shim library providing python bindings. And so - we had a run-time error: - - Traceback (most recent call last): - File "./tools/quick_dump/quick_dump.py", line 17, in - import chipset - File "/home/damien/gfx/sources/intel-gpu-tools/tools/quick_dump/chipset.py", line 28, in - _chipset = swig_import_helper() - File "/home/damien/gfx/sources/intel-gpu-tools/tools/quick_dump/chipset.py", line 24, in swig_import_helper - _mod = imp.load_module('_chipset', fp, pathname, description) - File "/usr/lib64/python3.3/imp.py", line 183, in load_module - return load_dynamic(name, filename, file) - ImportError: /home/damien/gfx/sources/intel-gpu-tools/tools/quick_dump/_chipset.so: undefined symbol: kmstest_pipe_name - - So, let's simplify maintainance and just link against the library we're - building and using elsewhere. - - Signed-off-by: Damien Lespiau - -commit d4c1bb7aab2d2d7ed3eb3225f937f55f591f1ae4 -Author: Damien Lespiau -Date: Mon Oct 6 16:49:05 2014 +0100 - - gem_wait: Use PRIu64 in format string - - ../../tests/gem_wait.c: In function ‘render_timeout’: - ../../tests/gem_wait.c:182:3: warning: format ‘%llu’ expects argument of type - ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ [-Wformat=] - - igt_info("Finished with %llu time remaining\n", timeout); - - Cc: Daniel Vetter - Signed-off-by: Damien Lespiau - -commit af79fce66d023b300f308ec78289c616c81037d3 -Author: Damien Lespiau -Date: Mon Oct 6 18:23:33 2014 +0100 - - overlay: Fix compilation warning when not having xrandr - - Signed-off-by: Damien Lespiau - -commit 6b964c93f7322ee6b27ad0c2a26280e17e56ec23 -Author: Damien Lespiau -Date: Mon Oct 6 18:19:58 2014 +0100 - - gem_seqno_wrap: Remove unused variable - - Signed-off-by: Damien Lespiau - -commit 5c0139c3046a390204c6339468b22779f76460b1 -Author: Daniel Vetter -Date: Mon Oct 6 08:32:49 2014 +0200 - - tests/gem_wait: Don't close drmfd in subtest - - I didn't notice this on the machine I developed it since the original - wait testcase fails there. Oops. - - Signed-off-by: Daniel Vetter - -commit 764772c3c8059a6a9d1a569d9c4bd180e11c4d33 -Author: Tim Gore -Date: Thu Oct 2 16:26:32 2014 +0100 - - lib/Android.mk: add define of IGT_DATADIR for igt_fb.c - - Since the igt_create_stereo_fb function moved into igt_fb.c - we need to add the definition of IGT_DATADIR in the Android - makefile in order to build the cairo dependent tests. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 4306538d1d3f60877866c39c9ca953cc5e541dae -Author: Daniel Vetter -Date: Thu Oct 2 11:18:20 2014 +0200 - - tests: Sprinkle missing igt_exit() where needed. - - Yay for breaking piles of tests. - - This regression has been introduced with - - commit 5782eca1e19e85a04ad402fa4094aa1b5f9c53ce - Author: Tim Gore - Date: Wed Oct 1 13:25:20 2014 +0100 - - lib/igt_core.c: disable lowmemorykiller during tests - - Cc: Tim Gore - Signed-off-by: Daniel Vetter - -commit 5782eca1e19e85a04ad402fa4094aa1b5f9c53ce -Author: Tim Gore -Date: Wed Oct 1 13:25:20 2014 +0100 - - lib/igt_core.c: disable lowmemorykiller during tests - - Several IGT tests cycle through a lot of GEM memory and - when running these tests on Android they tend to get - killed by the lowmemorykiller. The lowmemorykiller really - is not usefull in this context and is just preventing the - test from doing its job. This commit adds a function to - disable the lowmemorykiller by writing "9999" to its - oom adj parameter, which means it will never "select" - any process to kill. The normal linux oom killer is still - there to protect the kernel. - The low memory killer is disabled during the common - init function and then re-enabled by the exit handler. - To make this work for single tests the exit handler is now - installed in the common init function also so that it is - invoked for all tests. - This is just a hack to get round the fact that the i915 - driver uses the concept of purgeable memory which is not - understood by the lowmemorykiller. If this ever gets - fixed then this patch can be removed. - - Signed-off-by: Tim Gore - [danvet: A bit of polish (coding style, static and rename - check_igt_exit to common_exit_handler, drop the is_disabled check - since we only call this once now).] - Signed-off-by: Daniel Vetter - -commit 20c8eba84ce4f108b5a980fe7278da5853655c1d -Author: Daniel Vetter -Date: Wed Oct 1 12:12:43 2014 +0200 - - NEWS: Updates - - Signed-off-by: Daniel Vetter - -commit 711199b8ecb2fa07918e7061ff3b208efcaaa237 -Author: Daniel Vetter -Date: Tue Sep 30 18:44:15 2014 +0200 - - lib/aux: Print progress output at INFO level - - With the structured logging it makes more sense to tune this down a - bit. Also, this way it is consistent with Thomas Wood's new activity - indicator helper. - - Spotted while discussing Thomas' patch with him. - - v2: Thomas noticed that I've forgotten the fflush. Extract - igt_interactive_info for both igt_progress and igt_print_activity. - - v3: Interactive output should go to stderr. Also extract the "is this - a terminal" check. - - Cc: Thomas Wood - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 6a8d33c2bb81f071715864c2e563ac17ae4f9967 -Author: Thomas Wood -Date: Tue Sep 30 17:05:39 2014 +0100 - - lib: add a function to indicate activity - - Signed-off-by: Thomas Wood - -commit c2d5519906f3b7d75b4fbf14c61c5f54d9d75214 -Author: Thomas Wood -Date: Mon Sep 29 12:08:31 2014 +0100 - - tests/sysfs_l3_parity: fix warnings in test enumeration - - Source drm_lib.sh before skipping the test to ensure that subtest - enumeration is always handled correctly. - - Signed-off-by: Thomas Wood - -commit 756764a4e78ac8b6ea294924d272431f98f695ca -Author: Thomas Wood -Date: Fri Sep 26 15:16:21 2014 +0100 - - lib: ensure any buffers are flushed before fork - - Flush any buffers before forking to prevent duplicated output. - - Signed-off-by: Thomas Wood - -commit 519f377ddd6d43b7824f94f09eb3d3cabc39c6b9 -Author: Thomas Wood -Date: Fri Sep 26 14:24:52 2014 +0100 - - doc: various spelling and typo fixes - - Signed-off-by: Thomas Wood - -commit c256af5d448dcaef1d4100c2bdbe25656909197d -Author: Imre Deak -Date: Thu Sep 18 18:31:29 2014 +0300 - - test/kms, pm: use drm_open_any_master - - These tests require DRM master right, so make sure they have it from the - beginning. This gives an early indication if another DRM master is running - and makes the given test skip (with a proper explanation of the reason) - instead of exiting with error. - - Signed-off-by: Imre Deak - -commit bfda78cd33b6562306c8c42e83047149f2ff6984 -Author: Imre Deak -Date: Thu Sep 18 18:25:37 2014 +0300 - - tests/pm_rpm: factor out drm_open_any_master - - Signed-off-by: Imre Deak - -commit 781a0485aca871d6b0278afacea724b97f6f59c1 -Author: Xiang, Haihao -Date: Fri Apr 11 21:57:21 2014 +0800 - - lib/skl: Return the render copy and media fill functions - - Signed-off-by: Xiang, Haihao - [Ben: Reordered if tree] - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 20e9cf38b7c3aa0725eb282ecf446f0e9b4344ad -Author: Zhao Yakui -Date: Tue Feb 11 10:48:47 2014 +0800 - - mediafill/skl: Follow spec to configure media sampler DOP clock gating in PIPELINE_SELECTION - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit d2e4eb3619fa61013f7704f55d0516fb380ac49b -Author: Zhao Yakui -Date: Tue Feb 11 10:48:46 2014 +0800 - - mediafill/skl: Follow spec to configure FORCE_MEDIA_AWAKE in PIPELINE_SELECTION - - The FORCE_MEDIA_AWAKE bit is added for the PIPELINE_SELECTION command and - some instructions requires that the media enginee is awake. - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 54465b8ac5d97560a27f04683448ab74b466a89a -Author: Zhao Yakui -Date: Tue Feb 11 10:48:45 2014 +0800 - - mediafill/skl: Follow the spec to add pipeline_select mask - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 17371958dbe6de8a92bf3e0e98b37ddb12241c17 -Author: Zhao Yakui -Date: Tue Feb 11 10:48:44 2014 +0800 - - mediafill/skl: follow the spec to update STATE_BASE_ADDRESS command - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 31e94ad28b5fab3373e6c7bf10b7894ca89cfb0a -Author: Zhao Yakui -Date: Tue Feb 11 10:48:43 2014 +0800 - - mediafill/skl: Start the gen9 media_fill from the gen8 version - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 8dc95202c8c241c50f2e17d3734fc6cb004c076e -Author: Zhao Yakui -Date: Thu Jan 23 13:26:12 2014 +0800 - - assembler/skl: update the extdesc field for SEND instruction - - The send instruction on gen9 uses the 32bit immediate instead of 6bit immediate - for the extended message descriptors. And some bits of SEND instruction are defined - as the extdesc field. - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit d6ff0b3f1f78c16a2754454c6134a999affa7f4c -Author: Zhao Yakui -Date: Thu Jan 23 13:26:11 2014 +0800 - - assembler/skl: Add more cache agent for write(...) - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit e48666947df43814b89c4280e2c2208274628542 -Author: Zhao Yakui -Date: Thu Jan 23 13:26:10 2014 +0800 - - assembler/skl: update read(...) - - READ(...) is used for Render Target read and Media Block read. But there is no - sampler cache agent on gen9. At the same time two message types don't - share the same cache agent any more. So a parameter is needed for cache agent. - The 2th parameter of read(...) is not used for gen6/gen7/gen8. Hence it is - reused as cache agent for SKL as that on ILK. - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 504f5594e7f2e78ec828a3b30bbb749a3bc91472 -Author: Zhao Yakui -Date: Thu Jan 23 13:26:09 2014 +0800 - - assembler/skl: Redefine the cache agent type for some fixed functions - - The different cache agent type is defined for SKL although it still uses - the same function ID as the previous generations. - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 2149d6e5f8856f195236e9d414fbce880c81debf -Author: Damien Lespiau -Date: Tue Feb 5 12:10:44 2013 +0000 - - assembler/skl: Add gen 9 to the -g option - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit fe4e4c176c7d3ae9ba59d4a40f12f83a29b6151c -Author: Xiang, Haihao -Date: Fri Apr 11 21:57:20 2014 +0800 - - rendercopy/skl: Set the URB VS start address to 4 - - A value less than 4 might result in GPU hang on simulation - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 5b46cd335d8323c8b0c48c2c004f983605e25433 -Author: Zhao Yakui -Date: Wed Jan 22 09:37:26 2014 +0800 - - rendercopy/skl: Follow the spec to add the Pipeline selection mask - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 8e62f78999281ad4bc7b9981b127830d0d3796d9 -Author: Zhao Yakui -Date: Wed Jan 22 09:37:25 2014 +0800 - - rendercopy/skl: Emit 3DSTATE_WM_HZ_OP - - This is from that on BDW. Without it, the pixel pipeline can't work well. - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 833e47662436094646f8510e7f9e7b3edd3d6b89 -Author: Zhao Yakui -Date: Wed Jan 22 09:37:24 2014 +0800 - - rendercopy/skl: Fix the 3DSTATE_DS instruction length - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 7628268952c586120e879310e542556d6a387abe -Author: Zhao Yakui -Date: Wed Jan 22 09:37:23 2014 +0800 - - rendercopy/skl: Fix the STATE_BASE_ADDRESS instruction length - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit 77a9ed7da2ef28cd80da68a97c1f409bc7d5eacf -Author: Zhao Yakui -Date: Wed Jan 22 09:37:22 2014 +0800 - - rendercopy/skl: Set Instruction Buffer size Modify Enable to 1 - - This is ported from that on BDW. - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit e539e91cf5d1d127abc9652dd2213a1997e54fb3 -Author: Zhao Yakui -Date: Wed Jan 22 09:37:21 2014 +0800 - - rendercopy/skl: update instruction length - - This is ported from that on BDW. - - v2: Only bump the prefix when we need to program the instruction - differently with the previous generations. - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - Signed-off-by: Damien Lespiau - -commit f04bf00c0d4e3b19fea63ad1d0b959575baf43b5 -Author: Zhao Yakui -Date: Wed Jan 22 09:37:20 2014 +0800 - - rendercopy/skl: Pass the context to rendercopy function on SKL - - Reviewed-by: Damien Lespiau - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - -commit ecd659e000dc3165c33793b7da612863738dc1c5 -Author: Damien Lespiau -Date: Wed Feb 27 14:57:35 2013 +0000 - - rendercopy/skl: Update 3DSTATE_SBE - - SBE has now to be explicitely told which channels of which components - are used by the pixel shader. - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit e5b850cb340a7dde8e6907a6de28d0ba825d1cb2 -Author: Damien Lespiau -Date: Wed Feb 27 14:57:34 2013 +0000 - - rendercopy/skl: Set the 3DSTATE_VF state - - This is to ensure the "Component Packing Enable" bit is set to 0. - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit aa7f9cf881a50370cdf49c6210d8224c32943d24 -Author: Damien Lespiau -Date: Wed Feb 27 14:57:33 2013 +0000 - - rendercopy/skl: Start the gen9 rendercopy from the gen8 version - - v2 (Ben): Rebased on: - commit ea11d103e0617e33bce6f11328521d15b13422b0 - Author: Oscar Mateo - Date: Tue Nov 12 11:50:35 2013 +0000 - - build: list all test/tool/lib source files in their own Makefile.sources - - v3: (Ben): Rebased on the doc/API rework. Probably needs review - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit 334f657e981e2f2278d26516f0ebd559f2ebbfb7 -Author: Damien Lespiau -Date: Fri May 31 15:34:04 2013 +0100 - - list-workarounds/skl: Add Skylake to the list of valid platorms - - Signed-off-by: Damien Lespiau - -commit 4d95a1551b1606789650e43e9dfe0df128066b81 -Author: Damien Lespiau -Date: Thu Feb 14 15:32:36 2013 +0000 - - skl: initialize instdone bits for gen9 - - gen9 uses the same bits as gen8. - - Signed-off-by: Damien Lespiau - Reviewed-by: Jesse Barnes - Signed-off-by: Ben Widawsky - -commit 256831cd8832a39ffd5fbd38e561d31dcc4e8f96 -Author: Damien Lespiau -Date: Thu Feb 14 15:32:35 2013 +0000 - - skl: Add gen9 to intel_gen() - - Signed-off-by: Damien Lespiau - Reviewed-by: Jesse Barnes - Signed-off-by: Ben Widawsky - -commit 91ebcd0c54d365a633a7465a9d57f8c24c886af7 -Author: Damien Lespiau -Date: Fri Dec 6 16:07:22 2013 -0800 - - skl: Add SKL PCI ids - - v2: Update to the latest PCI ids - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit 0eaa18061bee4b4b0c182d112db189019f01f49a -Author: Daniel Vetter -Date: Mon Sep 29 14:50:57 2014 +0200 - - tests/gem_wait: argument validation tests - - Shockingly we don't check for 0 flags! - - Signed-off-by: Daniel Vetter - -commit e4753d2d96fbb88077e70820793137f45f02c9ba -Author: Daniel Vetter -Date: Mon Sep 29 14:42:33 2014 +0200 - - tests/gem_wait_render_timeout: Convert to subtests - - I want to add a bunch of api tests besides the functional - "render-timeout" testcase. - - Signed-off-by: Daniel Vetter - -commit 5da8b8db02df768ba560e7522f69106246a0590c -Author: Daniel Vetter -Date: Mon Sep 29 14:24:26 2014 +0200 - - tests/gem_wait_render_timeout: Drop local structs - - We're long past the point where libdrm has these. - - Signed-off-by: Daniel Vetter - -commit f33fa71481caa308f141797033cd2bc6479630fc -Author: Tim Gore -Date: Mon Sep 29 13:34:30 2014 +0100 - - lib/igt_core: make single/simple tests use igt_exit - - Currently tests that use igt_simple_main will simply call - "exit()" if they pass, making it difficult to ensure that - any required cleanup is done. At present this is not an - issue, but it will be when I submit a patch to turn off the - lowmemorykiller for all tests. - - Signed-off-by: Tim Gore - [danvet: Also update api docs.] - Signed-off-by: Daniel Vetter - -commit 32a0308e2da1ed5871e21ca81822fc0c8aa73f9e -Author: Damien Lespiau -Date: Fri Sep 26 16:48:02 2014 +0100 - - kms_cursor_crc: Remove two unused local variables - - Signed-off-by: Damien Lespiau - -commit f2775039b1d2f3c24876622e4528604496de8abc -Author: Chris Wilson -Date: Fri Sep 26 10:22:33 2014 +0100 - - igt/gem_userptr_blits: Test interruptible create-destroy - - In order to exercise https://bugs.freedesktop.org/show_bug.cgi?id=84207 - we need to interrupt the mmu_notifier_register with a signal. This is - likely to be quite difficult, but let's just try running the - create-destroy test in an interruptible loop for 5s. - - Signed-off-by: Chris Wilson - -commit 3e766b8255efb6c994e6501be2af44b4bdc4d191 -Author: Chris Wilson -Date: Fri Sep 26 07:55:49 2014 +0100 - - igt/gem_concurrent_blit: Only read back a few GTT values - - Due to the nature of the test, we can be reasonably sure that it is - either all copied or not. So we can sacrificing testing the entire - buffer for the expected value in order to speed up the test by only - testing along the diagonal. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84354 - Signed-off-by: Chris Wilson - -commit 3205a9167fca34db8eb177a9050faf1b4115e9fa -Author: Daniel Vetter -Date: Tue Sep 23 15:15:51 2014 +0200 - - tests/kms_psr_sink_crc: Use options - - Env variables are a bit more annoying since much harder to discover. - With options you can just see what they do with --help. - - Cc: Rodrigo Vivi - Reviewed-by: Rodrigo Vivi - Signed-off-by: Daniel Vetter - -commit 4b81e9ca7df84d3c8775ebf0332f7444cafe8e77 -Author: Chris Wilson -Date: Fri Sep 19 16:40:00 2014 +0100 - - igt/gem_reloc_vs_gpu: Fix reloc.presumed_offset value - - Since the last patched value does not match the presumed relocation - value we submit to the kernel, it occasionally makes mistakes. Also note - that the libdrm interface makes the same presumptive mistake, and would - easily be broken by a threaded environment. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77793 - Signed-off-by: Chris Wilson - -commit c3eca6f7d3a788eab0102c4a3ded606ec851a0b2 -Author: Daniel Vetter -Date: Fri Sep 19 09:31:52 2014 +0200 - - tests/drm_import_export: Add subtest for prime - - Cc: Rafal Sapala - Signed-off-by: Daniel Vetter - -commit a018d60f631443f09da0a2adffc7255a0687f0d8 -Author: Daniel Vetter -Date: Thu Sep 18 17:34:27 2014 +0200 - - tests: Add drm_import_export - - Multithreaded test to validate the (lack of) locking in the flink/open - code in libdrm-intel. Based on a testcase from Rafel Sapala. - - Cc: Rafal Sapala - Signed-off-by: Daniel Vetter - -commit 25c55d3fc26ec415e0ed290b7d3cda0e15209f66 -Author: Ville Syrjälä -Date: Fri Sep 12 18:03:25 2014 +0300 - - tests/kms_cursor_crc: Add basic non-square cursor testing - - To minimally verify that non-square cursors work on the platforms where - they're supported perform the tests first with WxH cursor and then - repeat with WxH/3 cursor. - - Signed-off-by: Ville Syrjälä - -commit 7b76754e0ee3b84e703f823dd89aa94d75c011e7 -Author: Ville Syrjälä -Date: Fri Sep 12 20:18:04 2014 +0300 - - lib: Add igt_plane_set_size() - - Allow tests to specify the plane size instead of assuming that the - entire FB will be scanned out. - - To keep the current tests working without having to sprinkle - igt_plane_set_size() calls all over the place, make - igt_plane_set_fb() reset the plane size to the FB size. - - Signed-off-by: Ville Syrjälä - -commit b4fe481d4f2ccebc125185a4c5cb652b71513723 -Author: Ville Syrjälä -Date: Thu Aug 28 16:52:53 2014 +0300 - - tools: Remove punit and nc reg read/write tools - - intel_iosf_sb_{read,write} provide the same functionality. - - intel_dpio_{read,write} are still left in place since they use a - ifferent opcode to do the register access. Need to verify if - both opcodes work. - - Signed-off-by: Ville Syrjälä - -commit b23329f08662e6d15220006cffa0344231b27b04 -Author: Ville Syrjälä -Date: Thu Aug 28 16:50:53 2014 +0300 - - toos/intel_iosf_sb: Add symbolic unit names - - Add a bunc of symbolic sideband unit names so that you don't have to go - trawling through the sideband HAS every time you want to poke at - something with the tool. You can still specify the port manually though - if you know them by heart already. - - Signed-off-by: Ville Syrjälä - -commit b39eb28c256ecdf4f60dab08dba4bbc36294a576 -Author: Ville Syrjälä -Date: Thu Aug 28 16:32:46 2014 +0300 - - tools: Allow iosf-sb utils to work on chv - - Unlike the kernel IS_VALLEYVIEW() doesn't cover chv in igt. Add the - appropriate IS_CHERRYVIEW() checks to the various sideband poking tools. - - Signed-off-by: Ville Syrjälä - -commit 50534460dd2034bd4cbdabd803fa2680cbc7b490 -Author: Rodrigo Vivi -Date: Wed Sep 17 10:35:55 2014 -0400 - - tools/intel_reg_dumper: Shows fences and rp debug regs on BDW+. - - v2: a more generic fix to cover current and future platforms (Damien). - - Reviewed-by: Damien Lespiau - Signed-off-by: Rodrigo Vivi - -commit 1244fc6b9bc56cdf1584e919230796082b93f371 -Author: Chris Wilson -Date: Tue Sep 16 08:17:00 2014 +0100 - - igt/pm_rps: Fix STORE_DWORD for pre-gen8 - - gen8 actually changed the command layout, not just extended the - relocation value. Oh well. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=83915 - Signed-off-by: Chris Wilson - -commit 137877f16b7d026fa1bc17797604e17de2af7e92 -Author: Daniel Vetter -Date: Tue Sep 9 11:43:10 2014 +0200 - - NEWS: New heading for 1.9 - - Should be done post-release. - - Cc: Rodrigo Vivi - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 4779655c6f9c8c6c4599fd39cdff1f66d0f373b3 -Author: Chris Wilson -Date: Fri Sep 12 11:09:41 2014 +0100 - - lib: Try harder to drop-caches - - If at first we don't succeed, try again. (For as long as the errno says - to at least!) - - Signed-off-by: Chris Wilson - -commit f81d8eba4fb4448e6ea777aa2072c3b9f277e7cb -Author: Chris Wilson -Date: Fri Sep 12 09:11:55 2014 +0100 - - igt/kms_render: Iterate only through the formats - - When testing each format, iterate through the formats and not randomly - through the modes. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83788 - Signed-off-by: Chris Wilson - -commit 855dc6284d97931dbe59725cfc7b0b160b0a37b2 -Author: Chris Wilson -Date: Fri Sep 12 09:08:41 2014 +0100 - - igt/gem_userptr_blits: GTT mmaping a userptr requires llc - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83790 - Signed-off-by: Chris Wilson - -commit 3a1751ef34c32c5d288a328d855bec49ad0eaf9f -Author: Chris Wilson -Date: Fri Sep 12 06:46:28 2014 +0100 - - igt/pm_rps: Fix the batch count for emitting the flush - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81858#c2 - Signed-off-by: Chris Wilson - -commit 62f4d56676468cc6b7e1fb900ccf120d68352f65 -Author: Rodrigo Vivi -Date: Tue Sep 9 19:04:48 2014 -0400 - - tests: Kill pm_psr - - kms_psr_sink_crc check psr activity, residency and exit for screen updates. - So this test is useless. - - Signed-off-by: Rodrigo Vivi - -commit d190a1f9668680c7a429110c91f8faa27949b220 -Author: Rodrigo Vivi -Date: Wed Sep 3 21:26:29 2014 -0400 - - tests/kms_psr_sink_crc: Wait 2 vblanks before grabing the new crc. - - Signed-off-by: Rodrigo Vivi - -commit 1447d83e8ecc0689be2b3e933d1d21b042474ea7 -Author: Rodrigo Vivi -Date: Wed Sep 3 18:18:15 2014 -0400 - - tests/kms_psr_sink_crc: Fix blt submission - - Putting back a missing dword. - - Signed-off-by: Rodrigo Vivi - -commit 25aa69d0a00435432f85ee86b30a2981411fbbbb -Author: Rodrigo Vivi -Date: Tue Sep 9 13:10:51 2014 -0400 - - tests/kms_psr_sink_crc: Check color ref CRC - - Black screen is forbidden on this test. So let's fail if sink crc shows - it is back. - - Also there are many cases where we know for shure it should be all green, - so let's check for them. - - Instead of checking colors we could print with sw using cairo and check if we - have identical crc like cursor testcases. However with PSR the chance of artifacts - is low and chance of getting blank screen or unchanged screen is high. So even drawing - on sw and comparing both CRCs we can have the same result. However the risk is that - screen never changed. So the safest way is to compare if screen changed and check - the green color when we know it should be green or not green. - - v2: Hardcoded green was simply wrong because green CRC can change depending - on display.Split R, G and B on CRC and bitewise them with mask to verify - it is green. - - Signed-off-by: Rodrigo Vivi - -commit d4e6a5197002b51644bc01d4f7926c4b4d726933 -Author: Rodrigo Vivi -Date: Fri Aug 29 19:12:54 2014 -0400 - - tests/kms_psr_sink_crc: Fix all testcases. - - In order to get all test cases fixed and the matrix planes-operations working - it was needed to use the common new igt kms functions for all cases. - Previously only sprite testcase was using it. - - Fixed the fb colors in a way to make tests more clear and be impossible to see - black screen during the tests. - - Signed-off-by: Rodrigo Vivi - -commit 99efdc0cdbeeb9f1695c668c673c31957d78954b -Author: Rodrigo Vivi -Date: Tue Sep 9 17:58:45 2014 -0400 - - tests/kms_psr_sink_crc: Start splitting tests in test_planes and operations. - - This will allow us to test input/write oprations on any kind of plane. - - At this point PLANE_ONOF is just the new name of TEST_SPRITE and - PLANE_MOVE is the one for TEST_CURSOR_MOVE. They will be extended and fixed - on the following patche(s). - - v2: fix conflict after changing previous patch - - Signed-off-by: Rodrigo Vivi - -commit 52b0e78a94ebcb8761dd7d0eadb8deaab8abedf4 -Author: Rodrigo Vivi -Date: Fri Aug 29 18:19:55 2014 -0400 - - tests/kms_psr_sink_crc: Cleaning up tests a bit - - This is needed to be able to split tests in a matrix that tests different - input/write methods and operations for different type of planes. - - Signed-off-by: Rodrigo Vivi - -commit fb004a6b029d2338aef869a1f25b9925688d3106 -Author: Rodrigo Vivi -Date: Wed Sep 3 17:53:35 2014 -0400 - - tests/kms_psr_sink_crc: Removing context tests. - - This tests are unecessary. Mainly now with the software tracking for PSR. - - Signed-off-by: Rodrigo Vivi - -commit 1ab044518a22ac0c44067de9f90f4a828c2f7482 -Author: Rodrigo Vivi -Date: Fri Aug 29 17:58:31 2014 -0400 - - tests/kms_psr_sink_crc: Adding test debug options - - Just to make life easier and be eable to easily test with - PSR disabled to know exactly what to expect when running it - for real - - v3: Use igt_debug helpers and add env option for running with psr disabled - on this test without have to recompile like v1 or changing igt infrastructure like v2. - I tried to add --disable-psr or local --dry-run but than it fails to print subtests - so this was the safest way. - - Signed-off-by: Rodrigo Vivi - -commit e90847f57a0446130b92c9c638da6299f37639b5 -Author: Rodrigo Vivi -Date: Fri Aug 22 09:37:08 2014 -0700 - - tests/kms_psr_sink_crc: Fix edp_psr debugfs interface - - Tests were broken on platforms that doesn't have psr or on new kernel that contains new interface. - A lot more need to be done to get these tests really useful, but for now lets avoid it breaking - tests framework. - - v2: Doesn't duplicate kernel's HAS_PSR. skip based on debugfs output. - - Signed-off-by: Rodrigo Vivi - -commit d92fbc23138b1014e8574daf29dbb06b8c81aa7a -Author: Rodrigo Vivi -Date: Tue Sep 9 12:25:47 2014 -0400 - - tests/kms_sink_crc_basic: Wait 2 vblanks before grabing the new crc. - - Signed-off-by: Rodrigo Vivi - -commit 1d7b062621fa291d3412f47265d0ba603b65cc96 -Author: Rodrigo Vivi -Date: Wed Sep 3 19:01:08 2014 -0400 - - tests/kms_sink_crc_basic: Simplify test by using igt_kms functions - - v2: sink CRC R, G and B might change depending on display. So let's split the - colors and bitwise them. - - Signed-off-by: Rodrigo Vivi - -commit 107151ce9f82955191a7fd6a2e6bfd5ff8cc5aea -Author: Chris Wilson -Date: Tue Sep 9 16:27:57 2014 +0100 - - igt/gem_ppgtt: Create secondary contexts and mm - - Signed-off-by: Chris Wilson - -commit 961578f47133d7310e9531d31e7ea5e743ed6b50 -Author: Chris Wilson -Date: Tue Sep 9 14:17:08 2014 +0100 - - test: Exercise full ppgtt switching between multiple fd - - Load up both rings with lots of fighting between multiple contexts. - - Signed-off-by: Chris Wilson - -commit d9d3f4b0d23a7ea2147f33ab40558edd6128f3ac -Author: Rodrigo Vivi -Date: Mon Sep 8 22:43:46 2014 -0400 - - bump version to 1.8 and add the release date - - Signed-off-by: Rodrigo Vivi - -commit cdf0ea825ec529fe4f9e63d503da11d0a3cdee1c -Author: Chris Wilson -Date: Mon Sep 8 12:52:31 2014 +0100 - - igt/gem_cpu_reloc: Terminate the bad batch - - gen2 will read the batch up until it reaches the end as defined by the - MI_BATCH_BUFFER_END command. Play nice and make sure that it does end on a - MI_BB_END. - - Signed-off-by: Chris Wilson - -commit be6bb4ce4a413df5ec385523313a4e2a3894d4c8 -Author: Chris Wilson -Date: Sun Sep 7 15:52:10 2014 +0100 - - igt/kms_flip_tiling: Use the associated pipe for the output - - This stops us from using an illegal pipe, such as pipe 0 for LVDS on - PNV. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82280 - Signed-off-by: Chris Wilson - -commit b76f1d8b03aa506624a8a9d7fab915758bd0dec5 -Author: Chris Wilson -Date: Mon Sep 8 10:28:41 2014 +0100 - - igt/gem_mmap_gtt: Check coherency between GTT and CPU mmappings with LLC - - Signed-off-by: Chris Wilson - -commit ac3d06094a635bfeb0c6d6752f7f7bfbc21ecf2a -Author: Chris Wilson -Date: Sat Sep 6 18:14:35 2014 +0100 - - igt/kms_universal_plane: Only test existing planes - - Only attempt to test the number of planes that exist on the device so as - not to trigger spurious failures. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82233 - Signed-off-by: Chris Wilson - -commit 5eeb1f34d4bd16ef22e9252e876dd93c28c73b3c -Author: Chris Wilson -Date: Sat Sep 6 17:25:01 2014 +0100 - - igt/drv_missed_irq_hang: Increase busy load - - The test relies on having to wait upon the GPU at some point and so - simulating a missed interrupt. If there is insufficient load on the GPU, - we can complete the task before we even wait. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=71334 - Signed-off-by: Chris Wilson - -commit d35cc3ea8c0023eb8aadf3e946b1c759c6e29b3a -Author: Chris Wilson -Date: Sat Sep 6 12:41:28 2014 +0100 - - aux: Squelch warning when emitting progress indicator - - commit 1649ef0d1f5c0e4f995a437bd24f1574a8b5100f - Author: Daniel Vetter - Date: Tue Aug 26 15:26:21 2014 +0200 - - lib/igt_* Use igt macros in igt libaries - - went a little too far here as the replacement macro was too clever. - - Signed-off-by: Chris Wilson - -commit fb9c9e3adcc18b137b8931bc4f6fb05ca4d19863 -Author: Chris Wilson -Date: Sat Sep 6 12:21:25 2014 +0100 - - core: Prettify igt_require_f output - - Signed-off-by: Chris Wilson - -commit 9df77d566409fcef90c7ea63bb6d3df8d8c76dde -Author: Chris Wilson -Date: Sat Sep 6 12:08:13 2014 +0100 - - lib/igt_fb: Ignore RGB888 - - None of our display hardware supports the packed 24-bit format, so stop - trying to use it and causing test failures. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78873&list_id=465068 - Signed-off-by: Chris Wilson - -commit db4cc747fac2692d3b947992384d21a253e2a264 -Author: Chris Wilson -Date: Sat Sep 6 12:07:49 2014 +0100 - - lib/igt_fb: Add debug output for creating fb - - Signed-off-by: Chris Wilson - -commit 91a432721c2b16aa6610bd9c89bbee7763552f77 -Author: Chris Wilson -Date: Sat Sep 6 08:40:04 2014 +0100 - - core: Display subtest walltime - - Signed-off-by: Chris Wilson - -commit f675f6771b1a3eaca6981ad78d2f1521f379347a -Author: Thomas Wood -Date: Thu Sep 4 11:35:01 2014 +0100 - - lib: keep a list of modified connectors to reset - - Avoid calling functions in igt_reset_connectors that are not safe to use - in signal handlers by keeping a list of connectors that have been - modified, instead of enumerating all connectors. - - v2: add space for a sentinel NULL value on forced_connectors and print a - warning when the connector limit is reached (Chris Wilson) - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83498 - Cc: Paulo Zanoni - Signed-off-by: Thomas Wood - -commit 48da0e69adbf086c560a4e3175a16b85a1662bbd -Author: Thomas Wood -Date: Thu Sep 4 17:00:16 2014 +0100 - - tests/kms_3d: skip if connectors cannot be forced - - Signed-off-by: Thomas Wood - -commit d3c83b203372a00f846a3858711aae7ba290d570 -Author: Thomas Wood -Date: Thu Sep 4 16:56:17 2014 +0100 - - lib: don't force HDMI or DP connectors on HSW and BDW - - Forcing HDMI or DP connectors on these platforms doesn't currently work, - so fail early to allow the test to skip if required. - - v2: restrict to HSW and BDW (Daniel Vetter) - - Signed-off-by: Thomas Wood - -commit 3aac97107ed386885cfb78f16e0c15a1042fe8cc -Author: Thomas Wood -Date: Fri Aug 29 17:54:10 2014 +0100 - - lib/igt_fb: ensure igt_create_fb parameters are consistent - - Make sure the parameters in the prototype and implementation of - igt_create_fb match and are complete so that the documentation is - correct. - - Signed-off-by: Thomas Wood - -commit 5303ce8076b03a02f891090367d2abc53f9588b7 -Author: Thomas Wood -Date: Wed Aug 20 11:13:34 2014 +0100 - - tests: add kms_3d test - - Add a test to verify creation and use of 3D stereo modes. - - v2: update for API changes - - Signed-off-by: Thomas Wood - -commit 4cb194669782d759e60bad3fa61e3efc0ee7c7ec -Author: Thomas Wood -Date: Mon Aug 4 16:14:51 2014 +0100 - - lib: move create_stereo_fb from testdisplay to igt_fb - - Move create_stereo_fb from testdisplay to igt_create_stereo_fb in igt_fb - so that it can be used in other tests. - - v2: update for new igt_create_fb API - add parameters for format and tiling - remove some old debug code - - Signed-off-by: Thomas Wood - -commit a124b1a430bf47f31fcff0614dbc00dbe2794dcf -Author: Thomas Wood -Date: Wed Jul 30 11:10:49 2014 +0100 - - lib: add kmstest_edid_add_3d - - kmstest_edid_add_3d adds an EDID extension block with 3D support to a - copy of the specified EDID. - - v2: Avoid using an invalid CEC SPA (Clint Taylor) - - Signed-off-by: Thomas Wood - -commit 4a604dee6003d3c377a2984ce288f7e9b8fdf85b -Author: Mika Kuoppala -Date: Fri Aug 1 21:19:56 2014 +0300 - - tools/null_state_gen: build cmd and state space separately - - Instead of building batch directly to memory, build into cmd and - state arrays. This representation allows us more flexibility in batch - state expression and batch generation/relocation. - - As a bonus, we can also attach the line information that produced the - batch data to help debugging. - - There is no change in the output states produced. This can be considered - as a preparatory patch to help introduce gen8 golden state. - - Signed-off-by: Mika Kuoppala - -commit b77145dd489ef4e05799aa734927b9f9e77710d2 -Author: Mika Kuoppala -Date: Fri Aug 1 21:19:55 2014 +0300 - - lib: Add MI_LOAD_REGISTER_IMM - - Signed-off-by: Mika Kuoppala - -commit c5ad1c329564cdfc4b99596e5d02f5b6b16edea2 -Author: Mika Kuoppala -Date: Fri Aug 1 21:19:54 2014 +0300 - - lib/gen6_render: fix GEN6_3DSTATE_VF_STATISTICS define - - We dont use this pre CTG and we will need it for gen8 golden state. - - Signed-off-by: Mika Kuoppala - -commit f0023fa8f54a9f7f8b65699b08f2692093f101dd -Author: Mika Kuoppala -Date: Fri Aug 1 21:19:53 2014 +0300 - - lib/rendercopy: fix a typo in define - - No functional changes - - Signed-off-by: Mika Kuoppala - -commit ba614bea44d2a1661312a8465791d9e844e55f8b -Author: Mika Kuoppala -Date: Fri Aug 1 21:19:52 2014 +0300 - - tools/null_state_gen: terminate relocs with -1 - - as this was already changed in kernel. - - Signed-off-by: Mika Kuoppala - -commit c49542af073687a5dc66eaef19c31eeaf5766a86 -Author: Daniel Vetter -Date: Fri Sep 5 08:51:27 2014 +0200 - - lib/igt_aux: Improve wait_for_keypress helper a bit - - - Use keys in just one env variable to enable/disable it. - - Add an informational message so that the users knows when to press - the key (more useful over ssh than when run on the terminal ofc). - - Improve the documentation so that it's clearer how to use this - when running tests. - - Cc: Rodrigo Vivi - Cc: Damien Lespiau - Acked-by: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit a16ebccaee426ef96b0894e3af733360d88ce4d7 -Author: Paulo Zanoni -Date: Wed Sep 3 14:47:21 2014 -0300 - - igt_core: zero exit_handler_count before forking - - If we don't reset exit_handler_count before forking, we may have a - case where the forked process is killed before it even does - "exit_handler_count = 0": in that case, it is still finishing forking. - When that happens, we may end up calling our exit handlers. On the - specific bug I'm investigating, we call igt_reset_connnectors(), which - ends up in a deadlock inside malloc_atfork. If we attach gdb to the - forked process and get a backtrace, we have: - - (gdb) bt - 0 __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95 - 1 0x00007f15634d36bf in _L_lock_10524 () from /lib/x86_64-linux-gnu/libc.so.6 - 2 0x00007f15634d12ef in malloc_atfork (sz=139729840351352, caller=) at arena.c:181 - 3 0x00007f15640466a1 in drmMalloc () from /usr/lib/x86_64-linux-gnu/libdrm.so.2 - 4 0x00007f1564049ad7 in drmModeGetResources () from /usr/lib/x86_64-linux-gnu/libdrm.so.2 - 5 0x0000000000408f84 in igt_reset_connectors () at igt_kms.c:1656 - 6 0x00000000004092dc in call_exit_handlers (sig=15) at igt_core.c:1130 - 7 fatal_sig_handler (sig=15) at igt_core.c:1154 - 8 - 9 0x00007f15634cce60 in ptmalloc_unlock_all2 () at arena.c:298 - 10 0x00007f156350ca3f in __libc_fork () at ../nptl/sysdeps/unix/sysv/linux/x86_64/../fork.c:188 - 11 0x000000000040a029 in __igt_fork_helper (proc=proc@entry=0x610fc4 ) at igt_core.c:910 - 12 0x000000000040459d in igt_fork_signal_helper () at igt_aux.c:110 - 13 0x0000000000402ab7 in __real_main63 () at bug.c:76 - 14 0x000000000040296e in main (argc=, argv=) at bug.c:63 - - After doing some searches for "stuck at malloc_atfork", it seems to me - we probably shouldn't be doing any malloc calls at this point of the - code, so the best way to do that is to make sure we can't really run - the exit handlers. - - So on this patch, instead of resetting the exit handlers after - forking, we reset them before forking, and then restore the original - value on the parent process. - - I can reproduce this problem by running "./kms_flip --run-subtest - 2x-flip-vs-modeset" under an infinite loop. Usually after a few - hundred calls, we end up stuck on the deadlock mentioned above. QA - says this problem happens every time, but I'm not sure what is the - difference between our environments that makes the race condition so - much easier for them. - - The kms_flip.c problem can be considered a regression introduced by: - commit eef768f283466b6d7cb3f08381f72ccf3951dc99 - Author: Thomas Wood - Date: Wed Jun 18 14:28:43 2014 +0100 - tests: enable extra connectors in kms_flip and kms_pipe_crc_basic - - even though this commit is not the one that introduced the real - problem. - - It is also possible to reproduce this problem with a few modifications - to template.c: - - Add a call to igt_enable_connectors() inside the first fixture. - - Add igt_fork_signal_helper() and igt_stop_signal_helper() calls - around subtest B. - - Note that the crucial piece is that the parent actively kills helper - children, and if we skip tests this can happen _really_ fast. See e.g. - - commit a031a1bf93b828585e7147f06145fc5030814547 - Author: Daniel Vetter - Date: Fri Sep 13 16:43:22 2013 +0200 - - lib/drmtest: ducttape over fork race - - for past hilarity in this area. - - Cc: Thomas Wood - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81367 - Signed-off-by: Paulo Zanoni - Signed-off-by: Daniel Vetter - -commit 081887504a72878fc5f54778af68ebd9404b4e04 -Author: Chris Wilson -Date: Wed Sep 3 13:38:30 2014 +0100 - - igt/gem_concurrent_blit: Move igt_require() out of children - - Otherwise the test infrastructure throws a fit. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83420 - Signed-off-by: Chris Wilson - -commit 3309f54e8f15d2d82544b00abff2215f50ca27b2 -Author: Chris Wilson -Date: Sat Jul 26 11:42:20 2014 +0100 - - igt/gem_gtt_hog: Convert opencoded fork()/wait() over to igt_fork() - - No reason not to use the common infrastructure here. - - Signed-off-by: Chris Wilson - -commit a54faca98717eda0e192139bd72f110bd5a98c90 -Author: Daniel Vetter -Date: Wed Sep 3 12:51:33 2014 +0200 - - NEWS: Updates in anticipation of the next release - - Signed-off-by: Daniel Vetter - -commit 4bff3ee012a05b92b5779a0cb8e74a575f74a878 -Author: Damien Lespiau -Date: Sat Aug 30 22:46:41 2014 +0100 - - gem_workarounds: intel_wa_registers is now prefixed with i915 - - Signed-off-by: Damien Lespiau - Reviewed-by: Arun Siluvery - Signed-off-by: Daniel Vetter - -commit f473a5543eb601473e2b23e6ff7bff0f468bd3d0 -Author: Chris Wilson -Date: Mon Sep 1 07:23:30 2014 +0100 - - rendercopy/gen8: Fix vertex buffer relocation - - I was thrown by the routine calling itself gen7 when in it gen8 specific - and required 64bit relocation fixes. - - Signed-off-by: Chris Wilson - -commit c12f292b1d8bbc61b65f1dfc3fd4a9e1e286dbee -Author: Chris Wilson -Date: Sun Aug 31 16:14:40 2014 +0100 - - igt/gem_concurrent_blit: Use the preallocated dummy bo for temporary copies - - Use the existing allocation, saves having to make fresh allocations in - the innermost loop - trimming code and potential failure paths. - - Signed-off-by: Chris Wilson - -commit d6af0043bdde1413a3ccdc4e82d3f5b95b3ae271 -Author: Chris Wilson -Date: Sat Aug 30 14:48:36 2014 +0100 - - batch: Fix typo in BLIT_BATCH_BEGIN - - Signed-off-by: Chris Wilson - -commit 10552b5ca6c193e0c696e96c9f5e0d6142f4d8ee -Author: Chris Wilson -Date: Sat Aug 30 11:44:51 2014 +0100 - - batch: Specify number of relocations to accommodate - - Since relocations are variable size, depending upon generation, it is - easier to handle the resizing of the batch request inside the - BEGIN_BATCH macro. This still leaves us with having to resize commands - in a few places - which still need adaption for gen8+. - - Signed-off-by: Chris Wilson - -commit 255bade1ea98e642fe6d01c9dee8d5e8661bd816 -Author: Chris Wilson -Date: Fri Aug 29 21:25:14 2014 +0100 - - igt/gem_seqno_wrap: Use debugfs singleton - - This has the added advantage of automounting debugfs for us. - - Signed-off-by: Chris Wilson - -commit 982f7eb238a0898c456e0574dee7c4507738d75f -Author: Chris Wilson -Date: Fri Aug 29 15:19:57 2014 +0100 - - Prepare for 64bit relocation addresses - - This reveal that quite a few locations were writing relocation offsets - but only allowing for 32 bit addresses. To reveal such places in active - tests, we also now double check that we do not use more batch space than - declared. - - Signed-off-by: Chris Wilson - -commit 86055df9682948ef26b06b94a3856676d638e2fb -Author: Chris Wilson -Date: Fri Aug 29 17:36:29 2014 +0100 - - igt/gem_concurrent_blit: Apply some fence pressure as well - - As before, we also want to race against access through the fence - registers. This overlaps slightly with gem_set_tiling_vs_blt, but the - different access pattern should make it useful. - - Signed-off-by: Chris Wilson - -commit d28b9d27bf6c1c5e0dae591985442a25bbecab86 -Author: Chris Wilson -Date: Fri Aug 29 17:30:40 2014 +0100 - - igt: Tweak the igt_assert_cmpint macro - - Minor tweak to embed the constant format string rather than passing it - to the vararg printf. - - Signed-off-by: Chris Wilson - -commit fbfa754e8dce1553e024310eb7b7ed9469ed238b -Author: Chris Wilson -Date: Fri Aug 29 19:28:34 2014 +0100 - - lib/batchbuffer: Guard intel_blt_copy with even more asserts - - Assert that the source/destination bounds are within the pitch and size - of the associated bo. - - Signed-off-by: Chris Wilson - -commit 23d961e950e92bb00c7cb29fa73499af568e7571 -Author: Chris Wilson -Date: Fri Aug 29 14:49:59 2014 +0100 - - lib/batchbuffer: Store the gen in a local variable - - Reduce lookups and improve code clarity. - - Signed-off-by: Chris Wilson - -commit 822cc6a5655db6c210204ca349dbbed05ee1838b -Author: Mike Mason -Date: Tue Aug 26 13:31:27 2014 -0700 - - scripts: Add capability to resume interrupted run-tests.sh session - - Piglit provides a 'resume' feature that can restart an interrupted - test run at the point where it stopped. This patch adds that - feature to run_tests.sh. - - Signed-off-by: Mike Mason - [Thomas: remove additional new line from end of file] - Signed-off-by: Thomas Wood - -commit 59c55626f93eabafe4617f4aca6ec11545340d9d -Author: Chris Wilson -Date: Fri Aug 29 13:11:37 2014 +0100 - - igt/gem_concurrent_blit: Add ring race checks - - Similar to the previous commit, we also want to check that every - pipeline is serialised correctly. This extends the test to include - render copies as well as blits. - - Signed-off-by: Chris Wilson - -commit 6c428a6c060a23dc948f198f7a63096bd2739875 -Author: Chris Wilson -Date: Fri Aug 29 13:11:37 2014 +0100 - - igt/gem_concurrent_blit: Add GPU-vs-GPU checks - - In future, we may allow reordering of GPU batches. This implements a - simple race detector by extending the current CPU-vs-GPU checks. - - Signed-off-by: Chris Wilson - -commit 3b94d3f8ce21c92d3209e73ab48fda64beb0037e -Author: Chris Wilson -Date: Fri Aug 29 13:11:40 2014 +0100 - - igt: Prettify igt_assert_eq() failure messages - - This just improves the language about the exact failure to reduce - confusion. - - Signed-off-by: Chris Wilson - -commit d0a41b47ea5ed1ac5ca45f83d2917c6ad41b644a -Author: Arun Siluvery -Date: Tue Aug 26 14:50:28 2014 +0100 - - igt/gem_workarounds: igt to test workaround registers - - Some of the workarounds are lost followed by a gpu reset, suspend/resume; - this patch adds a test which compares register state before and after - the test scenario. - - This test currently verifies only bdw workarounds. - - v2: address patch cleanup comments (ThomasW) - Add binary to ignore list and use igt_debugfs helper fns - to read debugfs file and igt_info for printing debug info. - - v2.1: address minor comments from Daniel - use igt_main as opposed to normal main - - Signed-off-by: Arun Siluvery - [danvet: Drop igt_exit, it's already in igt_main.] - Signed-off-by: Daniel Vetter - -commit 2ef19ad79a07d862a2dc799ab2e71d2ad91c9065 -Author: Rémi Cardona -Date: Mon Aug 18 01:09:15 2014 +0200 - - shader-debugger: Force file/stdout IO as UTF-8 - - Not all locales on linux are UTF-8, the most notable being the C locale. - Python will use the ASCII codec for stream IO in this case and will barf - on the Copyright sign at the top of .g4a files. - - Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=519434 - Signed-off-by: Rémi Cardona - Signed-off-by: Damien Lespiau - -commit 257a51ec955b178ed07e4797a7d36f35a8cc82fe -Author: Daniel Vetter -Date: Tue Aug 26 15:26:34 2014 +0200 - - lib: Use igt macros more - - Stragglers. - - Signed-off-by: Daniel Vetter - -commit 1649ef0d1f5c0e4f995a437bd24f1574a8b5100f -Author: Daniel Vetter -Date: Tue Aug 26 15:26:21 2014 +0200 - - lib/igt_* Use igt macros in igt libaries - - Except in igt_core since that would lead to some hilarious recursions. - - v2: Don't fflush any more, spotted by Chris. - - Signed-off-by: Daniel Vetter - -commit 71ac5de5a4473d20fb11cb454f62d8e5c90f020c -Author: Daniel Vetter -Date: Tue Aug 26 15:13:06 2014 +0200 - - lib/intel_* Use igt checks and macros - - Various stuff all over. Most done with the igt.cocci spatch, but - with a few fixups by hand. And add igt_core.h includes where needed. - - Signed-off-by: Daniel Vetter - -commit baa6f8b34f54b68c15fc86d86de77d954e458aac -Author: Daniel Vetter -Date: Tue Aug 26 15:03:40 2014 +0200 - - lib/rendercopy*: Use igt_assert - -commit 4428151960b71a2ca4c83e8da3f4b0b826a8a26c -Author: Sonika Jindal -Date: Tue Aug 19 12:01:25 2014 +0530 - - kms_rotation_crc: Calling commit2 instead of legacy commit - - Since planes are universal now, using commit2 so that drmModeSetPlane can be - called for primary plane as well instead of drmModeSetCrtc. drmModeSetPlane will - update the x,y,w,h for the plane. - - Cc: Damien Lespiau - - Signed-off-by: Sonika Jindal - Signed-off-by: Daniel Vetter - -commit c1cf0d81389e8cc696a233aa357130f97e1b9a4c -Author: Wendy Wang -Date: Tue Aug 26 14:38:49 2014 +0800 - - Merge two subtests for pm_rc6_residency IGT case - - Combine two subtests(rc6_residency_check and rc6_residency_counter) - into one subtest(residency_accuracy) - - Signed-off-by: Daniel Vetter - -commit 50166d2a20b72d008e5991a157a45cd9a77e4dea -Author: Damien Lespiau -Date: Tue Aug 19 11:55:22 2014 +0100 - - lib/fb: Assert, instead of silently failing, when creating fbs - - We were either returning 0, or a negative value cast to an unsigned int - for errors and the clients of that API weren't exactly checking - anything. - - We're in luck, we can take shortcuts in a testing library to just assert - when an expected error occurs. - - Signed-off-by: Damien Lespiau - -commit 54397cafed108e54e98f109b8fd6cb4fdc729823 -Author: Damien Lespiau -Date: Tue Aug 19 11:40:07 2014 +0100 - - lib/fb: Replace straight igt_fail() by asserts with debug messages - - Signed-off-by: Damien Lespiau - -commit d9ffb7dfc3e9a36e63561f0e3a995275a445f87f -Author: Damien Lespiau -Date: Fri Jun 20 12:02:09 2014 +0100 - - testdisplay: Make the desired tiling mode an unsigned int - - We may be able to scan out more tiling formats in the future. - - Signed-off-by: Damien Lespiau - -commit 5f16ef6f28b97d16301d10b7a137a3d0fdcb0927 -Author: Damien Lespiau -Date: Mon Aug 18 16:55:57 2014 +0100 - - pm_rpm: Adjust to the new igt_create*fb() API - - Signed-off-by: Damien Lespiau - -commit 9317f39a5e3729ac128c960a3e21d7234239b2db -Author: Damien Lespiau -Date: Mon Jun 23 15:28:07 2014 +0100 - - pm_lpsp: Adjust to the new igt_create.*fb() API - - Signed-off-by: Damien Lespiau - -commit 210f76c4969d9b8ed74230116d4d212a6f503e73 -Author: Damien Lespiau -Date: Mon Jun 23 15:27:17 2014 +0100 - - kms_sink_crc_basic: Adjust to the new igt_create.*fb() API - - Signed-off-by: Damien Lespiau - -commit ab4cb9d7ce4b69e25447cc7c161cc12cb9b879cf -Author: Damien Lespiau -Date: Mon Jun 23 15:26:34 2014 +0100 - - kms_setmode: Adjust to the igt_create.*fb() API - - Signed-off-by: Damien Lespiau - -commit 0d4cf057f518b079b7aa3d55f0ee14903b5abbcc -Author: Damien Lespiau -Date: Mon Jun 23 15:25:39 2014 +0100 - - kms_render: Adjust to the new igt_create.*fb() API - - Signed-off-by: Damien Lespiau - -commit 3149b8e903ecdbd7fadbbfcd9d3fdddf11b444a7 -Author: Damien Lespiau -Date: Mon Jun 23 15:24:49 2014 +0100 - - kms_psr_sink_crc: Adjust to the new igt_create.*fb() API - - Signed-off-by: Damien Lespiau - -commit 4a8c6346e53f1fbda34a0d7d376b2a906716a38a -Author: Damien Lespiau -Date: Mon Aug 18 16:50:07 2014 +0100 - - kms_plane: Adjust to the new igt_create.*fb() API - - Signed-off-by: Damien Lespiau - -commit b013b2117964529f8e693f5da2c865258b2af42d -Author: Damien Lespiau -Date: Mon Jun 23 15:21:21 2014 +0100 - - kms_pipe_crc_basic: Adjust to the new igt_create.*fb() API - - Signed-off-by: Damien Lespiau - -commit fd1317bd25944feebbd553a7c85395beb6842df0 -Author: Damien Lespiau -Date: Mon Jun 23 15:19:25 2014 +0100 - - kms_mmio_vs_cs_flip: Adjust to the new igt_create_.*fb() API - - Signed-off-by: Damien Lespiau - -commit 876fe198c7a47a427d49347141a70cc3f5607a55 -Author: Damien Lespiau -Date: Mon Jun 23 15:18:00 2014 +0100 - - kms_flip_tiling: Adjust to the new igt_create_.*fb() API - - Signed-off-by: Damien Lespiau - -commit d71031cd7455fa2119215abca651e816ad0807a1 -Author: Damien Lespiau -Date: Mon Jun 23 15:16:54 2014 +0100 - - kms_flip: Adjust to the new igt_create_fb*() API - - Signed-off-by: Damien Lespiau - -commit 3a930273a05790570fb1986bc36f67bbf6a7af3b -Author: Damien Lespiau -Date: Mon Jun 23 15:13:46 2014 +0100 - - kms_fence_pin_leak: Use I915_TILING_X to create fbs - - Signed-off-by: Damien Lespiau - -commit 66d31332ddaadf8d92ff761747d51716f5a0f5da -Author: Damien Lespiau -Date: Mon Jun 23 15:12:48 2014 +0100 - - kms_fbc_crc: Use I915_TILING_X to create fbs - - Signed-off-by: Damien Lespiau - -commit 0c14af65eaf0d052a8263fadd53c825282576608 -Author: Damien Lespiau -Date: Mon Jun 23 15:11:12 2014 +0100 - - kms_cursor_crc: Use I915_TILING_NONE to create fbs - - Signed-off-by: Damien Lespiau - -commit 378e61e4d872136d9d106bcaae1fcafb5ce1c460 -Author: Damien Lespiau -Date: Mon Jun 23 14:53:24 2014 +0100 - - lib: Change the fb creation functions to take fully qualified tiling formats - - In the future, we'll need more than X tiling here. So give a full enum - instead of bool meaning X-tiled. - - It's fine to do this change without updating the users just yet as - 'true' happens to be I915_TILING_X. - - Signed-off-by: Damien Lespiau - -commit 4d2f511cee49db9b8f1ebf93b9835d871dfb9a9e -Author: Mike Mason -Date: Mon Aug 18 10:43:49 2014 -0700 - - tests: Fix seg fault when gem_mmap is run without specifying a subtest - - gem_mmap seg faults when all tests are run together. This occurs because - the new-object subtest closes the gem object, but short-mmap assumes - it still exists. Thus gem_mmap__cpu() returns nil for addr and memset() - seg faults. This patch makes new-object and short-mmap create and - close their own gem objects. - - Signed-off-by: Mike Mason - Signed-off-by: Thomas Wood - -commit e9da093b13c572b50c84ea2ec19244c8e2b78f08 -Author: Mike Mason -Date: Mon Aug 18 10:43:09 2014 -0700 - - scripts: Allow multiple -t and -x regular expressions for run-tests.sh - - Piglit allows multiple -t and -x regular expressions to be - given on the command line. This patch enables run-tests.sh to - support that as well. - - Signed-off-by: Mike Mason - Signed-off-by: Thomas Wood - -commit 75365eb01b7cb530426d84ea5357ed7b31575337 -Author: Tim Gore -Date: Mon Aug 18 14:56:43 2014 +0100 - - intel-gpu-tools: skip kms_flip_event_leak unless we have cairo - - kms_flip_event_leak depends on cairo, so add it to the - list of tests to skip (in Android.mk) if ANDROID_HAS_CAIRO - is not set to 1. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 79c0c9622c870a4e562dfe7b7e5b3625f73c61d1 -Author: Mike Mason -Date: Fri Aug 15 19:14:12 2014 +0000 - - Add kms_flip_event_leak to .gitignore - - This patch just adds kms_flip_event_leak to tests/.gitignore. - - Signed-off-by: Mike Mason - Signed-off-by: Thomas Wood - -commit 1bec6cb2c241ec449cd75579041506d1708bd341 -Author: Thomas Wood -Date: Thu Aug 14 14:06:37 2014 +0100 - - tests: check plane rotation is reset after the VT mode is restored - - Make sure the rotation is reset after the VT mode is restored by - collecting the unrotated CRC and comparing with the CRC value after VT mode - has been restored. The CRC is used to ensure the hardware state is checked, - rather than any software state. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=82236 - Signed-off-by: Thomas Wood - -commit fcb324c2cca6549cd95fb84269622feb72c90cbd -Author: Thomas Wood -Date: Thu Aug 14 13:59:02 2014 +0100 - - lib: add igt_restore_vt_mode - - Add a function to restore the previous VT mode after - igt_set_vt_graphics_mode is called. - - Signed-off-by: Thomas Wood - -commit 5c7bcb11bea366ede55e839656f4d03f150b2ca3 -Author: Daniel Vetter -Date: Tue Aug 12 12:10:20 2014 +0200 - - lib/igt_kms: doc for the remaining kmstest_ functions - - Plus a bit an overview section explaining the split in the library - a - few people (everyone except me it seems) didn't really understand it. - - v2: Fix typo'ed s/kmstest_set_vt_graphics_mode/kmstest_get_pipe_from_crtc_id/ - in a doc comment spotted by Imre. - - Signed-off-by: Daniel Vetter - -commit 1cad834261e5792f19406faf111235737da15191 -Author: Daniel Vetter -Date: Tue Aug 12 11:57:32 2014 +0200 - - lib/igt_kms: Simplify return value of kmstest_get_connector_config - - A plain bool is enough. - - Signed-off-by: Daniel Vetter - -commit 81dfcaba88f2a6f04830b7da2fd7d79cf6120a40 -Author: Daniel Vetter -Date: Tue Aug 12 11:56:41 2014 +0200 - - lib/igt_kms: Simplify return value of kmstest_get_connector_default_mode - - A plain bool is good enough, no need for fancy negative error values. - - Signed-off-by: Daniel Vetter - -commit 3b39bfff60967c13dbadae8ff051819d78c6bd2f -Author: Daniel Vetter -Date: Tue Aug 12 11:31:44 2014 +0200 - - lib/igt_kms: Shuffle kmtests_ functions - - Group them a bit both in the header and .c file, and make sure they - appear in the same order in both. - - Signed-off-by: Daniel Vetter - -commit 33f0884f3c711551a89483e438a6cf18af8ab25e -Author: Daniel Vetter -Date: Tue Aug 12 11:23:09 2014 +0200 - - lib/igt_kms: set_vt_graphics_mode is a low-level helper - - So give it a kmstest_ prefix and shuffle it around a bit. - - Signed-off-by: Daniel Vetter - -commit 9a15b5a5e2cb0ab34c0e11dc53a183919664157f -Author: Daniel Vetter -Date: Tue Aug 12 11:13:03 2014 +0200 - - lib/igt_kms: doc for type2str functions - - Also shuffle things around a bit to make sure the order in the header - matches the order in the .c file. - - Signed-off-by: Daniel Vetter - -commit 27a19de059259ef2944f7bfd61082862e6f277e4 -Author: Daniel Vetter -Date: Tue Aug 12 11:04:49 2014 +0200 - - lib/igt_kms: Clean up the other _name functions/macros - - And remove sprite_name, redundant and won't work due to lack of - dev_priv. - - Signed-off-by: Daniel Vetter - -commit dd8fba44cd1759e5cffc84d47f2c9b92c1e2ae8b -Author: Daniel Vetter -Date: Tue Aug 12 11:00:37 2014 +0200 - - lib/igt_kms: Unify pipe name helpers - - And add api doc while at it. - - Signed-off-by: Daniel Vetter - -commit fb38cf260ba6ed45b514b7a2c21f733c51caeb90 -Author: Daniel Vetter -Date: Tue Aug 12 10:32:41 2014 +0200 - - tests/kms_cursor_crc: Align opening { - - Signed-off-by: Daniel Vetter - -commit 2ce0691cd5237ebf06d617acb2a33d418178f883 -Author: Chris Wilson -Date: Tue Aug 12 15:29:25 2014 +0100 - - igt/gem_cpu_reloc: Update the memory requirements - - Use intel_check_memory() for accuracy and beautification - - Signed-off-by: Chris Wilson - -commit eda904c9d787bd085be3803529c7f23f81ec174b -Author: Ville Syrjälä -Date: Tue Aug 5 23:06:04 2014 +0300 - - tests: Add kms_flip_event_leak test - - kms_flip_event_leak will issue a page flip and close the file - descriptor before the flip has finished. This may cause the kernel - to leak the page flip event. The test itself won't actually fail but - if the kernel notices the leak and WARNs piglit will report a failure. - - Signed-off-by: Ville Syrjälä - -commit 5a06d361b5941466ef1941bb6010f179dbb6f66e -Author: Paulo Zanoni -Date: Fri Aug 8 11:24:34 2014 -0300 - - tests/pm_rpm: refactor the modesetting code - - Refactor the code so the params for the modesets are always stored and - don't have to be recomputed every time. With this, we can get rid of - our FB caching structures, and we now also allow the subtests that do - special modesets to reuse the parameters used on the default modesets, - just changing whatever they want. - - The biggest win here is that the test case subfunctions get smaller - and simpler to read and write. - - Signed-off-by: Paulo Zanoni - -commit 5a978121d36ceb0ac6b372475d03c98a8db72e7e -Author: Paulo Zanoni -Date: Thu Aug 7 16:36:04 2014 -0300 - - tests/pm_rpm: add disable_or_dpms_all_screens() - - And its and_wait() version. The goal is to extract common code - patterns into functions/macros, so the code for the test cases gets - easier to read and write. - - Signed-off-by: Paulo Zanoni - -commit 189205984224e5a66d4dcfc85f4072202d91b633 -Author: Paulo Zanoni -Date: Fri Aug 8 11:12:42 2014 -0300 - - tests/pm_rpm: add macros to disable/enable screens and wait - - This should make the test case functions better to read and write. - - Signed-off-by: Paulo Zanoni - -commit f6ffa3ca7f6d845d76cad95e2d5f0f8fdd84932a -Author: Paulo Zanoni -Date: Thu Aug 7 16:03:08 2014 -0300 - - tests/pm_rpm: add wait_for_suspended() calls to test_one_plane - - Make sure we do all operations while really runtime suspended, so we - can actually test things. - - Signed-off-by: Paulo Zanoni - -commit a17f0604ef31ed310fbdcbb64324fcb39f08b908 -Author: Paulo Zanoni -Date: Wed Aug 6 18:50:57 2014 -0300 - - tests/pm_rpm: add subtests for fences - - Daniel thought fences were not surviving runtime PM on DPMS, so we - wrote this test to check. The good news is that the test passed, so - there's no need for a Kernel patch, at least on the Kernel I tested. - - Signed-off-by: Paulo Zanoni - -commit d52365677ef808ffa43bf5e9d53ed0814edd3dd5 -Author: Paulo Zanoni -Date: Wed Aug 6 14:31:53 2014 -0300 - - igt_kms: add kmstest_unset_all_crtcs() - - Both pm_rpm.c and pm_lpsp.c call it "disable_all_screens", but let's - give it a name that better describes what the implementation does. - - v2: Rename to kmstest_unset_all_crtcs (Daniel). - - Signed-off-by: Paulo Zanoni - -commit da458758e7d8d10b520146591312ae0407a0da6b -Author: Paulo Zanoni -Date: Wed Aug 6 12:33:48 2014 -0300 - - tests/pm_rpm: use kmstest_get_property() - - So we can reduce the code size. - - v2: Rebase after the rename to kmstest_get_property. - - Signed-off-by: Paulo Zanoni - -commit 4924b78368fa44f96fa61f6bcf402d4a55f8d4de -Author: Paulo Zanoni -Date: Wed Aug 6 12:14:56 2014 -0300 - - igt_kms: document and export kmstest_get_property() - - So we can use it on pm_rpm.c. - - v2: Rename to kmstest_get_property (Daniel) - - Signed-off-by: Paulo Zanoni - -commit 053c10432254d2d58c33346f0ef08f024c3781ce -Author: Paulo Zanoni -Date: Wed Aug 6 12:03:57 2014 -0300 - - igt_kms: optionally return the property from get_property - - So we can use this function on places that also need the property - pointer, without having to call drmModeGetProperty() again with the - returned id. - - Signed-off-by: Paulo Zanoni - -commit 18d8ea7fe451ee73606d82b060f02e06fae16fc2 -Author: Paulo Zanoni -Date: Wed Aug 6 11:48:56 2014 -0300 - - igt_kms: pass drm_fd instead of igt_display_t on some functions - - Since these functions only really use the drm_fd. The goal is to be - able to reuse these functions on programs that don't use the - igt_display_t structure. - - Signed-off-by: Paulo Zanoni - -commit 61920c68d847dcc920fff27f857e03debc76a9a4 -Author: Paulo Zanoni -Date: Tue Aug 5 18:44:47 2014 -0300 - - igt_kms: don't get drmModeRes just to free it later - - Stress testing malloc is not our goal :) - - Signed-off-by: Paulo Zanoni - -commit bfb5a757751d6f8e6f7ed02f6cb76d006cd0e990 -Author: Paulo Zanoni -Date: Wed Aug 6 14:55:33 2014 -0300 - - tests/pm_rpm: add subtests for planes and cursors - - These tests should trigger WARNs on Kernels that don't have the most - recent fixes. - - v2: - Merge both the cursor and planes patches into one so it's easier - to update them. - - Extend the tests a little bit to exercise fences. - - Fix bug found by Matt to enable the test to run on older Kernels - - Signed-off-by: Paulo Zanoni - -commit 17d63e49685ac51d62ba2dba80167de96e1b6c5f -Author: Sean V Kelley -Date: Tue Aug 5 13:53:49 2014 -0700 - - lib/chv: CHV media pipeline command sequence - - Enable gem_media_fill test for CHV platform. In addition to differences in - media IP blocks from Broadwell, the command sequence also differs for - programming the media pipeline, e.g., should not send a MEDIA_STATE_FLUSH - right before the MI_BATCH_BUFFER_END of batch buffers using MEDIA_OBJECT. - Uses explicit IS_BROADWELL / IS_CHERRYVIEW to distinguish in gen8 media - fill handling. - - Signed-off-by: Sean V Kelley - Reviewed-by: Xiang, Haihao - Signed-off-by: Daniel Vetter - -commit ac31f19264d45df63fdd6591d66ae57060d1ee5e -Author: Gaurav K Singh -Date: Wed Jul 16 19:39:33 2014 +0530 - - intel_bios_reader: Add support to dump MIPI Sequence block #53 - - Signed-off-by: Gaurav K Singh - Signed-off-by: Damien Lespiau - -commit 525044ba32a9fa848c9fb36e8bd96211d6b38e12 -Author: Gaurav K Singh -Date: Wed Jul 16 19:39:32 2014 +0530 - - intel_bios_reader: Add support to dump MIPI Configuration Block #52 - - Signed-off-by: Gaurav K Singh - Signed-off-by: Damien Lespiau - -commit ff6b068ecd1d231af466d043454279e6cddcb3d1 -Author: Thomas Wood -Date: Thu Jul 31 16:26:55 2014 +0100 - - testdisplay: ignore invalid subtest options - - testdisplay does not have any subtests and should therefore exit with - the appropriate exit code if the --list-subtests or --run-subtest - options are used. - - Signed-off-by: Thomas Wood - -commit de1e877be5fe9ac83477a8ca416708f3d078b731 -Author: Chris Wilson -Date: Mon Jul 28 08:58:32 2014 +0100 - - core: Add all kernel log levels - - And notice that INFO is 6 not 5. This is because I had intended to use - KERN_NOTICE anyway... - - Signed-off-by: Chris Wilson - -commit 9b500dbf6b0b3a68b1de90888c11a873202c98cd -Author: Thomas Wood -Date: Mon Jul 28 16:43:19 2014 +0100 - - Update .gitignore files - - Signed-off-by: Thomas Wood - -commit bb48429a6c6057b51358ce0d506916431d982897 -Author: Thomas Wood -Date: Mon Jul 28 16:01:27 2014 +0100 - - lib: don't abort if forcing the connector state fails - - Ensure tests using igt_enable_connectors can still run even if the - relevant debugfs files are not available. - - Signed-off-by: Thomas Wood - -commit c3ba7740c113d318d030ac408883c3303ca781bb -Author: Thomas Wood -Date: Mon Jul 28 15:37:16 2014 +0100 - - lib: check test options for conflicts - - Check any test specific options for conflicts with the standard set of - options. - - Signed-off-by: Thomas Wood - -commit fc5e25750f96b9c05919e757baf2a54996ba4942 -Author: Thomas Wood -Date: Fri Jul 25 16:54:41 2014 +0100 - - lib: avoid getopt value conflicts with tests - - Most tests use a printable character as the value for getopt to return, - so avoid conflicts by using non-printing values for the standard options. - - v2: fix "-h" short option - - Signed-off-by: Thomas Wood - -commit 8fc4107c911826f7e0900797e36b24010230e30d -Author: Thomas Wood -Date: Fri Jul 25 15:35:36 2014 +0100 - - testdisplay: set a non-zero exit code if getopt detected an error - - Signed-off-by: Thomas Wood - -commit 2fae99bf2cc69eed3ef71ba4d71f640463de57c3 -Author: Ben Widawsky -Date: Tue Jul 29 16:54:48 2014 -0700 - - lib: Add ndebug to the headers - - If you don't do this, it is excluded from the tarball generated by make - distcheck. - - 1.6 and 1.7 both are not buildable as a result. - - Signed-off-by: Ben Widawsky - -commit 21e9422b01a196dbb6f4c079d352978d81d55f32 -Author: Daniel Vetter -Date: Tue Jul 29 18:46:09 2014 +0200 - - tests/gem_ringfill: add interruptible mode - - Should be useful to test intel_ring_begin restart behaviour a bit. - - Signed-off-by: Daniel Vetter - -commit 660a7ffdbade6ea0854df881ce316cfc64500826 -Author: Damien Lespiau -Date: Mon Jun 30 16:19:05 2014 +0100 - - testdisplay: Destroy the cairo context once the fb is painted - - Signed-off-by: Damien Lespiau - -commit 0db75bb3f91fc058c56650100f75cea5204c6af6 -Author: Damien Lespiau -Date: Mon Jun 30 16:34:20 2014 +0100 - - lib: Don't take a reference to the surface in get_cairo_surface() - - We don't need to keep a reference to the surface, the cairo context will - keep a reference to it until we destroy it. - - Signed-off-by: Damien Lespiau - -commit 72357f3de04ab9aa57b046b666e02090641f0aa4 -Author: Damien Lespiau -Date: Fri Jul 11 14:45:37 2014 +0100 - - lib: NULLify ->cairo_surface once unmapped - - Just a matter of not leaving dangling pointers around. - - Signed-off-by: Damien Lespiau - -commit 4aadbc817b3ff72cb44fac2aece3affe19c04f18 -Author: Damien Lespiau -Date: Mon Jun 23 16:41:43 2014 +0100 - - lib: Split the GTT mapping out of get_cairo_surface() - - This is preparation work for when we need a different way to get a - linear buffer we can use with cairo. - - Signed-off-by: Damien Lespiau - -commit f5959af8a5887fb991c4a24daa8017331614e6b0 -Author: Damien Lespiau -Date: Mon Jun 23 19:47:19 2014 +0100 - - lib: Remove unused field from struct igt_fb - - Signed-off-by: Damien Lespiau - -commit e48c495572ae1e07aa3f48e801caec351a370c4b -Author: Chris Wilson -Date: Sun Jul 27 15:39:58 2014 +0100 - - igt/pm_rps: Fix assertion in load_helper_stop - - The load_helper isn't killed by the signal, but it exits gracefully. So - update the assertion to check for the successful exit. - - Signed-off-by: Chris Wilson - -commit a6e6c5bdcf93376a505abff3ae510d8275727028 -Author: Chris Wilson -Date: Fri Jul 25 17:34:06 2014 +0100 - - drmtest: First check that driver is i915 - - Before issuing any i915 specific ioctls, check the driver is i915 - otherwise we make other drivers emit nasty errors at the start of every - test. - - Signed-off-by: Chris Wilson - -commit fcbc5028aef6a8691c87d9153c93246f7904e307 -Author: Thomas Wood -Date: Fri Jul 25 13:53:12 2014 +0100 - - quick_dump: fix distcheck - - version.h is now generated in the libs directory, so make sure it is - correctly included in the compiler flags. - - Signed-off-by: Thomas Wood - -commit 57bd86068a319b218796d0bea92258b44ee143a0 -Author: Tim Gore -Date: Thu Jul 24 17:38:22 2014 +0100 - - intel-gpu-tools: fix version.h creation in android - - commit 743dc7997aa9f5210055896940d87c88983dcda6 - breaks the build under Android because version.h - is not created. This happens because the android - make executes from the ANDROID_BUILD_TOP directory - rather than from the directory containing the source - files, so we need to differentiate between Android - and linux builds. This is V2 of this patch based on - Thomas Wood's suggestion. - - Signed-off-by: Tim Gore - [Thomas: Fix distcheck issues] - Signed-off-by: Thomas Wood - -commit 8408e00e623b52f18ad0795122593741197fa2f4 -Author: Thomas Wood -Date: Thu Jul 24 17:45:48 2014 +0100 - - testdisplay: only set terminal attributes when in foreground process group - - The Piglit test runner for intel-gpu-tools creates a new process group - for the test processes, so attempting to set terminal attributes causes - the process to receive SIGTTOU and be stopped. Since the test is not run - interactively in this case, the issue can be avoided by not setting - terminal attributes if the process is not in the foreground process - group. - - Signed-off-by: Thomas Wood - -commit b9e7637542364f9834c620ce2ee3b4ca11ba6f27 -Author: Chris Wilson -Date: Fri Jul 25 14:29:47 2014 +0100 - - core: Inject program name into dmesg - - Write the program name if !list_only so that we associate oops with - simple tests. - - Signed-off-by: Chris Wilson - -commit e0dffbdeda010a0114e16fb7b2e3adb7336acff4 -Author: Chris Wilson -Date: Fri Jul 25 14:28:51 2014 +0100 - - core: Improve phrasing for test requirements - - Signed-off-by: Chris Wilson - -commit 72b12636492cdf1c97eb1fec313165720f741cca -Author: Tim Gore -Date: Thu Jul 24 14:54:27 2014 +0100 - - intel-gpu-tools: add sys/wait.h to pm_rps.c - - commit 745945546f7366a413a3a51a37f90caa3a227b1d - breaks the build under Android because some of the - macros used in pm_rps.c are defined in sys/wait.h - which is not included. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit 93d07ab8986f383a679faffc795c71a955f67945 -Author: Daniel Vetter -Date: Fri Jul 25 09:28:56 2014 +0200 - - NEWS: Don't forget new universal plane commit for igt_kms - - Suggest by Matt Roper. - - Signed-off-by: Daniel Vetter - -commit 52915fc88a3948eab9e6f243b81285420897ab95 -Author: Chris Wilson -Date: Thu Jul 24 12:46:00 2014 +0100 - - core: Inject subtest message into dmesg - - One of the side-effects we test for are kernel oops and knowing the - guilty subtest can help speed up debugging. We can write to /dev/kmsg to - inject messages into dmesg, so let's do so before the start of every - test. - - Signed-off-by: Chris Wilson - -commit 66e46630f8ba04060d73e18e46a956bf25201fc4 -Author: Chris Wilson -Date: Thu Jul 24 12:00:57 2014 +0100 - - igt_core: Read manpages more carefully for WNOHANG - - /me hides - - I thought it said it would not return for a signal and stopped thinking. - - Signed-off-by: Chris Wilson - -commit 745945546f7366a413a3a51a37f90caa3a227b1d -Author: Chris Wilson -Date: Thu Jul 24 11:44:45 2014 +0100 - - igt_core: Refactor igt_stop_helper() to use igt_wait_helper() - - Reduce code duplication as the igt_stop_helper can reuse - igt_wait_helper() to replace its own waiting routine. - - Signed-off-by: Chris Wilson - -commit bd3cf81e982d191715a68b6432c3820e9ba733ff -Author: Chris Wilson -Date: Thu Jul 24 11:41:59 2014 +0100 - - core: Only use signalsafe functions inside signal handlers - - The atexit() and signal() callbacks both need to only use signalsafe - functions - that excludes the use of assert. So simplify - fork_helper_exit_handler() and children_exit_handler(). - - __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95 - 0x00007fd630883d2b in _L_lock_13840 () from /lib/x86_64-linux-gnu/libc.so.6 - 0x00007fd630881df8 in __GI___libc_realloc (oldmem=0xfcb010, bytes=88) at malloc.c:3025 - 0x00007fd63087111b in _IO_vasprintf (result_ptr=0x7fff35dc4780, format=, args=args@entry=0x7fff35dc4658) at vasprintf.c:84 - 0x00007fd630852907 in ___asprintf (string_ptr=string_ptr@entry=0x7fff35dc4780, format=format@entry=0x7fd63097f718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n") at asprintf.c:35 - 0x00007fd63082dd92 in __assert_fail_base (fmt=0x7fd63097f718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x40cff5 "ret == 0", file=file@entry=0x4108d1 "igt_core.c", line=line@entry=872, function=function@entry=0x410ea0 <__PRETTY_FUNCTION__.8052> "children_exit_handler") at assert.c:57 - 0x00007fd63082dee2 in __GI___assert_fail (assertion=assertion@entry=0x40cff5 "ret == 0", file=file@entry=0x4108d1 "igt_core.c", line=line@entry=872, function=function@entry=0x410ea0 <__PRETTY_FUNCTION__.8052> "children_exit_handler") at assert.c:101 - 0x000000000040b03f in children_exit_handler (sig=) at igt_core.c:872 - 0x000000000040b089 in call_exit_handlers (sig=2) at igt_core.c:1029 fatal_sig_handler (sig=2) at igt_core.c:1053 - 0x00007fd6308bfe63 in __libc_fork () at ../nptl/sysdeps/unix/sysv/linux/x86_64/../fork.c:130 - 0x00007fd630bd6045 in __fork () at ../nptl/sysdeps/unix/sysv/linux/pt-fork.c:25 - 0x000000000040c51a in __igt_fork () at igt_core.c:900 - 0x00000000004036c2 in forking_evictions (ops=0x614360 , surface_size=1048576, flags=5, trash_surfaces=, working_surfaces=338, fd=4) at eviction_common.c:203 - test_forking_evictions (size=1048576, flags=5, count=338, fd=4) at gem_userptr_blits.c:1086 - main (argc=1, argv=0x7fff35dc5328) at gem_userptr_blits.c:1478 - - Reported-by: Tvrtko Ursulin - Signed-off-by: Chris Wilson - -commit 8b3ded404c25bf23221e3b5ff2cc873107185781 -Author: Tvrtko Ursulin -Date: Tue Jul 22 11:14:51 2014 +0100 - - igt/gem_userptr_blits: Fix multi-threaded mm stress tester - - Two parts to the fix: - 1. Do not use pthread_cancel since not available on Android. - 2. Do not assert in the thread since that does not get propagated - to the process. Rather pass out any failures so we know test - did not work as expected. - - Signed-off-by: Tvrtko Ursulin - Cc: Tim Gore - Reviewed-by: Tim Gore - -commit 700bdf1401f1596d25024fd1038e782708bf39e5 -Author: Tvrtko Ursulin -Date: Tue Jul 22 12:33:49 2014 +0100 - - igt/gem_userptr_blits: Fix forked access test - - copy() blit helper assumes a certain object size much larger than a page size. - - Signed-off-by: Tvrtko Ursulin - Cc: Chris Wilson - Reviewed-by: Chris Wilson - -commit bffef22bfd0fc80e8196df8bf33970aee9683e5d -Author: Daniel Vetter -Date: Wed Jul 23 22:32:09 2014 +0200 - - NEWS: Updates - -commit 3efcb8c8ee3bade05cd01edf809f803a376f24a5 -Author: Daniel Vetter -Date: Wed Jul 23 21:14:24 2014 +0200 - - tests/pm_rpm: Convert to new optparsing - - Thomas missed the add-hoc parameter parsing in here, which did break - things for Paulo since the core now fails for unknown options. - - Convert them over to the new infrastructure, which has the nice upside - that we can remove the comments and put them into the usage available - with --help. - - Cc: Thomas Wood - Cc: Paulo Zanoni - Tested-by: Paulo Zanoni - Signed-off-by: Daniel Vetter - -commit 556ebc7a7cdec2f5cfa90c8503e0a7e9493154c5 -Author: Daniel Vetter -Date: Wed Jul 23 14:35:22 2014 +0200 - - lib/drm_lib.sh: Bare-bones long option parsing - - Just enough to stay compatible with simple subtests. - - Signed-off-by: Daniel Vetter - -commit 91f536dc42c667b908072ee064fd150826349ec6 -Author: Daniel Vetter -Date: Wed Jul 23 14:21:27 2014 +0200 - - tests: Move root check to lib/drm_lib.sh - - All tests want that anyway. - - Signed-off-by: Daniel Vetter - -commit 8cb89f7c4cb764a819410e05440cc9dcb9f8df1f -Author: Chris Wilson -Date: Wed Jul 23 18:35:02 2014 +0100 - - linux: placate drop_caches and pass it a '\n' - - Apparently it doesn't have much effect without the newline. - - Signed-off-by: Chris Wilson - -commit 743dc7997aa9f5210055896940d87c88983dcda6 -Author: Thomas Wood -Date: Tue Jul 22 14:53:18 2014 +0100 - - build: improve version.h generation - - Move version.h generation into lib/Makefile.sources so that it can be - shared between the Autotools and Android build systems. Also make sure the - "updating version.h" message is only displayed when version.h actually - changes and remove unnecessary includes of version.h. - - This also includes changes from Tvrtko Ursulin to prevent a build from - within the git repository failing when git is not available. - - Signed-off-by: Thomas Wood - Cc: Tvrtko Ursulin - -commit 784344ef8896e47af13fbb4377b020f33ce4c93c -Author: Thomas Wood -Date: Wed Jul 23 16:29:39 2014 +0100 - - lib: add an exit code to use when invalid options are specified - - Signed-off-by: Thomas Wood - -commit 561d519e67f31c81d338601ce859d32188c4bd7b -Author: Thomas Wood -Date: Wed Jul 23 10:38:24 2014 +0100 - - lib: add a command line option to enable debug output in tests - - Add --debug as a common command line option for all tests to enable - debug output. - - Signed-off-by: Thomas Wood - -commit c584d5c671fd81881e39b032771398cf705b4bf4 -Author: Thomas Wood -Date: Mon Jul 21 16:17:06 2014 +0100 - - lib: always warn about unknown options - - All tests can now register extra options, so there should not be any - unknown options. - - Signed-off-by: Thomas Wood - -commit 80d2c9bf82800b3cfc988879067c0e38947e5879 -Author: Thomas Wood -Date: Mon Jul 21 15:57:16 2014 +0100 - - tests: convert simple tests to use igt_simple_init_parse_opts - - Convert simple tests to use igt_simple_init_parse_opts if they require - extra options. - - Signed-off-by: Thomas Wood - -commit 82b424a419e48e08ae112345ba517a81609ce7eb -Author: Thomas Wood -Date: Fri Jul 18 17:17:34 2014 +0100 - - lib: don't ignore unknown options in multi-tests - - None of the current tests have additional options that might make use of - any unknown options and igt_subtest_init_parse_opts is available that - integrates additional option parsing. - - Signed-off-by: Thomas Wood - -commit e2cef00896a3b68c4f91c94254c0d44fa36f3ad0 -Author: Thomas Wood -Date: Fri Jul 18 16:49:07 2014 +0100 - - lib: add igt_simple_init_parse_opts - - This function allows simple tests to register additional command line - options. - - Signed-off-by: Thomas Wood - -commit 94ac74ebb889909579e3b872fd29514280c99300 -Author: Thomas Wood -Date: Fri Jul 18 16:24:34 2014 +0100 - - lib: move option parsing into common_init - - Move option parsing into common_init so it can be shared between simple - tests and tests with subtests. This allows for more common command line - behaviour across all tests. - - Signed-off-by: Thomas Wood - -commit e73008bae32de18c86808da0f3393683af92c697 -Author: Thomas Wood -Date: Fri Jul 18 14:17:35 2014 +0100 - - tests: remove unused getopt header includes - - Signed-off-by: Thomas Wood - -commit e057b86109e67191448d6610e441cbca81513d68 -Author: Thomas Wood -Date: Fri Jul 18 14:10:27 2014 +0100 - - lib: warn when attempting to run an unknown subtest - - Signed-off-by: Thomas Wood - -commit bf57e93f508244b13bf9848e37f03c7cd8f9ac94 -Author: Tvrtko Ursulin -Date: Wed Jul 23 13:33:18 2014 +0100 - - igt/gem_userptr_benchmark: Fix for upstream ioctl number - - Hardcoding has upsides and downsides. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit 70e6ed92abbca575f03f5a28402ef1eb9a6b97b8 -Author: Chris Wilson -Date: Mon Jul 21 16:15:24 2014 +0100 - - linux: Flush page/buffer cache before querying available memory - - Signed-off-by: Chris Wilson - -commit 784b77257b023b5debb05dceb397b4ba6092ae21 -Author: Chris Wilson -Date: Mon Jul 21 09:12:43 2014 +0100 - - igt/gem_userptr_blits: New tests, old issues - - Introduce a new test to keep that we clean up on process exit (if the - userptr is busy or it has been gtt mmapped). This revealed a few bugs in - the existing tests so clean those up. - - Signed-off-by: Chris Wilson - -commit acca724b42252d608b18373be82a2dfa817d4225 -Author: Chris Wilson -Date: Mon Jul 21 07:57:25 2014 +0100 - - Quieten valgrind - - Clear all the ioctl structs to zero before use as valgrind does not our - ioctls and so complains about undefined bytes being passed to syscalls. - - Signed-off-by: Chris Wilson - -commit 4f7d4dcae56e5f993f3f0b331556d4df3b0b33ab -Author: Chris Wilson -Date: Mon Jul 21 07:54:29 2014 +0100 - - Use SIGTERM in replace of SIGQUIT - - SIGTERM is the normal signal to use when instructing a process to exit. - The only difference is that an unhandled SIGQUIT is meant to generate a - coredump, which is not what we want, but in practice I encountered an - issue where SIGTERM seemed to be deliverable more reliably than SIGQUIT - (in tests using multiple signal helpers). - - Signed-off-by: Chris Wilson - -commit 4d4f4b213ca95dad59bdf8080d7bb034aa2d307a -Author: Chris Wilson -Date: Sat Jul 19 11:59:42 2014 +0100 - - igt/kms_flip: Skip if headless - - If there are no connectors, we cannot perform any pageflips and so we - have nothing to test. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73640&list_id=446828 - Signed-off-by: Chris Wilson - -commit d0dc2c5b6a22f88d0c7288d134173320c58c8d50 -Author: Paulo Zanoni -Date: Wed Jul 16 16:10:30 2014 -0300 - - tests/pm_rpm: add dpms-mode-unset{,-non}-lpsp subtests - - These tests currently trigger WARNs on our Kernel. Let's make sure we - fix the bug and it never comes back. - - Signed-off-by: Paulo Zanoni - -commit 8a3853c8121367d055acea2f7fb483095b971bf9 -Author: Thomas Wood -Date: Thu Jul 17 11:19:04 2014 +0100 - - core: increase the exit handler limit - - Increase the maximum number of exit handlers since some tests now - require more that the previous limit. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81320 - Signed-off-by: Thomas Wood - -commit 428060c555526c988f4120718f8a000e59ac8c7b -Author: Daniel Vetter -Date: Tue Jul 15 10:21:37 2014 +0200 - - lib/igt.cocci: Add s/assert/igt_assert/ - - People use it way too often, and it upsets the test library. The only - valid places to use this is of igt infrastructure self-tests where you - need to check something _without_ all the other abi use checks - igt_fail and friends do. For those tests just #define an internal - assert to hide it. - - Signed-off-by: Daniel Vetter - -commit 43784baa1346a36f99a84a06cfc83c11b507c03e -Author: Daniel Vetter -Date: Tue Jul 15 10:12:55 2014 +0200 - - tests/gem_userptr_blits: Polish - - - Drop return values for test functions - we rely on the implicit - control flow from igt_ checks. - - Don't use assert directly, this upsets the test flow logic (and - results in a CRASH result instead of FAIL). - - Cc: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit abbfecb01511d4f542302148b6240561c0269007 -Author: Tvrtko Ursulin -Date: Mon Jul 14 14:19:17 2014 +0100 - - tests/gem_userptr_blits: Race between object creation and multi-threaded mm ops - - Userptr v23 was not thread safe against memory map operations and object - creation from separate threads. MMU notifier callback would get triggered - on a partially constructed object causing a NULL pointer dereference. - - This test excercises that path a bit. In my testing it would trigger it - every time and easily, but unfortunately a test pass here does not guarantee - the absence of the race. - - v2: Added explicit cancellation point and removed the stop flag. - Use only igt_assert(). - - Signed-off-by: Tvrtko Ursulin - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 3f50598fb7399bafed01f7b44f4a4f5a85a9f13c -Author: Daniel Vetter -Date: Mon Jul 14 23:02:18 2014 +0200 - - lib/igt_core: Fixup gtkdoc for logging functions - - Without the () gtkdoc won't recognize them as function references. - - Signed-off-by: Daniel Vetter - -commit bcb2c65a14c37433598404bf4d8c3a8dfc7a842a -Author: Damien Lespiau -Date: Mon Jul 14 18:01:05 2014 +0100 - - tests: Move gem_render_copy_redux to the list of multi-subtests tests - - Can we find a way to fix those for good? My preference goes to not - having that single/multi split but always have a test being a list of - one or more subtests. - - Signed-off-by: Damien Lespiau - -commit 5a98fe9d4ae7431a9c65579dcc0ac32ff3e83adf -Author: Daniel Vetter -Date: Mon Jul 14 14:42:23 2014 +0200 - - lib: Add argc/argv to igt_simple_init - - There's a pile of ideas around to add generally useful options like - --debug to all igt tests. Or unify the runtime behaviour between - simple and subtest tests a bit more. - - The first step to get there is to add argc/argv to igt_simple_init so - that we can get at the argument list. - - Cc: Tim Gore - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit c7be53c7cb9aa7159ea316b56be119efd436ec17 -Author: Tim Gore -Date: Fri Jul 11 15:31:39 2014 +0100 - - intel-gpu-tools: Dont build kms_force_connector if no cairo - - kms_force_connector is a new test that requires cairo. - I have added it to the list of tests not to build on - Android unless ANDROID_HAS_CAIRO is set. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit b3d038a2b930724f1e1b45d1b149efa72ab2cbf0 -Author: Chris Wilson -Date: Mon Jul 14 10:30:36 2014 +0100 - - igt/gem_userptr_blits: Add missing RAM check before coherency tests - - -ENOCOFFE. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=79237 - Signed-off-by: Chris Wilson - -commit 52ac9a4b57f20f2dc019a973237f2f97ddb0ebf3 -Author: Chris Wilson -Date: Mon Jul 14 10:30:36 2014 +0100 - - igt/gem_userptr_blits: Add missing RAM check before coherency tests - - References: https://bugs.freedesktop.org/show_bug.cgi?id=79237 - Signed-off-by: Chris Wilson - -commit e74dd22ff89e007e637f16f661f06d4857a54224 -Author: Chris Wilson -Date: Sat Jul 12 09:06:39 2014 +0100 - - igt/gem_close_race: Increase GPU load - - Increate the GPU load slightly, but mitigate the CPU overhead from - clflushing by keeping the object alive using flink. This has also the - side-effect of magnifying the desired busy-close race. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=71029 - Signed-off-by: Chris Wilson - -commit b9c705f4da0b3817462c544e04bead926bfaf75d -Author: Chris Wilson -Date: Thu Jul 3 11:18:02 2014 +0100 - - overlay: Baytrail needs a custom GPU frequency parser - - Signed-off-by: Chris Wilson - -commit 98165d60bec04d258eeb9623550e58a8bc2f3906 -Author: Chris Wilson -Date: Fri Jul 11 23:36:15 2014 +0100 - - igt/gem_close_race: Trim object size - - The challenge here is to race GPU activity versus the gem_close. Using a - large objects makes the window of GPU activity larger - except on !llc - systems we then incur massive overhead from clflush, likely destroying - any race (due to mutex contention). And that mutex contention is - amplified by the number of cores - bad news for Baytrail. - - Give up and make the objects smaller and hope that the test is run - frequently enough to catch the race. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=71029 - Signed-off-by: Chris Wilson - -commit f796d9958b2b85696b572a4c686c758eb0323c2b -Author: Chris Wilson -Date: Fri Jul 11 20:38:38 2014 +0100 - - igt/gem_tiled_swapping: Speed up slightly - - The exercise is moving tiled objects in and out of swap. They are moved - en-block and we test them all, therefore we can randomly test different - bytes from each buffer to have reasonable coverage of all tiles. This - shifts the bulk of the work from checking the tiled bo to kswapd. - - Signed-off-by: Chris Wilson - -commit cfc692232898d435b8fbfc7a69fda382ffc83315 -Author: Chris Wilson -Date: Fri Jul 11 20:38:30 2014 +0100 - - configure: Only build overlay if dri2proto is present - - Instead of making dri2proto mandatory, disable intel-gpu-overlay if it - is not installed. - - Signed-off-by: Chris Wilson - -commit 8bf115ed9922e435cd26abd55639b089b285c8e0 -Author: Daniel Vetter -Date: Fri Jul 11 17:41:27 2014 +0200 - - lib/igt.cocci: Add stanza for for_each_pipe - - Damien dodged this ... - - Also run the script while at it. - - v2: Don't just capture identifiers for pipe, but also expressions. - - Signed-off-by: Daniel Vetter - -commit 7bf0f7fc58b524f269981c873ca120dbe1c0ae67 -Author: Damien Lespiau -Date: Fri Jun 20 00:14:52 2014 +0100 - - lib: Extract gem_get_tiling() from a couple of tests. - - Signed-off-by: Damien Lespiau - -commit 92a2b292df74408c42a3668c9f4d1a3aed194bfc -Author: Damien Lespiau -Date: Thu Jul 10 18:39:17 2014 +0100 - - kms_rotation_crc: Use the igt_kms enum to encode the plane rotation - - Signed-off-by: Damien Lespiau - -commit a58f8b93b41db4061b3a931feaae2f2c57fb8616 -Author: Damien Lespiau -Date: Thu Jul 10 18:37:36 2014 +0100 - - kms_rotation_crc: Remove unnecessary includes - - Turns out we didn't need most of them. - - Signed-off-by: Damien Lespiau - -commit 1a754396673d99d51cd4d5821bee32d5f6425f4c -Author: Damien Lespiau -Date: Wed Jul 9 14:00:59 2014 +0100 - - kms_rotation_crc: Always use the primary plane to compute the reference CRC - - Trying to disable the primary planes isn't exactly working at the - moment. W/A it until it works. - - Signed-off-by: Damien Lespiau - -commit 282f5605b02a2fc0f1c1547d59e39810962112dd -Author: Damien Lespiau -Date: Thu Jul 10 17:44:28 2014 +0100 - - kms_rotation_crc: Document the two steps in prepare_crtc() - - Signed-off-by: Damien Lespiau - -commit 05f3897dc183a6ff409e146247e3f681610295cb -Author: Damien Lespiau -Date: Wed Jul 9 21:24:26 2014 +0100 - - kms_rotation_crc: Don't compile the test on Android with no cairo support - - Signed-off-by: Damien Lespiau - -commit f7a37f02f76521485fc7195b0d46e70fe7b2105e -Author: Damien Lespiau -Date: Wed Jul 9 21:23:27 2014 +0100 - - kms_rotation_crc: Add the test to .gitignore - - Signed-off-by: Damien Lespiau - -commit 8767a794bb7a1584f02da49b85ecf849d64ff36b -Author: Damien Lespiau -Date: Wed Jul 9 12:03:50 2014 +0100 - - kms_rotation_crc: Properly paint the whole frame buffer - - The -1 meant we weren't properly filling the whole fb. - - Signed-off-by: Damien Lespiau - -commit 1bcac4dcb35c7035ecc11ed0ce8d195f4d977dfc -Author: Damien Lespiau -Date: Tue Jul 8 19:27:39 2014 +0100 - - kms_rotation_crc: Don't commit with no fb set up - - prepare_crtc() was trying to commit a display state without any fb to - scan out... - - Signed-off-by: Damien Lespiau - -commit c4564e0a51dcbe6489dd02853908a8f4cdb6055a -Author: Damien Lespiau -Date: Tue Jul 8 19:24:24 2014 +0100 - - kms_rotation_crc: Allow the sprite test to run even without universal planes - - Signed-off-by: Damien Lespiau - -commit 2eaa50f02e2cf9b8ed545eee333110cae2c552db -Author: Damien Lespiau -Date: Tue Jul 8 18:56:15 2014 +0100 - - kms_rotation_crc: No need to test for NULL before freeing the pipe CRC object - - igt_pipe_crc_free() does that check already. - - Signed-off-by: Damien Lespiau - -commit 05f90b03088f1b66dbfbb29b64aafe6b1ca164ae -Author: Damien Lespiau -Date: Tue Jul 8 18:51:25 2014 +0100 - - kms_rotation_crc: Remove plane from the state - - having everythin in the data_t structure makes it hard to understand - what should be set when. Replace that by explicit function parameters. - - Signed-off-by: Damien Lespiau - -commit fe8373d4376817de93d9bfc278005f2c67dcba50 -Author: Damien Lespiau -Date: Tue Jul 8 18:48:35 2014 +0100 - - kms_rotation_crc: Remove the sleep(2) - - One can inspect the output of the igt_kms API by setting - IGT_DISPLAY_WAIT_AT_COMMIT=1. - - Signed-off-by: Damien Lespiau - -commit ffc954e739fb58b3ad4336a42a35c417df875253 -Author: Damien Lespiau -Date: Tue Jul 8 18:46:57 2014 +0100 - - kms_rotation_crc: Remove 'output' from the state - - This restore the balance between prepare_crtc() and cleanup_crtc(), both - now taking the output as a parameter. - - Signed-off-by: Damien Lespiau - -commit b146e8128d8ca5327f2a8d306e9cdeab855d9639 -Author: Damien Lespiau -Date: Tue Jul 8 18:45:16 2014 +0100 - - kms_rotation_crc: Remove the test on output->valid - - This test is already done by the for_each_connected_output() macro. - - Signed-off-by: Damien Lespiau - -commit aef475b6f92522a0ca4bb58047f8015c5fd3f32e -Author: Damien Lespiau -Date: Tue Jul 8 18:43:44 2014 +0100 - - kms_rotation_crc: Use for_each_pipe() - - Signed-off-by: Damien Lespiau - -commit 8843bef2808acca89222b12c16aa3f09b777c848 -Author: Damien Lespiau -Date: Tue Jul 8 18:38:05 2014 +0100 - - kms_rotation_crc: Remove now unnecessary defines - - Signed-off-by: Damien Lespiau - -commit 39abe7790f675a7d46cab2e04043b278615c0b0a -Author: Damien Lespiau -Date: Tue Jul 8 18:36:32 2014 +0100 - - kms_rotation_crc: Use igt_plane_set_rotation() - - More code we can remove from the test. - - Signed-off-by: Damien Lespiau - -commit 8facccfae4c05275ae2fb31bb1948b1fea9a7687 -Author: Damien Lespiau -Date: Tue Jul 8 18:28:53 2014 +0100 - - kms_rotation_crc: Don't store 'pipe' in the state - - This variable is only needed for prepare_crtc(), need need to put it in - the test state. - - Signed-off-by: Damien Lespiau - -commit f7250d041d09b5fc83d8c98c3230696317c97cc7 -Author: Damien Lespiau -Date: Tue Jul 8 18:27:10 2014 +0100 - - kms_rotation_crc: Don't store rotate in the test state - - We don't use it anywhere else than the test function. - - Signed-off-by: Damien Lespiau - -commit eb81a922c7958e8680c95febca588314129ff790 -Author: Damien Lespiau -Date: Tue Jul 8 18:20:51 2014 +0100 - - kms_rotation_crc: Always disable the plane in cleanup - - There's no need for this check, always use set_fb(NULL) on the plane. - - Signed-off-by: Damien Lespiau - -commit 13e979c7649eeb90fbd1abaaec61bcb3028acfc9 -Author: Damien Lespiau -Date: Tue Jul 8 18:13:47 2014 +0100 - - kms_rotation_crc: Unify the two tests - - The only difference is which plane we are talking about. So we really - need one function here with a paramater. - - Well, almost. For the primary plane we need to ensure we support - unviversal planes. - - Signed-off-by: Damien Lespiau - -commit 063d22ecea7f3ffedb29a037f7b29694f22012ce -Author: Damien Lespiau -Date: Tue Jul 8 18:06:44 2014 +0100 - - kms_rotation_crc: Just store the igt_plane_t in data - - Now that we're always using an igt_plane_t, we can get rid of ->type to - use ->directly without those switch() or if()/else - - Signed-off-by: Damien Lespiau - -commit 0b3a30ee5a2668897e14c99dac8ba0b2ed7bb94d -Author: Damien Lespiau -Date: Tue Jul 8 18:01:59 2014 +0100 - - kms_rotation_crc: Skip the tests if rotation is not supported - - This happens when the kernel lacks the rotation patches. - - Signed-off-by: Damien Lespiau - -commit 5edab97f7fa646639335166912ec443d27735fad -Author: Damien Lespiau -Date: Tue Jul 8 17:51:07 2014 +0100 - - kms_rotation_crc: Style issue: binary operators need spaces before and after - - Signed-off-by: Damien Lespiau - -commit 7ae5d9b34769581bea037fd35e5110e449cd58de -Author: Damien Lespiau -Date: Tue Jul 8 17:49:03 2014 +0100 - - kms_rotation_crc: Use drm_plane from igt_plane_t - - So we don't need all that extra code to grab the drm_plane structure for - the primary_plane. - - Signed-off-by: Damien Lespiau - -commit 7e7c6254410c08a2d0785edefac65d158b2c3b6d -Author: Damien Lespiau -Date: Tue Jul 8 13:59:42 2014 +0100 - - kms_rotation_crc: Remove useless comments - - A typical example of what comments shouldn't be: - - case DRM_PLANE_TYPE_PRIMARY: /* primary */ - - Well, yes!, it's written just there, PRIMARY! - - Signed-off-by: Damien Lespiau - -commit 19743a14357fbc23a0e91d8302ed60a5690530df -Author: Damien Lespiau -Date: Tue Jul 8 12:59:03 2014 +0100 - - kms_rotation_crc: Factor out common primary/sprite code in prepare_crtc() - - This results in less code, always a good thing. Also, we only really - need one reference CRC. - - Signed-off-by: Damien Lespiau - -commit 92b29b18ca62d1e1cadf338f1b883a49d3e63a01 -Author: Damien Lespiau -Date: Tue Jul 8 12:49:03 2014 +0100 - - kms_rotation_crc: Factor out the square drawing function - - Making function to the similar things is very common in programming. - Let's do it once again. - - Cairo being a drawing library, it can be used to do the rotation! - - Signed-off-by: Damien Lespiau - -commit 78fac765238e4b21dd21cf2d105f26955a2f41d8 -Author: Damien Lespiau -Date: Tue Jul 8 12:28:41 2014 +0100 - - kms_rotation_crc: Fix style issue: single statement conditionals - - Signed-off-by: Damien Lespiau - -commit de9c1687f91b8c24b78ca10edc7166743dca5024 -Author: Damien Lespiau -Date: Tue Jul 8 12:26:38 2014 +0100 - - kms_rotation_crc: Fix style issue: '{' at the end of lines - - Signed-off-by: Damien Lespiau - -commit 1025a114c6b188dab2680c577288372f5986e0e0 -Author: Damien Lespiau -Date: Tue Jul 8 12:18:47 2014 +0100 - - kms_rotation_crc: Require universal planes for the testing primary rotation - - Otherwise the test will fail instead of just skipping. - - Signed-off-by: Damien Lespiau - -commit 143984a4f14ab22b5495411e006644caa7d6cb7a -Author: Damien Lespiau -Date: Tue Jul 8 12:10:44 2014 +0100 - - kms_rotation_crc: Test the validity of the output first - - So we don't need code to unwind what we just did. - - Signed-off-by: Damien Lespiau - -commit 9cf7e8d35fb331626a03992f68e9856eafe3997d -Author: Damien Lespiau -Date: Tue Jul 8 12:08:20 2014 +0100 - - kms_rotation_crc: Update the copyright to have this year as well - - Signed-off-by: Damien Lespiau - -commit bbd5e2ec6c7e9ae7f8eed94305e6640b4c3adc7f -Author: Damien Lespiau -Date: Tue Jul 8 12:02:42 2014 +0100 - - kms_rotation_crc: Align a few wrapped lines to the opening brace - - Signed-off-by: Damien Lespiau - -commit f00f767ceaa0ee790bbe7dd71d8210fa417483c1 -Author: Damien Lespiau -Date: Tue Jul 8 11:58:43 2014 +0100 - - kms_rotation_crc: Make more functions static - - More of the same. This time no need to move code around, just adding - static. - - Signed-off-by: Damien Lespiau - -commit 0506f106233552b7b19c89d851f004a5bf236828 -Author: Damien Lespiau -Date: Tue Jul 8 11:55:20 2014 +0100 - - kms_rotation_crc: Make check_plane_type() static - - Clearly, someone tried to solve the following warning: - kms_rotation_crc.c:189:6: warning: no previous prototype for ‘check_plane_type’ [-Wmissing-prototypes] - - Without really understanding what was the warning about. Make - check_plane_type() static and move it before its user to get rid of the forward - declaration. - - Signed-off-by: Damien Lespiau - -commit e3611394cc72540cfa7c8cd39339bd405336ba1f -Author: Sonika Jindal -Date: Wed Jun 18 14:27:27 2014 +0530 - - tests/kms_rotation_crc: IGT for 180 degree HW rotation - - Testcase for 180 degree HW rotation - - Cc: sagar.a.kamble@intel.com - - Signed-off-by: Sonika Jindal - -commit 753352cb3cdd3a2c71c4279913109b2e3e6e9b90 -Author: Damien Lespiau -Date: Tue Jul 8 18:43:22 2014 +0100 - - igt_kms: Introduce a for_each_pipe() macro - - Signed-off-by: Damien Lespiau - -commit 068efd8d9fc5ae02e928622a989d91b3e9c851d0 -Author: Damien Lespiau -Date: Tue Jul 8 16:02:05 2014 +0100 - - igt_kms: Add support for setting plane rotation - - Signed-off-by: Damien Lespiau - -commit b2eb48576f2422591fe338e21a46757b2e331985 -Author: Damien Lespiau -Date: Tue Jul 8 15:23:05 2014 +0100 - - igt_kms: Add a way to query of the plane supports rotation - - Signed-off-by: Damien Lespiau - -commit 143c3a757521de907889803b011ac2bb308b4e1a -Author: Damien Lespiau -Date: Tue Jul 8 14:56:54 2014 +0100 - - igt_kms: Provide a get_plane_property() shorthand - - So one doesn't have to write the plane type all the time. - - Signed-off-by: Damien Lespiau - -commit 33842d594044f13d3079d961df2894921be10cc5 -Author: Damien Lespiau -Date: Tue Jul 8 14:34:16 2014 +0100 - - igt_kms: Factor out a generic get_property() out of get_drm_plane_type() - - Signed-off-by: Damien Lespiau - -commit bebcb582fc40901a2aea4ab43fef3e273ad3b074 -Author: Daniel Vetter -Date: Fri Jul 11 10:24:30 2014 +0200 - - lib/igt_core: Don't log when listing subtests - - I've noticed some spam in the userptr list ... - - Signed-off-by: Daniel Vetter - -commit d3cfe28a1a4cc39044dbfd494370a903c39f2649 -Author: Thomas Wood -Date: Fri Jul 11 10:47:43 2014 +0100 - - README: update the test run instructions - - Describe using the new run-tests.sh script and also update the Piglit - instructions now that using a symlink is no longer supported. - - Signed-off-by: Thomas Wood - -commit ee62ca48e7cf0e2088e40227940677c9d4e675e0 -Author: Thomas Wood -Date: Tue Jul 1 11:35:16 2014 +0100 - - scripts: add a script to help run tests with Piglit - - Add a script to facilitate running the tests with Piglit by providing - simplified options for listing, filtering and creating summaries of test - runs. - - Signed-off-by: Thomas Wood - -commit b81020526f1d08840f9ee87d31e958ddca4cce8a -Author: Thomas Wood -Date: Wed Jul 9 10:38:05 2014 +0100 - - lib: allow the edid to be reset - - Signed-off-by: Thomas Wood - -commit eef768f283466b6d7cb3f08381f72ccf3951dc99 -Author: Thomas Wood -Date: Wed Jun 18 14:28:43 2014 +0100 - - tests: enable extra connectors in kms_flip and kms_pipe_crc_basic - - Signed-off-by: Thomas Wood - -commit b6ed9fb0d9a68cd3e07154b80e78e60778a4887b -Author: Thomas Wood -Date: Wed May 28 14:06:01 2014 +0100 - - lib: add igt_enable_connectors and igt_reset_connectors - - igt_enable_connectors forces connectors to be enabled where doing so is - known to work well. igt_reset_connectors resets the force state on all - connectors. - -commit 13cd79c128b21d0de7d419d2ebfa8219d6190035 -Author: Thomas Wood -Date: Tue May 27 14:47:25 2014 +0100 - - lib: add the ability to set an EDID data block on a connector - - Add a function to set an EDID data block on a connector and include a - set of generic EDID blocks for testing. - - Signed-off-by: Thomas Wood - -commit 37ffb22d3cf684a6443d68698716dbd8428f495a -Author: Thomas Wood -Date: Fri May 16 17:22:46 2014 +0100 - - lib: add function to change connector states - - Add an API function and a test program to force a particular state on a - connector. - - v2: mask the correct part of the minor number to get the card number (Chris - Wilson) - - Signed-off-by: Thomas Wood - -commit 9b6ae3cb6f7894b7c3e9eb89da5d89fef7f9ba91 -Author: Chris Wilson -Date: Fri Jul 11 10:38:32 2014 +0100 - - igt/gem_userptr_blits: Verify that userptr bo work on unshared memory - - If the parent passes a userptr to some private memory, we expect to - still be able to use the userptr in the child. - - Signed-off-by: Chris Wilson - -commit 9344aa78e8ad1eb36e7cf17686907d4259d34235 -Author: Chris Wilson -Date: Fri Jul 11 10:16:54 2014 +0100 - - igt/gem_userptr_blits: Shared memory allocations - - The forked tests allocate the bo (and thus for userptr, the memory) in - the parent and pass them to all children. The difference for userptr is - that we allocate system memory which the kernel then copies into each - child. As the children need to access the memory for their checks, it - does need to be shared - so allocate the userptr from shared memory! - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80208 - Signed-off-by: Chris Wilson - -commit f47ee31dd5d5a5099ed6f5d4a59a12a2f83c8cae -Author: Chris Wilson -Date: Fri Jul 11 10:15:19 2014 +0100 - - Wait for any pid in order to reap failure quicker - - When waiting for the forked tests, we can respond quicker to a failure - (such as oom) by waiting for any child to exit rather than waiting for - each child in order. Then when we see that a test failed, we can kill - all other children before aborting. - - Signed-off-by: Chris Wilson - -commit 3777d42303cf9d285a5337d71623d52402cb3021 -Author: Daniel Vetter -Date: Thu Jul 10 20:19:18 2014 +0200 - - NEWS: Updates - - Signed-off-by: Daniel Vetter - -commit 282482db70188a3cbc653cebbf407715373255d1 -Author: Daniel Vetter -Date: Thu Jul 10 20:04:19 2014 +0200 - - tests: Run igt.cocci - - New stuff caught. - - Plus manually simplify the massive igt_fail_on_f(file == NULL, ...) to - a simple igt_assert(file). We already print the errno (if - applicapable) and the condition, which is equally informative. - - Cc: Yi Sun - Cc: Matt Roper - Cc: Wendy Wang - Signed-off-by: Daniel Vetter - -commit 329f7a3734331cb57895a675d4fc87c261f338bd -Author: Daniel Vetter -Date: Thu Jul 10 19:46:46 2014 +0200 - - drv_module_reload: Unbind the right console driver - - We want to unbind fbcon, but only fbcon and only if it's there. - - This was broken by the recent patch in 3.16-rc to kick out the vgacon - driver. I've forgotten to push out the relevant fix from the machine - used to create the kick vgacon patches. - - v2: Dropped duplicated /, spotted by Damien. - - Reported-by: Damien Lespiau - Cc: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit 82e3d3379b7204bd81033c96b6279b537186ed85 -Author: Damien Lespiau -Date: Thu Jul 10 14:03:37 2014 +0100 - - drv_module_reload: Don't declare success when failing - - We weren't returning straight away when failing to unload the driver, so - the test happilly executed gem_suspend and printed ""module successfully - loaded again". - - Signed-off-by: Damien Lespiau - -commit e16d4a2d68d163da81397ff7f1e00d063f0d700c -Author: Damien Lespiau -Date: Wed Jul 9 11:40:16 2014 +0100 - - core: Apply the same treatment to the in errno message in __igt_fail_assert() - - Just like the it was done for the requirement message, display the errno - message only if errno is set, and display it at the end of the assert - message. - - Reviewed-by: Daniel Vetter - Signed-off-by: Damien Lespiau - -commit 41454622506d2d060cba8c6f1cbe98a359936a2b -Author: Damien Lespiau -Date: Wed Jul 9 11:36:27 2014 +0100 - - core: Only display the errno message if errno is set - - Reviewed-by: Daniel Vetter - Signed-off-by: Damien Lespiau - -commit b2d1a598aba4fe6b4128a0eb99f6da95a9fc70fc -Author: Damien Lespiau -Date: Wed Jul 9 11:32:22 2014 +0100 - - core: Put the requirement failure messages together - - The errno message was a bit in the middle here, it makes more sense to - group the messages about why the test requirement wasn't met together. - - Reviewed-by: Daniel Vetter - Signed-off-by: Damien Lespiau - -commit 1e5570e28a399f57d025c36f9d3547683ba0c3d4 -Author: Mika Kuoppala -Date: Wed Jun 18 14:34:04 2014 +0300 - - lib/gen6_render: removed duplicate defines - - Textually the same so no harm was done and no warnings - from compiler either. - - Signed-off-by: Mika Kuoppala - -commit 6b986a2044a2708f900454d7e23fcd0bbf68879d -Author: Daniel Vetter -Date: Wed Jul 9 20:45:54 2014 +0200 - - tests/gem_render_copy_redux needs legacy drm nodes - - ... since it uses flink. Fixes a regression due to: - - commit 6d6dfcfb883818b40b58bac61cc72cab428a7a03 - Author: David Herrmann - AuthorDate: Sun Mar 16 14:38:40 2014 +0100 - - drm: enable render-nodes by default - - Cc: David Herrmann - Signed-off-by: Daniel Vetter - -commit f705ef158ac7448d1f3c48f853da884ac548b603 -Author: Tim Gore -Date: Tue Jul 8 10:04:28 2014 +0100 - - intel-gpu-tools: Dont build kms_univeral_plane if no cairo - - kms_univeral_plane is a new test that requires cairo. - I have added it to the list of tests not to build on - Android unless ANDROID_HAS_CAIRO is set. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit c5b9615b83910f5a5c19fc84d938ea643f4e3009 -Author: Damien Lespiau -Date: Wed Jul 9 11:05:06 2014 +0100 - - kms_plane: Specify the pipe when grabbing reference CRCs - - When changing the pipe we were using, test_grab_crc() wasn't correctly - setting the pipe constraint before waiting for the CRC on the pipe, and - so we ended up waiting for a CRC on a pipe that wasn't lit up. - - Signed-off-by: Damien Lespiau - -commit 8d60b8267e97f9b04e42912262c170c473d4f061 -Author: Damien Lespiau -Date: Mon Jul 7 14:41:15 2014 +0100 - - kms_plane: Add a debug message when grabbing the CRC of a colored fb - - Signed-off-by: Damien Lespiau - -commit b5333b416f6a206a583684b0fba9265c0badbd6c -Author: Yi Sun -Date: Fri May 23 08:28:47 2014 +0800 - - kms_plane: Add panning test for primary plane - - Get CRCs of a full red and a full blue surface as reference. - - Create a big framebuffer that is twice width and twice height as the - current display mode. - - Fill the top left quarter with red, bottom right quarter with blue - Check the scanned out image with the CRTC at position (0, 0) of the - framebuffer and it should be the same CRC as the full red fb - Check the scanned out image with the CRTC at position (hdisplay, - vdisplay) and it should be the same CRC as the full blue fb - - v2: Fix a few things here and there (Damien) - - Cc: Lei Liu - Cc: Yi Sun - Signed-off-by: Lei Liu - Signed-off-by: Yi Sun - Signed-off-by: Damien Lespiau - -commit de538cfc7cd649216801829daffe602f4efee08a -Author: Damien Lespiau -Date: Mon Jul 7 13:30:41 2014 +0100 - - kms_plane: Make the gathering of reference CRCs test agnostic - - We're going to add tests for panning. Both position and panning tests - share the need to grab reference CRCs of single coloured fb, so let's - separate this function from the position test. - - Cc: Lei Liu - Cc: Yi Sun - Signed-off-by: Damien Lespiau - -commit 202b2b9567606a016edf8293048ca4d67d9eba4f -Author: Damien Lespiau -Date: Mon Jul 7 15:17:56 2014 +0100 - - pipe_crc: Make collect_crc() ensure the CRC looks somewhat valid - - Signed-off-by: Damien Lespiau - -commit 09196af60d0e7dc8b06ac78e5998d29bde66b065 -Author: Damien Lespiau -Date: Mon Jul 7 15:16:51 2014 +0100 - - pipe_crc: Warn if the CRC values is 0xffffffff - - This is what we read when the CRC logic in in a powered down well. We - really don't want that to happen. - - In theory, it's possible 0xffffffff to be a valid CRC value, so I don't - assert here. - - Signed-off-by: Damien Lespiau - -commit 4f83c4efa85bdb1cfadf0e4b44588ec581f2682b -Author: Damien Lespiau -Date: Mon Jul 7 15:08:33 2014 +0100 - - lib: Reset 'position_changed' after a drmModeSetCrtc() - - So the next commit won't trigger a drmModeSetCrtc() if the primary plane - doesn't have any update needing it. - - This shouldn't be a problem at the moment as we don't allow the primary - plane to be of a different size than the CRTC viewport, but it will most - likely change in the future and we don't want to have that bug there. - - Signed-off-by: Damien Lespiau - -commit 089e8d0a6b4b702ada745e948ae4303fd9457389 -Author: Damien Lespiau -Date: Wed May 28 18:59:09 2014 +0100 - - kms_pipe_crc_basic: Add a bit a debugging output - - Signed-off-by: Damien Lespiau - -commit 017f146c57c381a77bf3295f234744fae67e1a5c -Author: Damien Lespiau -Date: Wed May 28 17:55:06 2014 +0100 - - kms_pipe_crc_basic: Make the number of CRCs a parameter - - Let's make the test a bit more generic and have the number of CRCs we're - collecting a define so it can be changed easily. - - Signed-off-by: Damien Lespiau - -commit f18700b304cf86c030a2e7721c8f2c189805972f -Author: Damien Lespiau -Date: Wed May 28 17:40:05 2014 +0100 - - kms_pipe_crc_basic: Cycle between 2 differently colored buffer - - Instead of just testing if the CRCs are stable, we also test 2 different - fbs to make sure that the CRC is actually changing. - - Signed-off-by: Damien Lespiau - -commit dbb80a63b434f544e291a8a3997a511378f3b992 -Author: Damien Lespiau -Date: Wed May 28 17:33:32 2014 +0100 - - kms_pipe_crc_basic: Split the main test function a bit more - - Let's put the per-output test in its own function to get rid of 1 level - of indentation. We'll need it to cycle through 2 different framebuffers - to make sure we compute different CRCs if the fbs are different. - - Signed-off-by: Damien Lespiau - -commit c8b8f8abf60de1fdaafc798ebc6f73880a4e4225 -Author: Matt Roper -Date: Mon Jul 7 09:08:29 2014 -0700 - - lib/kms: Provide universal plane #define's - - There hasn't been a libdrm release containing the universal plane - definitions yet, so add them to igt_kms to allow compilation to succeed - in the meantime. - - Signed-off-by: Matt Roper - Signed-off-by: Daniel Vetter - -commit 80a4a4fd43aff81dea8822ab4756ed99b7b13e66 -Author: Daniel Vetter -Date: Mon Jul 7 17:54:30 2014 +0200 - - tests/gem_exec_parse: use gem_uses_aliasing_ppgtt - - Suggested by Brad Volking. - - Signed-off-by: Daniel Vetter - -commit d078035ca44dae1ec4e026fc294f4c0213027890 -Author: Daniel Vetter -Date: Tue Jun 17 23:47:49 2014 +0200 - - tests/kms_psr_sink_crc: Fix delayed gtt/cpu write tests - - - Drop the flip from the name - we don't do that. And the blt is - really just to have a bit of fun with the domain tracking. - - - The real test is 1) dirty with gpu 2) grab 1st crc 3) set_domain for - cpu access 4) wait a long time 5) dirty more with cpu 6) grab 2nd - crc. - - This fixes failures since with the old tests we wouldn't have noticed - the cpu rendering really. - - Signed-off-by: Daniel Vetter - -commit 838f321b9ff1ef897ab032ecc3bbb56d8d65f53f -Author: Damien Lespiau -Date: Thu Jul 3 15:50:53 2014 +0100 - - kms_universal_plane: Don't assert outside of fixtures/subtests - - Doing otherwise breaks listing the subtests. The test was throwing an - error out when universal planes were disabled as well because of that. - - Cc: Matt Roper - Signed-off-by: Damien Lespiau - -commit 3f46e815589ac5c0e9ba2d5ab94e7eff09527a8d -Author: Matt Roper -Date: Mon Jun 30 16:44:30 2014 -0700 - - tests/kms_cursor_crc: Call drmModeMoveCursor() directly - - We're calling drmModeSetCursor() to change the cursor image and never - actually doing a display commit (aside from when we display the cursor), - so call the move ioctl directly rather than igt_plane_set_position() to - ensure the changes actually take effect. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 07087ada293b18823ca10762bc7e28740bb0e6bf -Author: Matt Roper -Date: Mon Jun 30 16:44:29 2014 -0700 - - tests/kms_cursor_crc: Combine data_t and test_data_t - - If a subtest fails, cleanup_crtc() never gets called and then the - test_data_t structure for the test is lost, including the CRC file - descriptor that we never got a chance to release; this causes all - subsequent tests to fail with -EBUSY at igt_pipe_crc_new(). - - The split between permanent data_t and temporary test_data_t doesn't - seem to serve a purpose, so just combine the fields from both into - data_t. This will prevent us from losing the CRC filedescriptor so that - we can properly close and reopen it after a failed test. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 075d9eafdb4c1c64099d738a012fe3e063f08fee -Author: Matt Roper -Date: Mon Jun 30 16:44:28 2014 -0700 - - tests/kms_universal_plane: Universal plane testing (v6) - - 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 - Signed-off-by: Damien Lespiau - -commit 04067c3d5029f6ca28e6e14fffa47eecbd0e9c70 -Author: Matt Roper -Date: Mon Jun 30 16:44:27 2014 -0700 - - lib/kms: Drop primary plane windowing test from igt_plane_set_position() - - None of our hardware can support this today, but we'd like to be able to - write tests that check that the kernel returns the proper error code - when userspace tries it anyway. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 794a9fd6bc24b0bcc9eb8a9a59c924fd5229f25c -Author: Matt Roper -Date: Mon Jun 30 16:44:26 2014 -0700 - - lib/kms: Add universal plane support (v2) - - Add support for universal planes. This involves revamping the existing - plane handling a bit to allow primary & cursor planes to come from the - DRM plane list, rather than always being manually added. - - v2: Don't drop fixed ordering of internal plane list. Primary will - always be index 0, cursor will always be last in internal plane - list. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 82bc03f392a12e5d48818faa99b02f9b2ab54483 -Author: Matt Roper -Date: Mon Jun 30 16:44:25 2014 -0700 - - lib/kms: Add igt_display_try_commit2() - - Add a new public API that will attempt a display commit, but will return - an error code upon failure rather than failing the IGT test. This is - intended to allow igt tests to verify that the expected error codes are - returned to userspace when invalid requests are issued. - - Note that with non-atomic programming, a single commit operation has - several potential failure points internally; the first non-zero error - code encountered will be returned immediately and no further programming - will be performed by the commit. It is the caller's responsibility to - return to a sane state. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 1c25547d48296c3058c9e1cc45b533746144a230 -Author: Matt Roper -Date: Mon Jun 30 16:44:24 2014 -0700 - - lib/kms: Add igt_display_commit2() - - Add a new commit interface, igt_display_commit2(), that allows tests to - specify which programming API should be used to perform hardware - updates. COMMIT_LEGACY is the only option for now, but universal - and atomic interfaces will be added as additional options in the future. - - igt_display_commit() remains unchanged for existing tests that wish to - place the hardware in a specific state, but that don't care which API is - used to achieve that state. The legacy API will be used by default for - now, but in the future we may decide to make the default API - configurable via an environment variable. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 2a3e212acc01742ac0a0f8bcf969e8a1ae2343b1 -Author: Matt Roper -Date: Mon Jun 30 16:44:23 2014 -0700 - - lib/kms: Track need for vblank wait locally - - The need to wait for a vblank after programming is due to the way we - actually program the hardware. Move need_wait_for_vblank out of the - pipe and into a local variable in preparation for future programming - styles (e.g., atomic pageflip) that will need different logic. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 3cc60bab465f6d22b64a7034ce75e47dd2163e6e -Author: Matt Roper -Date: Mon Jun 30 16:44:22 2014 -0700 - - lib/kms: Drop igt_pipe->need_set_{crtc, cursor} - - The "need" flags on igt_pipe simply mirror the fb_changed field of the - primary/cursor planes. Drop them and just use fb_changed instead. - - Signed-off-by: Matt Roper - Signed-off-by: Damien Lespiau - -commit 67e29a30d5da57fb6764a23ba9f6aa31ea2c15a8 -Author: Jesse Barnes -Date: Thu Jun 26 08:47:08 2014 -0700 - - gem_exec_parse: require PPGTT as well - - The command parser may be present, but not active, so check for PPGTT - before allowing this test to run. - - Signed-off-by: Jesse Barnes - -commit 7ef537231a7bcc8deb49119034f9f6d403565ecc -Author: Ville Syrjälä -Date: Wed Jun 18 21:14:11 2014 +0300 - - tests/gem_ctx_exec: Add reset-pin-leak subtest - - Add a subtest to make sure the kernel doesn't leak the vma - pin_count for the last context on reset. - - Signed-off-by: Ville Syrjälä - -commit fedb9b6342f6fba6f2efa926df1c4af2e8576a2b -Author: Chris Wilson -Date: Sat Jun 21 15:39:09 2014 +0100 - - gem_mmap_gtt: Test mmaping less than the full object - - A bug was recently introduced into the kernel that happened when the vma - was smaller than the object. Test that. - - Signed-off-by: Chris Wilson - -commit 9f28ba5ef3fbc094f9da3324b79599bb2fe1993e -Author: Chris Wilson -Date: Sat Jun 21 15:38:31 2014 +0100 - - gem_fence_upload: Improve the contended messages - - In the contended upload case, we did not distinguish between linear and - tiled uploads. - - Signed-off-by: Chris Wilson - -commit 8abca6fd14d2b0e3bf25461199dd8519803f9518 -Author: Tim Gore -Date: Fri Jun 20 11:28:12 2014 +0100 - - intel-gpu-tools: add igt_core init func calls to some tests - - igt-core.h/c provides some macros and initialisation - functions to support the tests but some of the single - tests do not use these. Modifying these tests to use - the igt_simple_main macro and igt_simple_init function - is the first step towards a consistent command line - across all tests. - - Signed-off-by: Tim Gore - Signed-off-by: Thomas Wood - -commit 236d6bd2d36114fe402fe0e85d97b14cdf102963 -Author: Daniel Vetter -Date: Thu Jun 19 10:13:12 2014 +0200 - - tests/gem_exec_big: Re-add gem_sync - - We need this to avoid hitting the slowpath and ending up with a - presumed_offset == -1. Regression reported by PRTS, bisected to - - commit eb36fc993d7ae1988c80ba5b767989059c91d0ec - Author: Chris Wilson - AuthorDate: Mon Jun 16 10:49:16 2014 +0100 - Commit: Chris Wilson - CommitDate: Mon Jun 16 10:51:02 2014 +0100 - - igt/gem_exec_big: Update to new igt_assert_eq - - Use igt_assert_eq for better test output on failures. - - Signed-off-by: Chris Wilson - - v2: igt_warn_on unexpected reloc offsets. - - Cc: shuang.he@intel.com - Acked-by: Chris Wilson (on irc) - Signed-off-by: Daniel Vetter - -commit 1b1f4b16a25b6415187fd2b0906ae730e9ca8d23 -Author: Daniel Vetter -Date: Tue Jun 17 23:06:59 2014 +0200 - - tests/gem_mmap: Add short mmap test - - Blows up with the current full-object prefault code. - - Signed-off-by: Daniel Vetter - -commit 13b3e5f3e02a82e5d064e1f4f52eebb91c380819 -Author: Daniel Vetter -Date: Tue Jun 17 21:22:05 2014 +0200 - - Paritially revert "lib: add missing includes to headers" - - This reinstates the #includes for lib/debug.h since without that the - shader debugger fails to build. You need to manually enable it with - ./autogen.sh --enable-shader-debugger and the fail only happens when - running a clean build with - - $ git clean -dfx && ./autogen.sh --enable-shader-debugger && make - - I have no idea what breaks, but this restores the build. - - Reported by Ben Widawsky. - - Signed-off-by: Daniel Vetter - -commit 15d93d0a91234e33c4e40b72204258ffbcb2fe4c -Author: Daniel Vetter -Date: Tue Jun 17 18:52:08 2014 +0200 - - tests: Move gem_userptr_blits to the right Makefile target - - We need to be able to check for this somehow ... - - Signed-off-by: Daniel Vetter - -commit d123de68587ef1c558bb9be7a1fd980cba58d748 -Author: Daniel Vetter -Date: Wed Apr 30 18:15:36 2014 +0200 - - tests/Makefile.sources: Remove empty last line - - Actually just whitespace change to make sure the new built rules for - tests/*.txt pick up the changes properly everywhere. - - Signed-off-by: Daniel Vetter - -commit 748a46dcb994c8c97d32faecc1df7e03c9ec7960 -Author: Wendy Wang -Date: Mon Jun 9 16:36:47 2014 +0800 - - Fixed the review issues for pm_rc6_residency IGT case - - Why need add rc6_residency_counter subtest case: - RC6 feature support residency counter,from power consumption aspect, - the counter closer to 1,the better.If the counter is < 0.9, the residency - is not good and will impact power consumption value, if the counter is > 1, - sysfs file is inaccurate. - - Attach the test result message: - root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rc6_residency - IGT-Version: 1.6-g9a70e29 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_0a37b5_20140604+ x86_64) - Subtest rc6-residency-check: SUCCESS - This machine doesn't support rc6pp - This machine doesn't support rc6p - The residency counter : 0.987000 - This machine entry rc6 state. - Subtest rc6-residency-counter: SUCCESS - - root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rc6_residency --run-subtest rc6-residency-counter - IGT-Version: 1.6-g9a70e29 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_0a37b5_20140604+ x86_64) - This machine doesn't support rc6pp - This machine doesn't support rc6p - The residency counter : 0.987000 - This machine entry rc6 state. - Subtest rc6-residency-counter: SUCCESS - - root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rc6_residency --run-subtest rc6-residency-check - IGT-Version: 1.6-g9a70e29 (x86_64) (Linux: 3.15.0-rc7_drm-intel-nightly_0a37b5_20140604+ x86_64) - Subtest rc6-residency-check: SUCCESS - - root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rc6_residency --list - rc6-residency-check - rc6-residency-counter - - Run as non-root - [haha@x-pk home]$ ./pm_rc6_residency - IGT-Version: 1.6-g18d2130 (x86_64) (Linux: 3.13.0-rc3_drm-intel-nightly_639e4d_20131210+ x86_64) - No intel gpu found - Subtest rc6-residency-check: SKIP - Subtest rc6-residency-counter: SKIP - - Run on non-intel platform - [root@x-pk5 home]# ./pm_rc6_residency - IGT-Version: 1.6-g18d2130 (x86_64) (Linux: 3.13.0-rc3_drm-intel-nightly_639e4d_20131210+ x86_64) - Test requirement not met in function read_rc6_residency, file pm_rc6_residency.c:77: - Last errno: 2, No such file or directory - Test requirement: (!(file)) - Subtest rc6-residency-check: SKIP - Subtest rc6-residency-counter: SKIP - - Signed-off-by: Wendy Wang - Signed-off-by: Daniel Vetter - -commit f4a7bd3b03418c140b7de76d1f35ea553a735e33 -Author: Daniel Vetter -Date: Mon Jun 16 23:54:43 2014 +0200 - - Revert "Revert "Add rc6_residency_counter subtest"" - - This reverts commit 35554a1bcaaea55c1cfa88c0176c58d2fb3b8013. - - Apparently people are too unhappy with this. - - Signed-off-by: Daniel Vetter - -commit d96490af9955875d2ca1a04219d5ef928fb07c94 -Author: Thomas Wood -Date: Mon Jun 16 16:21:35 2014 +0100 - - lib: add missing includes to headers - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 5874daddc4976ba3756b6e37466a0205b2359048 -Author: Thomas Wood -Date: Mon Jun 16 16:12:21 2014 +0100 - - lib: ensure igt_display_init clears the memory for the display struct - - Add the call to memset that was accidentally removed in: - - commit 1e9e1baba389fe498be12390ceeeacb1d141a5cf - Author: Daniel Vetter - Date: Thu Mar 13 17:20:05 2014 +0100 - - lib/igt_kms: rip out custom verbose loggin support - - Instead just piggy-pack on top of igt_log. - - Signed-off-by: Daniel Vetter - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 5f89d6f41fd5c4f6a1cd3b6da708b99a8efe8e64 -Author: Tim Gore -Date: Mon Jun 16 09:38:09 2014 +0100 - - intel-gpu-tools: remove the --cmd option from gem_seqno_wrap - - gem_seqno_wrap was not being built on Android because it uses - wordexp which is not in Bionic. - After discussion with Mika Kuoppala (the test author) it seems - that wordexp was used to implement the --cmd option that was - really only intended for use during development of the test and - is no longer needed. So I have removed support for this option - and enabled this test for Android. - - Signed-off-by: Tim Gore - Reviewed-by: Mika Kuoppala - [danvet: Resolve conflicts with cocci run.] - Signed-off-by: Daniel Vetter - -commit eb36fc993d7ae1988c80ba5b767989059c91d0ec -Author: Chris Wilson -Date: Mon Jun 16 10:49:16 2014 +0100 - - igt/gem_exec_big: Update to new igt_assert_eq - - Use igt_assert_eq for better test output on failures. - - Signed-off-by: Chris Wilson - -commit 6c4b93fdbc879f95a9843f0ad7a959265b6783f1 -Author: Chris Wilson -Date: Mon Jun 16 09:01:52 2014 +0100 - - igt/gem_exec_parse: Convert to igt_assert_eq - - For better test output on failure. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=80083 - Signed-off-by: Chris Wilson - -commit 8c1566e2d9cdcdaa94728516b8e6839545fc396c -Author: Ville Syrjälä -Date: Tue Oct 29 18:17:39 2013 +0200 - - tools/intel_display_poller: Add a new tool that will poll various display registers - - intel_poller can be used to poll various display registers - (IIR,scanline/pixel/flip/frame counter, live address, etc.). - - It can be used to determine eg. at which scanline or pixel count certain - events occur. - - v2: s/intel_poller/intel_display_poller/ - - Signed-off-by: Ville Syrjälä - -commit 71874f4a52878caabe5c2ccd499bab41633fa156 -Author: Ville Syrjälä -Date: Tue Jun 10 21:28:10 2014 +0300 - - tools: Add intel_iosf_sb_{read,write} tools - - Add generic tools to poke at IOSF sideband. The user needs to - manually specify SB port as well as the register. - - TODO: Maybe add symbolic names for the units? Would avoid having - to trawl the docs for the magic hex value. - - Signed-off-by: Ville Syrjälä - -commit a49906e26616c405d41631d5e1b0be0a366d2c30 -Author: Ville Syrjälä -Date: Wed Jun 11 19:21:27 2014 +0300 - - lib/igt_debufs: Add IGT_NO_FORCEWAKE environment variable - - If IGT_NO_FORCEWAKE is set, skip the forcewake open. Useful when you - want to poke at register without otherwise disturbing the GPU. - - Signed-off-by: Ville Syrjälä - -commit aba3582bb402b5cb5e48d81c5e32231fa42634d7 -Author: Ville Syrjälä -Date: Wed Jun 11 19:20:19 2014 +0300 - - lib/igt_debugfs: Don't fail if debugfs is already mounted - - Remove the igt_assert() from the debugfs mount. It will fail if debugfs - is already mounted. With the assert in place it's very annying to use - igt without i915 loaded (eg. to dump BIOS configured registers). - - Signed-off-by: Ville Syrjälä - -commit c9c554594ef074b9149f84da8fb42c9ea629c027 -Author: Daniel Vetter -Date: Fri Jun 13 18:27:59 2014 +0200 - - tests: run igt.cocci - - Re-run with correct igt_fail rules. Again manually fixup missing - includes for igt_core.h. - - Signed-off-by: Daniel Vetter - -commit 87042d671fba3c76786171a8037515979e977d9d -Author: Daniel Vetter -Date: Fri Jun 13 16:23:10 2014 +0200 - - NEWS: Mention igt.cocci - - And also pimp the spatch file itself with usage hints. - - Signed-off-by: Daniel Vetter - -commit 2347e6d21eb1431479358955007a4c78430173d8 -Author: Daniel Vetter -Date: Fri Jun 13 18:01:33 2014 +0200 - - lib: Introduce igt_fail_on/_f - - I've yet again totally screwed things up (this time automated with - cocci even, but not yet pushed luckily). So finally add a new version - for easier conversion and adjust the cocci script. - - Signed-off-by: Daniel Vetter - -commit 46811c849a79892f6d0a63ae5425e59989244978 -Author: Daniel Vetter -Date: Fri Jun 13 15:45:30 2014 +0200 - - lib/igt.cocci: Also add rule to use igt_warn_on_f - - Signed-off-by: Daniel Vetter - -commit 9eb9345f9949f26bd4a5cae33a10809c5d05fe21 -Author: Daniel Vetter -Date: Fri Jun 13 15:45:12 2014 +0200 - - lib/igt.cocci: Convert abort() to igt_fail - - abort should only be used for internal library checks - using - abort() we get a "crash" result, using igt_fail we get "fail" - in piglit. - - Signed-off-by: Daniel Vetter - -commit bde52d1a08a7aeb9afe1e6cf642ba764674059da -Author: Daniel Vetter -Date: Fri Jun 13 15:41:28 2014 +0200 - - lib/igt.cocci: Conversion to igt logging - - Also update old hunks to match on igt logging instead of fprintf. - - v2: Don't forget about perror. - - Signed-off-by: Daniel Vetter - -commit 6b73a9a2887fb45fc43b75c918daf0b50d2a44b9 -Author: Daniel Vetter -Date: Fri Jun 13 15:32:50 2014 +0200 - - tests: Don't use stderr for informational messages - - These should go to stdout instead. The next patch will clean this up - with cocci, so no change from fprintf(stdout, to printf( here. - - Signed-off-by: Daniel Vetter - -commit 652e5441504ddded9d6b138cd6df3447ed9b2e74 -Author: Daniel Vetter -Date: Fri Jun 13 15:19:09 2014 +0200 - - tests/pm_psr_sink_crc: Fix longjmp fun - - igt_fixture and igt_subtests use longjmp/setjmp internally, which - means local variables at the same stack frame are at risk. Best - practice is to move them out right in front of the igt_main block. - - It would be awesome if someone could come up with a cocci patch to - auto-fix this, but unfortunately my attempts failed. - - Signed-off-by: Daniel Vetter - -commit ac0e606677823d27836708300a2c5ee05d24b458 -Author: Daniel Vetter -Date: Fri Jun 13 18:03:50 2014 +0200 - - Revert "tests: Run igt.cocci over tests" - - This reverts commit 6903ab04e5f9048e3932eb3225e94b6a228681ba. - - The igt_assert conversion rule is broken and doesn't invert the check - as it should. - - Signed-off-by: Daniel Vetter - -commit bfede4ed2b401069c3130399ff5c2580e6ccbf77 -Author: Chris Wilson -Date: Fri Jun 13 15:46:33 2014 +0100 - - igt/gem_fence_upload: Exercise contention on the fault handler - - Signed-off-by: Chris Wilson - -commit 6903ab04e5f9048e3932eb3225e94b6a228681ba -Author: Daniel Vetter -Date: Fri Jun 13 11:06:18 2014 +0200 - - tests: Run igt.cocci over tests - - Cocci is awesome - - Signed-off-by: Daniel Vetter - -commit 66b31b6e196bdb869a7bd3e29d86dd9712606601 -Author: Daniel Vetter -Date: Fri Jun 13 11:16:28 2014 +0200 - - lib: add igt.cocci - - Small start but useful to collect refactorings/simplifications for - common igt patterns. Please add more if you stumble over some so that - we can occasionally run this to clean up the tests. - - I haven't figured out yet how to do the assert_cmpint->assert_eq - transformation. - - Run this with - - spatch --sp-file lib/igt.cocci --in-place tests/*.c - - Signed-off-by: Daniel Vetter - -commit 3448b5ad4b2536c1eca3ecc5060739ea8dbec1e5 -Author: Daniel Vetter -Date: Fri Jun 13 10:46:55 2014 +0200 - - lib/igt_core: Add igt_assert_eq - - Suggested by Chris Wilson. Not yet rolled out since I'm trying to use - cocci for this. - - Signed-off-by: Daniel Vetter - -commit b4c1f2ea0fc3fc3e361c26a83dc9468682a3c8e0 -Author: Daniel Vetter -Date: Fri Jun 13 10:23:01 2014 +0200 - - tests/prime_self_import: Use igt_assert_cmpint - - Signed-off-by: Daniel Vetter - -commit ea0116cdcd36f208ff7b5312e7684db85f395de3 -Author: Daniel Vetter -Date: Fri Jun 13 10:18:24 2014 +0200 - - tests/kms_psr_sink_crc: Skip properly - - Aside: The test has way too many bool return values that are then - always checked with igt_assert. Imo cleaner to switch to a more - declarative approach and shovel the igt_assert/require into those - functions instead. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79962 - Signed-off-by: Daniel Vetter - -commit c1192c4db48f4329a97d2e72dd8d97920164c63a -Author: Chris Wilson -Date: Thu Jun 12 17:01:02 2014 +0100 - - igt/gem_fence_upload: Throw some threads into the mix - - Signed-off-by: Chris Wilson - -commit d242f2e2a31fdc9887cc34cda0eeb92f7dc70d20 -Author: Chris Wilson -Date: Thu Jun 12 11:50:01 2014 +0100 - - igt/gem_mmap_gtt: Exercise concurrent pagefaulting - - This should hit the BUG inside remap_pfn_range in - - commit c5158fabeaf53ed2c614c3333aaa4b3cce80f500 - Author: Chris Wilson - Date: Tue Jun 10 12:14:41 2014 +0100 - - [ 27.767634] kernel BUG at mm/memory.c:2315! - [ 27.767655] invalid opcode: 0000 [#1] SMP - [ 27.767679] Modules linked in: cpufreq_userspace cpufreq_powersave cpufreq_stats cpufreq_conservative binfmt_misc nfs lockd fscache sunrpc hid_generic usbhid hid x86_pkg_temp_thermal microcode i2c_i801 lpc_ich mfd_core battery acpi_cpufreq evdev processor ac loop ehci_pci xhci_hcd ehci_hcd sr_mod usbcore cdrom usb_common fan thermal - [ 27.767872] CPU: 3 PID: 912 Comm: gem_mmap_gtt Not tainted 3.15.0-rc8+ #953 - [ 27.767903] Hardware name: Intel Corporation Shark Bay Client platform/Flathead Creek Crb, BIOS HSWLPTU1.86C.0109.R03.1301282055 01/28/2013 - [ 27.767956] task: ffff880448415010 ti: ffff88044d22c000 task.ti: ffff88044d22c000 - [ 27.767988] RIP: 0010:[] [] remap_pfn_range+0x2a4/0x400 - [ 27.768033] RSP: 0000:ffff88044d22fc28 EFLAGS: 00010282 - [ 27.768057] RAX: 0000000000020002 RBX: 00000000000a3b57 RCX: ffff880448b73fe8 - [ 27.768088] RDX: 0000000000000002 RSI: ffff880000000000 RDI: ffffea000efe8158 - [ 27.768119] RBP: ffff88044d22fcd8 R08: 00007fc7b57fe000 R09: 00007fc7b57fe000 - [ 27.768150] R10: 00000000000001fd R11: 0000000000000a9a R12: ffffea000efe8128 - [ 27.768180] R13: 0000000000000001 R14: 00007fc7b57fd000 R15: 800000000000002f - [ 27.768212] FS: 00007fc7977fc700(0000) GS:ffff88045e380000(0000) knlGS:0000000000000000 - [ 27.768246] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 - [ 27.768272] CR2: 00007fc7b67fd000 CR3: 000000044866c000 CR4: 00000000001407e0 - [ 27.768303] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 - [ 27.768333] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 - [ 27.768363] Stack: - [ 27.768374] ffff880448bbb6f8 00000000ffffffff 00007fc7b57fdfff 00007fc7b57fdfff - [ 27.768414] 00007fc7b57fe000 ffff88044866c7f8 ffff8804496b08f0 00007fc7b57fdfff - [ 27.768454] fffffff8038ee35a 0000000000001000 ffff88044c208180 00007fc7b57fe000 - [ 27.768494] Call Trace: - [ 27.768511] [] i915_gem_fault+0x337/0x340 - [ 27.768538] [] __do_fault+0x34/0x70 - [ 27.768565] [] ? wake_up_process+0x1e/0x40 - [ 27.768592] [] do_shared_fault.isra.96+0x2c/0x1f0 - [ 27.768623] [] ? rwsem_down_read_failed+0xe5/0x130 - [ 27.768654] [] ? __rwsem_do_wake+0x129/0x160 - [ 27.768682] [] handle_mm_fault+0x2b5/0xb80 - [ 27.768712] [] ? call_rwsem_down_read_failed+0x14/0x30 - [ 27.768745] [] __do_page_fault+0x167/0x4c0 - [ 27.768774] [] ? pick_next_task_fair+0x700/0x870 - [ 27.768804] [] ? __schedule+0x27b/0x860 - [ 27.768831] [] do_page_fault+0xc/0x10 - [ 27.768857] [] page_fault+0x22/0x30 - [ 27.768881] Code: 4d 85 ed 49 0f 44 d7 80 cc 02 49 81 c6 00 10 00 00 48 83 c3 01 48 83 c1 08 48 09 d0 48 89 41 f8 4d 39 f0 74 32 48 83 39 00 74 c4 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 48 39 37 75 63 48 8b 45 c8 - [ 27.769081] RIP [] remap_pfn_range+0x2a4/0x400 - [ 27.769113] RSP - - Signed-off-by: Chris Wilson - -commit 8a23da43d4eb502375620b53d11d36797447a309 -Author: Thomas Wood -Date: Wed Jun 11 17:13:39 2014 +0100 - - docs: remove unused annotation glossary include - - API annotations are not used anywhere in the documentation, so the - annotation glossary is not built. - - Signed-off-by: Thomas Wood - -commit cd714f93e833284b1710e58d21240a3e21adec2a -Author: Thomas Wood -Date: Wed Jun 11 15:32:14 2014 +0100 - - docs: always rebuild the sections file - - Always rebuild the sections file since it currently doesn't contain any - custom modifications. - - Signed-off-by: Thomas Wood - -commit bbd014e1632f4e906bb9c2386174eca8fa263bac -Author: Thomas Wood -Date: Wed Jun 11 11:46:39 2014 +0100 - - docs: add private headers to IGNORE_HFILES - - Signed-off-by: Thomas Wood - -commit 52a3a2e205da1679487a99699713dee240437255 -Author: Thomas Wood -Date: Mon Jun 9 17:23:21 2014 +0100 - - lib: various documentation fixes - - Fix some documentation comments and mark some struct members private. - - Signed-off-by: Thomas Wood - -commit 25663d9fe3d6e762132022e1af651a99f9b928a3 -Author: Thomas Wood -Date: Mon Jun 9 14:45:44 2014 +0100 - - gitignore: add missing files and keep lists sorted - - Signed-off-by: Thomas Wood - -commit 3dd7ad14d3322a727365745e94cbe46975acc423 -Author: Thomas Wood -Date: Mon Jun 9 14:05:42 2014 +0100 - - README: update the section on modifying and rebuilding documentation - - Signed-off-by: Thomas Wood - -commit 1e5c8780d03f78c17963108896354296f7313c61 -Author: Thomas Wood -Date: Mon Jun 9 14:02:04 2014 +0100 - - lib: remove /** from comments that are not API documentation - - These comments are not gtk-doc comments, so replacing /** with /* - prevents any gtk-doc warnings. - - Signed-off-by: Thomas Wood - -commit 6d28f6a91a7a6db36a58e1fa81ef6d8358104b26 -Author: Thomas Wood -Date: Mon Jun 9 13:35:21 2014 +0100 - - README: update piglit instructions - - Piglit now has a top level "piglit" command and the location of the - tests can now be read from an environment variable. - - Signed-off-by: Thomas Wood - -commit c54ee9819a4aa9ba521f67e4a58ea2de87dc7485 -Author: Thomas Wood -Date: Fri Jun 6 15:28:50 2014 +0100 - - quick_dump: read the architecture files for items to add to EXTRA_DIST - - Each architecture file contains a list of the text files it requires, so - use this to add to the list of files to distribute. - - Signed-off-by: Thomas Wood - -commit e10c9a730d840d4e1867374e41a58f97d6086371 -Author: Daniel Vetter -Date: Thu Jun 12 09:05:55 2014 +0200 - - tests/gem_fence_upload: Fix test wrapper - - - tests with subtests need to be in the _M target for correct - enumeration. - - - No need for igt_exit when using the igt_(simple_)main wrappers. - - Signed-off-by: Daniel Vetter - -commit 618aca1fb9649012910acbaa79a917ff4f3ff19b -Author: Daniel Vetter -Date: Thu Jun 12 09:04:20 2014 +0200 - - lib/intel_os: Spelling fix - - Signed-off-by: Daniel Vetter - -commit c62ce339f2d57e4be632d9bcea785ff087326bd9 -Author: Chris Wilson -Date: Mon Feb 3 15:52:00 2014 +0000 - - tests: add gem_fence_upload - - This test demonstrates the performance cliff clients face when they - unwittingly use too many fenced surfaces in a looped upload. - - Signed-off-by: Chris Wilson - -commit 27d37a1f1034630a62bfbbb0235db1b0bcea98ac -Author: Rodrigo Vivi -Date: Wed Mar 19 22:43:51 2014 -0300 - - tests/kms_psr_sink_crc: Create test to test PSR by checking panel CRC. - - v2: Wait psr enable with timeout and more subtest added. - v3: Add wait for v_blank leeting test more reliable and preparing to - add Baytrail per-pipe tests. - v4: Call busy_ioctl on mmap_gtt to match the real usage and remove the need - of inactivate on set_domain, what was semantically wrong. - v5: Adding more test cases to cover mmap_gtt with and without followed by - busy ioctl and also without busy and waiting 10 seconds between - set_domain and actual write. - v6: rebase after kms_plane added and debugfs api changed. - Plus adding more test cases. - v7: Some rework and sprite test added - - Signed-off-by: Rodrigo Vivi - -commit 8c4dd1d898aa8ff9cea63d574be575a8f9325ff7 -Author: Damien Lespiau -Date: Fri May 31 15:33:21 2013 +0100 - - list-workarounds/chv: Add Cherryview to the list of valid platorms - - Signed-off-by: Damien Lespiau - -commit 35554a1bcaaea55c1cfa88c0176c58d2fb3b8013 -Author: Daniel Vetter -Date: Tue Jun 10 11:05:16 2014 +0200 - - Revert "Add rc6_residency_counter subtest" - - This reverts commit 9a70e29f8380c2fc6f9b43757c68e24bf2619061. - - Patch needs polish and after a quick irc discussion Ben&I agreed that - the revert is in order. - - Signed-off-by: Daniel Vetter - -commit 4e9df4fe5fef283c23e62fd7348fae4943a9fa6b -Author: Ville Syrjälä -Date: Tue Jun 10 14:51:44 2014 +0300 - - tests/kms_fbc_crc: Update blit code for BDW - - Switch to XY_COLOR_BLT from COLOR_BLT and use the appropriate - macros to make the code work on BDW. - - Also make the blit 8bpp instead if 16bpp. 8bpp is what it was - supposed to use all along. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76307 - Signed-off-by: Ville Syrjälä - -commit 210d20f413626321c0c1650b97d1cb0f0b400c2d -Author: Chris Wilson -Date: Tue Jun 10 14:29:00 2014 +0100 - - API docs for intel_check_memory() - - Signed-off-by: Chris Wilson - -commit 0617b0b3b897f7a070466af400da55e2b234e9be -Author: Daniel Vetter -Date: Tue Jun 10 08:18:37 2014 +0200 - - NEWS: post-release bump - -commit 32bb5d9f150bc953dbed4636ded2758be03a739c -Author: Rodrigo Vivi -Date: Mon Jun 9 11:30:15 2014 -0700 - - bump version to 1.7 and add the release date - - Signed-off-by: Rodrigo Vivi - -commit 82ad15fd1040a0457ebe22edabfaa69c44577412 -Author: Rodrigo Vivi -Date: Mon Jun 9 11:15:47 2014 -0700 - - Fix make distclean by fixing includes of version.h - - Actually only the igt_core was breaking the make distcheck, - but let's make it consistent and let the code cleaner. - - Credits-to: Reviewed-by: Ben Widawsky - Signed-off-by: Rodrigo Vivi - -commit 5a856e11fc84ec9e087aa1c52a492eb81b2c1985 -Author: Rodrigo Vivi -Date: Mon Jun 9 10:48:10 2014 -0700 - - null_state_gen: Fix Makefile.am for make distcheck - -commit 9bddb5eebd9819c4892fec72d6d5b6e2e2496b8b -Author: Rodrigo Vivi -Date: Mon Jun 9 10:47:13 2014 -0700 - - quick_dump: Fix vlv file names on Makefile.am - -commit 18d2130110331e45423dff96aeec3ea802fa0857 -Author: Chris Wilson -Date: Fri Jun 6 08:43:08 2014 +0100 - - igt/gem_evict_alignment: Fix the memory limits checking - - We actually allocate twice as many bo as needed to fill the aperture to - cause ENOSPC, but the entire payload has to still fit into RAM. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75138 - Signed-off-by: Chris Wilson - -commit 39329479a51768e64cf710bc14b50803446e554d -Author: Chris Wilson -Date: Fri Jun 6 08:43:08 2014 +0100 - - igt/gem_evict_alignment: Fix the memory limits checking - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75138 - Signed-off-by: Chris Wilson - -commit 033c400e9bd53f95cccff3524c79a298c81bd3da -Author: Chris Wilson -Date: Fri Jun 6 08:40:36 2014 +0100 - - igt/gem_evict_alignment: Remove obsolete skip on gen8+ - - If the BLT commands, aren't fixed yet, they should be. ASAP. - - Signed-off-by: Chris Wilson - -commit 9a70e29f8380c2fc6f9b43757c68e24bf2619061 -Author: Wendy Wang -Date: Thu Jun 5 10:27:42 2014 +0800 - - Add rc6_residency_counter subtest - - Move rc6_residency_check to subtest, add new rc6_residency_counter subtest - for pm_rc6_residency IGT case. - - Test results run on platforms show as below: - On HSW - --------------------------------------- - [root@x-hswu opt]# ./pm_rc6_residency - IGT-Version: 1.6-g35b31df (x86_64) (Linux: 3.15.0-rc3_drm-intel-nightly_0791a3_20140520+ x86_64) - Subtest rc6-residency-check: SUCCESS - This machine doesn't support rc6pp - This machine doesn't support rc6p - This machine entry rc6 status. - The residency counter : 0.999667 - Subtest rc6-residency-counter: SUCCESS - - On IVB - ---------------------------------------- - [root@IVB tests]# ./pm_rc6_residency - IGT-Version: 1.6-g35b31df (x86_64) (Linux: 3.13.6_20140318+ x86_64) - Subtest rc6-residency-check: SUCCESS - This machine entry rc6p status. - The residency counter : 0.997000 - Subtest rc6-residency-counter: SUCCESS - - On BYT - ---------------------------------------- - root@x-byt:/opt# ./pm_rc6_residency - IGT-Version: 1.6-g0d39021 (x86_64) (Linux: 3.14.0_kcloud_ceabbb_20140521+ x86_64) - Subtest rc6-residency-check: SUCCESS - This machine doesn't support rc6pp - This machine doesn't support rc6p - The residency counter : 1.144333 - Test assertion failure function rc6_residency_counter, file pm_rc6_residency.c:131: - Last errno: 0, Success - Failed assertion: counter_result <=1 - Debug files must be wrong, - Subtest rc6-residency-counter: FAIL - - On BDW - --------------------------------------- - [root@x-bdw01 opt]# ./pm_rc6_residency - IGT-Version: 1.6-g0d39021 (x86_64) (Linux: 3.15.0-rc5_drm-intel-nightly_367653_20140521+ x86_64) - Subtest rc6-residency-check: SUCCESS - This machine doesn't support rc6pp - This machine doesn't support rc6p - The residency counter : 0.994333 - This machine entry rc6 state. - Subtest rc6-residency-counter: SUCCESS - - Signed-off-by: Liu, Lei A - Signed-off-by: Wendy Wang - Signed-off-by: Ben Widawsky - -commit b428f24f7caa1286cdcf0794078547f3b27e69b3 -Author: Chris Wilson -Date: Thu Jun 5 13:33:25 2014 +0100 - - lib: Add debug to memory limits checks - - Signed-off-by: Chris Wilson - -commit a1a8aa16fb4e27a267f4ac12883419114a020dd7 -Author: Chris Wilson -Date: Thu Jun 5 13:19:39 2014 +0100 - - igt/gem_evict_everything: Compute number of surfaces to saturate the aperture - - The goal is to only fill the aperture, not all of memory, so fine-tune - the computed number of surfaces, hopefully avoiding an integer overflow - in the process. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=79573 - Signed-off-by: Chris Wilson - -commit 5141b21f915ce7e857bcacbd1eb4ec9eebf3fe93 -Author: Daniel Vetter -Date: Thu Jun 5 10:28:09 2014 +0200 - - lib/igt_debugfs: Fix spelling docs - - Signed-off-by: Daniel Vetter - -commit badb026ae0943d401a944d0d0fc09a7977315fe5 -Author: Kenneth Graunke -Date: Tue Jun 3 14:52:30 2014 -0700 - - rendercopy/gen8: Also emit 3DSTATE_WM_DEPTH_STENCIL. - - rendercopy was failing to emit 3DSTATE_WM_DEPTH_STENCIL, which is a new - packet on Broadwell. Mesa emits this packet. - - This appears to fix various tests on a fresh boot, when Mesa has never - run. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78890 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78891 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78935 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78936 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78937 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78938 - Signed-off-by: Kenneth Graunke - Reviewed-by: Ben Widawsky - Tested-by: Guo Jinxian - Signed-off-by: Ben Widawsky - -commit 11e62a3927e415f88dae3519578d9bba8def3128 -Author: Ville Syrjälä -Date: Wed May 28 20:05:59 2014 +0300 - - tests/kms_flip: Move EBUSY to a new busy-flip subtest - - The EBUSY checking is very fragile currently in case there's any kind - extra delay in the test loop. At least the flip-vs-rmfb fails reliably - on my IVB. - - So to make the test less fragile remove the EBUSY check from all the - current flip tests, and instead add a specific busy-flip test. To - better guarantee that we get the EBUSY add a blocking vblank wait just - before we issue the first flip. This maximizes the time we have to - submit two flips during one frame. - - Reviewed-by: Daniel Vetter - Signed-off-by: Ville Syrjälä - -commit ddf92db9147375a4d0fc3ee861519bc1d6b0214b -Author: Tim Gore -Date: Wed Jun 4 09:32:54 2014 +0100 - - intel-gpu-tools: move kms_fence_pin_leak to single test list - - In Makefile.sources, kms_fence_pin_leak was in the "Multi" test list, - ie tests with subtests, whereas it is actually simple/single test. - This was confusing the Android script for enumerating tests. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit 1451df1cb692bf04e5733b5d9ea00d0757f257a4 -Author: Imre Deak -Date: Tue Jun 3 16:52:48 2014 +0300 - - quick_dump: increase reg name column width - - Needed by the new long audio register names. - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit ea43f5163a01d9bb2b7fd23dd6316c9f863ded86 -Author: Imre Deak -Date: Tue Jun 3 16:04:47 2014 +0300 - - quick_dump: vlv: remove redundant base file specifications - - The registers in these files are included in the dumps for all platforms - by default, so no need to specify them explicitly. - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit 24cd3843cb222cc17f446315b0bce813a14758c8 -Author: Imre Deak -Date: Tue Jun 3 15:44:27 2014 +0300 - - quick_dump: vlv: move flisdsi register group to its logical place - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit 75b921688d0105743ef14783eed4ceda9d01baeb -Author: Imre Deak -Date: Tue Jun 3 15:55:11 2014 +0300 - - quick_dump: vlv: add missing dpio phy registers - - Also move the phy register block to its logical place. - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit 9da08fed032a8560959ff306cd862d44f26ed46f -Author: Imre Deak -Date: Tue Jun 3 14:26:30 2014 +0300 - - quick_dump: vlv: add missing display registers - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit 92378d3b778c408999a3dd84698038e681692fa0 -Author: Imre Deak -Date: Tue Jun 3 16:11:52 2014 +0300 - - quick_dump: chv: add misc gen7 GT registers - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit 861cea8b5245776c7ea9515b02d20449395a3132 -Author: Imre Deak -Date: Tue Jun 3 02:02:24 2014 +0300 - - quick_dump: chv: add dsi (mipi) registers - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit a4b53d2125a68d431587ae5f004e028ef181290f -Author: Imre Deak -Date: Tue Jun 3 01:59:45 2014 +0300 - - quick_dump: vlv: clean up dsi (mipi) registers - - Split out the base offset into the third argument and rename MIPIB to - MIPIC to match the display cluster register HAS. - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit a115c4820802508733cdf7100f4de63c8d3dc50f -Author: Ville Syrjälä -Date: Fri Mar 21 10:07:43 2014 -0700 - - quick_dump: chv: add full dpio phy dumps - - Signed-off-by: Ville Syrjälä - Reviewed-by: Imre Deak - -commit e23f1fdfeed49f0b61b528940effefc089f008d2 -Author: Ville Syrjälä -Date: Fri Mar 21 01:51:29 2014 -0700 - - quick_dump: chv: add display registers - - Signed-off-by: Ville Syrjälä - [imre: add audio regs] - Reviewed-by: Imre Deak - -commit 6d2577c74117e0f246152d2a16c96626c496a824 -Author: Ville Syrjälä -Date: Wed May 28 18:45:27 2014 +0300 - - quick_dump: chv: add detection support - - Signed-off-by: Ville Syrjälä - Reviewed-by: Imre Deak - -commit 9a642a72873c2df8a0c8ad8b63e25e42b1646382 -Author: Ville Syrjälä -Date: Wed May 28 18:23:07 2014 +0300 - - quick_dump: add support for accessing the dpio phy 2 registers - - Signed-off-by: Ville Syrjälä - Reviewed-by: Imre Deak - -commit 0f906083f2a2248355f799948188aa8c010585d2 -Author: Ville Syrjälä -Date: Wed May 28 18:26:39 2014 +0300 - - lib/intel_iosf: add second phy support - - Signed-off-by: Ville Syrjälä - Reviewed-by: Imre Deak - -commit 82fcb90619491af13675d8c08e5d1b6bf07a781b -Author: Imre Deak -Date: Mon Jun 2 15:48:27 2014 +0300 - - quick_dump: allow passing display base as the third argument - - Signed-off-by: Ville Syrjälä - Reviewed-by: Imre Deak - -commit 4e696ff8c9567051467c922f5abb4f8b64196b5c -Author: Ville Syrjälä -Date: Wed May 28 18:32:39 2014 +0300 - - quick_dump: pass register offsets as int - - Signed-off-by: Ville Syrjälä - [imre: fix s/regi/intreg/ typo] - Reviewed-by: Imre Deak - -commit 76bc5fdf46ce003f3f370998c1b3ed45fe8775c3 -Author: Imre Deak -Date: Tue Jun 3 16:44:41 2014 +0300 - - quick_dump: fix typo breaking dpio reg dumps - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - -commit 4f0bb3147079b6a8b49ccf1b3b3b6fbf13e64f11 -Author: Imre Deak -Date: Tue Jun 3 16:03:50 2014 +0300 - - quick_dump: make autodetect the default option - - Signed-off-by: Imre Deak - Reviewed-by: Ville Syrjälä - Very-much-wanted-by: Daniel Vetter - -commit 73c40324159b1fda9db3d8c34c47a722977d213d -Author: Tim Gore -Date: Tue Jun 3 15:18:31 2014 +0100 - - intel-gpu-tools: remove testdisplay.h from kms_render.c - - kms_render.c included testdisplay.h but did not need it. - This was preventing it from building on Android due to the - lack of a Glib port. So I have removed this #include and - changed Android.mk so that kms_render is built if we have - cairo. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit 0dc8794fc07faf8f2b008f98fd8ef6ed04300119 -Author: Tim Gore -Date: Tue Jun 3 15:05:56 2014 +0100 - - intel-gpu-tools: re-enable gem_exec_params on Android - - The missing macro that was preventing the gem_exec_params - test from building is now in i915_drm.h, in ABT at least, - and this test can now build. So I have removed it from the - skip list in Android.mk - - For Gmin I have added a patch for i915_drm.h to the Wiki - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit d60d4c80e5dbdab0baa5b45c3849262d982e3856 -Author: Mika Kuoppala -Date: Thu Apr 10 15:15:13 2014 +0300 - - tools/null_state_gen: generate null render state - - Generate valid (null) render state for each gen. Output - it as a c source file with batch and relocations. - - v2: noinst and vs_start fixed for BDW GT3 (Damien Lespiau) - - Acked-by: Damien Lespiau - Signed-off-by: Mika Kuoppala - -commit a384e55b49dce17eff1945536f957546bc7902cf -Author: Chris Wilson -Date: Tue Jun 3 07:31:49 2014 +0100 - - igt/gem_evict_everything: Move assertion - - If we move the assertion from out of the callback, we can get a much - more useful error message. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=79573 - Signed-off-by: Chris Wilson - -commit 21fb118f3b3f16f9cdc6cadf68204e745f0a8a68 -Author: Antti Koskipaa -Date: Mon Jun 2 13:43:18 2014 +0300 - - kms_cursor_crc: Test cursor size change ioctl - - Now that we support cursor changes other than 64x64, a bug was found - where the size change was only applied at cursor enable time, rather - than at every update. Add a testcase for that. - - Signed-off-by: Antti Koskipaa - Signed-off-by: Daniel Vetter - -commit 532b7e61e0316b94b280efc2199ef121ced1959c -Author: Daniel Vetter -Date: Wed May 28 16:19:16 2014 +0200 - - NEWS: Fix spelling a bit - -commit aeb3d8897738559b6e8bb21b72e4832a8f8ab59e -Author: Daniel Vetter -Date: Wed May 28 16:05:14 2014 +0200 - - NEWS: Don't forget the runtime pm helpers! - -commit 0ee77ce2328d1fe2427e7086e4aa339eeb2ce820 -Author: Daniel Vetter -Date: Wed May 28 16:02:08 2014 +0200 - - NEWS: Updates ... - -commit 707c839a6a0abda7310cf15eeb353a477ac83315 -Author: Damien Lespiau -Date: Wed May 28 14:18:34 2014 +0100 - - build: Don't fail if SWIG isn't found - - People from distros have reported that packaging the newer versions is - more difficult because we now depend on SWIG. We don't have to, it's - needed for the python dumper and is an optional build dependency. - - Signed-off-by: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit 321273ff76fa16aabec0c6b0a63039525a4fec1b -Author: Chris Wilson -Date: Wed May 28 09:01:56 2014 +0100 - - Factor in kernel object overhead when checking available memory for tests - - Signed-off-by: Chris Wilson - -commit e4ba3b75e6de35483b2edea21ceda145ef0b3311 -Author: Ville Syrjälä -Date: Tue May 27 21:33:10 2014 +0300 - - tests/kms_flip: Make flip-vs-panning-vs-hang change DSPSURF - - Make sure DSPSURF will change during the panning operation - in flip-vs-panning-vs-hang. - - This will now test agains bugs between the kernel's mmio vs. - CS flip race handling and GPU resets. If the kernel is buggy - if will fail to notice that the panning operation changed the - base address before the GPU reset had a chance to deal with the - pending page flips, and so the flip would never complete due to - DSPSURFLIVE not matching the expected value. - - Signed-off-by: Ville Syrjälä - Signed-off-by: Daniel Vetter - -commit 3805288f1a28abebb9313b515d5e48ba06350020 -Author: Tim Gore -Date: Tue May 27 16:45:24 2014 +0100 - - intel-gpu-tools: Skip kms_mmio_vs_cs_flip if no cairo - - The kms_mmio_vs_cs_flip test uses igt_kms.c which in turn - uses cairo. So in Android.mk add this test to the skip list - if we dont have cairo - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit ff3c12209893ee8ee0e757d6cf10276596ef0338 -Author: Daniel Vetter -Date: Thu May 22 17:29:48 2014 +0200 - - tests/kms_pipe_crc_basic: Add gpu hang tests - - Currently pipe CRC support is broken after gpu hangs. This tests for - this bug. - - Signed-off-by: Daniel Vetter - -commit f75ec0b452cbebc0375c1bf75f06e0dc8432cd7c -Author: Daniel Vetter -Date: Thu May 22 16:27:44 2014 +0200 - - tests/kms_pipe_crc_basic: Add suspend tests - - Currently broken ... - - Signed-off-by: Daniel Vetter - -commit 6fa1934a1991ec30b4f72359cb51d043b374bf43 -Author: Mika Kuoppala -Date: Tue May 20 11:25:48 2014 +0300 - - tests/drv_hangman: Add subtest for error state capture/dump - - Guarantees that error capture works at a very basic level. - - v2: Also check that the ring object contains a reloc with MI_BB_START - for the presumed batch object's address. - - v3: Chris review comments: - - Move variables to local scope. - - Do not assume there is only one request. - - Some gen encode flags into the BB start address. - Also, use igt_set/get_stop_rings as suggested by Mika Kuoppala. - - v4: Make as a subtest of drv_hangman. - v5: Rebase - - Signed-off-by: Oscar Mateo - Signed-off-by: Mika Kuoppala - -commit 9b0d3481e80670ccc27925a6ada05bb36a665b05 -Author: Mika Kuoppala -Date: Mon May 19 17:42:21 2014 +0300 - - tests/drv_hangman: Convert test from shell script to c - - 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 - Reviewed-by: Oscar Mateo - Signed-off-by: Mika Kuoppala - -commit 9911f3f0cf202444f1ef2399f5961605880b7360 -Author: Chris Wilson -Date: Thu May 22 10:20:33 2014 +0100 - - igt/gem_userptr_blits: Fix up last minute API changes - - When the patch was merged, the ioctl numbers had to be adjusted to leave - no holes. Also there was a final piece of munging of the API to - downgrade unsynced userptr for export over dma-buf. - - Signed-off-by: Chris Wilson - -commit eb566561e79d00c7ac7b596d428fa26f6de1ec5d -Author: Ville Syrjälä -Date: Mon Apr 14 16:14:40 2014 +0300 - - tests/kms_mmio_vs_cs_flip: Add a test case to exercise mmio vs. CS flip races - - kms_mmio_vs_cs_flip has two subtests: - - setplane_vs_cs_flip tests the interaction between - fullscreen sprites and CS flips - - setcrtc_vs_cs_flip tests the interaction between - primary plane panning and CS flips - - v2: Skip sprite test when there are no sprites - Reduce busy_bo to 64MB (now works on my gen2) - Handle pipe vs. port incompatibility - v3: Handle missing auto pipe crc - - Reviewed-by Rodrigo Vivi - Signed-off-by: Ville Syrjälä - -commit e2ac7a15f195b67a44c474920cd220baab92f6b1 -Author: Daniel Vetter -Date: Thu May 22 09:34:36 2014 +0200 - - tests/kms_sink_crc_basic: Use igt_assert - - Less verbose code makes for clearer test logic. - - Signed-off-by: Daniel Vetter - -commit 0675765eff4a7409afa98734aa0c8fbc02ce5ff6 -Author: Daniel Vetter -Date: Thu May 22 09:32:22 2014 +0200 - - tests/kms_sink_crc_basic: skip properly - - Not running the test is not failing. - - Signed-off-by: Daniel Vetter - -commit f8935351413a23920032604e05802a404b8eaff2 -Author: Daniel Vetter -Date: Thu May 22 09:07:45 2014 +0200 - - Revert "Revert "store_dw_loop: make loops smaller"" - - This reverts commit 3005ac3ee8d7aede73a3e63d2068a6074156ebe5. - - QA has done the testing we've wanted. - - Signed-off-by: Daniel Vetter - -commit c75dcbdac51dcc2d631a4a45049c9421e0229e16 -Author: Daniel Vetter -Date: Tue May 20 15:45:31 2014 +0200 - - tests/kms_flip: various improvements - - - Some debug logging for the ts continuity checks. - - Add a plain vblank-vs-suspend test where kms_flip doesn't switch off - the displays first. - - Ensure that we do at least 2 rounds, the suspend tests bailed out - after 1 round and so didn't test anything. - - Frob the testnames a bit. - - Signed-off-by: Daniel Vetter - -commit 89152791e2ebde5e05c51fc070e3eaa462701f74 -Author: Daniel Vetter -Date: Tue May 20 14:42:12 2014 +0200 - - tests/kms_flip: Add vblank vs. gpu hang testcase - - Currently broken :( - - Signed-off-by: Daniel Vetter - -commit 737d248a127f51d20555de53b9dfe28ca4682b54 -Author: Xiang, Haihao -Date: Tue Mar 25 13:55:14 2014 +0800 - - assembler: distinguish the channel of .z from the condition of .z - - The scratch patch only works for generic register - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75631 - Tested-by: Matt Turner - Signed-off-by: Xiang, Haihao - Signed-off-by: Damien Lespiau - -commit 881afff297835faf67f55ed1e9db596e57fb4cd7 -Author: Xiang, Haihao -Date: Tue Mar 25 13:41:25 2014 +0800 - - assembler: switch the order of swizzle and regtype to match the BNF of the assembly - - Fortunately our existing source didn't use swizzle. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75631 - Tested-by: Matt Turner - Signed-off-by: Xiang, Haihao - Signed-off-by: Damien Lespiau - -commit a6eaa292717f8c8e109ae172d115abea05b5c342 -Author: Imre Deak -Date: Sun May 18 23:37:56 2014 +0300 - - igt/quickdump: vlv: dump FLISDSI regs too - - Signed-off-by: Imre Deak - -commit ad08999794ab883e6755bdf3cdce8ba9ac7a4c6d -Author: Imre Deak -Date: Mon May 19 13:26:35 2014 +0300 - - igt/intel_iosf: rename IOSF sideband opcodes according to the spec - - These opcodes are not specific for an endpoint, but are the same for all - endpoints. So rename them accordingly, using the name the VLV2 sideband - HAS uses. Also move the macros to the .c file, since they aren't used - anywhere else. - - Signed-off-by: Imre Deak - -commit 3005ac3ee8d7aede73a3e63d2068a6074156ebe5 -Author: Daniel Vetter -Date: Mon May 19 18:11:34 2014 +0200 - - Revert "store_dw_loop: make loops smaller" - - This reverts commit f00efff326610fdba92dbc91d951790a3320052e. - - This is a temporary revert since I want QA to first test with the - original testcase whether it got faster again. This is to test the - effects of - - commit 227f782e4667fc622810bce8be8ccdeee45f89c2 - Author: Chris Wilson - Date: Thu May 15 10:41:42 2014 +0100 - - drm/i915: Retire requests before creating a new one - - We should revert this revert again as soon as QA has completed - testing. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=78024 - Cc: Jesse Barnes - Signed-off-by: Daniel Vetter - -commit f00efff326610fdba92dbc91d951790a3320052e -Author: Jesse Barnes -Date: Mon May 19 08:44:12 2014 -0700 - - store_dw_loop: make loops smaller - - These tests are really for catching TLB or GTT mapping failures due to - bad programming in the kernel driver. We've never needed more than a - few pages worth of data write to actually see those. - -commit d71add5c1197706fdd060e7f487293ef8b459d87 -Author: Chris Wilson -Date: Mon May 19 07:26:12 2014 +0100 - - igt/gem_bad_reloc: Refine for limited kernel w/a - - One proposed solution only fixes up the SNA behaviour, so reduce the - test case to probe only that particular pathology. - - Signed-off-by: Chris Wilson - -commit 252d1151a809683b0f6ed2c546358b7375a27f18 -Author: Daniel Vetter -Date: Fri May 16 23:36:25 2014 +0200 - - tests/kms_sink_crc_basic: Put into righ Makefile target - - If it's a simple test, it needs to be in the simple lists. Tests with - subtests go into the _M tests. - - Without that test enumeration is all screwed up. - - Cc: Rodrigo Vivi - Signed-off-by: Daniel Vetter - -commit 542c2b5ed5a2a5beee5912b44f9155ade532dca3 -Author: Oscar Mateo -Date: Fri May 16 14:07:12 2014 +0100 - - tests/kms_flip: test a fb backed by a bo too big/small for its own good - - This is a "review by igt test" for a bug located in - i915_gem_object_pin_to_display_plane and fixed by: - - commit 392013bdd4b6128795e33c84bd6d6d3fd66ff0a3 - Author: Oscar Mateo - Date: Fri May 16 11:23:12 2014 +0100 - - drm/i915: Gracefully handle obj not bound to GGTT in is_pin_display - - Otherwise, we do a NULL pointer dereference. - - I've seen this happen while handling an error in - i915_gem_object_pin_to_display_plane(): - - If i915_gem_object_set_cache_level() fails, we call is_pin_display() - to handle the error. At this point, the object is still not pinned - to GGTT and maybe not even bound, so we have to check before we - dereference its GGTT vma. - - v2: Chris Wilson says restoring the old value is easier, but that - is_pin_display is useful as a theory of operation. Take the solomonic - decision: at least this way is_pin_display is a little more robust - (until Chris can kill it off). - - v2: Avoid code duplication by using igt_create_fb_with_bo_size() as - requested by Ville Syrjälä (original author of the "too big" test idea). - - Signed-off-by: Oscar Mateo - Signed-off-by: Ville Syrjälä - -commit 5bdd4d9b5e371735e0d76339989a9af9bd046702 -Author: Oscar Mateo -Date: Fri May 16 14:07:11 2014 +0100 - - lib/igt_fb: igt_create_fb_with_bo_size - - Useful for testing bigger/smaller fb-wrapped buffer objects. - - Cc: Ville Syrjälä - Signed-off-by: Oscar Mateo - Signed-off-by: Ville Syrjälä - -commit ace8a9e10c7516c7298658a73c3096aa21b5986e -Author: Rodrigo Vivi -Date: Thu May 15 20:13:57 2014 -0400 - - tests/kms_sink_crc_basic: Basic test to verify Sink CRC debugfs. - - v2: rebase after a long time. - - Signed-off-by: Rodrigo Vivi - Signed-off-by: Daniel Vetter - -commit 1c9a5b1a7b63855bc90dfcf371dc0789548ca637 -Author: Daniel Vetter -Date: Fri May 16 10:33:28 2014 +0200 - - tests/pm_pc8 -> pm_rpm rename - - 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" - Signed-off-by: Daniel Vetter - -commit 7357639397fd7457149329494f615bb0053b9036 -Author: Daniel Vetter -Date: Thu May 15 17:02:39 2014 +0200 - - tests/pm_pc8: Use igt_assert_cmpint - - More pretty! - - Signed-off-by: Daniel Vetter - -commit 5e83f0444d0fcef2d5996ef12f9cf1593ccd8f78 -Author: Rodrigo Vivi -Date: Thu May 15 14:06:51 2014 -0400 - - tests/gem_bad_reloc: Adding missing include. - - It was breaking compilation. - - Signed-off-by: Rodrigo Vivi - -commit 6797ca8c75dc57f4a5eaa9ca8d6f180fd24491dc -Author: Daniel Vetter -Date: Thu May 15 16:35:32 2014 +0200 - - tests/kms_render: don't loop through modes - - We kinda have testdisplay for this ... and doing this tends to take - forever. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77709 - Signed-off-by: Daniel Vetter - -commit 943511a3ab53df1db5e631bface63bdae663c4c8 -Author: Daniel Vetter -Date: Thu May 15 10:03:11 2014 +0200 - - tests/gem_reg_read: Fix errno check - - So I accidentally fixed a check when converting to the new macros and - the kernel never returned -ENOENT for invalid regs. Adjust the test. - - Signed-off-by: Daniel Vetter - -commit 6727de0c1abe0b2d6d44255dd30a29dc3ee84993 -Author: Daniel Vetter -Date: Wed May 14 17:59:02 2014 +0200 - - tests/kms_flip: nasty power management tests - - These check whether everything is still ok wrt vblank handling after - runtime pm and system suspend-resume. - - In addition to the usual checks they also ensure that the vblank frame - counter isn't totally ridiculous, something Keith complained about - aeons ago. With Ville's drm_vblank_on/off rework this should now be - fixed and solid. - - v2: - - Ignore seq_step, vblanks completely immediately when the crtc goes off - - Only run system suspend/resume tests once. - - Cc: Keith Packard - Signed-off-by: Daniel Vetter - -commit bd521b493e73d987669afbce8da6418e1aed7db6 -Author: Daniel Vetter -Date: Wed May 14 16:10:50 2014 +0200 - - lib/igt_aux: Extract runtime pm helpers from pm_pc8 - - I want to use them elsewhere ... - - Signed-off-by: Daniel Vetter - -commit 1bee7e8b82e4a264d20df1f5825b8424c9241e39 -Author: Tim Gore -Date: Thu May 15 10:25:48 2014 +0100 - - intel-gpu-tools: Skip kms_fence_pin_leak if no cairo - - The kms_fence_pin_leak test uses igt_kms.c which in turn - uses cairo. So in Android.mk add this test to the skip list - if we dont have cairo - - Issue: VIZ-3894 - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit af1fbc427f50ac38ed93f3e682cf92b9ae1b2f41 -Author: Chris Wilson -Date: Thu May 15 13:37:03 2014 +0100 - - igt/gem_ringfill: Only check for rendercopy when testing render ring - - Overzealous test runner ftl. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78591 - Signed-off-by: Chris Wilson - -commit ef51988ab287c86c2a324271eebf85a68979ac46 -Author: Chris Wilson -Date: Thu May 15 13:23:44 2014 +0100 - - igt/gem_bad_reloc: Restrict negative reloc tests to IVB+ - - The bug doesn't seem to occur on SNB, so we can skip the workaround and - hence we do not expect the kernel to prevent invalid relocated offsets. - - Signed-off-by: Chris Wilson - -commit 465793bfd185062cfaee1b0dd3abf98ce5218333 -Author: Chris Wilson -Date: Thu May 15 13:10:54 2014 +0100 - - gem_exec_lut_handle: Do a warm up pass before timing - - Signed-off-by: Chris Wilson - -commit efd5a571f47885ca1cbd2f20a879d38018fe7c3e -Author: Chris Wilson -Date: Thu May 15 13:10:21 2014 +0100 - - gem_bad_reloc: Add subtest for LUT-based execbuffers - - Signed-off-by: Chris Wilson - -commit daa9e3d80a6c25667b259e864376ac929d5a11bd -Author: Chris Wilson -Date: Thu May 15 08:43:11 2014 +0100 - - Add gem_bad_reloc - - 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 - -commit 62cd793c37135339788fff7ddf99f5039b0282ae -Author: Daniel Vetter -Date: Wed May 14 17:59:25 2014 +0200 - - tests/kms_flip: Fix vblank ts check - - Oops, fumbled that in the conversion. - - Signed-off-by: Daniel Vetter - -commit 78f79e4e95b571b0ee6f407aaea6dc7c0f864985 -Author: Ville Syrjälä -Date: Mon May 12 14:18:42 2014 +0300 - - tests/kms_fence_pin_leak: Exercise full ppgtt fence pin_count leak in the kernel - - The kernel full ppgtt support has a bug where it can drop a pinned - fence to the floor, hence we leak the pin_count as the subsequent - fence unpin becomes a nop. We can trigger it easily by unbinding a - buffer from a ppgtt address space while the buffer is simultaneosly - being used for scanout. - - Make the kernel leak the fence pin_count and trick it into picking - a new fence register for the next scanout buffer. Looping like - this for a while we leak the pin_count for all fence registers after - which the kernel can no longer find a new fence register when it needs - one. As a result we get back a SIGBUS from the GTT mmap access. - - Signed-off-by: Ville Syrjälä - -commit 831eb2119793e55d9c0e1be363a2f480f3183ff6 -Author: Daniel Vetter -Date: Wed May 14 15:33:27 2014 +0200 - - lib/igt_core: Fixup docs with symbolic exit codes - - Conflict between me and Thomas pushing patches in parallel. - - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 17eb062661e02a3cea97c4893d373ce8124a0b94 -Author: Thomas Wood -Date: Tue May 13 15:22:52 2014 +0100 - - lib: add exit status defines - - Add defines for success, skip and timeout exit statuses. - - Suggested-by: Daniel Vetter - Signed-off-by: Thomas Wood - -commit c03d58595e23d155aa470e60e6debaa0ee357a1b -Author: Thomas Wood -Date: Mon May 12 10:20:55 2014 +0100 - - lib: set a timeout when reading crc values - - Signed-off-by: Thomas Wood - Acked-by: Damien Lespiau - -commit d8e5313a276c856fdd6f600e69e26f45e4c370c0 -Author: Thomas Wood -Date: Mon May 12 10:19:52 2014 +0100 - - lib: add igt_set_timeout - - Add a function to stop and fail a test after the specified number of - seconds have elapsed. - - Signed-off-by: Thomas Wood - Acked-by: Damien Lespiau - -commit 5597a1f418f925f7cb298d3f74aab5ebdb0edd36 -Author: Daniel Vetter -Date: Wed May 14 11:52:35 2014 +0200 - - tests/kms_flip: Use asserts - - Signed-off-by: Daniel Vetter - -commit 0b3407f5283c1a091f9c980df76bf6ccfb692f9f -Author: Daniel Vetter -Date: Wed May 14 11:41:55 2014 +0200 - - tests/prime_nv_pcopy: Remove unused tiling tests - - We now know that the hardware can't do this, and it's not designed to. - - Signed-off-by: Daniel Vetter - -commit ee90a4a0dc2cb133bd84283da460069f22c49aac -Author: Daniel Vetter -Date: Wed May 14 11:39:31 2014 +0200 - - tests/prime_nv_pcopy: Drop return values from tests - - Signed-off-by: Daniel Vetter - -commit a7294e0c22d2be22b3f9abbbcad81794c65315c8 -Author: Daniel Vetter -Date: Wed May 14 11:31:31 2014 +0200 - - tests/prime_nv_pcopy: Drop return values from copy/check functions - - Signed-off-by: Daniel Vetter - -commit 8710e302a46761a1164a6453eaf53345fd76fc44 -Author: Daniel Vetter -Date: Wed May 14 10:57:46 2014 +0200 - - tests/prime_nv_pcopy: Use asserts in setup code - - Now we even have more fine-grained checking and only skip if the - nouveau card isn't supported, but fail properly if something else goes - wrong. - - Signed-off-by: Daniel Vetter - -commit 782cda17b932e9f96beca87f61b791990bea8ce5 -Author: Daniel Vetter -Date: Wed May 14 10:49:40 2014 +0200 - - tests/prime_nv_pcopy: Use asserts in nv_bo_alloc - - Step one to untangle the control flow in this test and replace it all - with igt assert magic. - - Signed-off-by: Daniel Vetter - -commit d502ae6f773333b0e073923911bf936842296e73 -Author: Daniel Vetter -Date: Wed May 14 10:44:16 2014 +0200 - - tests/prime_nv_api: Use asserts instead of control flow - - Signed-off-by: Daniel Vetter - -commit 722b25a303bcb927bf233cb773a3f6e3851e2f58 -Author: Daniel Vetter -Date: Wed May 14 10:07:17 2014 +0200 - - tests/gem_seqno_wrap: Replace control flow with asserts - - Only tricky bit was a bit of debug output sprinkled all over, I've - moved it all to cmp_bo. - - Signed-off-by: Daniel Vetter - -commit 0b7ce4ac2929ea56dfde508d551163a5304c66d8 -Author: Daniel Vetter -Date: Wed May 14 09:56:53 2014 +0200 - - tests: Use igt macros more - - Often just folding together of the common if (cond) printf; - abort|igt_skip|igt_fail; pattern. But in a few cases I've ripped out - more since the igt macros will already print the condition and errno. - - A few tests where more work (like ripping out return codes en masse) - is needed left as-is. - - Signed-off-by: Daniel Vetter - -commit e624fa8a2e1a31494c6e47a65e378e480882422d -Author: Daniel Vetter -Date: Wed May 14 00:36:04 2014 +0200 - - tests: sprinkle igt logging - - All the cases that simply dump some debug information and couldn't be - converted to some of the fancier macros. - - Some information output removed when it's redundant with the subtest - status. - - Signed-off-by: Daniel Vetter - -commit 351e7d395041b4b87ad28a201c81acac40cb397f -Author: Imre Deak -Date: Tue May 13 15:49:58 2014 +0300 - - pm_pc8: add system-suspend subtest - - Signed-off-by: Imre Deak - -commit 4e4ff4c1d1189f2dab59af1f1e868d88ab13624a -Author: Ville Syrjälä -Date: Tue May 13 15:02:37 2014 +0300 - - tests/kms_fbc_crc: Use igt_create_color_fb() - - No need to hand roll the alloc fb+paint code anymore, just use the - common helper. - - Signed-off-by: Ville Syrjälä - -commit abc262bf470f0988e10f1cfe4aa8d0f7f5f65519 -Author: Ville Syrjälä -Date: Tue May 13 14:49:53 2014 +0300 - - tests/kms_fbc_crc: Reset display state between subtests - - If a subtest fails it'll leave the display in a state that may prevent - the next subtest from working. So reset the display state between - subtests. - - Signed-off-by: Ville Syrjälä - -commit 54f8f5d13eefbbfb16ffd38be565d5c60ce67440 -Author: Ville Syrjälä -Date: Tue May 13 13:56:41 2014 +0300 - - tests/kms_fbc_crc: Switch to using the igt_display stuff - - Let's try to use the common igt_display framework to make the code a bit - nicer. - - Signed-off-by: Ville Syrjälä - -commit d2d0a96eca2e63a7ec75fd15b81808c42ae796b7 -Author: Ville Syrjälä -Date: Tue May 13 13:38:20 2014 +0300 - - tests/kms_fbc_crc: Simplify pipe_crc mess - - There's no need to keep an array of pipe_crc objects around. Just keep - one for the duration of the specific crtc/connector/test combo. - - Signed-off-by: Ville Syrjälä - -commit 126b8ba72f6a6f017819e00dc2b37a7c6549a143 -Author: Daniel Vetter -Date: Tue May 13 12:28:26 2014 +0200 - - lib/igt_core: Fix type on igt_log doc - - Signed-off-by: Daniel Vetter - -commit 1503d17cc5444d43f37b07d722f7c2a0db7c7f91 -Author: Daniel Vetter -Date: Tue May 13 11:29:34 2014 +0200 - - lib/igt_core: Document testrunner interface a bit - - Also fix up one gtkdoc fumble in igt_fb. We should use symbolic - defines if possible instead of just listening the magic 0, 77, 78 - values for exit codes, but that's a separate patch. - - Cc: tim.gore@intel.com - Signed-off-by: Daniel Vetter - -commit 0be29daac18bebeca6be6e80746ff8abb6476dfc -Author: Tim Gore -Date: Tue May 13 09:34:42 2014 +0100 - - intel-gpu-tools: Move igt tests to intel validation area - - Currently when IGT is built for Android the resulting test - executables go to /system/bin, which is not ideal. After - discussion with the core validation team i have moved them - to /system/vendor/intel/validation/core/igt by setting - LOCAL_MODULE_PATH. - - I have also added a --defsym linker option to export a - symbol that allows a script to easily distinguish between - tests that have subtests and those that dont. There are - better ways to do this (viz, in the source code) but - because the igt tests are not written consistently this - would require many more changes. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit bd7f9ab2cefd4c8fcf57e0dc4e79fef6890a3c71 -Author: Daniel Vetter -Date: Tue May 13 11:12:34 2014 +0200 - - NEWS: Android has libcairo support now! - - Signed-off-by: Daniel Vetter - -commit 41cbe36bba966fdc96d86031f2db5853e2c59ef4 -Author: Tim Gore -Date: Mon May 12 13:39:00 2014 +0100 - - intel-gpu-tools: Build tests needing cairo if ANDROID_HAS_CAIRO=1 - - Until now the tests that depended on libcairo were simply - skipped in the android build. Now that I have a cairo port - working, build these cairo dependent tests if ANDROID_HAS_CAIRO - is set to 1 in the environment. - For information on building cairo for IGT on Android see the - wiki at: - - https://securewiki.ith.intel.com/display/GFXCore/IGT+Test+Suite+on+Android - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit 0fee90b56df9a644b305f6cf37785b8284d410b3 -Author: Brad Volkin -Date: Sat May 10 14:11:53 2014 -0700 - - tests/gen7_forcewake_mt: Don't set the GGTT bit in SRM command - - The command parser in newer kernels will reject it and setting this - bit is not required for the actual test case. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76670 - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 63746417e25b8e9efbeb6021c768695740849a18 -Author: Imre Deak -Date: Mon May 12 13:29:49 2014 +0300 - - testdisplay: fix restoring termio at exit - - At normal exit in test_all_modes we don't restore the original termio, - since g_io_channel_shutdown() closes the stdin fd and so the following - tcsetattr on stdin will fail. We also don't restore the termio at signal - exit. Fix both cases by installing an exit hanlder with a dup'ed stdin fd. - - Signed-off-by: Imre Deak - -commit d848a36545eec43760de7e34a57a796182358087 -Author: Ville Syrjälä -Date: Thu May 8 15:56:24 2014 +0300 - - tests/kms_fbc_crc: Check context support earlier - - Check for context support before doing anything else in the subtest. - - Signed-off-by: Ville Syrjälä - -commit f85fff0de620bc20d8a20896812fcce584983f28 -Author: Ville Syrjälä -Date: Thu May 8 15:56:24 2014 +0300 - - tests/kms_fbc_crc: Allow the subtests to pass even if some planes aren't FBC capable - - Don't skip the entire subtest if FBC only works on some of the primary - planes, as is the case on pre-gen4 and hsw+. Only skip the entire subtest - if all crtc/connector combinations skip. - - Also print some kind of status for all otherwise valid crtc/connector combos - if they skip due to FBC being disabled or CRC support not being there. - - Signed-off-by: Ville Syrjälä - -commit 66d5f092d46120d97a0408dcd8fea0c0e086d7a8 -Author: Chris Wilson -Date: Thu May 8 11:56:56 2014 +0100 - - igt/gem_render_tiled_blits: Speed up by using the GPU to detile - - Avoid accessing via the slow GTT to read back and compare the contents - of each bo against expected results. It is much faster, on llc at least, - to detile using the GPU and then copy to system memory for the compare. - - Before: - - IVB: time sudo ./gem_render_tiled_blits - IGT-Version: 1.6-ge46ff3f (x86_64) (Linux: 3.15.0-rc3+ x86_64) - Using 3072 1MiB buffers - Verifying initialisation... - Cyclic blits, forward... - Cyclic blits, backward... - Random blits... - - real 6m26.005s - user 6m19.234s - sys 0m2.414s - - PNV: time sudo ./gem_render_tiled_blits - IGT-Version: 1.6-g8556f8a (i686) (Linux: 3.15.0-rc2+ i686) - Using 768 1MiB buffers - Verifying initialisation... - Cyclic blits, forward... - Cyclic blits, backward... - Random blits... - - real 1m45.431s - user 1m34.960s - sys 0m4.624s - - Using pread: - - IVB: time sudo ./gem_render_tiled_blits - IGT-Version: 1.6-ge46ff3f (x86_64) (Linux: 3.15.0-rc3+ x86_64) - Using 3072 1MiB buffers - Verifying initialisation... - Cyclic blits, forward... - Cyclic blits, backward... - Random blits... - - real 0m14.717s - user 0m3.699s - sys 0m3.192s - - Using snoop: - - IVB: time sudo ./gem_render_tiled_blits - IGT-Version: 1.6-ge46ff3f (x86_64) (Linux: 3.15.0-rc3+ x86_64) - Using 3072 1MiB buffers - Using a snoop linear buffer for comparisons - Verifying initialisation... - Cyclic blits, forward... - Cyclic blits, backward... - Random blits... - - real 0m13.774s - user 0m3.900s - sys 0m2.089s - - PNV: time sudo ./gem_render_tiled_blits - IGT-Version: 1.6-g8556f8a (i686) (Linux: 3.15.0-rc2+ i686) - Using 768 1MiB buffers - Using a snoop linear buffer for comparisons - Verifying initialisation... - Cyclic blits, forward... - Cyclic blits, backward... - Random blits... - - real 0m20.831s - user 0m4.384s - sys 0m5.032s - - So roughly 10-30x faster depending on platform. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78244 - Signed-off-by: Chris Wilson - -commit e46ff3f8c25957d641420fef4d680d48ce0a365f -Author: Chris Wilson -Date: Thu May 8 10:04:35 2014 +0100 - - igt/gem_lut_handle: Fix errno checking - - Regression from - commit c1404e05b7477122b9923ba029593c2cb64671a7 - Author: Chris Wilson - Date: Tue Apr 29 07:14:33 2014 +0100 - - errno is reset after each syscall - - Signed-off-by: Chris Wilson - -commit 8741c2289f17e9bcb740a01cad4764a71c918eea -Author: Mika Kuoppala -Date: Wed May 7 16:46:19 2014 +0300 - - tests/gem_flink_race,prime_self_import: fix object counts - - We need to add one drm_open_any() before getting the object counts - as first call to drm_open_any() allocates file descriptors for - exit handlers and thus is not symmetrical. - - The regression, assymmetric behaviour, was introduced in: - - commit 2f2c491cf3167befe7c79e4b17afb4f6284dfc84 - Author: Mika Kuoppala - Date: Fri Mar 28 10:52:46 2014 +0200 - - lib/drmtest: don't dup quiescent fd - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77867 - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77875 - Reviewed-by: Daniel Vetter - Signed-off-by: Mika Kuoppala - -commit 7935bbd9ba9508d6993ca019a5b8f3262676e7b5 -Author: Jani Nikula -Date: Tue May 6 14:06:52 2014 +0300 - - intel_bios_reader: make edp block decode match kernel - - All the somewhat recent VBT specs and the kernel have different format - for the eDP block than what the tool decodes. What the tool does *may* - be correct for really old VBT, but I have no specs or other reference to - suppor this. Just do what the kernel does, that's what we're interested - in anyway. - - Reviewed-by: Damien Lespiau - Signed-off-by: Jani Nikula - -commit 4bd9fe6e3409d59e618053f908e33bc291d295f4 -Author: Chris Wilson -Date: Mon May 5 10:57:12 2014 +0100 - - gem_alive: A utility to see if the driver or GPU has hung - -commit c864279de620a6e211b8a197dbdf9e3e1e2b60ab -Author: Chris Wilson -Date: Wed Apr 30 18:39:27 2014 +0100 - - overlay: Parse /proc/interrupts in lieu of debugfs/i915_gem_interrupt - - So the interrupt counter was removed from i915_gem_interrupt, and if we - do not have the perf API available, we therefore need to read it from - /proc/interrupts instead. - - Signed-off-by: Chris Wilson - -commit bff7ecde7bf3757e11ab4559212564e3f4919b89 -Author: Chris Wilson -Date: Wed Apr 30 18:38:26 2014 +0100 - - overlay: Use new i915_frequency_info in fallback code - - Actually use the new location to get frequency information when perf is - not available. - - Signed-off-by: Chris Wilson - -commit b38b8a59a8694ef2d2d4c78283c7c697367766d7 -Author: Daniel Vetter -Date: Thu Apr 24 23:37:05 2014 +0200 - - tests/pm_pc8: subtests for runtime pm for dpms - - Very basic since I lack a bit ideas. After all with the latest - patches runtime pm doesn't make much a difference between dpms off - and disabling the outputs completely with SetCrtc. - - Signed-off-by: Daniel Vetter - -commit 29ee36f2597747c01d5c79c93ed31f5bcd06e219 -Author: Daniel Vetter -Date: Thu Apr 24 23:33:09 2014 +0200 - - lib: extract kmstest_set_connector_dpms - - Signed-off-by: Daniel Vetter - -commit 066ad35ee7b39ab51fb5b8e54c3abd72df016413 -Author: Daniel Vetter -Date: Wed Apr 30 18:05:21 2014 +0200 - - tests: Fix make depencies for test list - - Oops, pretty bad ... - - Signed-off-by: Daniel Vetter - -commit a40f091d8181b911b9dc2e11f50fcc33773d35df -Author: Ville Syrjälä -Date: Tue Dec 18 17:43:13 2012 +0200 - - Add Cherryview PCI IDs - - Signed-off-by: Ville Syrjälä - -commit ce3c443641344d2ecb642e62526ebc2a6eb3a458 -Author: Daniel Vetter -Date: Tue Apr 29 17:17:24 2014 +0200 - - NEWS: Updates - -commit c1404e05b7477122b9923ba029593c2cb64671a7 -Author: Chris Wilson -Date: Tue Apr 29 07:14:33 2014 +0100 - - errno is reset after each syscall - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78055 - Bugilla: https://bugs.freedesktop.org/show_bug.cgi?id=78053 - Signed-off-by: Chris Wilson - -commit fa86e33ccc56ee84f2f9ac924943eef0f1469a32 -Author: Ville Syrjälä -Date: Mon Apr 28 17:58:45 2014 +0300 - - tests/gem_stress: Fix rendercopy vs. keep_gpu_busy on gen6+ - - If the hardware has a blt ring blits aren't allowed on the render ring. - Trying to execute blits on the render ring results in a GPU hang. - - Flush outstanding blits from keep_gpu_busy() before calling rendercopy() - so that they don't end up on the render ring. - - Signed-off-by: Ville Syrjälä - -commit 6abfe2f0dbe80f8c1d4986367d56842bbf94d23e -Author: Daniel Vetter -Date: Mon Apr 28 15:26:15 2014 +0200 - - tests/gem_exec_params: One more invalid ring tests - - With the vebox 2 patches the number of internal rings don't match the - number of exposed rings. So add another subtest with an invalid ring - which should be invalid both internally and externally. The bug this - will catch is using the ring structure before validation, which the - old "invalide-ring" wont be able to due to the internal vebox2 ring. - - Signed-off-by: Daniel Vetter - -commit a595a400788bac972cb24ec78ae36db113419237 -Author: Imre Deak -Date: Fri Apr 25 10:26:46 2014 +0300 - - tests/pm_pc8: skip the test if runtime PM is disabled - - The PC8 state won't be entered unless runtime PM is enabled, so support - for PC8 residency counters alone is not enough to run this test. - - Signed-off-by: Imre Deak - Reviewed-by: Daniel Vetter - -commit e36c896a71660b09fd4f96ef5342009cd5908b80 -Author: Daniel Vetter -Date: Fri Apr 25 17:57:22 2014 +0200 - - test: Fixup for the previous patch - - Oops, failed to git add. - - Signed-off-by: Daniel Vetter - -commit 1b55886c4ba111b2ba331b03289658cbd1ae0e2e -Author: Daniel Vetter -Date: Fri Apr 25 17:52:02 2014 +0200 - - test/gem_userptr_*: Fix compile fail - - Also shut up warnings. Those revealed incorrect usage of local - variables in conjunction with igt_fixture/igt_subtest. Since those use - longjmps we need to move the out of the stackframe those magic blocks - are declared in. - - Signed-off-by: Daniel Vetter - -commit d3057d7a1eba0c050f5d6d9674d56d1794b1f066 -Author: Tvrtko Ursulin -Date: Fri Apr 25 15:42:20 2014 +0100 - - tests/gem_userptr_benchmark: Benchmarking userptr surfaces and impact - - This adds a small benchmark for the new userptr functionality. - - Apart from basic surface creation and destruction, also tested is the - impact of having userptr surfaces in the process address space. Reason - for that is the impact of MMU notifiers on common address space - operations like munmap() which is per process. - - v2: - * Moved to benchmarks. - * Added pointer read/write tests. - * Changed output to say iterations per second instead of - operations per second. - * Multiply result by batch size for multi-create* tests - for a more comparable number with create-destroy test. - - v3: - * Use ALIGN macro. - * Catchup with big lib/ reorganization. - * Removed unused code and one global variable. - * Fixed up some warnings. - - v4: - * Fixed feature test, does not matter here but makes it - consistent with gem_userptr_blits and clearer. - - Signed-off-by: Tvrtko Ursulin - Cc: Chris Wilson - Cc: Brad Volkin - Reviewed-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit a3e97ddcbf53c99af3b0a25db9a055119d312116 -Author: Tvrtko Ursulin -Date: Fri Apr 25 15:42:19 2014 +0100 - - tests/gem_vmap_blits: Remove obsolete test case - - No need for the old test case once the new one was added. - - v2: - * Just rebase for lib/ reorganization. - - Signed-off-by: Tvrtko Ursulin - Reviewed-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 863c0730f3aa695f2e968e1f38e0f36c4f8af310 -Author: Tvrtko Ursulin -Date: Fri Apr 25 15:42:18 2014 +0100 - - tests/gem_userptr_blits: Expanded userptr test cases - - 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 - Reviewed-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit a461515b334ebb7782ee15e31f943e7a6753d845 -Author: Ville Syrjälä -Date: Fri Apr 25 15:27:57 2014 +0300 - - kms_cursor_crc: Fix the test on platforms where the pipe->port mapping has restrictions - - On gen2 for instance the LVDS port can only be fed from pipe B. Check - whether the combinations is valid before trying to run the test. Also - clean up the state back to PIPE_ANY properly so that following tests - can again go through all the combinations. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75131 - Signed-off-by: Ville Syrjälä - -commit 5b90833941f17d175204041c86ad84c6662e55df -Author: Ville Syrjälä -Date: Fri Apr 25 13:37:09 2014 +0300 - - kms_cursor_crc: Wrap igt_require() in igt_fixture - - igt_require() must be within a fixture or subtest. - - Signed-off-by: Ville Syrjälä - -commit f688a56ee8285f6ebc416d5038eded73f04602bb -Author: Ville Syrjälä -Date: Fri Apr 25 13:38:31 2014 +0300 - - kms_cursor_crc: Replace snprintf()+%s with just %d - - There's no point in first printing the int to temp string using %d - and then printing that out with %s. Just stick the %d into the final - string. - - Signed-off-by: Ville Syrjälä - -commit fb2ccb1ade605e7c55da2ee82c9cd41d98270fa5 -Author: Ville Syrjälä -Date: Fri Apr 25 13:50:59 2014 +0300 - - kms_cursor_crc: Allow the test to run without cursor cap support - - Assume that only 64x64 cursor size is supported if the cursor size caps - aren't supported by the kernel. This allows the test to run on older - kernels. - - Signed-off-by: Ville Syrjälä - -commit f8e5a3fc7e92f67cea7c1832e786cbb344aefd5e -Author: Ville Syrjälä -Date: Fri Apr 25 13:49:11 2014 +0300 - - kms_cursor_crc: Wrap cursor fb creating into igt_fixture - - We don't want to attempt creating the cursor fb when enumerating - subtests. So wrap it into igt_fixture. Also destroy the cursor - fb after the tests. - - Signed-off-by: Ville Syrjälä - -commit f6e869732cfa054bfa218aa465b989c85a0ba489 -Author: Ville Syrjälä -Date: Thu Apr 24 19:07:18 2014 +0300 - - kms_cursor_crc: Simplify the pipe_crc mess - - Instead of allocating an array of igt_pipe_ctc_t objects, just allocate - one and stick it into test_data. - - Signed-off-by: Ville Syrjälä - -commit aaef7ad37614f5d139b06d63b3052ae8cefe57ed -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:12 2014 +0300 - - kms_cursor_crc: Add background picture - - This gives the cursor something to be on, instead of just a black - background. Slows the test down only one second over six minutes. - - Signed-off-by: Antti Koskipaa - -commit fafcff90a870844e0febdda4066b361479df3747 -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:11 2014 +0300 - - kms_cursor_crc: Add random cursor placement test - - Signed-off-by: Antti Koskipaa - -commit 470e5ce6c34731a1c76a1089dabfb6144f4f1429 -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:10 2014 +0300 - - kms_cursor_crc: Add moving cursor test - - Signed-off-by: Antti Koskipaa - -commit 795eddc63967a10cc186609259f61d531e41e078 -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:09 2014 +0300 - - kms_cursor_crc: Add reference software rendering - - This patch first render the cursor with hardware rendering and - then with software, acquiring the CRC in both cases so they can be - properly compared. Say goodbye to crc_must_match variable. - - Signed-off-by: Antti Koskipaa - -commit ead0173c4d14899045dfe3595b119c49229f0dc3 -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:08 2014 +0300 - - kms_cursor_crc: Separate onscreen and offscreen tests - - Also remove onscreen boolean from parameter list. All test-related - data should be put into test_data from now. - - Signed-off-by: Antti Koskipaa - -commit fe8041b8f954468acdccbba1e7ced1712cf3b629 -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:07 2014 +0300 - - kms_cursor_crc: Use a function pointer to call test - - More tests are coming, and this allows us to not repeat the boilerplate - code in run_test() for each subtest. - - Signed-off-by: Antti Koskipaa - -commit 7ec631c2426917020ab76d6d305132ab190372ea -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:06 2014 +0300 - - kms_cursor_crc: Move cursor enable and disable calls where they belong - - We can't have the hw cursor enabled during software render tests. - - Signed-off-by: Antti Koskipaa - [vsyrjala: collect the crc before disalbing the cursor] - Signed-off-by: Ville Syrjälä - -commit a593d613f9ccafa5ba95ec4b9542cd00eef1cc7b -Author: Antti Koskipaa -Date: Thu Apr 10 15:08:05 2014 +0300 - - kms_cursor_crc: Remove some test cases and change cursor to color - - Currently this test is quite useless, since it only checks for valid CRCs when - the correct output from a test is a completely black screen (invisible or visible - but black cursor, or cursor is offscreen) and disables the check when anything - visible is onscreen. - - This patch changes the cursor to a colorful one and removes the test cases - that become redundant because of this change. The cursor is designed to be - asymmetrical such that future tests involving rotation, mirroring, etc. produce - different CRCs and failures can be detected. - - This (temporarily) disables CRC testing until the next patch which will add - software rendering of the cursor and the CRC generation. - - Signed-off-by: Antti Koskipaa - -commit b918a3ba15b510edfeb37a375ffacd5bdb5e1410 -Author: Chris Wilson -Date: Fri Apr 25 07:40:34 2014 +0100 - - Reset errno to 0 after success - - errno is only valid after a syscall wrapper (e.g. ioctl()) reports an - error. However, we report the last errno value as a part of the - igt_assert() output and so we display spurious values such as: - - Test requirement not met in function gem_require_ring, file ioctl_wrappers.c:802: - Last errno: 11, Resource temporarily unavailable - Test requirement: (!((((intel_get_drm_devid(fd)) == 0x0102 || ... - - Signed-off-by: Chris Wilson - -commit 5d7649690c80b531a4949e275926315a749455e3 -Author: Tvrtko Ursulin -Date: Wed Apr 23 17:03:23 2014 +0100 - - benchmarks: Build them on Android. - - They build fine so give them some exposure. - - Signed-off-by: Tvrtko Ursulin - Reviewed-by: Brad Volkin - Signed-off-by: Thomas Wood - -commit dc14bf455d66a0a31253ac4fa3e024eb1e036968 -Author: Tvrtko Ursulin -Date: Wed Apr 23 16:07:55 2014 +0100 - - tests: Extract ALIGN macro into a common header - - Makes for a little bit less code duplication, especially since - it will be used from more callers in the future. - - Signed-off-by: Tvrtko Ursulin - Reviewed-by: Brad Volkin - Signed-off-by: Thomas Wood - -commit e32664c8ee47d8eb01955240672a198aab7e2969 -Author: Tvrtko Ursulin -Date: Wed Apr 23 16:02:47 2014 +0100 - - tests: Skip building kms_flip_tiling on Android - - Dependencies are not available at the moment so it does not build. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Thomas Wood - -commit 1639022aa85e57cdf365f2be1a165263cb251ddd -Author: Daniel Vetter -Date: Thu Apr 24 10:43:38 2014 +0200 - - tests/gem_exec_params: Fix rel-constants-invalid subtest - - Reported by Ville and Zhao Yakui. - - Cc: Ville Syrjälä - Cc: Zhao Yakui - Signed-off-by: Daniel Vetter - -commit 5a8c06464e025495f0b9143dbcec76f02354d58a -Author: Zhao Yakui -Date: Thu Apr 24 10:15:45 2014 +0800 - - tests/gem_dummy_reloc_loop: Add one subtest based on multi drm_fd to test CPU<->GPU 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 CPU<->GPU sync for the second BSD ring. - - V1->V2: Follow Daniel's comment to add one subtext instead of one individual - test case, which is used to test the CPU<->GPU sync under multi BSD rings. - - V2->V3: Follow Imre's comment to remove the unnecessary initialization and - use igt_assert_f instead of igt_assert - - Reviewed-by: Imre Deak - Signed-off-by: Zhao Yakui - Signed-off-by: Daniel Vetter - -commit ae8e646127715e816376c6324c9109331bad6503 -Author: Zhao Yakui -Date: Thu Apr 24 10:15:44 2014 +0800 - - tests: Add one ring sync case based on multi drm_fd to test ring semaphore 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 - Signed-off-by: Zhao Yakui - Signed-off-by: Daniel Vetter - -commit cd3850e28e5ec83dc15462b965310794effb71b1 -Author: Daniel Vetter -Date: Wed Apr 23 20:23:28 2014 +0200 - - tests: Add gem_exec_params - - 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 - -commit 4e93890377fc1b33fbbad29759299634f0eebfa9 -Author: Chris Wilson -Date: Thu Apr 24 07:58:09 2014 +0100 - - Add gem_render_copy_redux - - 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 - -commit 78e4c2b449c6d0a18e2bfaea29f3a0eadb42c5f3 -Author: Ville Syrjälä -Date: Wed Apr 16 17:05:43 2014 +0300 - - lib: Fix potential out of bounds access in ring stop code - - The subsequet code expects the read() to not have filled the entire - buffer, and yet we allow it to do so. Reduce the size passed to read() - by 1 to make the code sane. - - Signed-off-by: Ville Syrjälä - -commit 4aa2c102b933d11cc85e0dc6fe607924e248b652 -Author: Ville Syrjälä -Date: Wed Apr 16 17:07:07 2014 +0300 - - lib: Fix assert failure in ring stop code - - The assert in igt_set_stop_rings() is a bit bogus. Suppsoedly it was - meant to assure that the caller always restores the rings to running - state after stopping them. But in its current form it will trigger - any time someone calls the function and the rings were already stopped. - So you can't even restore the rings to running state w/o the assert - triggering. - - Fix it up so that it'll ignore the current ring state when we're trying - to restore the rings back to running state. - - Signed-off-by: Ville Syrjälä - -commit 43c2ed758fea849d666af519cd2382d6d6bc6607 -Author: Ville Syrjälä -Date: Mon Apr 14 16:23:18 2014 +0300 - - tests: Compile all the tests - - A bunch of the tests aren't being built due to a missing '\'. Fix it. - - The problem was introduced here: - commit ddf8cc107e3b78e4c8200b083ed298c24eec1f03 - Author: Ander Conselvan de Oliveira - Date: Wed Apr 2 15:31:38 2014 +0300 - - test: Add test for checking if page flip changes tiling - - Signed-off-by: Ville Syrjälä - -commit 4fbd49beb94c299b38555b4ef647588fca47a388 -Author: Daniel Vetter -Date: Fri Apr 11 16:16:31 2014 +0200 - - tests/kms_flip_tiling: Fixes - - - Wrap up testcase correctly into the magic code block. - - Put local variables out of the longjmp danger zone. - - Cc: Ander Conselvan de Oliveira - Signed-off-by: Daniel Vetter - -commit ddf8cc107e3b78e4c8200b083ed298c24eec1f03 -Author: Ander Conselvan de Oliveira -Date: Wed Apr 2 15:31:38 2014 +0300 - - test: Add test for checking if page flip changes tiling - - Test that a page flip from a tiled buffer to a linear one works - correctly. First, it sets the crtc with the linear buffer andr - generate a reference crc for the pipe. Then, the crtc is set with - the tiled one and page flip to the linear one issued. A new crc is - generated and compared to the rerence one. - - Signed-off-by: Ander Conselvan de Oliveira - -commit cc730c418f44245c49776059b2564f54da4449e6 -Author: Daniel Vetter -Date: Tue Mar 11 16:14:33 2014 +0100 - - lib/kmstest: Fix up tiled buffer creation - - When extracting a raw __gem_set_tiling helper I've fumbled this in - - commit 590f6101402b51bca54f69c002380bda967484ea - Author: Daniel Vetter - Date: Wed Oct 9 20:50:50 2013 +0200 - - lib/drmtest: extract rawer __gem_set_tiling - - Fix things up so that we properly propaget the error again. - - Now to make this all properly work we also need to make kms_flip a - notch more robust against such failures ... - - This only blows up on gen2/3 with the pan tests which want a too wide - framebuffer for tiling. - - Signed-off-by: Daniel Vetter - -commit 99b8f807010483128f10f7934a864c78b4438b34 -Author: Mika Kuoppala -Date: Thu Apr 10 17:51:39 2014 +0300 - - tests/gem_reset_stats: fix length check in inject_hang - - To avoid writing past the batch end. - - Signed-off-by: Mika Kuoppala - -commit 53ad1e4a7040c57355b57fc3cdc8d9a003687a32 -Author: Mika Kuoppala -Date: Fri Mar 28 15:12:14 2014 +0200 - - tests/gem_reset_stats: check gpu state before each subtest - - Some tests, namely the close pending variety, tries to - carefully drop all handles to gpu when hang is intruduced, - to expose bugs in reset handling without any clients. - - Add guards after and before tests to really know if - the gpu is still alive as the particular test might - report success and then gpu dies few seconds after. - - Signed-off-by: Mika Kuoppala - -commit 2f2c491cf3167befe7c79e4b17afb4f6284dfc84 -Author: Mika Kuoppala -Date: Fri Mar 28 10:52:46 2014 +0200 - - lib/drmtest: don't dup quiescent fd - - If we dup the fd, we are in mercy of the context banning - of the test application. Better to have our own to guarantee - that gem_quiescent_gpu won't find itself banned on exit. - - Signed-off-by: Mika Kuoppala - -commit d983a47f1470cbea8388864537dbe5aff5575df6 -Author: Mika Kuoppala -Date: Tue Mar 25 12:52:19 2014 +0200 - - tests: use lib igt_[get|set]_stop_rings() - - on gem_reset_stats, kms_flip and pm_rps. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75876 - Signed-off-by: Mika Kuoppala - -commit bfa6fa9a4bfdd7988a1ed68c9c97f9cc53d0f50c -Author: Mika Kuoppala -Date: Tue Mar 25 12:21:44 2014 +0200 - - lib: add igt_get_stop_rings and igt_set_stop_rings - - Multiple tests are introducing hangs by fidding with i915_ring_stop - debugfs entry. - - Signed-off-by: Mika Kuoppala - -commit 1c7ca57e531315f78f8ea3b9dce7bd92d7d79f64 -Author: Mika Kuoppala -Date: Thu Apr 10 16:06:27 2014 +0300 - - tests/gem_reset_stats: end hanging batch properly - - As we use chained batch into itself to hang the gpu, there - was no need to end the batchbuffer with BATCH_BUFFER_END. - - With the introduction of command parser, the batch - need to have proper BATCH_BUFFER_END in it or it - will be rejected. - - While at it, shift the upper half of batch gtt_offset - accordingly with gen8+ - - Signed-off-by: Mika Kuoppala - -commit f74c443925578b377c47d655a2d864b8ed521330 -Author: Brad Volkin -Date: Thu Mar 27 11:44:45 2014 -0700 - - tests/gem_exec_parse: Test for OACONTROL tracking - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 9eec5b0f11d864c986511db07d447e379bcef696 -Author: Chris Wilson -Date: Mon Apr 7 13:10:41 2014 +0100 - - gem_tiled_swapping: Test using all available fences - - Use extra threads to cause extra memory pressure and stress upon the - relevant code. Limit the number of threads to available fences to avoid - falling off the fence cliff. - - Signed-off-by: Chris Wilson - -commit ff7806e52c4e9b7c522e59ba8514c5c6e3fa8683 -Author: Chris Wilson -Date: Mon Apr 7 13:09:46 2014 +0100 - - gem_tiled_swapping: Purge all page/swap caches first - - Reset the system to a vanilla state before we query how much RAM/swap - space is available for our testing. - - Signed-off-by: Chris Wilson - -commit 5d607a744f3df07235355ebcb5376e2464e2f4b1 -Author: Chris Wilson -Date: Mon Apr 7 12:07:14 2014 +0100 - - intel-gpu-overlay: Update debugfs path for min/max frequency - - Signed-off-by: Chris Wilson - -commit 574d62db398af45a8cb1d38fd77dd50bd645149b -Author: Paulo Zanoni -Date: Fri Apr 4 13:24:53 2014 -0300 - - tools/intel_reg_dumper: use haswell_debug_regs on BDW too - - Instead of using an older set of registers. - - Signed-off-by: Paulo Zanoni - -commit 1fd9fc00127026b56dbd5cea323a63bdd4e69706 -Author: Paulo Zanoni -Date: Fri Apr 4 13:22:56 2014 -0300 - - tests/pm_pc8: skip tests when no screens are connected - - Instead of failing, just skip the tests. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73642 - Signed-off-by: Paulo Zanoni - -commit abba92d9cff1ab9a3b492f9742e8cd1b3f669800 -Author: Paulo Zanoni -Date: Mon Mar 31 17:01:59 2014 -0300 - - tests/pm_pc8: add missing newline - - Otherwise the output will get even more confusing. - - Signed-off-by: Paulo Zanoni - -commit d6362ce8a81a40bc30e1e7b34d14c27f7bfcd954 -Author: Daniel Vetter -Date: Thu Apr 3 18:03:21 2014 +0200 - - tests/gem_cmd_parse: restrict to gen7 - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76982 - Signed-off-by: Daniel Vetter - -commit e8869c4bc439de941be399d156323620a2d6ecda -Author: Chris Wilson -Date: Thu Apr 3 09:43:58 2014 +0100 - - gem_tiled_swapping: Limit to available memory - - If there is not enough free RAM+swap for us to execute our test, we will - hit OOM, so check first. - - Signed-off-by: Chris Wilson - -commit b8afe98004ed0e082bf5d019a86f27a5909f0e4d -Author: Mika Kuoppala -Date: Wed Apr 2 15:13:21 2014 +0300 - - lib/rendercopy: fix alloc len for gen7_bind_buf - - Fortunately saved by the alignment. - - Reviewed-by: Chris Wilson - Signed-off-by: Mika Kuoppala - -commit d4933259b84a304145634cc6ec5d9eebeb612711 -Author: Thomas Wood -Date: Wed Apr 2 11:41:43 2014 +0100 - - tests: create files that list the available tests - - 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 - Signed-off-by: Daniel Vetter - -commit 22bc1a287eb6c0e7b89001424c895dd776f9a28b -Author: tgore -Date: Mon Mar 31 11:55:40 2014 +0100 - - intel-gpu-tools: avoid include of cairo.h on Android builds - - A recent commit means igt_debugfs.c now needs to include igt_kms.h, - which in turn includes igt_fb.h and hence cairo.h. - We need to avoid this inclusion of cairo.h when building for Android, - (until we have a cairo port) so I have added a #ifndef around it. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit 4fdca96066e36cb4d41019e58c8387e0a5e0f2f5 -Author: Daniel Vetter -Date: Fri Mar 28 17:54:58 2014 +0100 - - tools/quick_dump: Fix make distcheck - - Someone really needs to fix this Makefile ... - - Signed-off-by: Daniel Vetter - -commit e599ff443cdcd90399666dc75226d73a943cc89f -Author: tgore -Date: Fri Mar 28 12:54:59 2014 +0000 - - intel-gpu-tools: fix some include path problems on android builds - - When building within the android tree (specifically in /external) - the compilation fails due to the wrong versions of some header files - getting picked up. This commit adds some include paths to ensure the - correct headers are found - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit a96c6340768772590cf548ed8b81a10877fc7b43 -Author: tgore -Date: Fri Mar 28 12:54:58 2014 +0000 - - intel-gpu-tools: fix problem with redefinition of mmap64 - - In android builds there is no reliable way to determine if mmap64 is defined - or not, and this sometimes leads to a compile error due to its re-defnition. - So this commit avoids its use altogether in intel-gpu-tools for Android builds, - unless the HAVE_MMAP64 macro is defined. - - Signed-off-by: Tim Gore - Signed-off-by: Daniel Vetter - -commit 798fca377a0e26cffb40e5a97230baaac4b12733 -Author: Daniel Vetter -Date: Thu Mar 27 23:04:02 2014 +0100 - - README: update piglit cmd - - Pointed out by Jesse. - - Signed-off-by: Daniel Vetter - -commit 2031da4073da0dc09ed9debb319e924ae5dc8b2a -Author: Jesse Barnes -Date: Thu Mar 27 11:10:18 2014 -0700 - - intel_infoframes: remove bogus "being transmitted" check from VLV - - This bit is reserved on VLV. - -commit c1c96d8342ee2d629d09a2be576d5bf984e9228b -Author: Jesse Barnes -Date: Thu Mar 27 11:01:06 2014 -0700 - - intel_infoframes: add VLV support - - Different reg offsets and such. - -commit 47c551bd700b50fded87ccf81384fb2e384e5f6b -Author: Ben Widawsky -Date: Thu Mar 27 09:56:59 2014 -0700 - - quick_dump: Put the cairo cflags with the other cflags. - - I had been hoping we can avoid linking against cairo, but alas it was - not meant to be. - - Signed-off-by: Ben Widawsky - -commit 9048aa1974aee567617220f9685ad115be0cbae7 -Author: Daniel Vetter -Date: Wed Mar 26 22:57:52 2014 +0100 - - tools/quick_dump: re-apply ducttape - - Someone with actual automake-fu really needs to fix this up for real - since compiling a bunch of source files again, with broken dep - tracking even just because we can't link against a .la somehow really - isn't too awesome. - - Signed-off-by: Daniel Vetter - -commit 961a46c82b4fe558ea726833aa9d390382742a10 -Author: Daniel Vetter -Date: Wed Mar 26 22:15:12 2014 +0100 - - tests/pm_rps: Add a new testcase to provoke the "stuck at max" bug - - Note that the sleep(5); to fully idle the gpu is _really_ important. - Without it the bug is not exhibited. - - The issue at hand is that after gem_quiescent_gpu we are at max - (expected, since the blocking waits peg to max), but then we never go - down to a lower freq again until we're fully idle. The tiny load is - sufficient to keep the gpu at max. I've played around with this a bit - and even ridiculously low loads (like one MI_STORE per 50ms) are - enough to keep the gpu at max freq. - - Signed-off-by: Daniel Vetter - -commit 669a2fca6c5ccd256d2d767107963840f7de438e -Author: Daniel Vetter -Date: Wed Mar 26 21:30:17 2014 +0100 - - tests/pm_rps: quiescent harder - - Apparently some rps chips are prone to stick to max once you're there. - And all the synchronous waits in gem_quiescent_gpu are _really_ good - at forcing the kernel to go full throttle. - - And even a positively tiny load (one MI_STORE_IMM per 50 ms) is enough - to eternally keeep it there, which means the first idle measurement of - the freqs before we do the reset it completely busted. - - Just add a wait before the tricky test and call it a day. - - Option b) would have been to now have this tiny load, but I think a - good reminder how quirky rps is is always welcome. Just in case we - start sleeping too easy at night. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74956 - Signed-off-by: Daniel Vetter - -commit 896b550984cf3ffd0fa67051d5b9cf0239634894 -Author: Damien Lespiau -Date: Mon Mar 24 18:42:39 2014 +0000 - - rendercopy/gen8: Remove a hole in struct gen8_blend_state - - Using uint64_t in that second member makes it aligned to 64bits, while - the first member is only 32bits. We then had a 32bits hole in there! - - Found-by: Chris Wilson - Cc: Ben Widawsky - Cc: Rafael Barbalho - Tested-by: Rafael Barbalho - Signed-off-by: Damien Lespiau - -commit 7255a84c9c8f4d46b47d490331100a11179180a1 -Author: Jesse Barnes -Date: Wed Mar 26 11:02:48 2014 -0700 - - testdisplay: make termio unbuffered - - So hotkeys take effect immediately. - -commit 3d9e63f2ad0c676b3efba4c854ef645ae60ee7e1 -Author: Daniel Vetter -Date: Wed Mar 26 16:37:15 2014 +0100 - - lib/igt_fb: api documentation - - Also realign function parameters and replace abort() with igt_fail() - while at it. - - v2: Forgotten to add a nice intro. - - Signed-off-by: Daniel Vetter - -commit 7568edf4b1dd0f8c1b061a2bb53d593ff9d4d33d -Author: Daniel Vetter -Date: Wed Mar 26 16:36:46 2014 +0100 - - lib/igt_fb: setup font in igt_get_cairo_ctx - - We always want the same boring one, so extract it. - - Signed-off-by: Daniel Vetter - -commit ae461e67e8816aa7cd80791216a839d92e04f0e5 -Author: Daniel Vetter -Date: Wed Mar 26 16:09:27 2014 +0100 - - lib/igt_fb: drop kmstest_ prefix from static functions - - Signed-off-by: Daniel Vetter - -commit c6c2b2bb7039e8cc89841bd9782a61b7d734dfe2 -Author: Daniel Vetter -Date: Wed Mar 26 15:15:49 2014 +0100 - - lib/igt_kms/bf: doc skeleton - - igt_kms docs are just skeleton and also added igt_fb to make sure the - linking works correctly. - - Next up: Actually documenting igt_fb. - - Also fix that depency spelling fumble I've copied around to a few too - many places. - - Signed-off-by: Daniel Vetter - -commit 64401f57e958998d537ff67525d5f1e9a4f76b22 -Author: Daniel Vetter -Date: Wed Mar 26 10:19:42 2014 +0100 - - lib: fold igt_display into igt_kms - - For 1 function and 2 types we kinda don't need separate files. - Especially now that igt_kms is much more focused on the actual modeset - stuff with all the framebuffer helpers extracted to igt_fb. - - Signed-off-by: Daniel Vetter - -commit 9aea7ae541212e4116af8d5d922d7cbcc571df50 -Author: Daniel Vetter -Date: Wed Mar 26 09:18:11 2014 +0100 - - lib/igt_fb: switch to igt_ prefix from kmstest_ - - Shorter and more in line with our general igt_ prefix for everything - which isn't somehow intel or i915-gem or otherwise hw specific - these - helpers here are all fully generic framebuffer handling functions - based on kms + cairo. - - Well, the actual buffer alloc is done with i915 gem, but meh ;-) - - Two special cases: - - bpp_depth_to_drm_format and drm_format_to_bpp completely lacked - prefixes, so just add igt_. - - write_fb was a bit misleading given that we have gem_write for - uploading to buffers. Rename that to write_fb_to_png to make it - crystal clear what this thing does even without looking at docs. - - Signed-off-by: Daniel Vetter - -commit 57d7db8cf8c407541d1ed57348a6f468c2b73577 -Author: Daniel Vetter -Date: Wed Mar 26 09:06:11 2014 +0100 - - lib: extract igt_fb library - - Stuff all the framebuffer creation, cairo and drm fourcc format - handling in there. This gives us a very clear cut in the headers where - igt_fb.c only needs to include igt_fb.h, and igt_kms.c includes both - (well igt_kms.h pulls in igt_fb.h since we always need this). - - The aim here is to add api docs for igt_fb since that part of the kms - library seems fairly stable already, while all the mode setting and - iteration is still a bit in flux. - - Signed-off-by: Daniel Vetter - -commit 0b3019733bce0eb7ec4bce39e4ee470f98639c36 -Author: Daniel Vetter -Date: Sun Mar 23 16:53:49 2014 +0100 - - gitignore: Add logfiles from make check - - A bit annoying to see this stuff around in git status, so exclude it. - - Signed-off-by: Daniel Vetter - -commit ef107940bb1f1aaa8608d5c7f6840a9990706dec -Author: Daniel Vetter -Date: Sun Mar 23 16:53:14 2014 +0100 - - lib/igt_kms: make kmstest_get_cairo_surface static - - Only used internally in igt_kms.c. - - Signed-off-by: Daniel Vetter - -commit 2fc2fa547190f1ba6083ffab67f9ebfb077a544d -Author: Daniel Vetter -Date: Sun Mar 23 16:52:49 2014 +0100 - - lib/igt_kms: s/kmstest_create_fb2/kmstest_create_fb/ - - Simplify the name since the old _fb function is now gone. - - Signed-off-by: Daniel Vetter - -commit 70182167d6d39e18d03109687918752d04165c32 -Author: Daniel Vetter -Date: Sun Mar 23 16:36:40 2014 +0100 - - lib: remove kmstest_create_fb - - Use the new-style function using drm fourcc codes instead everywhere. - - To easily use thew fourcc based interface also expose - bpp_depth_to_drm_format from the library. Finally include drm_fourcc.h - from the igt_kms.h header since pretty much everyone needs this now. - - Signed-off-by: Daniel Vetter - -commit 288e80f2788153cefda271e3847c82af3f40791c -Author: Daniel Vetter -Date: Sun Mar 23 16:24:38 2014 +0100 - - lib/igt_aux: Lost doc polish hunk. - - Oops. - - Signed-off-by: Daniel Vetter - -commit 785a0cd4ba8bf7e89dc91fdc6c2fbe2e78d26f5b -Author: Ben Widawsky -Date: Tue Mar 25 11:35:23 2014 -0700 - - quick_dump: Fix the danvet fallout. - - quick_dump built fine, but it could actually run, since a lot of the - linking happens at run time. There is one hack where we redefine the - environment stuff, since depending on igt_aux means we have to pull in - libdrm, which I do not want to do. - - Cc: Ville Syrjälä - Signed-off-by: Ben Widawsky - -commit db25973c8651052dc2fd024ab67a8cea878aedc4 -Author: Mika Kuoppala -Date: Wed Mar 26 17:24:43 2014 +0200 - - lib/intel_batchbuffer fix OUT_RELOC doc tag - - Signed-off-by: Mika Kuoppala - -commit 71c6f87eb3dacffbd489c83acfe95baf613d20cb -Author: Daniel Vetter -Date: Wed Mar 26 15:09:23 2014 +0100 - - lib/igt_core: fix igt_skip_on_simulation regression - - I've forgotten that we might want to call this from within specific - subtests (or special helpers like the autoresume one). - - Also props for being competent enough to write a testcase, but - incompetent enough to botch the job up. - - Fix both things and remove a leftover debug printf while at it. - - Signed-off-by: Daniel Vetter - -commit c8190147526000bc002c611bd3612caf2de22bf8 -Author: Daniel Vetter -Date: Tue Mar 25 17:46:32 2014 +0100 - - README: document quirks for regenerating gtk-doc - - It sucks a bit atm :( - - Signed-off-by: Daniel Vetter - -commit 05f6a35d40a9374ea560c88c2b12a715eb404261 -Author: Daniel Vetter -Date: Tue Mar 25 14:23:20 2014 +0100 - - tests/gem_exec_parse: fixups for the recent massive refactoring - - I think we might have some use for a do_ioctl_expected_errno or some - such thing. But that's for later. - - Cc: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 6bf7307d8d5e0f1581cc3856528f7f49ef552036 -Author: Brad Volkin -Date: Wed Jan 29 13:58:30 2014 -0800 - - tests/gem_exec_parse: Test a command crossing a page boundary - - This is a speculative test in that it's not particularly relevant - today, but is important if we switch the parser implementation to - use kmap_atomic instead of vmap. - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 56fee51b3140d33824bafc79c86c5c38346807cc -Author: Brad Volkin -Date: Wed Jan 29 13:58:29 2014 -0800 - - tests/gem_exec_parse: Test for batches w/o MI_BATCH_BUFFER_END - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 1f3e03bee3af336c6b7b47e04e9f0a552a9a9289 -Author: Brad Volkin -Date: Wed Jan 29 13:58:28 2014 -0800 - - tests/gem_exec_parse: Add tests for bitmask checks - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 1b1321cde7b60d413b425f358e6ecd2bd47b90fb -Author: Brad Volkin -Date: Wed Jan 29 13:58:27 2014 -0800 - - tests/gem_exec_parse: Add tests for register whitelist - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 59cb7e105e0ba3d4b1c3a378d962ec270eaa3700 -Author: Brad Volkin -Date: Wed Jan 29 13:58:26 2014 -0800 - - tests/gem_exec_parse: Add tests for rejected commands - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit e8b4ecd387ec12fb6ef28fd64307688f70ea1d92 -Author: Brad Volkin -Date: Wed Jan 29 13:58:25 2014 -0800 - - tests: Add a test for the command parser - - Start with a simple testcase that should pass. - - v2: Switch to I915_PARAM_CMD_PARSER_VERSION - - Signed-off-by: Brad Volkin - Signed-off-by: Daniel Vetter - -commit 49c611b5900fbc1a88b7dd59eb42458c090b25d0 -Author: Mika Kuoppala -Date: Mon Mar 17 19:09:23 2014 +0200 - - tests/gem_reset_stats: run non hw context tests also on older gens - - To gain more coverage on interface, default context and banning. - As there is no proper reset support for gen <= 3, we only - do limited interface testing on those. - - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 7a8109458ef92c6460852e3831aa30e53fef6857 -Author: Daniel Vetter -Date: Fri Mar 14 16:47:50 2014 +0100 - - tests/pm_rps: fixup the blt copy load helper changes - - All suggested by Jeff McGee. - - Signed-off-by: Daniel Vetter - -commit 816c94723632b4876b3b0b965009ceab5e8bec2b -Author: Daniel Vetter -Date: Sun Mar 23 15:14:16 2014 +0100 - - lib/intel_batchbuffer: document header dependencies - - At least with the core library headers the situation is now fairly - sane. There's still fun stuff going on around *_reg.h and most of the - source files just have a cargo-culted list of headers ... - - Signed-off-by: Daniel Vetter - -commit 187b66da0946bd213cfb8c52178d70739707cad9 -Author: Daniel Vetter -Date: Sun Mar 23 15:03:14 2014 +0100 - - lib/drmtest: api documentation - - Also rename the arguments of do_ioctl a bit for better clarity. - - I haven't figured out a way to reference other section headers, hence - the links to igt_core and intel_batchbuffer are a bit fragile - unfortunately. It gets the job done though. - - Signed-off-by: Daniel Vetter - -commit 7bb40944e2b2a92f6f52c288f8a88b0fcd14b991 -Author: Daniel Vetter -Date: Sun Mar 23 14:45:13 2014 +0100 - - lib: Use @include tag for include files - - Occasionally useful to read documentation ... - - Signed-off-by: Daniel Vetter - -commit 8221fda087e5c445ddda2bf38c09c49c4d27a7fe -Author: Daniel Vetter -Date: Sun Mar 23 14:38:17 2014 +0100 - - lib: s/igt_env_set/igt_check_boolean_env_var - - So I wasn't really happy with env_set since it's way too close to - setenv(), whic actually _sets_ and environment variable. So use check - instead of set as the verb (well adjective for env_set). - - Also sprinkle in some hints that we talk about a boolean setting here. - - Signed-off-by: Daniel Vetter - -commit 47575c7710b2cc14f4b96de71540375e0c1d43b4 -Author: Daniel Vetter -Date: Sun Mar 23 14:18:23 2014 +0100 - - lib/igt_aux: api documentation - - I'm not really happy with the name of the igt_env_set function, I'll - follow up with a patch to change it. - - Signed-off-by: Daniel Vetter - -commit f5daeec724aea1613334f14d58b101a5c8e430b4 -Author: Daniel Vetter -Date: Sun Mar 23 13:35:09 2014 +0100 - - lib: extract igt_aux.[hc] - - And shovel all the various helpers in there. - - Also move igt_set_vt_graphics_mode to igt_kms.h since the function is - implemented in igt_kms.c. And it fits better. I kinda missed this in - the prep work. - - Signed-off-by: Daniel Vetter - -commit 018f8c3c457d1609b18867a48a512e3639979dc9 -Author: Daniel Vetter -Date: Sat Mar 22 22:42:35 2014 +0100 - - lib: s/drmtest_dumb_aub/igt_aub_dump_enabled/ - - This is prep work to extract a new igt aux library with all kinds - of random stuff. Also give it a bit a more suitable name to - indicate that this is just a flag and doesn't do the aub dumping - itself. - - Signed-off-by: Daniel Vetter - -commit 95e89f0ede9ed84b5cd0c39b7f68bc08fb120c3b -Author: Daniel Vetter -Date: Sat Mar 22 22:41:28 2014 +0100 - - lib/intel_io: api documentation - - As usual de-inline functions for gtkdoc to see them. - - I've decided to exclude the register map stuff since that's not - terribly interesting. - - Aside: gtkdoc falls over when the title of a section contains a slash, - hence why it reads "IO" instead of "I/O". The fun ... - - Signed-off-by: Daniel Vetter - -commit 2d4656fb699dd9bc5329b69b2955a6e4c3753971 -Author: Daniel Vetter -Date: Sat Mar 22 22:23:04 2014 +0100 - - lib/intel_io: rename mmio setup functions - - Makes their intent a bit clearer. - - Signed-off-by: Daniel Vetter - -commit c03c6ceb293fd667a6b582377c182dfc3b6d0f32 -Author: Daniel Vetter -Date: Sat Mar 22 21:34:29 2014 +0100 - - lib: rename intel_gpu_tools.h to intel_io.h - - With the header cleanup we can now give this header a suitable name, - since it now really only contains register access and other I/O - functions and assorted definitions. - - Signed-off-by: Daniel Vetter - -commit 254f19ba8dc4b00d0d5df0a4f8d0a0cb104b2df5 -Author: Daniel Vetter -Date: Sat Mar 22 21:29:01 2014 +0100 - - lib: unnecessary header removal for drmtest.h, part 2 - - I've left unistd.h in it - it's not strictly required but most users - of drmtest.h want it for the open helpers, and then you kinda need to - close that file descriptor again ... - - Signed-off-by: Daniel Vetter - -commit e49ceb869056255b8b6b94720b2279f6de88c893 -Author: Daniel Vetter -Date: Sat Mar 22 21:07:37 2014 +0100 - - lib: unnecessary header removal for drmtest.h, part 1 - - Brought a few missing headers to light in ioctl_wrappers.h, too. - - Signed-off-by: Daniel Vetter - -commit 924115bfcd5beae84f2e2d6b266c619659185475 -Author: Daniel Vetter -Date: Sat Mar 22 20:18:51 2014 +0100 - - lib: more unecessary header removal - - This time big with media_fill.h - - Signed-off-by: Daniel Vetter - -commit 6cfcd715898198cbd8edd955ed24cf57f6e8d9ee -Author: Daniel Vetter -Date: Sat Mar 22 20:07:35 2014 +0100 - - lib: remove uncessary #includes from headers - - Only include what the header itself needs. The big fish here is - intel-gpu-tools.h. More will follow. - - One ugly thing removed here is the duplicated GEN6_TD_CTL #define, one - of which was broken. - - Signed-off-by: Daniel Vetter - -commit cd6d5a61b334aac183c85a3d2289f96a0364e911 -Author: Daniel Vetter -Date: Sat Mar 22 19:35:40 2014 +0100 - - lib: add #include "foo.h" lines like in manpages - - Should help in alleviating the header mess we have atm. - - Signed-off-by: Daniel Vetter - -commit 0e22f14ed642af94db5f0dd7461920274be3361a -Author: Daniel Vetter -Date: Sat Mar 22 19:27:04 2014 +0100 - - tests|lib: remove assert.h includes - - Only the igt core and non-test tools should have asserts to catch - internal errors, tests and helper libraries should all user igt_asert - instead. - - Fix things up where assert instead of igt_assert was used. - - One tiny step towards header sanity. - - Signed-off-by: Daniel Vetter - -commit bff22f7317a39605d53cf142e2c0f5c424d9c12c -Author: Daniel Vetter -Date: Sat Mar 22 19:21:26 2014 +0100 - - lib: Move non-register things out of intel-gpu-tools.h - - Right now almost everything in there concerns itself with register - access. Move everything else out (into drmtest.h for lack of better - place) to prepare for api documentation. - - Also rename intel_drm.c to intel_os.c since it contains OS, not - drm abstractions. - - Signed-off-by: Daniel Vetter - -commit 7754c4dd769e61ea57bf3e4ab635099b47aa6223 -Author: Daniel Vetter -Date: Sat Mar 22 18:16:30 2014 +0100 - - lib/intel_batchbuffer: api documentation for render copy/media fill - - Also fix a fumble in the documentation for intel_blt_copy. One thing - we might want to do is unify the parameter ordering here a bit ... - - Again gtkdoc fails to pick up the documentation for struct igt_buf :( - - Signed-off-by: Daniel Vetter - -commit 43b7aa44fdc8dee372f6d0766e953da0a36de25a -Author: Daniel Vetter -Date: Sat Mar 22 18:04:52 2014 +0100 - - lib/intel_batchbuffer: drop cpu_mapping from igt_buf - - It's unused. There's still num_tiles getting in the way of things, - but that is used by gem_stress a bit. - - Signed-off-by: Daniel Vetter - -commit 53a4d9e982420e8a921ecf7b9542adbd3586317c -Author: Daniel Vetter -Date: Sat Mar 22 15:49:02 2014 +0100 - - lib/intel_batchbuffer: igt_ prefix for rendercopy/mediafill funcs - - Now everything is prepared to pour some neat api docs over this all. - - Signed-off-by: Daniel Vetter - -commit 83a4c7d3eb6347f9b743144611b08a2869f11f94 -Author: Daniel Vetter -Date: Sat Mar 22 15:44:48 2014 +0100 - - lib/intel_batchbuffer: igt_ namespace for the buffer structure - - Step one to properly namespace the rendercpy/mediafill functions. Als - give the buf_height/width helpers a proper igt_ prefix. - - Signed-off-by: Daniel Vetter - -commit 82c6dffe9fdc75a7ef3b9a7e53e1c20d8a9b3703 -Author: Daniel Vetter -Date: Sat Mar 22 15:41:42 2014 +0100 - - lib/intel_batchbuffer: un-inline buf_height/width - - gtkdoc won't pick them up otherwise. - - Signed-off-by: Daniel Vetter - -commit aaebbc513a2f1fd94e9db5fc2841c2bd617e3472 -Author: Daniel Vetter -Date: Sat Mar 22 15:35:16 2014 +0100 - - lib: make media_fill.h an internal header - - Same deal as with rendercopy.h. - - Signed-off-by: Daniel Vetter - -commit 7dc0001f3db58af82f7e34c83a9fdb5fe90baccd -Author: Daniel Vetter -Date: Sat Mar 22 15:31:15 2014 +0100 - - lib: make rendercopy.h an internal header - - And move the public interfaces into intel_batchbuffer.[hc]. - - A bit messy since we are fairly inconsistent with our header #include - handling. - - Also exclude rendercopy.h from the documentation. - - Signed-off-by: Daniel Vetter - -commit a8e8654f81380c19f7c90479f98b9d9314f638b3 -Author: Daniel Vetter -Date: Sat Mar 22 15:12:57 2014 +0100 - - lib/intel_chipset: api docs - - Unfortunately gtkdoc doesn't pick up the intel_pch enum. - - Signed-off-by: Daniel Vetter - -commit 266b26b3eda733dcc2c0a7cc6061b024a0dede70 -Author: Daniel Vetter -Date: Sat Mar 22 14:59:58 2014 +0100 - - lib/intel_chipset: intel_ prefix for pch global - - Just a bit better namespacing. - - Signed-off-by: Daniel Vetter - -commit aed95c390ae834a1661fb1e4ec433177b1c01fcc -Author: Daniel Vetter -Date: Sat Mar 22 14:54:28 2014 +0100 - - lib: consolidate chipset helpers in intel_chipset.[hc] - - Signed-off-by: Daniel Vetter - -commit 94e1b6af99b3548014686a0943bb286e3c81a889 -Author: Daniel Vetter -Date: Sat Mar 22 14:45:50 2014 +0100 - - lib: rename intel_pci.c to intel_chipset.c - - This is to consolidate all the chipset related functions to - intel_chipset.[hc]. - - Unfortunately we need to rename a wrapper lib file in quick_dump, too. - And quick_dump makes automake a bit unhappy apparently. - - Signed-off-by: Daniel Vetter - -commit 52edf3a17714e1ba2a9060401ec0f63614bc632b -Author: Daniel Vetter -Date: Sat Mar 22 14:45:54 2014 +0100 - - tests/kms_cursor_crc: Fix up breakage - - I've accidentally broken the new cursor size extensions, but it - wasn't quite correct before already: Variables which are set in - igt_fixtures _must_ be outside of the stackframe of the igt_fixture - block. - - Signed-off-by: Daniel Vetter - -commit a388f3b98f039403a4583748db980d4a44dd6748 -Author: Daniel Vetter -Date: Sat Mar 22 13:22:11 2014 +0100 - - lib: allow igt_skip_on_simulation outside of fixtures. - - 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 - Cc: Ben Widawsky - Signed-off-by: Daniel Vetter - -commit c196c14319b8aae6369a9ce0ba349416847105a7 -Author: Damien Lespiau -Date: Fri Mar 21 14:36:54 2014 +0000 - - build: Define enable_gtk_doc when the m4 macro is missing - - For setups where we don't have gtk-doc installed, ie when the - GTK_DOC_CHECK macro doesn't expand, we still need to populate the - enable_gtk_doc variable to provide a value to the configure summary. - - Acked-by: Daniel Vetter - Signed-off-by: Damien Lespiau - -commit 20dbc5d4cfb51152278a2ad4627d1db102bf9225 -Author: Adrian Negreanu -Date: Fri Mar 21 09:06:15 2014 +0200 - - fix out-of-tree builds - - version.h is -include-ed assuming that builddir is the same - as srcdir; - - In file included from :0:0: - ./../../tests/../lib/check-ndebug.h:3:1: fatal error: - ../../tests/../version.h: No such file or directory - #endif - ^ - - v2: Use top_builddir as suggested by Damien - builddir gets expanded - to ./ which worked accidentally since automake includes top_builddir - by default. - - Signed-off-by: Adrian Negreanu (v1) - Signed-off-by: Daniel Vetter - -commit 701a755bde7a6f4b3973ac76f4f00c8702db4c7d -Author: Daniel Vetter -Date: Thu Mar 20 17:31:16 2014 +0100 - - tests/kms_cursor_crc: Review from Imre for Sagar's patch - - Signed-off-by: Daniel Vetter - -commit ba3a1a86b76d0648a341de4e86c84d2e2a515c51 -Author: Sagar Kamble -Date: Tue Mar 18 15:59:43 2014 +0530 - - kms_cursor_crc: Enabling this test for all cursor sizes - - v1: Added 128x128 and 256x256 cursor size support. - - v2: Refined the test to use igt_subtest_f and automate enumeration. - - v3: Restructuring test enumeration using drmGetCap. [Daniel's review comments] - - Signed-off-by: Sagar Kamble - Reviewed-by: Imre Deak - Signed-off-by: Daniel Vetter - -commit cde058ae355f47a2bf04a792bfb3647e95157397 -Author: Rodrigo Vivi -Date: Tue Mar 18 11:18:56 2014 -0300 - - tests/gem_gtt_hog: Fix for BDW - - Update XY_COLOR_BLT command for Broadwell. - - v2: stash devid and remove ugly double allocation. (by Chris). - v3: fix inverted blt command size and stash fd, devid and intel_gen. - v4: improved len calculation and noop between blt commands. (by Chris). - - Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73724 - - Cc: Chris Wilson chris@chris-wilson.co.uk> - Signed-off-by: Rodrigo Vivi - Signed-off-by: Ben Widawsky - -commit d8164356e7bd4a90b2292e3687ec5fa5ec7fd021 -Author: Rodrigo Vivi -Date: Tue Mar 18 11:18:55 2014 -0300 - - tests/gem_gtt_hog: Use XY_COLOR_BLT instead of COLOR_BLT. - - Signed-off-by: Rodrigo Vivi - Signed-off-by: Ben Widawsky - -commit 2f96726c960dd2e4700214d30ccb86d33b354d2d -Author: Rodrigo Vivi -Date: Tue Mar 18 11:18:54 2014 -0300 - - tests/gem_wait_render_timeout: Fix for BDW - - Update XY_COLOR_BLT command for Broadwell. - - Signed-off-by: Rodrigo Vivi - Signed-off-by: Ben Widawsky - -commit 3e6d9d912aabacc3c07b6d97dde862d8f51fbf6e -Author: Rodrigo Vivi -Date: Tue Mar 18 11:18:53 2014 -0300 - - tests/gem_wait_render_timeout: Use XY_COLOR_BLT instead of COLOR_BLT. - - Signed-off-by: Rodrigo Vivi - Signed-off-by: Ben Widawsky - -commit e8562b30819e6554b4cdd5763a35069fba77c2a9 -Author: Ben Widawsky -Date: Wed Mar 19 11:40:58 2014 -0700 - - gem_wait_render_timeout: use igt_assert_cmpint - - Signed-off-by: Ben Widawsky - -commit 5a5880426eb275bb600551460eb23ad44e8c2fbf -Author: Ben Widawsky -Date: Wed Mar 19 10:14:15 2014 -0700 - - Revert "gen8 rendercpy: temporarily disable" - - This reverts commit e41928e6c9bb3f24833a827903f1afeda83592d6. - -commit d92c2cf1deafe1cb2404844b52c17817e0e1ba56 -Author: Ben Widawsky -Date: Wed Mar 19 09:22:53 2014 -0700 - - intel_gtt: Dump the whole GTT - - The tool formerly only dumped the aperture size, which is fine, but not - everything interesting. Most of the patch is just the variable rename. - The real work happens with using the BAR0 size divided by 2 instead of - the BAR2 size. - - Signed-off-by: Ben Widawsky - -commit 00bd3eba11de4ce4a7dacc62f131b401f7dfbabc -Author: Ben Widawsky -Date: Wed Mar 19 09:17:36 2014 -0700 - - quick_dump: gen8 private PAT - - Signed-off-by: Ben Widawsky - -commit 10571b8ccb5f7bda61e3072705e5d0670f54afb3 -Author: Daniel Vetter -Date: Sun Mar 16 19:34:37 2014 +0100 - - lib/igt_core: Document library design best practices - - This is what I've been doing in the past few months when refactoring - i-g-t code. More ideas and also patterns to add highly welcome. - - v2: Some minor polish on the text and add another bullet to reference - the kernel's coding style. - - Signed-off-by: Daniel Vetter - -commit 3ea97f2e51e8bf39ecabae132cdc6b431c72f672 -Author: Daniel Vetter -Date: Sun Mar 16 18:56:14 2014 +0100 - - lib/igt_core: Small api doc fix - - Signed-off-by: Daniel Vetter - -commit f2e5dc0114f0045e28d7a562cec9daf23e978841 -Author: Daniel Vetter -Date: Sun Mar 16 15:09:22 2014 +0100 - - lib/igt_debugfs: s/igt_pipe_crc_check/igt_require_pipe_crc/ - - Functions which provide feature checks through igt_skip should be of - the form _require_. - - Otoh feature checks which return in a boolean whether the feature is - available should be of the form _has_, e.g. - gem_has_blt. - - Signed-off-by: Daniel Vetter - -commit dcf947aa4f2de2f3aa4766e0e3d31d2a992d3d84 -Author: Daniel Vetter -Date: Sun Mar 16 14:52:32 2014 +0100 - - lib/igt_debugfs: Remove igt_debugfs_init - - And also move the igt_debugfs_t type out of the headers. - - Signed-off-by: Daniel Vetter - -commit cc8f0e6e3ab72beb6b296dd866fd27842dec283f -Author: Daniel Vetter -Date: Sun Mar 16 14:49:35 2014 +0100 - - lib/igt_debugfs: Remove debugfs from pipe crc functions - - All tests have now lost explicit references to igt_debugfs_t! - - Signed-off-by: Daniel Vetter - -commit 9a7609a8e48ac69bfd786087abd18c8a858d6ad3 -Author: Daniel Vetter -Date: Sun Mar 16 14:46:39 2014 +0100 - - lib/igt_debugfs: Remove debugfs from igt_debugfs_fopen - - Also add a missing igt_assert to kms_fbc_crc and again add the missing - Returns: section to the api doc. - - Signed-off-by: Daniel Vetter - -commit f04f17bcd404d7be720148fee6bb425cdb41dab1 -Author: Daniel Vetter -Date: Sun Mar 16 14:41:25 2014 +0100 - - lib/igt_debugfs: Remove debugfs from igt_debugfs_open - - Also update the api docs a bit since the Returns: section was missing. - - v2: Readd the accidentally lost line for @filename. - - Signed-off-by: Daniel Vetter - -commit 28b6e41142c035b46d2784de399c5dadfa5ce429 -Author: Daniel Vetter -Date: Sun Mar 16 14:40:32 2014 +0100 - - lib/igt_debugfs: implement a singleton igt_debugfs_t instance - - Allows us to remove every so little bit of boilerplate from - tests, once it's all rolled out. - - Signed-off-by: Daniel Vetter - -commit 8fe0c50871b0af87c5f41a6b6d3b31b9bffe9f25 -Author: Mengdong Lin -Date: Thu Mar 13 16:38:02 2014 -0400 - - intel_audio_dump: fix CTS/M value index - - This patch fixes the reversed CTS/M value index when dumping the - 'audio M/CTS programing enable' register. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - Signed-off-by: Ben Widawsky - -commit 374290e4300768190fee5ad742f1f1beb036de4e -Author: Daniel Vetter -Date: Fri Mar 14 16:08:10 2014 +0100 - - tests: update .gitignoe - - Signed-off-by: Daniel Vetter - -commit b0b4f8db717500f2618c8077dc58c217eb46af06 -Author: Daniel Vetter -Date: Fri Mar 14 16:07:28 2014 +0100 - - tests/drv_suspend: new forcewake subtest - - I suspect that currently we have an issue in there with the runtime PM - refcounting, but silly me developed this on a machine with runtime PM - support ... - - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 2839619f497dae8353d0592dcccf183374a18f73 -Author: Daniel Vetter -Date: Fri Mar 14 16:06:51 2014 +0100 - - lib/igt_core: add printf attribute to igt_vlog - - I didn't know that this also works for the varargs versions of - format strings. But gcc was kind enough to let me know. - - Signed-off-by: Daniel Vetter - -commit ea18fc16cd88a31b5d390721ad103efa07e288f1 -Author: Daniel Vetter -Date: Fri Mar 14 16:00:22 2014 +0100 - - lib: extract igt_open_forcewake_handle - - ... and I immediately regret that I've killed the return value - for igt_debugfs_init, since we have callers which need to work - without the forcewake stuff, e.g. the reg dumper needs to work - without i915 loaded. - - Put this new helper to good use in the mmio code and the pm_pc8 - testcase. - - Cc: Paulo Zanoni - Signed-off-by: Daniel Vetter - -commit 553d594b6efd117497791e708146588268c992a9 -Author: Daniel Vetter -Date: Fri Mar 14 11:01:09 2014 +0100 - - tests/pm_rps: wait longer for idling - - Big cores seem to take forever to idle, at least my ivb here. Fairly - ridiculous, so maybe there's more room for our debooster to kick in. - - Anyway, this gets the min-max-config-idle and reset subtests going - somewhat reliably on my ivb. They still occasionally fail with the - current frequency pegged to max (or close to it) for no apparent - reason at all. Rebooting tends to fix it. - - Don't ask, don't tell. - - Cc: Jeff McGee - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit a7dd98497a1a9c2dc31f667ad23da86d4b2d7ad9 -Author: Daniel Vetter -Date: Fri Mar 14 10:33:53 2014 +0100 - - tests/pm_rps: use igt_assert_cmpint - - Much better debug output almost for free. - - Signed-off-by: Daniel Vetter - -commit 5cf8d8d6dbfec71746173fae2a64d40f39e144cf -Author: Daniel Vetter -Date: Thu Mar 13 21:25:01 2014 +0100 - - lib/igt_core: document the caveats of magic code blocks - - v2: Polish the wording a bit. - - Signed-off-by: Daniel Vetter - -commit 5632bc81d944ae5070c403688b995ff583bb1ac7 -Author: Daniel Vetter -Date: Fri Mar 14 10:26:39 2014 +0100 - - tests/pm_rps: load harder - - Big core platforms need some seriuos omph to break a sweat. - - This fixes min-max-config-loaded here on my ivb. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75146 - Cc: Jeff McGee - Signed-off-by: Daniel Vetter - -commit d4f89d0ff25f3b382e1eabe4f0def5a1c09082ea -Author: Daniel Vetter -Date: Fri Mar 14 10:12:55 2014 +0100 - - tests/pm_rps: simplify load helper setup - - There's no need to be fancy here. - - Cc: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 5188bbe23ea6e7a2bf4d5572b64f410399aba9f7 -Author: Daniel Vetter -Date: Fri Mar 14 10:06:02 2014 +0100 - - tests/pm_rps: ducttape for igt fork helper cleanup issues - - We don't call cleanup handlers when exiting a subtest currently, only - when exiting the entire binary. Which means pm_rps falls over when it - fails more than one subtest. - - Cc: Jeff McGee - Signed-off-by: Daniel Vetter - -commit f962dee636f2992152617be4dc9e62c5055473ec -Author: Daniel Vetter -Date: Thu Mar 13 17:59:47 2014 +0100 - - test/kms_pipe_crc_basic: Fix up igt_kms conversion breakage - - Apparently the framework doesn't ignore disabled pipes correctly, so - help it out a bit. - - Again an awesome track record for our QA and bug scrubbers :( - - Oh and while I rant: Docs for this stuff, please ;-) - - Signed-off-by: Daniel Vetter - -commit bd53d722dde87d67742b4ff4ee192bd8c6058328 -Author: Daniel Vetter -Date: Thu Mar 13 17:27:47 2014 +0100 - - lib: add igt_vlog to print varargs - - ... and put it to immediate use in igt_display_log. - - To make this all add up also drop the return value of igt_display_log, - no one really cared anyway. - - Aside: I've noticed that every time another subtest runs (at least - with kms_pipe_crc_basic) the log indent level moves one up ... - - Signed-off-by: Daniel Vetter - -commit 1e9e1baba389fe498be12390ceeeacb1d141a5cf -Author: Daniel Vetter -Date: Thu Mar 13 17:20:05 2014 +0100 - - lib/igt_kms: rip out custom verbose loggin support - - Instead just piggy-pack on top of igt_log. - - Signed-off-by: Daniel Vetter - -commit 523d909834bd142373ff5b25a00881f93f3160cf -Author: Daniel Vetter -Date: Thu Mar 13 18:09:41 2014 +0100 - - NEWS: post-release blurb and mention api doc work - - Signed-off-by: Daniel Vetter - -commit eaccd444f774ff88f9cfc24fb0a5e5b20f71d749 -Author: Daniel Vetter -Date: Thu Mar 13 03:35:02 2014 +0100 - - lib: switch intel_copy_bo to directly take a size - - Instead of a width/height combination. Since I've been lazy with the - math this now only accepts page-aligned copy operations, but that's - all we need really. - - Signed-off-by: Daniel Vetter - -commit 32d41cc7a7fc357758a60f019341805ae1ee418d -Author: Daniel Vetter -Date: Thu Mar 13 02:38:04 2014 +0100 - - tests/prime_nv_tests: fix copied buffer size - - Doesn't affect the test since we only check the first few bytes. But I - want to switch the copy code to always copy entire pages around, so - use the right buffer size. - - Signed-off-by: Daniel Vetter - -commit ec5f9e87882257fdde39166f0f4b931ecb5b6009 -Author: Daniel Vetter -Date: Thu Mar 13 01:13:28 2014 +0100 - - lib: api docs for intel_batchbuffer - - - I didn't bother to document the BLIT batch header macros - I'm not - too happy with them and they're fairly obscure. - - intel_copy_bo could use some interface love, added a FIXME comment - for now. - - Signed-off-by: Daniel Vetter - -commit 49e3877ae7280efb62dc23ea748afbeb96934ace -Author: Daniel Vetter -Date: Thu Mar 13 01:38:42 2014 +0100 - - lib/intel_batchbuffer: Remove BATCH_LOCALS - - Totally unused, we have frisky implicit assumptions that the - batch is called batch instead. - - Signed-off-by: Daniel Vetter - -commit 675c91974e2e3cc781a4dd630c20c3f992eae8b8 -Author: Daniel Vetter -Date: Wed Mar 12 21:30:46 2014 +0100 - - lib: remove hw context #defines - - The libdrm we require nowadays has them already. - - Signed-off-by: Daniel Vetter - -commit 3f284f796721f750cb8af4bac7839b5a6e1edb66 -Author: Daniel Vetter -Date: Wed Mar 12 21:26:55 2014 +0100 - - docs: Exclude debug.xml - - It is all just stuff used internally by the EU debugger only. Not - really generally useful, expect if someone wants to write - documentation for the debugger. - - Which needs a lot more than just this. - - Signed-off-by: Daniel Vetter - -commit a095072b64a37a7df6a011608fb932796991a891 -Author: Rodrigo Vivi -Date: Thu Mar 13 07:52:47 2014 -0300 - - bump version to 1.6 and add the release date - - Signed-off-by: Rodrigo Vivi - -commit 981276819fdf6de312ecafcef27822741265f237 -Author: Daniel Vetter -Date: Wed Mar 12 18:53:51 2014 +0100 - - lib/igt_debugfs: api docs - - Again issues with an enum, this time intel_pipe_crc_source. The - typedefs seem to work better here though. - - Signed-off-by: Daniel Vetter - -commit 36a83a6c5ccfff7336d257aba499c4e72674615a -Author: Daniel Vetter -Date: Wed Mar 12 19:24:00 2014 +0100 - - lib/igt_debugfs: drop drm_fd argument from igt_pipe_crc_new - - It's nowhere used and removing it gives us a cleaner, more - orthogonal interface. - - Signed-off-by: Daniel Vetter - -commit 803d07b2fff95794d8a840728d417e8e1d31264c -Author: Daniel Vetter -Date: Wed Mar 12 19:00:48 2014 +0100 - - lib: make igt_debugfs_open infallible - - (Almost) no one cared anyway. - - Signed-off-by: Daniel Vetter - -commit 096bb851f6bbcd018b3e7dc42930952971c4ea72 -Author: Daniel Vetter -Date: Wed Mar 12 18:53:44 2014 +0100 - - lib/ioctl_wrappers: api doc fixup - - Oops. - - Signed-off-by: Daniel Vetter - -commit adb28fd71d21175f047d7ed4cc3e4683a146b57b -Author: Daniel Vetter -Date: Wed Mar 12 16:53:47 2014 +0100 - - lib: move prefault helpers to igt_debugfs.c - - This way all debugfs library code is in one place, ready for some api - documentation care. - - Signed-off-by: Daniel Vetter - -commit 55e64989e5f0359796d6e71d6753e432861b04a4 -Author: Daniel Vetter -Date: Wed Mar 12 02:34:40 2014 +0100 - - lib/igt_core: api documentation - - At most a bit of comment of function declaration movement for more - polish. One tricky bit is to #ifdef out (only for gtkdoc of course) - the struct option; forward declaration - gtkdoc needlessly lists it. - - FIXME: The struct documentation for igt_helper_process somehow doesn't - get picked up ... Same issue seems to be with the igt_log_level enum, - I've shoveled the relevant documentation into igt_log in free-form for - now. - - Signed-off-by: Daniel Vetter - -commit d63fe1519d34f0d0311ef8e3472c8b83c3dcfde3 -Author: Daniel Vetter -Date: Wed Mar 12 01:29:52 2014 +0100 - - lib: extract igt_core.c - - Same game as with ioctl_wrappers.c. - - To split was rather clean except for the static function - oom_adjust_for_doom. But that was a bug, the calls to it in the - various open helpers should simply be done at init and fork time. - Which was already the case, except for simple testcase. So fix it up. - - While at it also start with a small section header for the - documentation. - - v2: Don't forget to update the xml template ... - - Signed-off-by: Daniel Vetter - -commit 556c49f20bf93c32b55f494ec896703293e358cd -Author: Daniel Vetter -Date: Tue Mar 11 23:27:06 2014 +0100 - - lib/ioctl_wrappers: api doc - - Also some tiny polish to function interface: - - @caching in gem_set_tiling should be uint32_t to match the ioctl - struct. - - s/size/length/ for gem_write/read. - - move gem_get_num_rings to the other ring feature helpers. - - v2: Also demote gem_require_ring from static inline and move it, too. - - v3: Also move gem_handle_to_libdrm_bo. - - Signed-off-by: Daniel Vetter - -commit 766c5bc6ae24fe2ec03ada80905ccfb1b18afc26 -Author: Daniel Vetter -Date: Tue Mar 11 22:58:07 2014 +0100 - - lib: extract ioctl_wrappers.c - - I want to group the ioctl wrappers and related functions into their - own documentation section. - - Apparently gtkdoc refuses to obey this wish without a corespdonding - header. So appease it. Also gtkdoc seems to struggle with rebuilding a - bit ... - - Signed-off-by: Daniel Vetter - -commit 6c659264a6f6d54d966d9fc2a1651ad0405a8501 -Author: Thomas Wood -Date: Tue Mar 11 16:18:48 2014 +0000 - - tests: add missing assertion - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 682f69385a07b81ee0b2524b9556c0b768454147 -Author: Thomas Wood -Date: Tue Mar 11 16:18:50 2014 +0000 - - lib: Add missing header to Makefile.sources - - i915_pciids.h was missing from Makefile.sources, which caused distcheck to - fail. - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit a90846adf52127afe6dd3537c047b93c31cb313f -Author: Daniel Vetter -Date: Tue Mar 11 21:03:39 2014 +0100 - - gtk-doc: Document the docs - - - configure output to easily see whether docs are built or not - - small blurb in README - - Signed-off-by: Daniel Vetter - -commit 2d4438605efd57a7ed336df42326693065ee5d02 -Author: Thomas Wood -Date: Tue Mar 11 16:04:29 2014 +0000 - - drmtest: reformat the API documentation - - Make the existing documentation compatible with gtk-doc. - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 14ea2a04ebfa287e33b69a3bc7e47f02ba93c9ed -Author: Thomas Wood -Date: Tue Mar 11 16:04:28 2014 +0000 - - Add API documentation support - - Add optional support for building API documentation using gtk-doc. - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit c769d0988b7fae0e758046ba165c9c52c4f2816a -Author: Daniel Vetter -Date: Tue Mar 11 15:45:22 2014 +0100 - - tests/drv_missed_irq_hand: Make it robuster - - Just launching empty batches isn't enough load on my speedy g33 - to force the kernel to enable interrupts an wait for them. - - So use some real load. With that the test is now fully reliably on - my g33 amchine. - - Signed-off-by: Daniel Vetter - -commit c3f2b6a339e002c2ea3c0462ebce2a374b54e093 -Author: Daniel Vetter -Date: Tue Mar 11 15:44:28 2014 +0100 - - tests/gem_exec_blt: More reasonable runtime - - Doing (1 << 18) - 1 repeats isn't really. With the reduced time the - test is also useful in some shell scripted tests which need some real - load (but not too much), like drv_missed_irq_hang. - - Signed-off-by: Daniel Vetter - -commit e2ee8b408057e5139182f47e980f3af20272fa28 -Author: Daniel Vetter -Date: Tue Mar 11 15:32:30 2014 +0100 - - tests/drv_missed_irq_hang: Remove debug output - - Signed-off-by: Daniel Vetter - -commit 20087e779d58fe0fdde156e329eb5d75e1e6336f -Author: Daniel Vetter -Date: Fri Mar 7 09:27:00 2014 +0100 - - NEWS: intel_audio_dump has now bdw support - -commit 02a32701192cb4832d95e121d5ee014d98dd1234 -Author: Daniel Vetter -Date: Fri Mar 7 09:23:58 2014 +0100 - - configure: Bump libdrm requirements - -commit 856afd588ef31d02c0dd8fd827a0af2725edc464 -Author: Chris Wilson -Date: Wed Mar 5 11:09:46 2014 +0000 - - igt/gem_pwrite_pread: Fix relocation offsets for gen8+ - - Oops, I didn't check to see if there was more than one call site where - we built and execbuffer. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75237 - Signed-off-by: Chris Wilson - -commit 449509dddba1e4d3853093a872632b9504b8eaa7 -Author: Mengdong Lin -Date: Mon Mar 3 17:03:02 2014 -0500 - - intel_audio_dump: add support for Valleyview - - This patch adds support for dumping audio registers of Valleyview, - by reusing Ironlake code with a different base address and pipe number. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - -commit fa8c75028e6c6ae523f915fdc212adb30fea1ec3 -Author: Mengdong Lin -Date: Tue Mar 4 10:13:09 2014 -0500 - - intel_audio_dump: adjust code alignment - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - -commit 86d15e080d9977dcd3b0448cefb72259597b80d9 -Author: Mengdong Lin -Date: Mon Mar 3 13:52:06 2014 -0500 - - intel_audio_dump: share common audio dump code for Ironlake, Haswell & Broadwell - - Most audio config registers of Ironlake, Haswell and Broadwell are almost same - although the register names or some bit fields have little difference. - And HSW and BDW already share their code. - - This patch further shares code for ILK and HSW/BDW: - - ILK and HSW/BDW define their own base address to dump audio & display registers. - - Small functions to dump a specific register are defined and shared. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - -commit bae8a005d21288e61a547bba94b0a32a99c36b60 -Author: Mengdong Lin -Date: Mon Mar 3 13:23:50 2014 -0500 - - intel_audio_dump: define get_num_pipes() to get number of pipes for a device ID - - It's for future code sharing because some registers define their bit fields - according to the number of pipes. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - -commit 1803f1ebfad1e14b5d0eb8560d99efd3ddb6ef67 -Author: Mengdong Lin -Date: Fri Feb 28 16:18:11 2014 -0500 - - intel_audio_dump: define IS_HASWELL_PLUS to cover Haswell and its successors - - A macro IS_HASWELL_PLUS(devid) is defined to cover Haswell and its successors, - for code sharing. Now it covers HSW and BDW. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - -commit ed386663fe4894f9cfd2a3df4233292e0e3b39ac -Author: Mengdong Lin -Date: Fri Feb 28 13:25:27 2014 -0500 - - intel_audio_dump: move definitions of transcoder/pipe/port/converter earlier - - Move these enum definitions earlier for future code sharing. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - -commit 92d319702553d31e70bcb1a098e896418f041a41 -Author: Mengdong Lin -Date: Mon Mar 3 11:04:39 2014 -0500 - - intel_audio_dump: support using base address plus an offset to dump registers - - Layout of display and audio registers can be same for different Intel GPUs. - For code sharing, this patches defines functions to - - set the base address of display and audio registers - - dump registers using the base address and an offset - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - -commit cdf74b69c908b869e7e2daca04f49c5e5d02c097 -Author: Imre Deak -Date: Wed Mar 5 21:02:41 2014 +0200 - - kms_setmode: Add clone-single-crtc subtest - - The clone-single-crtc will test various cloning scenarios. - - Currently it does limit the number of simultanously cloned - connectors to the number of pipes in the system. That restriction - can be lifted in the future if desired. - - Signed-off-by: Ville Syrjälä - -commit a3b80912a993b4b6952917afea41906f88dda01e -Author: Chris Wilson -Date: Wed Mar 5 11:09:46 2014 +0000 - - igt/gem_pwrite_pread: Fix relocation offsets for gen8+ - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75237 - Signed-off-by: Chris Wilson - -commit 072d358bf03d0c39dc83bce0b93801d030d2324f -Author: Chris Wilson -Date: Fri Feb 28 21:44:22 2014 +0000 - - igt/gem_pwrite_pread: Fix XY_SRC_COPY command length for gen8+ - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75237 - Signed-off-by: Chris Wilson - -commit fa6b1516c5a5be1fcff8ee476a5e280e2e3cb16d -Author: Paulo Zanoni -Date: Wed Feb 26 16:51:12 2014 -0300 - - tests/pm_pc8: be more verbose on test_i2c failures - - Whenever I see that error, I go and print the numbers so I can check - which one is failing. - - Signed-off-by: Paulo Zanoni - -commit d406249bedb61120ea3f8c780ea995b8c70d3d8c -Author: Paulo Zanoni -Date: Wed Feb 26 15:42:07 2014 -0300 - - tests/pm_pc8: use intel_gen instead of a big IS_GEN check - - Much better! - - Signed-off-by: Paulo Zanoni - -commit 0a57d0b8d30b73f7d515a2099355f7883681d699 -Author: Paulo Zanoni -Date: Wed Feb 26 15:13:00 2014 -0300 - - tests/pm_pc8: BDW should also support PC8 residencies - - And I'm hoping the MSR register addresses will be the same. - - Signed-off-by: Paulo Zanoni - -commit d3582aeade9d90cb4adc8ff7c4339198494aaae7 -Author: Paulo Zanoni -Date: Wed Feb 26 14:48:50 2014 -0300 - - tests/pm_pc8: use XY_COLOR_BLT instead of just COLOR_BLT - - And add BDW support to it. - - Signed-off-by: Paulo Zanoni - -commit 6a6b8a213813de80a86d281ee9111aaca8ed5b36 -Author: Paulo Zanoni -Date: Wed Feb 26 11:12:28 2014 -0300 - - tests/pm_pc8: add "stay" mode - - I used to have a binary that would just disable all the screens - so - we can enter PC8/runtime PM - and then sleep forever. I used this - binary many times while debugging PC8 and runtime PM, and I also sent - the binary to many people so they would be able to test these things - without X running. - - Since pm_pc8 already implements everything that the separate binary - needs, and it even has some additional code to try to configure the - environment to actually reach PC8, it's easier to just ask people to - run "sudo ./pm_pc8 --stay" instead of sending them a file, asking them - to compile it, setup the environment, and then run it. - - Signed-off-by: Paulo Zanoni - -commit 8c475e0ba69c585bc11062edd1f7fc4bbded811c -Author: Chris Wilson -Date: Wed Feb 26 12:01:47 2014 +0000 - - evictions: Limit the number of minor eviction surfaces to fit in RAM - - We allocate more surfaces than used in a single pass in order to stress - the eviction code between batches. The intent here is not to exercise - swapping, and we fail to check that there is enough swap+memory to hold - all our surfaces. So limit the number of surfaces we allocate to fit - into RAM, and then require that the number of surfaces we need for - testing is less than the number of surfaces we can allocate. - - Signed-off-by: Chris Wilson - -commit ea332b64b6e9f6935da4b43f05fefcdcea32cc64 -Author: Chris Wilson -Date: Wed Feb 26 11:56:16 2014 +0000 - - lib: Test against available swap - - Even if we ignore the double-accounting bug in Linux, we need to be sure - that the remaining swapspace is adequate for running our test as the - system may be under load before we even start. - - Signed-off-by: Chris Wilson - -commit 37773d91d9b56f9f06c86e405e8dc9343f2c71c1 -Author: Paulo Zanoni -Date: Tue Feb 25 17:46:27 2014 -0300 - - tests/pm_pc8: add pci-d3-state subtest - - Currently the test suite just looks at the files provided by the - runtime power management framework to check if the device is runtime - suspended. Add a test that reads the PCI config space to check if the - device is actually in PCI D3 state or not. - - Signed-off-by: Paulo Zanoni - -commit 31b20f7478a27e159482ac23f3d128e90ca98d23 -Author: Paulo Zanoni -Date: Tue Feb 25 16:40:51 2014 -0300 - - tests/pm_pc8: add reg-read-ioctl subtest - - After I finally fixed the code that WARNs if we're runtime suspended - when reading registers I started getting the WARNs, so this test - should reproduce them on a Kernel with the problem. - - Signed-off-by: Paulo Zanoni - -commit 81ade89d6444ed4159c8cafb0512254f02ec34e0 -Author: Chris Wilson -Date: Mon Feb 24 08:52:28 2014 +0000 - - gem_render_tiled_blits: Trim usage to fit within RAM - - This is a render correctness test, the intention is not to exercise the - swapper (but preferrably some eviction code). - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75247 - Signed-off-by: Chris Wilson - -commit 4550a18a571611197d3958ab3c1071ef69ec3838 -Author: Chris Wilson -Date: Mon Feb 24 08:52:28 2014 +0000 - - gem_render_linear_blits: Trim usage to fit within RAM - - This is a render correctness test, the intention is not to exercise the - swapper (but preferrably some eviction code). - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75247 - Signed-off-by: Chris Wilson - -commit 8ebc02a54c22b7a83a34c923153861848183cd96 -Author: Ben Widawsky -Date: Fri Feb 21 13:15:35 2014 -0800 - - quick_dump: Add missed broadwell autodetect - - Signed-off-by: Ben Widawsky - -commit 42aa254c65fa47fbea38a268814f815166adc056 -Author: Ville Syrjälä -Date: Fri Feb 21 17:19:57 2014 +0200 - - kms_flip: Add dpms-vs-vblank-race and modeset-vs-vblank-race subtests - - dpms-vs-vblank-race and modeset-vs-vblank-race try to race wait for - vblank ioctls from one thread against modeset/dpms ioctls from another. - - Signed-off-by: Ville Syrjälä - -commit a0c936cfc128dfea6c58c4eef1e56cc29df21406 -Author: Chris Wilson -Date: Fri Feb 21 15:14:08 2014 +0000 - - kms_flip: Skip tests that try to inject GPU hangs if already terminally wedged - - Signed-off-by: Chris Wilson - -commit 0cc6a219f1de667ddc0c9a4011dc1c36a584be7b -Author: Chris Wilson -Date: Fri Feb 21 15:08:22 2014 +0000 - - kms_flip: Assert that hang_gpu() should only fail is the GPU is already hung - - Signed-off-by: Chris Wilson - -commit bf74a0ca3fa3b2656c5656c2365d11b6b406dbe6 -Author: Chris Wilson -Date: Fri Feb 21 14:42:27 2014 +0000 - - tests: Compile all threaded tests with -pthread when appropriate - - Signed-off-by: Chris Wilson - -commit 5f190f2d674222b27eff9f80d14761fde2e8fe7a -Author: Ville Syrjälä -Date: Fri Feb 21 16:08:28 2014 +0200 - - kms_flip: Fail the subtest if page flip hang recovery wasn't actually tested - - Context banning can prevent the page flip hang tests from actaully - testing anything, so make the relevant subtests fail in that case. - - Signed-off-by: Ville Syrjälä - -commit 48ba2cdf969698a2520193ec0c9cff99f89fe1f6 -Author: Ville Syrjälä -Date: Fri Feb 21 15:14:33 2014 +0200 - - kms_flip: Restore rings to running state in unhang_gpu() - - If things go bad, make sure the rings aren't left in the stopped state. - - Signed-off-by: Ville Syrjälä - -commit 30c21ffe7f149c15ae7efdb825bbb6671a7f2e9b -Author: Paulo Zanoni -Date: Thu Feb 20 17:47:53 2014 -0300 - - tests/pm_pc8: try to modprobe msr - - Just in case it's compile with M instead of Y. If the module is not - there, the other assertions will catch the problem. - - Signed-off-by: Paulo Zanoni - -commit 41267dca3cd62a49b7a7434e12b4f1164d95454b -Author: Paulo Zanoni -Date: Thu Feb 20 17:45:53 2014 -0300 - - tests/pm_pc8: try to modprobe i2c-dev - - Just in case the module is compiled with M instead of Y. If the module - is not there, the other assertions will catch the problem. - - Signed-off-by: Paulo Zanoni - -commit 4eb37bf4c130fe1264c7f63e30faff3a76cd093d -Author: Paulo Zanoni -Date: Tue Feb 18 14:27:19 2014 -0300 - - tests/pm_pc8: add gem-idle subtest - - It's triggering WARNs and DRM_ERRORs on current drm-intel-nighly. - - Signed-off-by: Paulo Zanoni - -commit 6f288749f4f8c454f65e7de38c9bcff7a9a29411 -Author: Paulo Zanoni -Date: Mon Feb 17 16:29:36 2014 -0300 - - tests/pm_pc8: remove sleep() call when setting up the environment - - This sleep was added because sometimes we didn't reach PC8+ - residencies, but it was still not enough to prevent the problem every - time, and it is really not needed most of the times. I have - investigated more and it seems that we only have to wait until after - some minutes have past since the machine booted. So just remove the - sleep for now since when you run each subtest in a separate process, - you end up having to sleep at every subtest. - - Signed-off-by: Paulo Zanoni - -commit c9524235dd5eb3cf2d9fcd7d264c78cc2d1f3802 -Author: Paulo Zanoni -Date: Fri Feb 21 10:05:54 2014 -0300 - - tests/gen7_forcewake_mt: use -lpthread - - Otherwise it fails to compile on my machine. - - Signed-off-by: Paulo Zanoni - -commit 3db29744f74017a99d1b430b30623dce405ebb1a -Author: Chris Wilson -Date: Fri Feb 21 09:38:43 2014 +0000 - - kms_flip: Try to make hang_gpu() robust against hanging the GPU - - On a bad day, hanging the GPU may be terminal. Yet even if the GPU is - terminally wedged we expect modesetting (and pageflips) to continue. - That deserves to be a dedicated test, but in the meantime we should - strive to avoid falling over just because the code is not resilient. - - Signed-off-by: Chris Wilson - -commit 005d1dcc9882ab4e8a8b91b5c71da5a36b1491e6 -Author: Chris Wilson -Date: Thu Feb 20 13:41:41 2014 +0000 - - Add i915_pciids.h - - This is a pure copy from the central location at - kernel/include/drm/i915_pciids.h - -commit ff87c4183b31c790e50f174237167716830832e6 -Author: Chris Wilson -Date: Thu Feb 20 13:27:05 2014 +0000 - - tests: Add gen7_forcewake_mt - - This is supposed to be snafu... - - Signed-off-by: Chris Wilson - -commit 06189c60295e806e5073ff3473f038b1bedde212 -Author: Joao Santos -Date: Wed Feb 19 14:19:19 2014 +0000 - - build: Skip kms_plane on Android - - Skipping this test until we have Cairo in the build. - - Signed-off-by: Joao Santos - Signed-off-by: Damien Lespiau - -commit e292e00de0553ef059ddeef572db741ec3b6c23f -Author: Damien Lespiau -Date: Tue Feb 18 14:17:10 2014 +0000 - - kms_pipe_crc_basic: Remove spurious inclusion of glib.h - - Signed-off-by: Damien Lespiau - -commit 1daafe27625d53783b9dcb41bf72aaaade5f735f -Author: Damien Lespiau -Date: Tue Feb 18 14:16:49 2014 +0000 - - kms_plane: Remove spurious inclusion of glib.h - - Signed-off-by: Damien Lespiau - -commit 959783684e2010326d91db2aa55f424f7e041c84 -Author: Daniel Vetter -Date: Thu Feb 13 19:22:53 2014 +0100 - - test/kms_flip: fix up igt logging conversion - - Silly me ... - - Signed-off-by: Daniel Vetter - -commit cef9b31a2415f59899c2d7a9fc895aa7b66d3230 -Author: Daniel Vetter -Date: Thu Feb 13 19:22:35 2014 +0100 - - testdisplay: Allow to specify the dpms level - - aka the jbarnes-me-harder mode - - Signed-off-by: Daniel Vetter - -commit 30cfde5822d1ec9b918576fa49aff9ab41d4fe65 -Author: Daniel Vetter -Date: Thu Feb 13 19:15:38 2014 +0100 - - testdisplay: implement dpms test - - For those who wonder about the -j switch ... all the good ones have - been taken, so this is the Jesse-flag. - - Signed-off-by: Daniel Vetter - -commit b5b0aeb6a552c014fb224a3c3ff913fbab45b5e0 -Author: Daniel Vetter -Date: Thu Feb 13 14:43:20 2014 +0100 - - NEWS: Mention new logging support - -commit d1e318d23df6c4da2a5885f91f97aa565e001bf8 -Author: Daniel Vetter -Date: Thu Feb 13 14:25:55 2014 +0100 - - tests/kms_flip: use igt logging - - Signed-off-by: Daniel Vetter - -commit c88f898c578bd14aee049aceacb0d95a0703aab8 -Author: Daniel Vetter -Date: Thu Feb 13 14:12:03 2014 +0100 - - tests/gem_seqno_wrap: use igt logging - - Cc: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 46ec3ef1f80c1f42f24a13d742887333efc678d2 -Author: Daniel Vetter -Date: Thu Feb 13 14:09:41 2014 +0100 - - test/pm_rps: use igt logging - - Cc: Jeff McGee - Signed-off-by: Daniel Vetter - -commit eebdf7f9204686f5d937d6a3084056fb86c6e7de -Author: Daniel Vetter -Date: Wed Feb 12 15:19:15 2014 +0100 - - lib: (somewhat) structured logging support - - Apparently there's a bit a need for more verbose output in testcases, - mostly for debugging purposes. At least gem_reset_stats and pm_rps - have a verbose mode. - - On top of that we're currently not taking advantage of piglit's "warn" - state all that much. But I think it might be useful for testcases which - are notorious for some kinds of spurious failures, like e.g. the really - nasty timing checks in kms_flip. If we demote some of them to just - warnings we could run the overall tests more often. - - Hence this patchs adds a new igt_log function with the three levels DEBUG, - INFO and WARN. Plus a bunch of convenience helpers to keep the test - code tidy. - - The level can be set through an enviroment vairable IGT_LOG_LEVEL with - info being the default. Also tests can look at the selected log level in - case they want to run costly debug functions only when needed. - - Comments highly welcome, I plan to roll this out over tests which can - use it (not all, imo that's too much churn) once we've settled on the - interfaces/semantics. - - Signed-off-by: Daniel Vetter - -commit 60a24a22ba4c7df46ebae0e99f0aa09604a6fb25 -Author: Zhao Yakui -Date: Tue Jan 28 09:53:50 2014 +0800 - - Assembler/bdw: Remove the unsupported cache agent for WRITE(...) - - The Sampler/Constant cache is read-only. And it can't be used as - the target cache agent of WRITE message. - - Reviewed-by: Xiang, Haihao - Signed-off-by: Zhao Yakui - Signed-off-by: Damien Lespiau - -commit a2bf80fd8462b0014f2e230421173677bbb8b742 -Author: Thomas Wood -Date: Wed Feb 12 15:54:27 2014 +0000 - - tests: fix sub-test enumeration - - Ensure sub-tests can be listed correctly by doing any test setup within - an igt_fixture block. - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit ec3b1332f87e956e7de8e03e2cdbb962df05e214 -Author: Daniel Vetter -Date: Wed Feb 12 00:12:07 2014 +0100 - - NEWS: Mention Damien's new helper library - -commit a036959f3ed1f0a9c3e80b9feea69713289aa4ef -Author: Daniel Vetter -Date: Tue Feb 11 23:54:19 2014 +0100 - - lib: Make igt_skip noreturn - - This is a remnant from the subtest code before we had proper - fixture blocks. With those there's no no reason to have igt_skip - calls outside of fixtures or subtests, so we can assert this and - hence always jump out. - - Suggested by Thomas Wood since static analyzers got confused about - this. - - To check for fallout I've run all tests as non-root so that they'll - all skip. Only very little fallout resulted. - - Cc: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 0d1084fe3f88e2b51c50ff963a2ae81a6129474d -Author: Daniel Vetter -Date: Wed Feb 12 00:07:11 2014 +0100 - - lib: install exit handler only on success for prefault control - - Otherwise we'll hit an igt_skip in the exit handler, which upsets - the new in_fixture||in_subtests checks. - - Signed-off-by: Daniel Vetter - -commit 58633cfde46cb6010b3bdeeca58a52ec536ff66c -Author: Daniel Vetter -Date: Wed Feb 12 00:05:57 2014 +0100 - - test/gem_gtt_hog: bail out earlier - - This way we properly skip instead of failing hard. Just result - polish when running on non-intel systems. - - Signed-off-by: Daniel Vetter - -commit 36be04bdfb1d34f11b6bd50db7c50d213c4498b7 -Author: Daniel Vetter -Date: Tue Feb 11 23:52:43 2014 +0100 - - tests/gem_madvise: use correct main block - - igt_simple_main doesn't enumerate subtests ... - - Cc: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 3514872efeaa2fc0b656ed6949b9e6b7bf67633f -Author: Daniel Vetter -Date: Tue Feb 11 23:50:10 2014 +0100 - - tests/gem_bad_ctx_exec: Properly wrap in igt_fixtures - - Caught by the new nasty assert in igt_skip. - - Signed-off-by: Daniel Vetter - -commit a86651fa2476087dd04d03cf86247761595c0aef -Author: Daniel Vetter -Date: Tue Feb 11 23:47:50 2014 +0100 - - tests/gem_close_race: Properly wrap init code in fixtures - - Blows up otherwise if there's no intel gpu around. - - Signed-off-by: Daniel Vetter - -commit 349ba5d3e1cbc0d130305547627c5de5a35ae1a2 -Author: Daniel Vetter -Date: Tue Feb 11 23:36:24 2014 +0100 - - lib: fix header include - - drm/ path is for the headers from kernel sources, without when using - the pkgconfig libdrm version. - - Cc: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit b4e85b7b53f2ebf3a8d5edab5ca98d6f8715a680 -Author: Damien Lespiau -Date: Tue Feb 11 17:53:00 2014 +0000 - - lib/display: Fix typo in igt_plane_get_fd_id() (fb) - - Signed-off-by: Damien Lespiau - -commit 82108d96566dfa1210b1fbe2f6deaf6d77d1e34e -Author: Damien Lespiau -Date: Tue Feb 11 17:48:32 2014 +0000 - - kms_pipe_crc_basic: Remove igt_display_get_n_pipes() usage in main - - The fixture won't be run when listing the subtests and thus we can't use - igt_display_get_n_pipes() in the list of tests. The alternative here is - to list the subtests with the maximum values and skip when not supported - on the platform. - - Signed-off-by: Damien Lespiau - -commit 2043e6b265929ad2444cede7412f73a9cbe112a5 -Author: Damien Lespiau -Date: Tue Feb 11 17:45:48 2014 +0000 - - lib: Fix igt_ouput_get_plane() typo (output) - - Signed-off-by: Damien Lespiau - -commit 3386b4b2866b991b49e7386d51a3f4b9d9b681c0 -Author: Damien Lespiau -Date: Tue Feb 11 13:54:10 2014 +0000 - - lib: Don't wait in igt_wait_for_keypress() if stdin is not a tty - - When running in a non interactive terminal, there's little point in - trying to wait for some input on stdin. - - Signed-off-by: Damien Lespiau - -commit 0d5de66fc6b85a0555ecc9d853e48c464122bb26 -Author: Damien Lespiau -Date: Thu Feb 6 21:20:35 2014 +0000 - - kms_plane: Start a basic display plane test - - We test the sprite plane positionning in there, for now. - - Signed-off-by: Damien Lespiau - -commit 3027de0a6653c6168fbc12f895a13c7d2a9ee0e2 -Author: Damien Lespiau -Date: Fri Feb 7 14:12:44 2014 +0000 - - lib/display: Fix assertion in set_plane() - - When cycling throuth planes, we still want to reach the cursor plane. We - have to special case IGT_PLANE_CURSOR as a shorthand to select the - cursor plane (the last plane on the pipe). - - Signed-off-by: Damien Lespiau - -commit fb146aa7825b8f3a1c490f30b4c3912b7fe8eb6d -Author: Damien Lespiau -Date: Thu Feb 6 21:18:28 2014 +0000 - - lib/display: Wait for a vblank after SetPlane() - - Let's be testing friendly and gently wait for the next vblank before - returning from commit() when needed. - - After igt_display_commit() one can safely look at the CRC. - - Signed-off-by: Damien Lespiau - -commit da0f1cf57083c17d047d64bda53d63bd728fed7c -Author: Damien Lespiau -Date: Thu Feb 6 21:06:59 2014 +0000 - - lib/display: Print the fb id, not its pointer in the set_fb() log message - - Signed-off-by: Damien Lespiau - -commit da896537b8919e3e4dbd2067a38ec49f28603e8a -Author: Damien Lespiau -Date: Thu Feb 6 21:06:25 2014 +0000 - - lib/display: Add a way to wait at every commit for inspection - - Signed-off-by: Damien Lespiau - -commit 377f48afe668fc118d6dd902641a1c41c4430b44 -Author: Damien Lespiau -Date: Thu Feb 6 21:06:07 2014 +0000 - - lib: Add a helper to wait for a keypress - - Signed-off-by: Damien Lespiau - -commit c7e3413a081aa7fb2b9f4de5b99c64802b649392 -Author: Damien Lespiau -Date: Thu Feb 6 19:10:51 2014 +0000 - - kms_pipe_crc_basic: Use kmstest_create_color_fb() - - Reducing again the per-test number of lines. - - Signed-off-by: Damien Lespiau - -commit 1d2c9d5e573409edd846c445619c0d41474a0ff0 -Author: Damien Lespiau -Date: Thu Feb 6 19:09:53 2014 +0000 - - lib: Include drm_fourcc.h from igt_kms.h - - This include is needed for the DRM_FORMAT* defines used in the fb - creation helpers. - - Signed-off-by: Damien Lespiau - -commit 063194074e5ce0ad9ceb0f3318e714aaad05ec21 -Author: Damien Lespiau -Date: Thu Feb 6 19:04:58 2014 +0000 - - kms_cursor_crc: Use kmstest_create_color_fb() - - Signed-off-by: Damien Lespiau - -commit a1df2f4363d1ed770db36fb8aba14e65087f11c3 -Author: Damien Lespiau -Date: Thu Feb 6 19:04:12 2014 +0000 - - lib: Introduce a new helper kmstest_create_color_fb() - - We need to create fbs of a single color in a few places. Time to - abstract that out to a helper function. - - Signed-off-by: Damien Lespiau - -commit f0e0b2ae658c44461d00adddea6cc5bba711966d -Author: Damien Lespiau -Date: Thu Feb 6 17:54:33 2014 +0000 - - lib/display: Add support for DRM planes - - We can now extend our plane support beyond primary and cursor planes. - - Signed-off-by: Damien Lespiau - -commit 1c608a2af81f94e601b5961987a6b86eb0e3a824 -Author: Damien Lespiau -Date: Thu Feb 6 16:26:31 2014 +0000 - - tests/kms_cursor_crc: Use igt_pipe_crc_collect_crc() - - Signed-off-by: Damien Lespiau - -commit 6954103192bba9241a4b115a85cb43de779d375f -Author: Damien Lespiau -Date: Thu Feb 6 16:17:38 2014 +0000 - - lib/crc: Add a helper to read a single CRC value - - In this case, we also take care of starting/stopping the CRC collection. - - Signed-off-by: Damien Lespiau - -commit 7d0e2f618c05c784655c9b2a592e7f4de8df88cb -Author: Damien Lespiau -Date: Thu Feb 6 16:17:14 2014 +0000 - - lib/crc: Factor out reading a single CRC value - - Signed-off-by: Damien Lespiau - -commit 162914b9ed0af1436e260133a90b91f32e78b4fe -Author: Damien Lespiau -Date: Thu Feb 6 16:05:19 2014 +0000 - - lib/display: Check if we're trying to use the same pipe on 2 outputs - - Signed-off-by: Damien Lespiau - -commit 65fef0a43410b40f43dc5e0b8937199bebdccf79 -Author: Damien Lespiau -Date: Wed Feb 5 17:51:50 2014 +0000 - - lib/display: Allow to override the display verbosity with an env variale - - Signed-off-by: Damien Lespiau - -commit d435829ae9702c9f777b68227e43eafd702a8031 -Author: Damien Lespiau -Date: Wed Feb 5 17:14:12 2014 +0000 - - kms_cursor_crc: Port the test to the new modeset API - - Signed-off-by: Damien Lespiau - -commit 09faa45f521c98dda0ebc07a417fb34a048a697b -Author: Damien Lespiau -Date: Thu Feb 6 15:45:42 2014 +0000 - - lib/display: Add a way to specify we don't care about the pipe to use - - Signed-off-by: Damien Lespiau - -commit 5ec399b4a6b11dc6c2b1a1bd25b745d4dd9279a6 -Author: Damien Lespiau -Date: Wed Feb 5 16:36:51 2014 +0000 - - lib/display: Add support for the cursor plane - - Signed-off-by: Damien Lespiau - -commit c4823ce9a4d51eeb422be822e8a6d971a7141c24 -Author: Damien Lespiau -Date: Wed Feb 5 15:54:13 2014 +0000 - - lib/display: Fix the SetCrtc disabling log message - - We were displaying the value of fb_id (0), when the actual interesting - thing about this call it that it'll just down the pipe. - - Signed-off-by: Damien Lespiau - -commit 969435a4078be5c1926c6ecbcfcbedfd6a9d8a64 -Author: Damien Lespiau -Date: Wed Feb 5 15:32:15 2014 +0000 - - tests/kms_cursor_crc: Move the array of cursor fb_ids to the stack - - This array is not used outside ouf create_cursor_fb(). A stack allocated - array is enough. - - Signed-off-by: Damien Lespiau - -commit d39f5a059b688878f07586f7a9292299316424c2 -Author: Damien Lespiau -Date: Tue Feb 4 15:11:29 2014 +0000 - - kms_pipe_crc_basic: Use igt_display_get_n_pipes() instead of hardcoding 3 - - Signed-off-by: Damien Lespiau - -commit 72e9a6c8d596d062bd66503c8c2625e1e9e83ba6 -Author: Damien Lespiau -Date: Tue Feb 4 14:59:39 2014 +0000 - - lib/display: Add an accessor to retrieve the number of pipes - - Signed-off-by: Damien Lespiau - -commit a260599b6f557b66346fcbcc81c54f0dc7382f9c -Author: Damien Lespiau -Date: Tue Feb 4 12:07:56 2014 +0000 - - kms_pipe_crc_basic: Use for_each_connected_output() - - Signed-off-by: Damien Lespiau - -commit 992bd5d62a666657aae3e231e9cb7638c405595c -Author: Damien Lespiau -Date: Tue Feb 4 12:06:57 2014 +0000 - - lib: Introduce a for_each_connected_output() macro - - So we can easily cycle through them in tests without knowing too many - internal details about how igt_display_t organize its data. - - Signed-off-by: Damien Lespiau - -commit 09e84cee8b97e8b431e537fbbacde1313d5896ac -Author: Damien Lespiau -Date: Sun Feb 2 17:48:24 2014 +0000 - - lib: Introduce symbolic names for display planes - - It'd be nice to have symbolic names for planes instead of using an index - in igt_output_get_plane(). - - We also namespace the enum to not conflict with anyone. - - Signed-off-by: Damien Lespiau - -commit 417987353ec2bf637839990553967474ccf1528e -Author: Damien Lespiau -Date: Mon Jan 27 16:32:09 2014 +0000 - - kms_pipe_crc_basic: Port to the new modeset API - - Signed-off-by: Damien Lespiau - -commit 3670d6dbff7b829d71ce84d6c9cb88cd5abdbc53 -Author: Damien Lespiau -Date: Mon Jan 27 16:25:43 2014 +0000 - - lib: Introduce a modeset API - - The goals here are: - - Reduce duplicated code in each KMS test - - Provide an API that looks more like what we want for atomic - modesets. The hope is then that it'll be easy to switch, at - run-time, between the "legacy" path and atomic modesets, keeping - the same API for tests. - - Signed-off-by: Damien Lespiau - -commit 01757d052c3427ee28b1a065652721877568a15f -Author: Thomas Wood -Date: Fri Feb 7 17:03:39 2014 +0000 - - tests/gem_seqno_wrap: fix over allocation of arrays - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit e6737b8a4ef42109f82c13127d8e2e5da92eb79f -Author: Thomas Wood -Date: Fri Feb 7 17:03:38 2014 +0000 - - assembler: fix condition for printing a warning - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 49aa4b0df52254d47b354e98ec18236ff82b06e9 -Author: Thomas Wood -Date: Fri Feb 7 17:03:37 2014 +0000 - - debugger: fix the -p option - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 333a5c6f07cba9e6d7a5506521bae5ec89b867c1 -Author: Daniel Vetter -Date: Tue Feb 11 12:14:09 2014 +0100 - - lib/drmtest: Fix up skip_henceforth checks - - We need to first check whether we'll even run the testcase before - deciding to print a premature SKIP/FAIL. Without this and global - skipped resulted in superflous output when running only one testcase. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=74100 - Signed-off-by: Daniel Vetter - -commit a6bc3d91af816f4d979cb6424c6e991362c2a8f8 -Author: Daniel Vetter -Date: Tue Feb 11 12:04:57 2014 +0100 - - tests/gem_reset_stats: Correctly wrap global test code - - Tests _must_ be able to run as non-root and on non-intel platforms, - otherwise the enumeration is busted (since QA enumerates testcases on - a gpu-less xeon box). - - Cc: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 971c7db2c81d0573caf1d35d70f48e6fdace90d0 -Author: Daniel Vetter -Date: Fri Feb 7 10:02:41 2014 +0100 - - tests/pm_rps: remove setfreq - - It's unused. - - Cc: Jeff McGee - Signed-off-by: Daniel Vetter - -commit ffc481b8acc22ee8bbbf142db5b74d99c6bde926 -Author: Daniel Vetter -Date: Fri Feb 7 09:59:42 2014 +0100 - - tests/pm_rps: Round requested freq correctly - - The kernel will round it, so if we don't we'll have a spurious - mismatch. Happens on my machine here with 650-1300MHz range, where the - midpoint is 975. - - Cc: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 0269d1da4999ecb39ea65120a052259b19372748 -Author: Thomas Wood -Date: Thu Feb 6 16:31:54 2014 +0000 - - lib: fix signed/unsigned comparison issues - - Store the result of set_vt_mode as a signed value so that errors can be - caught correctly. - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit c3e9198dd0424feb74cdf6570c769f818f2ca16c -Author: Thomas Wood -Date: Thu Feb 6 16:23:42 2014 +0000 - - assembler: define YY_NO_INPUT to prevent unused symbol warnings - - Signed-off-by: Thomas Wood - Signed-off-by: Daniel Vetter - -commit 32b624c71d6e444056ba87172cc0004e355170d1 -Author: Daniel Vetter -Date: Thu Feb 6 07:49:33 2014 +0100 - - tests/pm_rps: Fix compilation on Linux - - Signed-off-by: Daniel Vetter - -commit 2b8d953aa22477d88ad6d58f3ad04d3bf90a6a84 -Author: Jeff McGee -Date: Fri Jan 31 10:13:53 2014 -0600 - - pm_rps: New subtest for gpu reset - - Test that RPS functions as expected after a gpu reset. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 663d758d919610b09a8bddbadd8a0b668eab6be8 -Author: Jeff McGee -Date: Fri Jan 31 10:13:52 2014 -0600 - - pm_rps: Add variable load support to load helper - - The load helper can be set to HIGH or LOW. HIGH is the original mode - of sending continuous dword store commands. LOW adds a pause between - each command to reduce throughput. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 22dfb0988aa5f055fb96873d037825bb0317a0e0 -Author: Jeff McGee -Date: Fri Jan 31 10:13:51 2014 -0600 - - pm_rps: Load helper should stall for last write - - This ensures that gpu is quiescent when load helper exits. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 2d16e0aad7a31a0964ae35fa07c70f4c2fb513b0 -Author: Jeff McGee -Date: Fri Jan 31 10:13:50 2014 -0600 - - pm_rps: Add stop rings injection utility - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 2cbb0fbf5f3dc839a11d23a970948cb91718594e -Author: Jeff McGee -Date: Tue Jan 28 18:25:06 2014 -0600 - - pm_rps: New subtest min-max-config-loaded - - Like subtest basic-api, but additionally requires that current - frequency is increasing to the configured maximum within reasonable - time since we are loaded. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit ceb14b190594b767667d34c284e4afdb1932f973 -Author: Jeff McGee -Date: Tue Jan 28 18:25:05 2014 -0600 - - pm_rps: Add load helper for loading gpu - - The load helper submits repeated dword store commands to keep the - gpu loaded while subtests running in the parent process check for - expected rps response. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit fd3fcbd3b3f12f878737d331d361de7eda0f579a -Author: Jeff McGee -Date: Tue Jan 28 18:25:04 2014 -0600 - - lib/drmtest: Add igt_wait_helper - - igt_wait_helper compliments igt_stop_helper and is used when helper - processes are expected to exit naturally. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 3bada1626cd35800533361296f4340f64b91321c -Author: Jeff McGee -Date: Tue Jan 28 18:25:03 2014 -0600 - - pm_rps: New subtest min-max-config-idle - - Like subtest basic-api, but additionally requires that current - frequency is settling to the configured minimum within reasonable - time since we are idle. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 2423b6c04e54792adc42b7d477861d9ffb87fdc3 -Author: Imre Deak -Date: Wed Feb 5 13:48:26 2014 +0200 - - lib/drmtest: fix hang in quiescent_gpu_at_exit due to signal-unsafe asprintf - - I got kms_flip in hung state with the backtrace below, while the parent process - waiting for the signal helper to exit. It was quite easy to reproduce the bug - by running - - kms_flip --run-subtest=flip-vs-dpms-off-vs-modeset - - With the change I couldn't reproduce it. - - TODO: audit/fix other signal handlers with signal-unsafe functions - - 0  0x00007f9a1362018b in ?? () from /lib/x86_64-linux-gnu/libc.so.6 - 1  0x00007f9a1359df81 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 - 2  0x00007f9a1359b6cf in ?? () from /lib/x86_64-linux-gnu/libc.so.6 - 3  0x00007f9a13628eb6 in __vasprintf_chk () from /lib/x86_64-linux-gnu/libc.so.6 - 4  0x00007f9a13628e72 in __asprintf_chk () from /lib/x86_64-linux-gnu/libc.so.6 - 5  0x000000000040a4a2 in asprintf (__fmt=0x417441 "/dev/dri/card%u", __ptr=0x7fff1a972c08) -     at /usr/include/x86_64-linux-gnu/bits/stdio2.h:178 - 6  drm_get_card () at drmtest.c:190 - 7  0x000000000040a54a in __drm_open_any () at drmtest.c:229 - 8  0x000000000040a846 in quiescent_gpu_at_exit (sig=) at drmtest.c:281 - 9  0x0000000000408759 in call_exit_handlers (sig=3) at drmtest.c:1519 - 10 fatal_sig_handler (sig=3) at drmtest.c:1543 - 11 - 12 0x00007f9a13596770 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 - 13 0x00007f9a135d8f3f in fork () from /lib/x86_64-linux-gnu/libc.so.6 - 14 0x000000000040b3af in __igt_fork_helper (proc=0x61d8cc ) at drmtest.c:1199 - 15 0x000000000040b4ce in igt_fork_signal_helper () at drmtest.c:751 - 16 0x0000000000404167 in main (argc=, argv=) at kms_flip.c:1533 - - v2: - - can't use snprintf as that's also signal-unsafe, so just use a dup'ed fd (Chris,Daniel) - - Signed-off-by: Imre Deak - -commit 5c9c8841eb66676dd65e84d51fa87a4b4b8ad764 -Author: Chris Wilson -Date: Tue Feb 4 14:14:31 2014 +0000 - - tests: Add gem_madvise - - Exercise that calling madvise produces expected results - - Signed-off-by: Chris Wilson - Signed-off-by: Daniel Vetter - -commit 98952a1f6e7e5439e4b77482bd08422212c32e47 -Author: Daniel Vetter -Date: Tue Feb 4 13:10:37 2014 +0100 - - fix make distcheck - - Bunch of explicit include paths needed adjustments and - eviction_common.c needs to be added to the dist files. - - This has been broken in the following three commits: - - commit 42bcd05eb3f1545fbf9c397c3f37c3f6a27c5da4 - Author: Tvrtko Ursulin - Date: Mon Feb 3 10:59:41 2014 +0000 - - tests/eviction_common: Avoid submitting duplicate objects - - commit b92b397d5e4ffe10ed92fb2fc6711758ef5bcf89 - Author: Tvrtko Ursulin - Date: Tue Dec 3 15:09:57 2013 +0000 - - build: Make sure asserts are enabled for tests - - commit 8c33e9ad111d27b84db4daac43809a807f262632 - Author: Ben Widawsky - Date: Fri Dec 6 20:35:29 2013 -0800 - - intel-gpu-tools: Version informatio - - Cc: Tvrtko Ursulin - Cc: Ben Widawsky - Signed-off-by: Daniel Vetter - -commit 42bcd05eb3f1545fbf9c397c3f37c3f6a27c5da4 -Author: Tvrtko Ursulin -Date: Mon Feb 3 10:59:41 2014 +0000 - - tests/eviction_common: Avoid submitting duplicate objects - - Make sure selection loop does not generate duplicates - when it picks a subset of objects for a single exec buffer. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit e1dea7e2e190307056a05a2945e59b59fe5b6fc0 -Author: Tvrtko Ursulin -Date: Mon Feb 3 10:59:40 2014 +0000 - - tests/gem_evict_everything: Factor out eviction logic - - In preparation for userptr test we move the eviction logic - into a common file so it can be used from both test cases. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit d8ea09f24d9e0c75593bc6e89c742998c23087fc -Author: Damien Lespiau -Date: Wed Jan 29 15:53:33 2014 +0000 - - gem_ring_sync_copy: Add a ring to ring synchronization test - - 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 - -commit 09bcb0ab4b79273cfccdfa87f860b0be1addcc7b -Author: Rafael Barbalho -Date: Fri Jan 31 14:57:40 2014 +0000 - - android: Change tests & tools directory to use the lib directory - - Instead of recompiling the lib directory for every tool or tests we can just - re-use the static library. This also has the nice side effect of fixing the - android "mm" command to allow android users to only rebuild the local changes - in either the test or tools directory. - - Signed-off-by: Rafael Barbalho - Signed-off-by: Damien Lespiau - -commit bdb08f981c5ebed0ff1f0067f1aa085636b9ac7b -Author: Rafael Barbalho -Date: Fri Jan 31 14:57:39 2014 +0000 - - android: Add the generation of vesion.h & config.h to lib - - The lib directory is used by all the tests & tools so it should really be - the place where the generate files are created. - - Signed-off-by: Rafael Barbalho - Signed-off-by: Damien Lespiau - -commit 005c333e5c3ba9285e5d918877e9dd992fd2a4b9 -Author: Rafael Barbalho -Date: Fri Jan 31 14:57:38 2014 +0000 - - android: Add makefile for the lib directory - - The lib directory should really be compiled as a static library on its own - and be re-used by any tests or tools that require it. - - Signed-off-by: Rafael Barbalho - Signed-off-by: Damien Lespiau - -commit 4c79264b3cda6ef548f4125ebf49d470ab968ede -Author: Rafael Barbalho -Date: Fri Jan 31 14:57:37 2014 +0000 - - android: Clean-up common makefile directives - - All the Android.mk files had the same directives to find the path of - libdrm & libpciaccess. These are no longer required as the android system - now allows the libraries being used to export include paths to dependant - modules & programs. - - Signed-off-by: Rafael Barbalho - Signed-off-by: Damien Lespiau - -commit 79ea9a9071fcd39493f68ae4d7ba9941701195c9 -Author: Rafael Barbalho -Date: Fri Jan 31 14:57:36 2014 +0000 - - android: Handle the case when android doesn't have mmap64 - - Not all versions of Android have the mmap64 call, thus a suitable alternative - must be called. - - Signed-off-by: Rafael Barbalho - Signed-off-by: Damien Lespiau - -commit e72f3bcc7700fbf1f381248b0c7fedb2777b8ff1 -Author: Ben Widawsky -Date: Fri Jan 31 05:33:56 2014 +0000 - - quick_dump/broadwell: Add gen7 ring mode registers - - Signed-off-by: Ben Widawsky - -commit 56d347fad864d13b9d39512a308bb54d5f36f828 -Author: Ben Widawsky -Date: Fri Jan 31 05:31:07 2014 +0000 - - quick_dump/haswell: Add gen7 stuff + VECS_MODE - - Signed-off-by: Ben Widawsky - -commit 556c200e99da687f828f2d5e61a49f7fc21b2cb7 -Author: Ben Widawsky -Date: Fri Jan 31 05:29:27 2014 +0000 - - quick_dump/gen7: Add other GFX_MODE registers - - Signed-off-by: Ben Widawsky - -commit b5a1ab3d6e2002607f6c6387b0bf8a79cffc8224 -Author: Ben Widawsky -Date: Fri Jan 31 04:46:06 2014 +0000 - - quick_dump: Add a file argument - - -f, or --file will simply dump the file in the specified format. All - other options will be skipped. This is helpful when one wants to create - their own list for temporary debug, or if one requires a subset of - registers to work around things like fused off PCH. - - Signed-off-by: Ben Widawsky - -commit 8ce7c366d7d2903aa66161d836bd1295a8d3a806 -Author: Ben Widawsky -Date: Fri Jan 31 04:42:50 2014 +0000 - - quick_dump: Refactor to allow future code - - Extract everything possible, and create a main function which is pretty - darn simple. The goal is to make the various paths the program can take - based on command line options (one more is coming) more decipherable. - - Signed-off-by: Ben Widawsky - -commit 48ad03ca0c5f078b8d12a64323fd93b3858041af -Author: Chris Wilson -Date: Fri Jan 31 16:56:01 2014 +0000 - - lib: Capture errno on entry - - When printing the errno, it is important that we capture the user errno - before we make any library calls - as they may alter the value. - - References: https://bugs.freedesktop.org/show_bug.cgi?id=74007 - Signed-off-by: Chris Wilson - -commit be22e10885eba556428919c2bbc71b4b644cb1a4 -Author: Chris Wilson -Date: Wed Jan 29 22:59:57 2014 +0000 - - igt/gem_close_race: Fix blit commands for BDW - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73958 - Signed-off-by: Chris Wilson - -commit 5e21b434da95c8b66a97a79649a61eb40a161a70 -Author: Jesse Barnes -Date: Tue Jan 28 14:17:30 2014 -0800 - - iosf: make iosf_rw take a larger addr - - For higher DPIO ranges for example. Also fix it up to use - intel_register_read/write. - - Signed-off-by: Jesse Barnes - -commit e558dd998de723f7f110e51dbd0ce495748d5925 -Author: Jesse Barnes -Date: Tue Jan 28 13:58:55 2014 -0800 - - dpio: make dpio reg read/write output like normal reg read/write output - - Just for consistency. - - Signed-off-by: Jesse Barnes - -commit 670a717b5bf4c21dde338b87e5b660632ff6f6b0 -Author: Jesse Barnes -Date: Tue Jan 28 13:58:23 2014 -0800 - - mmio: drop unused i915_loaded fn - - Signed-off-by: Jesse Barnes - -commit 81095305f4df5289f4d494345da0c87949b55f54 -Author: Jesse Barnes -Date: Tue Jan 28 13:46:38 2014 -0800 - - mmio: use intel_iosf.c for DPIO reads and writes - - This makes it a bit more like the kernel, so we can go poke at DPIO and - other IOSF regs a bit more easily. - - Signed-off-by: Jesse Barnes - -commit d1b5823ee7645c767616ee4e5f23f6692a280dde -Author: Daniel Vetter -Date: Mon Jan 27 23:38:02 2014 +0100 - - tests/pm_rps: rename basic test to "basic-api" - - Jeff plans to add more tests ... - - Signed-off-by: Daniel Vetter - -commit 5d26a7e2a246265754d51320c35364a3b94cf4e6 -Author: Jeff McGee -Date: Tue Jan 21 17:14:33 2014 -0600 - - pm_rps: Make frequency logging more compact - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 88864d2ba584cc11f33dafc5c91f1a8e3175d963 -Author: Jeff McGee -Date: Tue Jan 21 17:14:32 2014 -0600 - - pm_rps: Remove repeat sysfs reads - - Storing values avoids some unnecessary overhead but more importantly - allows all of our processing to be atomic. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 4e3b661b480b0a43d9cf45afaf0cae835cb66dcc -Author: Jeff McGee -Date: Tue Jan 21 17:14:31 2014 -0600 - - pm_rps: Expand on min and max config testing - - Add a function that methodically varies min and max to exercise - several valid and invalid combinations. Allow the caller to - define what is to be checked between each step. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 22533b1eb038dbf4d3dc79945b81cefc4aac64be -Author: Jesse Barnes -Date: Mon Jan 27 10:43:02 2014 -0800 - - NEWS: update with nomodeset register access change - -commit 0d20fa3cc218c48421a9625fc1241008db4496d0 -Author: Jesse Barnes -Date: Mon Jan 27 10:26:57 2014 -0800 - - quick_dump: more vlv dpio regs - -commit 5ecac45ff08945f99365ff6d29ba21f896cdb1b6 -Author: Jesse Barnes -Date: Mon Jan 27 10:26:05 2014 -0800 - - mmio: allow register init even if debugfs isn't available and i915 isn't loaded - - This lets us dump regs even if modeset=0 for example. - - Signed-off-by: Jesse Barnes - -commit 0b4c33f62c2d4a61b0b5e9184524c8ca273400b1 -Author: Chris Wilson -Date: Sun Jan 26 14:36:32 2014 +0000 - - igt/gem_concurrent_blit: Scale resource usage to RAM correctly - - Note that we use twice the number of buffers, and so we need to restrict - num_buffers appropriately to fit within RAM. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72255 - Signed-off-by: Chris Wilson - -commit b5109e62cea170f3550588119d41a9bcf79789e5 -Author: Chris Wilson -Date: Thu Jan 23 21:50:36 2014 +0000 - - intel_error_decode: Protect against missing ring registers - - A dodgy kernel may miss printing out the ring registers leading to a - FPE. - - Signed-off-by: Chris Wilson - -commit 4a9b70c3262a30e70207583cc23da67bba538437 -Author: Tvrtko Ursulin -Date: Wed Jan 22 10:41:05 2014 +0000 - - tools: Allow building on Android after noinst_PROGRAMS is not defined any more - - Looks like filter-out macro gets silently unhappy about an undefined variable. - - Reviewed-by: Damien Lespiau - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Damien Lespiau - -commit c05c88c2b641aaab83608fb2c8e816893690c1fe -Author: Mika Kuoppala -Date: Tue Jan 21 17:40:08 2014 +0200 - - tests/gem_reset_stats: stop only one ring when submitting hang - - If we stop all the rings, we can end up blaming the innocent - rings on hangcheck. - - Reference: https://bugs.freedesktop.org/show_bug.cgi?id=73652 - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 1bbb607d9f3ee8e725a784f740937577f153a520 -Author: Ben Widawsky -Date: Tue Jan 21 18:03:42 2014 -0800 - - gem_storedw_batches_loop: Fix for pre-BDW - - My git failures are truly remarkable. I ended up pushing the wrong - commit here: - commit 1552aa21124cabe762862bb414490510415a2b2d - Author: Ben Widawsky - Date: Mon Jan 13 06:28:45 2014 -0800 - - gem_storedw_batches_loop: Fix for BDW - - This puts the offset of the reloc in the wrong place for pre-BDW - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73866 - Signed-off-by: Ben Widawsky - -commit 03d144d16ffef63cedca81ccb4708b173b16868f -Author: Chris Wilson -Date: Mon Jan 20 15:57:16 2014 +0000 - - kms_flip: Try to consume all fences after a flip - - As a flip is outstanding, there is an issue that the kernel may not be - able to release one of the fences that userspace requires and erroneous - report EDEADLK (on gen2, gen3). - - Signed-off-by: Chris Wilson - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73696 - -commit ac0224f184212e8c4baa6de6fbe379c7c22f2008 -Author: Ben Widawsky -Date: Mon Jan 20 10:40:23 2014 -0800 - - quick_dump/watermarks: lp3, misc and debug - - I forgot to git add this originally. - - Signed-off-by: Ben Widawsky - -commit 3deaeb282656e6e9da4327b79db385479fefdb0b -Author: Ben Widawsky -Date: Fri Jan 17 20:32:01 2014 -0800 - - quick_dump/broadwell: Use haswell_other - - For now, the power controls and watermarks seem to be the same offsets. - So just reuse haswell_other.txt - - Signed-off-by: Ben Widawsky - -commit 58aa7346c370700658fbbe13659e823afe98b6e4 -Author: Ben Widawsky -Date: Fri Jan 17 20:26:54 2014 -0800 - - quick_dump/hsw: Watermark debug - - Signed-off-by: Ben Widawsky - -commit 73ca22c9e880b0598935c871d809ecfb1f3473fc -Author: Ben Widawsky -Date: Fri Jan 17 20:10:46 2014 -0800 - - quick_dump: Allow comments in the register files - - Simple addition to the parser to add the following full line comments: - {';', '#', "//"} - - Empty lines will also be ignored - - Signed-off-by: Ben Widawsky - -commit 724340cf36b4e2a87d8c545410224b617f813cc8 -Author: Ben Widawsky -Date: Fri Jan 17 19:35:22 2014 -0800 - - quick_dump: Fix the indentation - - Fix the spaces to use [the python standard] 4 soft spaces for tabe. - While here, add the proper vim tag so we don't do it again. - - Signed-off-by: Ben Widawsky - -commit a5d17d2b0e14cafaa2573d9e538af2a98d2338cc -Author: Ben Widawsky -Date: Fri Jan 17 20:16:55 2014 -0800 - - .gitignore: Add pycache - - quick_dump which is python, generates files in __pycache__ which are the - moral equivalent of object files. Don't let people add them to the index - accidentally. - - Signed-off-by: Ben Widawsky - -commit 5b9147513029ca1e1eaf2c028e6f868adc3359f6 -Author: Daniel Vetter -Date: Sun Jan 19 22:15:13 2014 +0100 - - tests/gem_fd_exhaustion: Make it work - - - We need to drop root to actually hit the limits. This requires us to - fork the actual test since otherwise the exit handlers (which - require root) fail the entire test. - - Don't assert that the gem create ioctl succeeds, it won't on the - final run of the loop. - - Signed-off-by: Daniel Vetter - -commit 7d2ba073adef9c4c6f7a679befa2a5d19cbf4735 -Author: Daniel Vetter -Date: Sun Jan 19 22:13:36 2014 +0100 - - lib: add __gem_create - - Useful for when a gem_create ioctl is expected to fail. - - Signed-off-by: Daniel Vetter - -commit 71f1f9eafd68c82382d165028ae73035742bb730 -Author: Daniel Vetter -Date: Sun Jan 19 22:12:25 2014 +0100 - - tests/pm_rps: Add missing static - - Signed-off-by: Daniel Vetter - -commit ae57cd7dc7db8a9a72d8ee764f72cd8fd9e75a76 -Author: Daniel Vetter -Date: Sun Jan 19 22:11:47 2014 +0100 - - debugger: avoid global variable shadowing - - Signed-off-by: Daniel Vetter - -commit 862de5636f545a071f29f60ae0a4ab1370f5cf8b -Author: Daniel Vetter -Date: Sun Jan 19 22:06:48 2014 +0100 - - lib: extract igt_drop_root - - Useful in other tests. - - Signed-off-by: Daniel Vetter - -commit 70082e3677711bc01330ba3483fbdce5779f915d -Author: Daniel Vetter -Date: Sun Jan 19 18:01:24 2014 +0100 - - tests: Add gem_fd_exhaustion - - 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 - -commit 36106004e0e590557041e491fe690f01c89bc115 -Author: Daniel Vetter -Date: Sun Jan 19 14:48:07 2014 +0100 - - tests: Move pm_rps to the right Makefile target - - If it's not in the multi-test target group testrunners won't pick up - on the fact that they need to enumerate subtests first. - - Cc: jeff.mcgee@intel.com - Signed-off-by: Daniel Vetter - -commit 7f1c5057cf1dec0494b8929722fc092625b3c4d1 -Author: Jeff McGee -Date: Fri Jan 17 16:56:06 2014 -0600 - - pm_rps: Fix verbose option and streamline its use - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit d14cd7430bbba6516a900393f7af1f44c7b6f3ee -Author: Jeff McGee -Date: Fri Jan 17 16:56:05 2014 -0600 - - pm_rps: Convert to subtest structure - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 0102b6bde6dc69cccee7d33df233e4ef1b73d9be -Author: Jeff McGee -Date: Fri Jan 17 16:56:04 2014 -0600 - - pm_rps: Add read back checking on sysfs writes - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit e07e758004ae3014504b7799cff3838f11dce848 -Author: Daniel Vetter -Date: Fri Jan 17 07:42:22 2014 +0100 - - tools: Install them all - - No reason really not too, especially since we install manpages for - some of them. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66656 - Signed-off-by: Daniel Vetter - -commit 8fa2066d7e707787019ecda814442c4789840499 -Author: Daniel Vetter -Date: Wed Jan 15 23:59:52 2014 +0100 - - tests/gem_gtt_hog: Use igt_simple_main - - Results in the compiler complaining about wrong exits and return values. - - Signed-off-by: Daniel Vetter - -commit eb1fddc057b363225153f86cf419f42d7d83469d -Author: Daniel Vetter -Date: Wed Jan 15 23:58:50 2014 +0100 - - tests/primve_nv_pcopy: Comment out unused check_swizzle function - - I've botched this in my patch to disable the swizzled pcopy test. - - Signed-off-by: Daniel Vetter - -commit 5e278c86eda1d5ade7c0fc425edc589e3c9dff59 -Author: Chris Wilson -Date: Wed Jan 15 10:40:40 2014 +0000 - - gem_gtt_hog: use a normal exit() - - Since we don't execute any subtests, using igt_exit leads to - inconsistent behaviour. In the future, this may be converted. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73641 - Signed-off-by: Chris Wilson - -commit a896ef9c1f67cf707fd2aea900e9276b4ff535d6 -Author: Robert Beckett -Date: Tue Jan 14 18:01:38 2014 +0000 - - igt: tests/Android.mk: fix LOCAL_PATH usage - - Fix usage of shared variable LOCAL_PATH in deferred variable expansion area. - - In Makefile language, rule and dependency definitions use immediate - expansions of variables, so they get expanded as soon as the rule is - created (1st pass). Rule implementation (a.k.a recipe) use deferred - expansion (2nd pass). - - Android effectively makes all Android.mk files a single makefile by - including them all in a big tree from the toplevel makefile. The rules - are all evaluated in the first pass and targets are generated. Then the - 2nd pass happens and the required target's recipes are run. At this - point, LOCAL_PATH has been assigned the value from the last evaluated - Android.mk in the 1st phase that defined LOCAL_PATH (most Android.mk use - this variable). In my particular case, it was the bootloader's - Android.mk that was evaluated last and had defined LOCAL_PATH to it's - path. The errors are rather misleading due to it looking like a bug in - another module's Android.mk rather than this one :) - - Basically, if you want to use a variable that any other Android.mk - defines, then you can only use it in an immediate expansion context, - not a deferred expansion context as it will likely be re-defined by - the time the 2nd pass happens. - - This patch stores it in a unique variable that should not be being - used by other Android.mk files. An alternative fix would be to use $@ - and $< as the files in question are target and dependency, but I never - like using those as they can easily break if dependencies are added - etc. I prefer variable to be explicitly named to make them obvious. - - See gnu make manual for explanation of deferred vs immediate - expansion of variables : - http://www.gnu.org/software/make/manual/make.html#Reading-Makefiles - - Reviewed-by: Damien Lespiau - Signed-off-by: Robert Beckett - -commit 44c0b2aeff41e258c74bb1b1221359c4661accd8 -Author: Mika Kuoppala -Date: Fri Jan 10 17:24:17 2014 +0200 - - tests/gem_reset_stats: run tests on all rings - - Run all relevant tests on all rings. - - Suggested-by: Daniel Vetter - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 3367359a9858a5ad806876213593ad912d2ef30f -Author: Mika Kuoppala -Date: Fri Jan 10 17:24:16 2014 +0200 - - tests/gem_reset_stats: split ctx tests - - Split context related tests from non-context ones - and cleanup the naming. - - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit fef1930bf30b8182fe8e6e26b8f722ee8995da71 -Author: Daniel Vetter -Date: Tue Jan 14 13:41:21 2014 +0100 - - tests/prime_nv_pcopy: disable swizzle tests - - It's pure luck that nv can detile some of the intel layouts since one - of the video MC formats matches it. Since we can't possible fix this - comment the test out. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73538 - Acked-by: Maarten Lankhorst - Signed-off-by: Daniel Vetter - -commit 1552aa21124cabe762862bb414490510415a2b2d -Author: Ben Widawsky -Date: Mon Jan 13 06:28:45 2014 -0800 - - gem_storedw_batches_loop: Fix for BDW - - Existing code was trying to be too clever and wasn't properly emitting - the high dword, or the correct length. - - Signed-off-by: Ben Widawsky - -commit fee27cf822cff981f3e6f8fb6ea4a8c5fe3579b3 -Author: Ville Syrjälä -Date: Mon Jan 13 17:05:19 2014 +0200 - - tests: Drop glib.h include from kms_cursor_crc and kms_fbc_crc - - kms_cursor_crc and kms_fbc_crc don't need glib.h. This was just some - copy-paste error on my part. - - Signed-off-by: Ville Syrjälä - -commit 2a7dbe5f0103ffdf44be174781868adb1a03f8a4 -Author: Jeff McGee -Date: Fri Jan 10 15:12:33 2014 -0600 - - pm_rps: Use igt exit handler for restore - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit d0b5fd2bff7ce8ec1ada15da6ca9ed2425cbf1c5 -Author: Jeff McGee -Date: Fri Jan 10 15:12:32 2014 -0600 - - pm_rps: Fix test to target original min and max - - The goal of the test is to confirm that gt_cur_freq_mhz can be forced - to the boundaries of the frequency range by collapsing gt_min_freq_mhz - and gt_max_freq_mhz to the target value. But we miss testing the upper - end of the range by targetting the current value of max after it has - been set equal to min. So fix by targetting orginal max instead of - current max. - - This correction exposes a problem in setfreq where min is always set - to target before max, which should fail if the target value is greater - than max. So fix that too. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 44b5d7b3300dd7c94d09c57c95ab3a407f8b17ef -Author: Jeff McGee -Date: Fri Jan 10 15:12:31 2014 -0600 - - pm_rps: Assert that valid sysfs writes return success - - do_writeval now always checks the return value, whether we expect - success or a specific error. Also add new macro writeval_inval to - simplify repeated use of do_writeval to test for EINVAL return code. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 265efbb2c4401542c8753e0d83d7a98493720865 -Author: Jeff McGee -Date: Fri Jan 10 15:12:30 2014 -0600 - - pm_rps: Use unbuffered I/O on sysfs files - - Bionic C library may not re-read a buffered, read-only file which - results in failure to monitor changes in gt_cur_freq_mhz. - - Signed-off-by: Jeff McGee - Signed-off-by: Daniel Vetter - -commit 45d63644d28c34202a97bd812f6c46c853e97d28 -Author: Chris Wilson -Date: Fri Jan 10 21:13:56 2014 +0000 - - tests/gem_pipe_control_store_loop: Delete bogus assertion - - target_bo->offset was just being used to verify that the batch - submission worked and fortunately was not being relied upon for any - subsequent conditions. However, address 0 is valid and so the assertion - itself was bogus as it is possible (almost assured with full-ppgtt) for - the target_bo to be located at address 0. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72984 - Signed-off-by: Chris Wilson - -commit 84af2b9be8792fb288d4ce75821a27706e5351c3 -Author: Chris Wilson -Date: Fri Jan 10 16:09:57 2014 +0000 - - gem_gtt_hog: Print elapsed time in ms - - Missed one last diff before pushing - -commit f62abaff99792f10962b1aa072b8a3b314765591 -Author: Chris Wilson -Date: Fri Jan 10 13:42:55 2014 +0000 - - tests: Add gem_gtt_hog - - 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. - -commit 2c9e76184518854f21d367296ababef87fb41243 -Author: Daniel Vetter -Date: Fri Jan 10 09:21:54 2014 +0100 - - tests/gem_largeobject: Prefault instead of pin - - This doesn't test pin but pwriting to big objects ... - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72901 - Signed-off-by: Daniel Vetter - -commit cb9e8376fac2c96c2e6bffa511b3087d916286d0 -Author: Daniel Vetter -Date: Fri Jan 10 09:21:15 2014 +0100 - - tests: fixup igt_simple_main fallout - - Oops, I should look at compilier warnings a bit better. - - Signed-off-by: Daniel Vetter - -commit 7775fca2df815dfee18b181de6fe13df27bb9867 -Author: Daniel Vetter -Date: Wed Jan 8 20:24:36 2014 +0100 - - tests/gem_ctx_exec: fix ram requirement fumble - - We need to half available ram, not double it ... - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72557 - Signed-off-by: Daniel Vetter - -commit 864d09ed4c11f89e1cd91b187a48c57b4c00b779 -Author: Daniel Vetter -Date: Tue Jan 7 19:25:11 2014 +0100 - - tests/NAMING-CONVENTION: s/snooped/snoop/ - - Oops. We should be a bit more consistent with which verb form we're - picking. tile,tiled,tiling is even worse ... - - Signed-off-by: Daniel Vetter - -commit 67c80f8d816259067b7474fe6f8c79915d6483f0 -Author: Devon Davies -Date: Wed Jan 8 16:07:06 2014 +0000 - - build: Added -UNDEBUG to tools/Android.mk - - NDEBUG is defined by default in Android and causes assert(x) to be - defined as void(x). This change ensures that asserts work as - expected in tools. - - This flag is already inside tests/Android.mk - - Reviewed-by: Oscar Mateo - Signed-off-by: Devon Davies - Signed-off-by: Damien Lespiau - -commit 0ec9c94bea6d1ba3969a03ebf75494115e24edf6 -Author: Damien Lespiau -Date: Mon Jan 6 14:56:02 2014 +0000 - - tools: Remove intel_disable_clock_gating - - This tool only supports ILK. I take the fact that nobody has felt the - need to update for later platform a sign it's not very useful. - - Reviewed-by: Kenneth Graunke - Signed-off-by: Damien Lespiau - -commit 5fdca4c1666fb055f1ba955beaa5511b99ebfbd6 -Author: Damien Lespiau -Date: Tue Jun 4 13:55:06 2013 +0100 - - tools: Removed unused tools/intel_iosf_read.c - - Also intel_iosf_read() does not exist, and would need a bit more - arguments. - - Reviewed-by: Kenneth Graunke - Signed-off-by: Damien Lespiau - -commit a1baf3050e3b329cf52064ec92c1dbd8bde3aab0 -Author: Damien Lespiau -Date: Tue Jun 4 11:36:23 2013 +0100 - - lib: Use INSTDONE_I965 and INSTDONE_1 for gen6 - - The GEN6_INSTDONE_1 and GEN6_INSTDONE_2 registers are just the old - INSTDONE_I965 and INSTDONE_1 registers but renamed. Let's use the old - names (this is what the kernel does). - - Reviewed-by: Kenneth Graunke - Signed-off-by: Damien Lespiau - -commit 3ebd8aa95e610268cfa9b1307e6c707649f96f40 -Author: Damien Lespiau -Date: Tue Jun 4 09:06:50 2013 +0100 - - lib: Move the INSTDONE bit definitions to instdone.c - - This is the only place where they are used and we've even started using - 1 << n constants with gen 7. - - Reviewed-by: Kenneth Graunke - Signed-off-by: Damien Lespiau - -commit da78bc497b46f09f8b161202d6f61e6dd26e9a65 -Author: Damien Lespiau -Date: Tue Jun 4 06:48:49 2013 +0100 - - instdone: Add an assert to make sure we never overflow instdone_bits - - Reviewed-by: Kenneth Graunke - Signed-off-by: Damien Lespiau - -commit d8b1dee220dc07bfae9d7fd82e360cc56bf9c30f -Author: Damien Lespiau -Date: Tue Jun 4 05:41:36 2013 +0100 - - intel_reg: Renamed INST_DONE to INSTDONE - - That's how the registers are named in the kernel defines. - - Reviewed-by: Kenneth Graunke - Signed-off-by: Damien Lespiau - -commit 98c10d379b8d6b8e34da1e9963a114413021838e -Author: Paulo Zanoni -Date: Mon Dec 30 11:40:03 2013 -0200 - - tests/kms_flip: free the test_output struct when counting modes - - Looks like we have to do a lot of work just to count the number of - modes... - - Caught by Valgrind. - - Signed-off-by: Paulo Zanoni - -commit 69856b5e7b96f6945da7f6c42a1468a38513b3ca -Author: Paulo Zanoni -Date: Mon Dec 30 11:33:16 2013 -0200 - - tests/kms_flip: don't leak the connector_config struct - - ... in case we can't find a compatible mode. We already have - config[0], we can't return without freeing it first. - - Caught by Valgrind. - - Signed-off-by: Paulo Zanoni - -commit 056500bdc5e4243a8baa3503ec9c3fdd7323a454 -Author: Paulo Zanoni -Date: Mon Dec 30 11:30:03 2013 -0200 - - tests/kms_flip: don't leak the CRTC - - The kms_flip program calls kmstest_get_connector_config, which returns - a struct containing some allocated variables, including a pointer to - the CRTC. The problem is that we copy the values returned by this - structure to the test_output struct, but we ignore the CRTC pointer. - So free the CRTC pointer instead of leaking it. - - Caught by Valgrind. - - Signed-off-by: Paulo Zanoni - -commit 02ad7e04dd0ddbb77e928330f8490680f1e200cc -Author: Paulo Zanoni -Date: Mon Dec 30 11:27:57 2013 -0200 - - tests/kms_flip: don't leak the connector when setting DPMS - - Caught by Valgrind. - - Signed-off-by: Paulo Zanoni - -commit 329faeccf72ce8f289004809d5e3245cb6620ab9 -Author: Paulo Zanoni -Date: Mon Dec 30 11:20:39 2013 -0200 - - drmtest: don't leak memory when parsing the arguments - - Found this while investigating memory leaks on kms_flip. Detected by - Valgrind. - - Signed-off-by: Paulo Zanoni - -commit bb40494671b7641540dcb2015e9411aebd5016bb -Author: Daniel Vetter -Date: Tue Jan 7 08:14:33 2014 +0100 - - NEWS updates - - Signed-off-by: Daniel Vetter - -commit 1d2ef9553ae4b738595676b7554f93d70acd78a0 -Author: Damien Lespiau -Date: Mon Dec 16 11:28:39 2013 +0000 - - intel_error_decode: Factor out common decoding code - - 4 pieces of code were looking very similar. Let's factor out a common - function in the not so unlikely case we need to tweak that code. - - Signed-off-by: Damien Lespiau - -commit 01eeab94482de8c8fa687ffcfa95e5d32720909d -Author: Ben Widawsky -Date: Thu Jan 2 19:33:57 2014 -1000 - - configure.ac: Fix shader debugger for real - - I tried to get fancy before, but ended up pushing something which I - didn't test. Keep the thing simple and stupid, and just make it work. - - Reported-by: Paulo Zanoni - Signed-off-by: Ben Widawsky - -commit 164d9d26ac33029287a24fbed549e3a2858d5d51 -Author: Chris Wilson -Date: Mon Dec 30 17:48:43 2013 +0000 - - kmstest: Fix up lifetimes of cairo objects - - cairo_t is the short lived drawing context, whereas cairo_surface_t is - the heavyweight object that persists and is also tied to underlying GEM - objects. So make the kmstest API reflect the different weights and fix - the lifetime and underlying object reference leaks. - - Based on the fix by Paulo Zanoni. - - Signed-off-by: Chris Wilson - -commit 9d6cfa6b59d0c22cf772ca71069f9e5f3e53d055 -Author: Ben Widawsky -Date: Mon Dec 30 10:41:43 2013 -0800 - - configure.ac: Fixup conditional shader debugger - - The original patch was incomplete. Testing no assembler build is a pain - for me. Sorry for the mess. - - Signed-off-by: Ben Widawsky - -commit 3ed4b5bd1180c034820a4bf83eec896fd21ae33e -Author: Ben Widawsky -Date: Mon Dec 30 10:32:06 2013 -0800 - - configure.ac: Remove GEN4ASM define - - This was a leftover hunk that got accidently merged. - - Signed-off-by: Ben Widawsky - -commit 72fe2b641488fcc01d48187fe1642337ce61cef0 -Author: Ben Widawsky -Date: Tue Dec 24 13:12:31 2013 -0800 - - gem_exec_blit: gen8 updates for blit - - Signed-off-by: Ben Widawsky - -commit 94b2b861f5e2cd3dd5e32459174c9fdc3c3b0d8b -Author: Ben Widawsky -Date: Fri Dec 20 21:15:16 2013 -0800 - - shader-debugger: Use in tree gen4asm - - Reported-by: Patrick McMunn - Signed-off-by: Ben Widawsky - -commit 4f28614777a5dec5de5cafacd640f5b50180acaa -Author: Daniel Vetter -Date: Fri Dec 20 16:56:14 2013 +0100 - - README: Fix spelling fail - - Thanks to Jani for spotting this. - - Signed-off-by: Daniel Vetter - -commit fd6c66c4a2ad2b13cd56dc93c4cbf3a56bc0b3a8 -Author: Daniel Vetter -Date: Fri Dec 20 15:49:59 2013 +0100 - - README: Document how to avoid Waffle with piglit - - Suggested by Paulo. - - Signed-off-by: Daniel Vetter - -commit 2a71bff3173c538d618f5fc6f45b7150fc10f3fb -Author: Paulo Zanoni -Date: Mon Dec 16 18:47:39 2013 -0200 - - tests/pm_pc8: check if we can't become DRM master - - QA reported a failure that I believe happened because we couldn't - become DRM master, so add code that checks for this and prints a nice - error message. - - Signed-off-by: Paulo Zanoni - -commit 62e1cbc6343577e4fe2ea5b93981fab015872670 -Author: Oscar Mateo -Date: Fri Dec 13 20:48:24 2013 +0000 - - build: Create version and config information files in Android - - Also, skip the compilation of pm_lpsp in Android (uses Cairo) - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 4eae05f03b893e2e7b2eb0e0d9799fe0228393bb -Author: Oscar Mateo -Date: Fri Dec 13 16:24:37 2013 +0000 - - tests/gem_close_race: Adapt the test for Full PPGTT - - With Full PPGTT, each new fd creates a new context and thus a new - PPGTT, so we have to reduce the number of simultaneous fds or face - OOM problems. For every new PPGTT, its PDEs are stored in the GGTT - which imposes a limit of 1024 new contexts. We want to leave at - least 1/4 of the GGTT available for "important" stuff like scanout - buffers, so never open more than 768 fds. - - v2: Unconditionally use the lower limit, as suggested by Daniel - Vetter - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit be14c7bb04664a515df11c21f90a0f29c7756e6b -Author: Damien Lespiau -Date: Fri Dec 13 12:53:31 2013 +0000 - - lib: Include the necessary stdint.h in gen6_render.h - - Instead of assuming someone else will do it. - - Signed-off-by: Damien Lespiau - -commit 16531069f6b6fc4f8ac5ab537e9829406c348d7b -Author: Daniel Vetter -Date: Thu Dec 12 22:46:18 2013 +0100 - - tests: Document the Makefile variables a bit better - - Also, this is a test for the patchwork hook. - - Signed-off-by: Daniel Vetter - -commit a68937ca3b49d2ea89d753b6aecc015df8ad76a5 -Author: Mika Kuoppala -Date: Tue Dec 10 10:50:48 2013 +0200 - - tests/gem_reset_stats: add reverse order in close-pending-fork - - Use own copy of gem_quiescent_gpu() so that test still works - if it gets changed. Further improve the test by posting a batch - to rings in reverse order. - - Suggested-by: Daniel Vetter - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 826c4effe624da4bf9337028e15894fbf0c2a3ab -Author: Daniel Vetter -Date: Thu Dec 12 09:26:58 2013 +0100 - - tests: Move gem_reset_stats to the right place - - Binaries should only be added to the HANG target if they're completely - broken. If they just cause a recoverable gpu hang as part of the test - then they need to be somewhere else. - - Signed-off-by: Daniel Vetter - -commit 36f017dfd1a12bcdf03f928ca02e9053f3622efc -Author: Paulo Zanoni -Date: Tue Dec 3 15:03:02 2013 -0200 - - tests/kms_setmode: avoid 2 connectors on the same encoder - - Don't try to set modes on two connectors that share the same encoder. - That will just fail. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68463 - Reviewed-by: Imre Deak - Signed-off-by: Paulo Zanoni - -commit 13ef9e8d5453f0902e3025981b9cfd68558ff7e1 -Author: Imre Deak -Date: Tue Dec 10 15:33:07 2013 +0200 - - kms_flip: consolidate run_test_on_{crtc,crtc_pair} - - No functional change. - - Signed-off-by: Imre Deak - Acked-by: Daniel Vetter - -commit 1ac94b50af6ef0ab5607e85960880c284607b88a -Author: Imre Deak -Date: Tue Dec 10 14:00:19 2013 +0200 - - kms_flip: keep drm_fd open for the dpms restore exit handler - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69161 - - Signed-off-by: Imre Deak - -commit 2c6c4cf2a146855f1de6e3ca89f9df09da1024be -Author: Imre Deak -Date: Mon Dec 9 17:28:50 2013 +0200 - - kms_flip: fix seq_step for 2xcrtc subtests - - This also raises the absolute wait-for-vblank sequence step from 5 to - 10, just to make it consistent with the corresponding 1x subtests. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69161 - Signed-off-by: Imre Deak - Reviewed-by: Daniel Vetter - -commit f034817b401d9e0016cb8d2cddd9220c3a36463a -Author: Kenneth Graunke -Date: Mon Dec 9 23:29:36 2013 -0800 - - rendercopy/bdw: Fix length of a bunch of zeroed out packets. - - A bunch of packets were too short. - - Signed-off-by: Kenneth Graunke - Signed-off-by: Damien Lespiau - Reviewed-by: Damien Lespiau - Cc: Ben Widawsky - Cc: Damien Lespiau - -commit fdbdc7f325af9b42684fc6c7100cb57c52b31c4a -Author: Kenneth Graunke -Date: Mon Dec 9 23:29:35 2013 -0800 - - rendercopy/bdw: Emit 3DSTATE_WM_HZ_OP. - - We don't want depth/stencil fast clears or HiZ resolves; we want normal - drawing. Without this, the pixel pipeline doesn't work. - - Signed-off-by: Kenneth Graunke - Reviewed-by: Damien Lespiau - Signed-off-by: Damien Lespiau - Cc: Ben Widawsky - Cc: Damien Lespiau - -commit 8cd3a9d5438a5e6961823c15fd41ae02b09c7c9b -Author: Daniel Vetter -Date: Tue Dec 10 10:30:59 2013 +0100 - - ignore version.h - - Signed-off-by: Daniel Vetter - -commit dda85fb108469e3d3c8ce19751f928c70e9fba4c -Author: Daniel Vetter -Date: Tue Dec 10 10:18:32 2013 +0100 - - tests: roll out igt_simple_init/igt_simple_main - - Also use igt_skip a bit more to simplify some of the tests. - - Signed-off-by: Daniel Vetter - -commit ce1a9f918ef2415562bf441c2b7d886c6eb865c4 -Author: Daniel Vetter -Date: Tue Dec 10 09:58:28 2013 +0100 - - tests: gem_close_race has subtests! - - Oops. - - v2: Found more. - - Signed-off-by: Daniel Vetter - -commit ef9745b7faf42b1273c63de6f3e4afcbb896e568 -Author: Daniel Vetter -Date: Tue Dec 10 09:41:48 2013 +0100 - - lib: igt_simple_main/init for subtest-less tests - - Atm only used to print the version information. - - Signed-off-by: Daniel Vetter - -commit f1c4ec936c97c4b2f906638180357c8786776316 -Author: Daniel Vetter -Date: Tue Dec 10 09:26:08 2013 +0100 - - lib: print uname information in the version string - - Signed-off-by: Daniel Vetter - -commit 831a47196dd4d8afbdd967353d689bf8aed4f3e6 -Author: Daniel Vetter -Date: Tue Dec 10 09:23:44 2013 +0100 - - lib: Add host platform to version string - - This is import on systems where we compile 32bit tests that run on - 64bit platforms. - - Signed-off-by: Daniel Vetter - -commit 8c33e9ad111d27b84db4daac43809a807f262632 -Author: Ben Widawsky -Date: Fri Dec 6 20:35:29 2013 -0800 - - intel-gpu-tools: Version information - - Provide two arguments version, and verbose, which allow printing from an - arbitrary igt test. It will show system information (from build time, - not runtime), as well as the git SHA being used. - - This will help reduce errors when people try to reproduce problems. - - As an example if I want to verify someone is running the correct version - of a test, I could ask them to do: - bwidawsk@ironside ~/intel-gfx/intel-gpu-tools (master)$ sudo ./tests/gem_exec_nop --verbose - gem_exec_nop-git-3c5423b (Linux ironside 3.12.0-1-ARCH #1 SMP PREEMPT - Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux) - Time to exec x 1: 35.000µs (ring=render) - Time to exec x 2: 28.000µs (ring=render) - Time to exec x 4: 20.000µs (ring=render) - Time to exec x 8: 14.625µs (ring=render) - Time to exec x 16: 11.188µs (ring=render) - Time to exec x 32: 11.125µs (ring=render) - Time to exec x 64: 10.328µs (ring=render) - Time to exec x 128: 10.172µs (ring=render) - Time to exec x 256: 10.234µs (ring=render) - Time to exec x 512: 10.232µs (ring=render) - Time to exec x 1024: 10.121µs (ring=render) - Time to exec x 2048: 10.151µs (ring=render) - Time to exec x 4096: 11.474µs (ring=render) - Time to exec x 8192: 9.432µs (ring=render) - Time to exec x 16384: 6.003µs (ring=render) - Time to exec x 32768: 5.029µs (ring=render) - Time to exec x 65536: 4.206µs (ring=render) - Time to exec x 131072: 3.630µs (ring=render) - Subtest render: SUCCESS - - --verbose is provided for completeness, but doesn't seem too useful at - the moement. - - bwidawsk@ironside ~/intel-gfx/intel-gpu-tools (master)$ sudo ./tests/gem_exec_nop --version - gem_exec_nop-git-3c5423b (Linux ironside 3.12.0-1-ARCH #1 SMP PREEMPT - Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux) - - I've put version.h in the root directory so that any subdir can access - it. I've added the tests usage since it's immediately useful, and done - easily via Daniels igt infrastructure work. - - v2: - - Always print the version number. - - We want to print uname at runtime. - - Also prefix the i-g-t release version. - - Signed-off-by: Ben Widawsky (v1) - Signed-off-by: Daniel Vetter - -commit ea8c086919041d152b957773b0071e0cfafd3f78 -Author: Daniel Vetter -Date: Tue Dec 10 08:07:11 2013 +0100 - - lib: Always print errno in igt assert/require macros - - Useful to figure out why things have failed. - - Signed-off-by: Daniel Vetter - -commit 3c5423b9a74fe056cae1fce41fd3ad16584e9c8d -Author: Tvrtko Ursulin -Date: Fri Dec 6 12:38:49 2013 +0000 - - tests/gem_media_fill: Remove unnecessary include - - Causes trouble for Android builds. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit ef0931724f58bd38fcd6e4261494a77ca125508f -Author: Paulo Zanoni -Date: Tue Dec 3 19:44:45 2013 -0200 - - tests: add pm_lpsp - - 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 - -commit d5cdee95d5e8290adea2757230a7c10728bcd49a -Author: Paulo Zanoni -Date: Tue Dec 3 16:44:08 2013 -0200 - - lib: rename some power well bit names - - I did the same change in the Kernel a few months ago. This should help - not getting confused about which bit does what. - - Signed-off-by: Paulo Zanoni - -commit 3906a50ede5fa8d6edfca8bf81809fd0cf229a30 -Author: Xiang, Haihao -Date: Fri Dec 6 09:16:58 2013 +0800 - - assembler/bdw: Update write(...) - - write(...) is used for Render Target Write and Media Block Write. - The two message types no longer share the same cache agent on GEN8, - So a parameter is needed for cache agent. The 4th parameter of write() - is used for write commit bit which has been removed since GEN7. Hence - we can re-use the 4th parameter as cache agent on GEN8 - - Reviewed-by: Damien Lespiau - Signed-off-by: Xiang, Haihao - Signed-off-by: Damien Lespiau - -commit a4d3a6c013664da062cdff9ead7bc9ab86b33caa -Author: Daniel Vetter -Date: Fri Dec 6 10:48:25 2013 +0100 - - lib: make igt_pipe_crc_start never fail - - It's what callers expect - pipe_crc_new is the function where - we pass a potential failure back to callers. - - Reviewed-by: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit c1b7e722dafdbddcce2bec230e3faf8b4fe6f123 -Author: Daniel Vetter -Date: Fri Dec 6 10:47:10 2013 +0100 - - lib: add igt_pipe_crc_check - - No need to duplicate this all over the place. - - Reviewed-by: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit 3e37eb3c6cae56bbd11016102c20a63ce58966da -Author: Daniel Vetter -Date: Fri Dec 6 10:45:49 2013 +0100 - - tests: drm_open_any doesn't fail - - Or more precisely: It already has an igt_require. So we cant ditch it - from tests. - - Reviewed-by: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit 5b3edb61528f26c05af20fccc8b44e8e3c5f7861 -Author: Damien Lespiau -Date: Fri Dec 6 13:02:51 2013 +0000 - - gitignore: Ignore gem_media_fill - - Signed-off-by: Damien Lespiau - -commit adbd83cdc31b10dd3cee5abc247018719aa74acf -Author: Xiang, Haihao -Date: Fri Dec 6 16:54:45 2013 +0800 - - rendercopy/bdw: Set Instruction Buffer size Modify Enable to 1 - - Otherwise it may result in GPU hang - - Reviewed-by: Kenneth Graunke - Signed-off-by: Xiang, Haihao - Signed-off-by: Damien Lespiau - -commit 4570e1b3dece3cebc45fdcff5f767f24bba67da1 -Author: Xiang, Haihao -Date: Fri Dec 6 16:54:44 2013 +0800 - - lib: Clean the batch buffer store after reset - - Otherwise the stale data in the buffer - - Reviewed-by: Kenneth Graunke - Signed-off-by: Xiang, Haihao - Signed-off-by: Damien Lespiau - -commit 509850bf48199c9ec88b9ae03154e809da283d13 -Author: Daniel Vetter -Date: Fri Dec 6 08:39:31 2013 +0100 - - tests/gem_reset_stats: document the new subtest a bit better - - I wanted to add this to Mika's original patch but forgot to git add. - - Signed-off-by: Daniel Vetter - -commit 5f40b23cfa0441fceba9d2cb6437724e880a8fc3 -Author: Xiang, Haihao -Date: Mon Dec 2 12:52:08 2013 +0800 - - tests/gem_media_fill: the assembly code for the shader used in the case - - The code is for reference only - - v2: Fixed the source register used for the send with EOT - Fixed the posted destination operand for the send with EOT - - v3: Fixed the cache agent used in media_block_write message on GEN8 - - Reviewed-by: Zhao Yakui - Signed-off-by: Xiang, Haihao - -commit c6835697253c07cfc6711bcfc9b071afa4a6144d -Author: Xiang, Haihao -Date: Mon Dec 2 12:49:14 2013 +0800 - - tests/gem_media_fill: add support for gen7 - - v2: Fixed the source register used for the send with EOT - Fixed the posted destination operand for the send with EOT - - Reviewed-by: Zhao Yakui - Signed-off-by: Xiang, Haihao - -commit bd384c2ba38d8fccb8ce1b47b51d78cd64636b50 -Author: Xiang, Haihao -Date: Mon Dec 2 12:36:15 2013 +0800 - - tests/gem_media_fill: add support for gen8 - - v2: Fixed the source register used for the send with EOT - Fixed the posted destination operand for the send with EOT - - v3: Workaround: Insert MEDIA_STATE_FLUSH after MEDIA_OBJECT. - Fixed the cache agent used in media_block_write message - Set Instruction Buffer size Modify Enable to 1, otherwise it may result in GPU hang - - Reviewed-by: Zhao Yakui - Signed-off-by: Xiang, Haihao - -commit 641267dd735e0ab9a5b8d083b4e1a2392b41ae07 -Author: Xiang, Haihao -Date: Fri Nov 29 13:47:31 2013 +0800 - - tests: add gem_media_fill - - It is to check whether media pipeline on render ring works. Codes - are copied and modified from the rendercopy case which uses 3D pipeline. - However media pipeline is simpler than 3D pipeline and there is few changes - between gen6,gen7 and gen8 - - Reviewed-by: Zhao Yakui - Signed-off-by: Xiang, Haihao - -commit 8ac7b93b218af1544988331cd68c69ba4102c29f -Author: Ben Widawsky -Date: Thu Dec 5 16:02:52 2013 -0800 - - gem_exec_faulting_reloc: Update gen8 BLT cmds - - Signed-off-by: Ben Widawsky - -commit e41928e6c9bb3f24833a827903f1afeda83592d6 -Author: Ben Widawsky -Date: Thu Dec 5 15:35:01 2013 -0800 - - gen8 rendercpy: temporarily disable - - We don't yet have this working, and the excessive hangs are annoying. - - Signed-off-by: Ben Widawsky - -commit da4258529faa064d78184b81b0dad9b3523e722f -Author: Ben Widawsky -Date: Thu Dec 5 15:00:44 2013 -0800 - - Kill XY_COLOR_BLT_CMD - - Since we now always want a length for this command, and we've created a - non-length variant, remove the #define to prevent further foot shooting. - - Signed-off-by: Ben Widawsky - -commit 53b0c0431c89397789252b6649e70090d0458e95 -Author: Ben Widawsky -Date: Thu Dec 5 14:44:23 2013 -0800 - - gem_reloc_vs_gpu: Update for gen8 BLT cmds - - NOTE: Some subtests are still failing, but I haven't found the bug yet. - At least this should help QA meanwhile. - - Signed-off-by: Ben Widawsky - -commit b23d73788a7d494f99d74bafb762dd825deb6697 -Author: Ben Widawsky -Date: Thu Dec 5 14:44:23 2013 -0800 - - gem_persistent_relocs: Update for gen8 BLT cmds - - NOTE: Some subtests are still failing, but I haven't found the bug yet. - At least this should help QA meanwhile. - - Signed-off-by: Ben Widawsky - -commit ba0d651a017d9c633e7530b7d13ec6abaeaedceb -Author: Ben Widawsky -Date: Thu Dec 5 14:36:20 2013 -0800 - - gem_write_read_ring_switch: Missed gen8 BLT updates - - Signed-off-by: Ben Widawsky - -commit 846a0f01b04eae501ced0f59e2bd18c5f4c774bb -Author: Ben Widawsky -Date: Thu Dec 5 14:34:35 2013 -0800 - - drm_vma_limiter_cached: Missed gen8 BLT updates - - Signed-off-by: Ben Widawsky - -commit 672911d7149735ee51cbcff5540b8dcb8a2de321 -Author: Ben Widawsky -Date: Thu Dec 5 14:14:35 2013 -0800 - - gem_pipe_control_store_loop: BDW update - - I've opted to not use the PIPE_CONTROL w/a for now. I am unclear if it - is actually required (the test does pass). - - Signed-off-by: Ben Widawsky - -commit 40b586188c021db58a37ef23ac7d3e20547461a1 -Author: Daniel Vetter -Date: Thu Dec 5 15:49:58 2013 +0100 - - tests/gem_ctx_exec: Add eviction test - - It didn't pan out at all since atm we don't evict context objects. But - maybe it's useful for when that happens. - - v2: Actually test eviction. Took a while to figure that one out. - - And indeed the testcase now fails because we don't evict the previous - context as we should. - - Signed-off-by: Daniel Vetter - -commit 1a95c710f9160692e3c29100600b1766388f93de -Author: Daniel Vetter -Date: Thu Dec 5 15:50:18 2013 +0100 - - lib: add gem_available_aperture_size helper - - Signed-off-by: Daniel Vetter - -commit 33ef5284903d2b64c4744c208d9eccc54cba65a3 -Author: Daniel Vetter -Date: Thu Dec 5 13:41:51 2013 +0100 - - tests/core_get_client_auth: new subtests for always authenticated - - This exercise the bug fixed in - - commit 1020dc6990168a5081ffad620c440e220f05b460 - Author: Chris Wilson - Date: Tue Oct 29 08:55:57 2013 +0000 - - drm: Do not drop root privileges for a fancier younger process - - Signed-off-by: Daniel Vetter - -commit 365f4812b12323336e5b54befdbb2628b78713f0 -Author: Daniel Vetter -Date: Thu Dec 5 13:35:50 2013 +0100 - - tests: rename get_client_auth to have a core_ prefix - - Also sort .gitignore. - - Signed-off-by: Daniel Vetter - -commit 28e4b34b3d582e5489302c551bb83c2c1fdef2d3 -Author: Ville Syrjälä -Date: Thu Dec 5 13:01:58 2013 +0200 - - quick_dump: Restore execture permission on quick_dump.py - - quick_dump.py execute permission was accidentally lost in: - - commit d56697233699844db9262a9a056b62b24b69dd39 - Author: Mengdong Lin - Date: Sun Aug 25 23:07:22 2013 -0400 - - quick_dump/bdw: support Broadwell in device auto-detection - - Signed-off-by: Ville Syrjälä - -commit 0b67c0c421fb736b5086f69a7cc5415f66c3d369 -Author: Chon Ming Lee -Date: Wed Dec 4 20:44:33 2013 +0800 - - Update dpio read/write to take in extra PHY parameter. - - The extra parameter is for future platform. - - Signed-off-by: Chon Ming Lee - Signed-off-by: Ville Syrjälä - -commit f5643c4a270baa4da33676950e36b1681d6d93dc -Author: Chon Ming Lee -Date: Wed Dec 4 20:44:32 2013 +0800 - - tools/quick_dump: Update Baytrail DPIO names to reflect to the driver change. - - DPIO name still using old name. Change it according to the driver name. - - Signed-off-by: Chon Ming Lee - Signed-off-by: Ville Syrjälä - -commit 6b18ef826ffdb433eff00db974589897ac1dd527 -Author: Mika Kuoppala -Date: Wed Dec 4 16:39:09 2013 +0200 - - tests/gem_reset_stats: add close-pending-fork - - This triggers use after free oops on request->batch_obj when - going through the rings and setting reset status on requests, - after a gpu hang. - - v2: Streamlined the test and added comments (Daniel) - - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit fb03ea7737dcda887e6eeca17afe7b91cf178b38 -Author: Mika Kuoppala -Date: Tue Nov 26 09:26:17 2013 +0200 - - lib/drmtest: Fix filedesc leak on gem_quiescent_gpu - - to not run out of filedescs as some tests call gem_quiescent_gpu - directly. - - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit ab7cbf9737fe35cc286520379e54ae9882ab402b -Author: Tvrtko Ursulin -Date: Tue Dec 3 16:44:54 2013 +0000 - - Revert "lib/drmtest: ducttape over fork race" - - This reverts commit a031a1bf93b828585e7147f06145fc5030814547. - - Signed-off-by: Tvrtko Ursulin - - Conflicts: - lib/drmtest.c - Signed-off-by: Daniel Vetter - -commit b34322fd15488eed8b7b20538cb1d50f43b4b132 -Author: Daniel Vetter -Date: Tue Dec 3 17:57:06 2013 +0100 - - Revert "test/gem_concurrent_blt" - - This reverts commit aee0dcb1ec2075991d310dd6f3fb5e50160847d1. - - Oops, accidentally commit a bit of wip changes. - -commit 139c72f38a07c545f5a9ab5fa3750779987b9275 -Author: Tvrtko Ursulin -Date: Tue Dec 3 16:44:55 2013 +0000 - - drmtest: Avoid wrong PID/TID after clone races - - Various C library implementations have various races with regards - to caching getpid() or TID inside pthread_kill() implementations. - - For example see clone(2) glibc man page and pthread_kill - Bionic C library source. - - Work around that by making sure correct PID/TGID and TID values - are retrieved from the kernel when re-raising the signal. It - can be delivered immediately after the clone system call while C - library cached copies have not yet been updated. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit 4f990f3ad21eb375918dde7ad7c55ee3a75158c4 -Author: Tvrtko Ursulin -Date: Tue Dec 3 15:35:41 2013 +0000 - - build: Skip kms_fbc_crc on Android - - We do not have GLib there so it does not build. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit b92b397d5e4ffe10ed92fb2fc6711758ef5bcf89 -Author: Tvrtko Ursulin -Date: Tue Dec 3 15:09:57 2013 +0000 - - build: Make sure asserts are enabled for tests - - Tests depend on assertions being enabled since they can, and do, - contain actual test steps. They are also mandatory for ensuring - sane test case behaviour. - - Signed-off-by: Tvrtko Ursulin - Signed-off-by: Daniel Vetter - -commit aee0dcb1ec2075991d310dd6f3fb5e50160847d1 -Author: Daniel Vetter -Date: Tue Dec 3 16:32:52 2013 +0100 - - test/gem_concurrent_blt - - Limit working set size also with available ram. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72255 - Signed-off-by: Daniel Vetter - -commit 26b336f81128b6c51e2757381c19d8cdf0b2c369 -Author: Daniel Vetter -Date: Tue Dec 3 13:07:28 2013 +0100 - - lib: Don't put functional code into asserts - - Android apparently compiles with NDEBUG. Which is strongly advised - against, since the big pile of asserts mostly check correct usage of - the helper code in testcases. - - Signed-off-by: Daniel Vetter - -commit 38354ec4d890c384b5d91738f955ed6aed6d0c1c -Author: Chris Wilson -Date: Tue Dec 3 10:12:37 2013 +0000 - - drmtest: Fix weird signage on errno - - Signed-off-by: Chris Wilson - -commit e7ec90a01ccd6a1dcda431065851e4629ddf73b4 -Author: Damien Lespiau -Date: Thu Nov 28 14:35:45 2013 +0000 - - gitignore: Ignore kms_fbc_crc - - Signed-off-by: Damien Lespiau - -commit 8d7f00146c3664f78a12f17af0fb5365c5a09396 -Author: Damien Lespiau -Date: Thu Nov 28 14:34:51 2013 +0000 - - kms_fbc_crc: Remove unused variable - - Signed-off-by: Damien Lespiau - -commit 34f104aed7c14313c473bb7dafcda43f8b473903 -Author: Damien Lespiau -Date: Fri Nov 22 18:14:26 2013 +0000 - - rendercopy/bdw: Fix the 3DSTATE_STENCIL_BUFFER instruction length - - Signed-off-by: Damien Lespiau - -commit 09f144b649176bd80e31ccab65c9206931e6150f -Author: Damien Lespiau -Date: Fri Nov 22 18:12:35 2013 +0000 - - rendercopy/bdw: Fix the 3DSTATE_HIER_DEPTH_BUFFER instruction length - - Signed-off-by: Damien Lespiau - -commit e824fdd0339f5a649aaf54a74694836f55bb0e9c -Author: Damien Lespiau -Date: Fri Nov 22 18:11:03 2013 +0000 - - rendercopy/bdw: Fix the various 3DSTATE_CONSTANT_* instruction length - - Signed-off-by: Damien Lespiau - -commit ffff68f08a63cb27fb558b54c7240b9bc4571f96 -Author: Damien Lespiau -Date: Fri Nov 22 17:36:54 2013 +0000 - - rendercopy/bdw: Fix the STATE_SIP instruction length - - Signed-off-by: Damien Lespiau - -commit b333d23e3ae1ee3d971446464bd02c4a8f1695da -Author: Damien Lespiau -Date: Fri Nov 22 17:29:02 2013 +0000 - - intel_dump_decode: Support the INTEL_DEVID_OVERRIDE env variable - - This is the one that already works in libdrm, so don't disappoint people - coming with expectations. - - Signed-off-by: Damien Lespiau - -commit b226f43fe854ba1d0d8be7fe94f8692a93fa8aa8 -Author: Damien Lespiau -Date: Fri Nov 22 17:24:52 2013 +0000 - - intel_dump_decode: Actually parse the -d option - - Signed-off-by: Damien Lespiau - -commit 6c9fcc42bb3ef448fdea579795816f7321f8bd75 -Author: Ville Syrjälä -Date: Sat Nov 9 20:58:27 2013 +0200 - - kms_fbc_crc: Add a CRC based FBC test - - kms_fbc_crc will perform various write operations to the scanout buffer - whilc FBC is enabled. CRC checks will be used to make sure the - modifcations to scanout buffer are detected. - - The operations include: - - page flip - - GTT mmap - - CPU mmap - - blit - - rendercopy - - context switch + rendercopy - - combination of a page flip and each operation listed above - - v2: Use gem_sw_finish instead of drmModeDirtyFB after CPU access - v3: Drop pwrite tests, call gem_bo_busy() after rendering, drop - set_domain() calls after mmap access, wait for 2 vblanks - - Signed-off-by: Ville Syrjälä - -commit 49f4860d5c94afffecfac3fcda999bea59d5f929 -Author: Ville Syrjälä -Date: Mon Nov 25 17:31:13 2013 +0200 - - lib: Add gem_bo_busy - - Move gem_bo_busy() from gem_wait_render_timeout.c to lib. - - Signed-off-by: Ville Syrjälä - -commit 525788a7360cca116b00819c14ee11c5913ffd42 -Author: Ville Syrjälä -Date: Fri Nov 22 22:33:21 2013 +0200 - - lib: Add gem_sw_finish() - - Wrap DRM_IOCTL_I915_GEM_SW_FINISH into gem_sw_finish() - - Signed-off-by: Ville Syrjälä - -commit 725da6ee7458c5227a2bc9a1b686dad8f3c6d854 -Author: Ville Syrjälä -Date: Thu Nov 21 19:05:17 2013 +0200 - - rendercopy: Pass context to rendercopy functions - - rendercopy does the batch buffer flush internally, so if we want - to use it with multiple contexts, we need to pass the context - in from caller. - - v2: Modify rendercopy_gen8 as well - - Signed-off-by: Ville Syrjälä - -commit 3d371a7284798c96bb033a449acbad7cc29c2e29 -Author: Ville Syrjälä -Date: Fri Nov 22 23:46:32 2013 +0200 - - kms_cursor_crc: Fix crc readout after a subtest failure - - If a subtest fails, it'll leave the pipe CRC file open, which will - prevent subsequent subtests from opening the file. Make sure the file - is cloesed before trying to open it again. - - Signed-off-by: Ville Syrjälä - -commit e1e5856b3ce09e9d8b0899e10cf7e3ef724679d5 -Author: Ville Syrjälä -Date: Thu Nov 21 19:48:51 2013 +0200 - - lib: Fix pipe_crc->ctl_fd assert - - Use the correct fd in the assert(). - - Signed-off-by: Ville Syrjälä - -commit 6720dd4b2cb657705ccb31fd87d85cd6831ea2f2 -Author: Daniel Vetter -Date: Wed Nov 27 11:31:12 2013 +0100 - - tests: Document exec naming convention for execbuf related tests - - Signed-off-by: Daniel Vetter - -commit aa4ff912e3a7a84adcfc6bde9f6f2e9a4a1aaf82 -Author: Daniel Vetter -Date: Wed Nov 27 11:14:19 2013 +0100 - - tests: Document per-ring naming conventions - - Inspired by the recent pile of tests for the CS, which doesn't split - up the tests into per-ring subtests. - - Cc: bradley.d.volkin@intel.com - Signed-off-by: Daniel Vetter - -commit f6d9e160c9d7c76b37b49ce8918b055826806635 -Author: Paulo Zanoni -Date: Tue Nov 26 11:32:33 2013 -0200 - - tests/pm_pc8: add "resuming" state - - This one was missing. For some reason we never really detected it on - our test suite. I checked the Kernel source and now we should be fine. - - Signed-off-by: Paulo Zanoni - -commit 0df88f5e647a38b52b46d010c54f2594c98d8018 -Author: Paulo Zanoni -Date: Thu Nov 21 18:19:07 2013 -0200 - - tests/pm_pc8: try to reuse FBs when possible - - Instead of creating a new FB every time we need one, create a cache of - FBs and reuse whenever possible. That means we'll create at most two - FBs, and reuse them hundreds and hundreds of times. - - The kmstest_paint_test_pattern function takes about 1-2 seconds to - run, and we'll avoid it whenever we reuse the FB. - - This makes the time taken to run the modeset-lpsp-stress subtest go - from 2:29 to 1:29. - - A full "time ./pm_pc8 --quick" goes from 8:14 to 6:27. - - Signed-off-by: Paulo Zanoni - -commit 78227101e27471b81af69b54e2de203678243338 -Author: Paulo Zanoni -Date: Thu Nov 21 17:32:42 2013 -0200 - - tests/pm_pc8: try harder to reach PC8+ residencies - - If we want to actually reach PC8+ states, we need to properly - configure all the devices on the system to allow this. This function - will try to setup the things we know we need, but won't scream in case - anything fails: we don't know which devices are present on your - machine, so we can't really expect anything, just try to help with the - more common problems. - - Another reason for this commit is that I got tired of having to - readjust the runtime PM policies every time I reboot my machine. - - Signed-off-by: Paulo Zanoni - -commit e9363973b1fd973f562c101a58354e05ea2b48e4 -Author: Paulo Zanoni -Date: Thu Nov 21 15:09:58 2013 -0200 - - tests/pm_pc8: rename some subtests - - Due to copy/paste error, we had 3 subtests called gem-execbuf-stress. - - Signed-off-by: Paulo Zanoni - -commit 6de398888e718800bae0f8cceef0998fbcb0a8d3 -Author: Mika Kuoppala -Date: Wed Nov 20 16:58:17 2013 +0200 - - tests/gem_reset_stats: check non root access to reset_stats - - Getting global reset count needs to be tested with root and - non root access. - - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 2dd312cbb80be1d8c8a199248095db85eb85155d -Author: Mika Kuoppala -Date: Wed Nov 20 16:58:16 2013 +0200 - - tests/gem_reset_stats: stop rings after injecting hang - - To make driver report a simulated hang in dmesg. - - Suggested-by: Daniel Vetter - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 0afe006eace7042e41689215ef27c82ac39cfb51 -Author: Mika Kuoppala -Date: Wed Nov 20 16:58:15 2013 +0200 - - tests/gem_reset_stats: add support for BDW+ - - For BDW+, there BATCH_BUFFER_START is 3 * 32bits in length and - length needs to be encoded into the opcode. - - Suggested-by: Damien Lespiau - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit 4fd0458be217841203bb18ed36bda4211bf0cfdf -Author: Daniel Vetter -Date: Wed Nov 20 16:07:30 2013 +0100 - - tests/gem_reset_stats: More macros! - - Instead of freaking out about negating the skip condition and punting - I could have remembered that I've solved this already ... - - Signed-off-by: Daniel Vetter - -commit 3c55a7df578610b0a5af6c14a6222c8aacc4a523 -Author: Daniel Vetter -Date: Wed Nov 20 10:58:55 2013 +0100 - - tools/reg_dumper: Add FW_BLC regs - - Debugging watermark issues on gen2/3 without them is hard ... - - Signed-off-by: Daniel Vetter - -commit ff193614b29308373ff3a54266159e3e194455a2 -Author: Daniel Vetter -Date: Sun Nov 17 17:29:10 2013 +0100 - - tests/gem_reset_stats: Use macros a bit more - - Just demonstration really. - - Signed-off-by: Daniel Vetter - -commit 36786e4a04c988184d3c04984f8e4bf7276b0bb1 -Author: Damien Lespiau -Date: Fri Nov 15 07:03:33 2013 +0000 - - gitignore: Ignore gem_reset_stats - - Signed-off-by: Damien Lespiau - -commit b5bfdbb1adfc18a9259da727a8872bef3811ca21 -Author: Daniel Vetter -Date: Fri Nov 15 00:10:52 2013 +0100 - - tests: More bdw fallout - - This time misplaced parens. - - Signed-off-by: Daniel Vetter - -commit df5e880beaffe2ab214eba8cdf27d9459dd99ead -Author: Daniel Vetter -Date: Thu Nov 14 23:15:37 2013 +0100 - - tests: More bdw fallout - -commit f7abef6618ab5b8c9a0358f9b765f3445f9f6be4 -Author: Paulo Zanoni -Date: Thu Nov 14 14:53:15 2013 -0200 - - tests/pm_pc8: add --quick option - - Not meant to be used on the QA cycles, but by developers who just want - to quickly check things while doing development. Reduces the total - time from 27 minutes to 6 minutes on my machine. - - Signed-off-by: Paulo Zanoni - -commit 482654674674cff4cfde4e3b68a4ff5ac125db08 -Author: Paulo Zanoni -Date: Thu Nov 14 13:59:49 2013 -0200 - - tests/pm_pc8: add some more stress tests - - I was suspecting some problems just happen if we have a bigger wait - than the current ones we have, so add a new WAIT_EXTRA flag just to - see if the problems really happen. Also, add support for the wait - flags on the gem stress tests, and use them. - - Signed-off-by: Paulo Zanoni - -commit 4fa9dde799793001e16bb99c499b6ff25c5e7250 -Author: Paulo Zanoni -Date: Thu Nov 14 13:50:06 2013 -0200 - - tests/pm_pc8: remove compare_registers subtest - - It's not executed by default, and it's completely relying on Haswell - registers and on internal knowledge of how the Kernel is supposed to - work. Since we plan to test generic runtime PM on all supported - platforms, maintaining this test so it works on all those platforms - will be a pain. We already have some ideas on how to verify registers - that must stay at specific values from inside the Kernel, so let's - kill this test and wait until the proper Kernel code gets merged. - - Signed-off-by: Paulo Zanoni - -commit a8610a4776e9bee9bf3fc275febaf78e3ec38c98 -Author: Paulo Zanoni -Date: Thu Nov 14 13:40:52 2013 -0200 - - tests/pm_pc8: rename some variables - - Since we're not only testing PC8 anymore, we're resting "PM", rename - some variables from something_pc8 to something_suspend, just to make - it not-so-confusing. - - Signed-off-by: Paulo Zanoni - -commit 19c8d5f4ff887c55cb79b0417912ca137cf1b2e5 -Author: Paulo Zanoni -Date: Thu Nov 14 13:35:43 2013 -0200 - - tests/pm_pc8: fix debugfs-forcewake-user for PC8-only cases - - We don't wake up from forcewake when we only have PC8, but not runtime - PM, so make the test pass. - - Signed-off-by: Paulo Zanoni - -commit 63e4dafb3252c5ee658572181b2d7a06a3a66969 -Author: Paulo Zanoni -Date: Tue Nov 12 17:04:50 2013 -0200 - - tests/pm_pc8: check for PC8 status, not residency in most cases - - If you really want to reach the PC8+ states and consequently get PC8+ - residency, you need to properly configure all the devices on your - machine to allow PC8+, not just graphics. The current code for PC8 - checks for PC8+ residency everywhere, so if you have a machine that's - not properly configured you'll fail every test. OTOH, even if your - machine can't reach the PC8+ states, it will still try to enable and - disable PC8, so we can try to test the feature even if we're never - really reaching the PC8+ states. Also, if your machine does allow PC8+ - residencies, but some other driver/program decides to keep the machine - busy while you're running the test suite, you'll also get failures - which you shouldn't be getting. - - Based on the arguments above, I'm changing most of the subtests to - only check for the PC8 status reported by sysfs (enabled/disabled), - not check real PC8+ residency. I also added two tests that should - check for PC8+ residency, so we will stil be able to diagnose badly - configured machines. - - As a bonus, we won't sleep for full 5 seconds every time we expect PC8 - to be disabled: we'll just read i915_pc8_status, which quickly gives - the result we're expecting. Considering how many modeset stress - subtests we have in the program, we'll save a *lot* of time with this - change. - - Signed-off-by: Paulo Zanoni - -commit a4e96a95ca6468a7ece9fff1c8e1949691439ed4 -Author: Paulo Zanoni -Date: Tue Nov 12 13:24:38 2013 -0200 - - tests/pm_pc8: add support for runtime PM - - We try to detect if we have runtime PM or if we just have PC8. In case - there's runtime PM, the functions that wait will wait for the runtime - PM status reported by the sysfs file instead of waiting for PC8 - residencies to move. - - Signed-off-by: Paulo Zanoni - -commit e39f2dbf98a637fffcc0af98ff54ee296738b0ad -Author: Daniel Vetter -Date: Thu Nov 14 15:50:07 2013 +0100 - - tests/gem_cs_prefetch: Fix bdw damage - - v2: Fix more. - - Cc: Ben Widawsky - Signed-off-by: Daniel Vetter - -commit 2d1119dfc0b0e0187f8ee89e144a391f7ccfedd5 -Author: Daniel Vetter -Date: Mon Nov 11 23:04:11 2013 +0100 - - lib: adjust oom_score - - This way the igt test will always be killed first (hopefully), - preventing mayhem when one of the memory thrashing tests treatens to - take down the entire system. - - To avoid any burden on test writers we adjust the oom score on - drm_open, any of the fork helpers and subtest init. That should cover - everything. - - v2: Fix it up. - - Cc: Ben Widawsky - Signed-off-by: Daniel Vetter - -commit 4697cf4286f3ac3cc80744c3eac2c0579c215d6c -Author: Daniel Vetter -Date: Thu Nov 14 11:08:13 2013 +0100 - - NEWS: Make testing requirements official - - Signed-off-by: Daniel Vetter - -commit 217bd8d55e723d8bd6911d6c2ec8a9c42bdc8272 -Author: Chris Wilson -Date: Thu Nov 14 09:47:47 2013 +0000 - - tests/pm_pc8: Fix invalid pointer-to-integer casting - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71592 - Signed-off-by: Chris Wilson - -commit c37e9cf0c4bb7bae69693fa5d5d57cf30f8db87e -Author: Ben Widawsky -Date: Wed Nov 13 18:23:06 2013 -0800 - - gem_cs_prefetch: more gen8 integration fallout - - Signed-off-by: Ben Widawsky - -commit 9ef6769366222bc1c272336378d802737a5e9026 -Author: Ben Widawsky -Date: Wed Nov 13 13:28:17 2013 -0800 - - gem_evict_*: Fix batch lengths, broken on gen8 integration - - Signed-off-by: Ben Widawsky - -commit 1ff7427578eaf4fe472eb5424343e53ed283450e -Author: Mika Kuoppala -Date: Tue Nov 12 19:58:16 2013 +0200 - - tests: add gem_reset_stats - - v2: check the ioctl pad and flag parameters - - Signed-off-by: Mika Kuoppala - Signed-off-by: Daniel Vetter - -commit e046c31f45e5901e7301fc9bfa2eb8d08b133883 -Author: Daniel Vetter -Date: Tue Nov 12 12:18:33 2013 +0100 - - NEWS: Android.mk updates! - -commit 76c78c0aae0e31f11ed0fc860e64d437a687529d -Author: Oscar Mateo -Date: Tue Nov 12 11:50:45 2013 +0000 - - build: New Android makefiles - - These form the basis of the new Android build system. - - v2: As suggested by Daniel Vetter, modify compilation flags to - not error on return-type and not warn on sign-compare. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 25be105d7f0d9f657ce2adf2b4e659882fabb0eb -Author: Oscar Mateo -Date: Tue Nov 12 11:50:44 2013 +0000 - - lib/igt_display: workaround a name conflict in Android - - PLANE_A/PLANE_B are used by libdrm's i915_drm.h in Android. - - v2: Changes suggested by Daniel Vetter and Damien Lespiau: - - Pimp up comment with a FIXME. - - Reword commit message. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 235ff9cf34f37d7eb778d72acd298b0cd8c01ab5 -Author: Oscar Mateo -Date: Tue Nov 12 11:50:43 2013 +0000 - - lib/drmtest: Get the correct basename() under Android - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 5032e7bbdd342ac111ab2c57bf82b3dd4d26f208 -Author: Oscar Mateo -Date: Tue Nov 12 11:50:42 2013 +0000 - - build: Fix assorted compilation warnings - - As these files are compiled for every test, the warnings cluttered - the Android build completely. - - v2: As suggested by Daniel Vetter, drop some of the fixes and fix - the compilation flags instead. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit dce0d99a91b4be26c4cd07e7030615fdc46bf2c7 -Author: Oscar Mateo -Date: Tue Nov 12 11:50:41 2013 +0000 - - tests/gem_vmap_blits: Finish extracting gem_read - - It seems something escaped this commit: - - commit bd5cf9a07d17ce91dfaa3aa12d3f2c93815f0489 - Author: Daniel Vetter - Date: Tue Jan 10 15:37:53 2012 +0100 - - lib/drmtest: extract gem_read - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 7076ea1bd6ec56cd7c85541a5d2b1bcdeaee85db -Author: Oscar Mateo -Date: Tue Nov 12 11:50:40 2013 +0000 - - tests/drm_get_client_auth: In Android, use gettid() instead of syscall(SYS_gettid) - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 1cd6913608a02f1b38ee44a084875efb9a360e4b -Author: Oscar Mateo -Date: Tue Nov 12 11:50:39 2013 +0000 - - rendercopy: Remove rendercopy.c - - Move scratch_buf_write_to_png() to its only user, gem_render_copy.c. - This makes the cairo dependencies easier to handle from the Android - perspective, but if there is a good reason why this file exists I can - try to handle it differently. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 37f26d17b1add333bacefe12fe7c7c1514b18e82 -Author: Oscar Mateo -Date: Tue Nov 12 11:50:38 2013 +0000 - - lib: Move kms stuff from drmtest.c over to igt_kms.c - - This makes cairo dependencies easier to handle. Otherwise, we - would have to litter drmtest all over with "#ifndef ANDROID" - - Signed-off-by: Oscar Mateo - [danvet: Add missing _GNU_SOURCE to igt_kms.c and missing include to - intel_sprite_on.c] - Signed-off-by: Daniel Vetter - -commit 4c7d5a52a7f4d79061e6cbb4627df3c194958fff -Author: Oscar Mateo -Date: Tue Nov 12 11:50:37 2013 +0000 - - build: Move logic to tests/Makefile.am and away from Makefile.sources - - Makefile.sources is just a listing with all the sources, and the logic - to use these sources goes into either Makefile.am (automake) or - Android.mk (make). - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit d80c6bdedba451adff843295367ebcd3d5e3b0c7 -Author: Oscar Mateo -Date: Tue Nov 12 11:50:36 2013 +0000 - - build: Fix missing "\" in tests/Makefile.sources - - Noticed by Damien Lespiau. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit ea11d103e0617e33bce6f11328521d15b13422b0 -Author: Oscar Mateo -Date: Tue Nov 12 11:50:35 2013 +0000 - - build: list all test/tool/lib source files in their own Makefile.sources - - In this way, all source files are listed in Makefile.sources and included - from Makefile.am, thus enabling the reuse from Android makefiles. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit c50dd7c149a64b683977d14bc59262f70dda15fa -Author: Damien Lespiau -Date: Mon Nov 11 22:38:36 2013 +0000 - - gitignore: Ignore the newly introduced pm_psr - - Signed-off-by: Damien Lespiau - -commit 97e48cd619c4b201613ade0110f4db840a02007d -Author: Ben Widawsky -Date: Mon Nov 11 13:21:58 2013 -0800 - - gem_storedw_batches_loop: Fix for real this time - - Last patch to fix the breakage when adding gen8 had bugs in the reloc - offset, and size field. - - Signed-off-by: Ben Widawsky - -commit 4cc506f5eae66b812b7ad6e171524ff1d4f6feb4 -Author: Oscar Mateo -Date: Mon Nov 11 15:36:55 2013 +0000 - - tests/drv_suspend: Replace "&> /dev/null" with "> /dev/null 2>&1" - - Some shells do not understand "&>". For instance, my Ubuntu 12.04 - machine has /bin/sh pointing to dash, which makes a mess out of - "&>" (to the point that the helper processes cannot be killed). - - Reviewed-by: Damien Lespiau - Signed-off-by: Oscar Mateo - Signed-off-by: Damien Lespiau - -commit b76a411c86512bc13cc501e71e6a212e828ed142 -Author: Ben Widawsky -Date: Mon Nov 11 09:44:13 2013 -0800 - - gem_linear_blits: Fix blit command length - - Signed-off-by: Ben Widawsky - -commit 0d902cad5f95ec88c3925919215ef674ad38b398 -Author: Paulo Zanoni -Date: Fri Nov 8 19:33:08 2013 -0200 - - tests/pm_pc8: reorganize main function - - Split the tests into categories. There are too many tests, it's - getting harder to locate the ones we need. - - Signed-off-by: Paulo Zanoni - -commit c527a29325bb914ea994ba8d9b38668ac8a39798 -Author: Paulo Zanoni -Date: Fri Nov 8 19:19:35 2013 -0200 - - tests/pm_pc8: add some GEM tests - - These are more complete tests than the previous test_batch() one. We - test CPU/GTT mmaps, pread/pwrite and batch buffers. - - Signed-off-by: Paulo Zanoni - -commit 79670c54eb0345464ffc3b56a27a35bbaa40b539 -Author: Paulo Zanoni -Date: Fri Nov 8 19:03:24 2013 -0200 - - tests/pm_pc8: remove "batch" and "stress-test" subtests - - They use a bad BLT command and don't check its result. The next patch - will add proper GEM tests that contain commands that work and code - that checks if the command is really working. - - Signed-off-by: Paulo Zanoni - -commit 3775eae05165922585b5f5a1f34452d2ecbdac89 -Author: Paulo Zanoni -Date: Fri Nov 8 18:29:57 2013 -0200 - - tests/pm_pc8: add debugfs/sysfs tests - - They don't really exercise any particular special code path for PC8, - but the runtime D3 code will touch these code paths, so we'll need the - tests. - - Signed-off-by: Paulo Zanoni - -commit 0fbb8346466d1a5cf692dc7a20687fee2b92cd57 -Author: Paulo Zanoni -Date: Fri Nov 8 17:09:43 2013 -0200 - - tests/pm_pc8: add modeset-lpsp-stress - - It's the only one we were missing form the possible combinations. - - Signed-off-by: Paulo Zanoni - -commit 1bcae02e5c1486bfeeea674275fcd5c34bde3414 -Author: Paulo Zanoni -Date: Fri Nov 8 17:07:59 2013 -0200 - - tests/pm_pc8: extract i2c_subtest_check_environment - - Just to make it more organized and consistent with the other tests. - - Signed-off-by: Paulo Zanoni - -commit 2fd0eb53aa33662f44d6373c4562ba7cd4523400 -Author: Paulo Zanoni -Date: Fri Nov 8 17:05:00 2013 -0200 - - tests/pm_pc8: return void on test_i2c - - And do the assertion in the code line that actually verifies the - condition we need. Makes it easier to debug failed tests. - - Signed-off-by: Paulo Zanoni - -commit 514efb507d5bb1cd8774b25f4419c948b575a36b -Author: Paulo Zanoni -Date: Fri Nov 8 17:00:40 2013 -0200 - - tests/pm_pc8: move teardown_environment next to setup_environment - - So I can add/remove/verify code more easily. - - Signed-off-by: Paulo Zanoni - -commit ffc43fcbc0bcd4f7b15afa204723876e258e4bc4 -Author: Ben Widawsky -Date: Thu Nov 7 23:03:04 2013 -0800 - - gem_cpu_reloc: Fixed botched BLIT conversion - - Signed-off-by: Ben Widawsky - -commit 2c0fc4a2e43e4b7f1a5aacca37943f5259da4094 -Author: Ben Widawsky -Date: Thu Nov 7 23:05:01 2013 -0800 - - gem_evict_alignment: Skip on GEN8 for now - - Signed-off-by: Ben Widawsky - -commit 7c41331364ea2ea7a5c7c76c0b66bbc590eade60 -Author: Ben Widawsky -Date: Thu Nov 7 22:59:25 2013 -0800 - - gem_evict_everything: Fix broken blit generalization - - Signed-off-by: Ben Widawsky - -commit 1d9512f6ce136edc23b78cb1352ec2a54152a42b -Author: Daniel Vetter -Date: Fri Nov 8 07:37:57 2013 +0100 - - Revert "tests/gem_ctx_bad_exec: Check the errno, too" - - This reverts commit 4a6a59f314f61e1e4156bb13a65efabee31a76fc. - -commit 26d237cdc28d66674fbc72ea725b24c30d08e80d -Author: Ben Widawsky -Date: Thu Nov 7 21:00:55 2013 -0800 - - gem_storedw_batches_loop: Update for gen8 - - Signed-off-by: Ben Widawsky - -commit 5dbc2630363d1111fd8081d0e3bcb1084cfba7f4 -Author: Daniel Vetter -Date: Thu Nov 7 13:54:01 2013 +0100 - - tests/gem_overflow_reloc: Rework subtest enumeration - - Subtest names must be stable across all platforms for easier tracking. - Hence move the gen8+ check into the subtests, using igt_require. This - will auto-skip the tests on platforms where a given test doesn't apply. - - Also move the assignment of the relocation_type var outside of the - fixture block. Fixtures aren't run when enumerating subtests (so that - subtests can be enumerated on any platform, even without an intel gpu). - - So gcc has indeed been right with it's "potentially uninitialized" var - warning after all ... - - Signed-off-by: Daniel Vetter - -commit 4cf1d089ebc83ca21abbc9714bcebecf8a759714 -Author: Daniel Vetter -Date: Thu Nov 7 13:43:43 2013 +0100 - - tests/gem_reloc_overflow: Polish after Rafael's patch - - - use void* for generic pointer. - - Fix const usage. - - Shut up gcc about uninitizialized var. - - Be paranoid about the moved tests and make double-sure that the - batch would indeed work safe for the condition being tested. - - Signed-off-by: Daniel Vetter - -commit c537c23efc8173d6526236b6b311ac44c10a14af -Author: Rafael Barbalho -Date: Wed Nov 6 18:12:12 2013 +0000 - - tests/gem_reloc_overflow: Add gen8+ specifc tests - - Broadwell introduces 64-bit relocation addresses which add extra - corner cases. The test was refactored slightly with some tests that - were in the source offset tests were moved to the more generic reloc - test area. The source offset tests are now gen aware and called twice to - test both cpu & gtt relocation paths. In addition 2 new gen8+ test - were added to the test: - - * Relocation straddling page a page - * Insufficient space for a relocation at the end of the buffer. - - Signed-off-by: Rafael Barbalho - - Conflicts: - tests/gem_reloc_overflow.c - Signed-off-by: Daniel Vetter - -commit 5fab0b8aa7352525f72e0594f05c09272bfc1a79 -Author: Daniel Vetter -Date: Wed Nov 6 18:55:20 2013 +0100 - - NEWS: Remove spurious - - - Signed-off-by: Daniel Vetter - -commit 65cdba94bc49c7016adfc011198aafc6194c4717 -Author: Ben Widawsky -Date: Wed Nov 6 09:49:32 2013 -0800 - - NEWS: Restore the 1.4 release info - - I suck... - - Signed-off-by: Ben Widawsky - -commit a88cf4cbf1272e84b1a76b95da3e7a6eeb86065d -Author: Ben Widawsky -Date: Wed Nov 6 09:48:17 2013 -0800 - - NEWS: Broadwell will be in 1.6, not 1.5 - - Signed-off-by: Ben Widawsky - -commit 02ee89006842e62cf0e29f1830ab304c224def63 -Author: Ben Widawsky -Date: Wed Nov 6 09:36:27 2013 -0800 - - NEWS: Broadwell - - Signed-off-by: Ben Widawsky - -commit 1c5e1d230b26e8eb5017ccf2b409ee43821c58fb -Author: Damien Lespiau -Date: Fri May 31 15:31:33 2013 +0100 - - list-workarounds/bdw: Add Broadwell to the list of valid platorms - - Signed-off-by: Damien Lespiau - -commit d56697233699844db9262a9a056b62b24b69dd39 -Author: Mengdong Lin -Date: Sun Aug 25 23:07:22 2013 -0400 - - quick_dump/bdw: support Broadwell in device auto-detection - - This patch exposes is_broadwell() to python, to be used by device - auto-detection. - - Signed-off-by: Mengdong Lin - Signed-off-by: Ben Widawsky - -commit ee4318931fdf968f98f47dd5d6a019b497037d16 -Author: Mengdong Lin -Date: Thu Aug 15 23:58:21 2013 -0400 - - quick_dump/bdw: dump audio debug registers for Haswell and Broadwell - - A new file "audio_debug_haswell_plus.txt" is created to define audio - debug registers for Haswell and its successors like Broadwell. - - Signed-off-by: Mengdong Lin - Reviewed-by: Xingchao Wang - Signed-off-by: Ben Widawsky - -commit 0facfb2eb057c425fce21539d5cd25c3fe05eed8 -Author: Mengdong Lin -Date: Thu Aug 15 23:58:05 2013 -0400 - - quick_dump/bdw: dump audio configuration registers for Haswell and Broadwell - - A new file "audio_config_haswell_plus.txt" is created to define audio - configuration registers for Haswell and its successors like Broadwell. - - Signed-off-by: Mengdong Lin - Reviewed-by: Xingchao Wang - Signed-off-by: Ben Widawsky - -commit 4f1410d978ad4b184b61bfa0559cfd9c35f1aa0f -Author: Ben Widawsky -Date: Mon Feb 18 16:00:55 2013 -0800 - - quick_dump/bdw: Just basic stuff for now - - Just the interrupt registers for now. - - Signed-off-by: Ben Widawsky - -commit e35126d30ce6deda2b472498882195e37ecde81f -Author: Mengdong Lin -Date: Tue Aug 13 00:22:33 2013 -0400 - - intel_audio_dump/bdw: dump audio M CTS readback register - - This debug register provides test feedback of the audio M values (DP) - or CTS values (HDMI) - - Signed-off-by: Mengdong Lin - Reviewed-by: Xingchao Wang - Signed-off-by: Ben Widawsky - -commit 97e5cf6006077d2ea1b58b5d7993756e9ec1c8b4 -Author: Mengdong Lin -Date: Tue Aug 13 00:22:24 2013 -0400 - - intel_audio_dump/bdw: dump audio DP and DIP FIFO debug status - - Signed-off-by: Mengdong Lin - Reviewed-by: Xingchao Wang - Signed-off-by: Ben Widawsky - -commit f075c3c0688c8f2d38bf49691110934e1c2d2032 -Author: Mengdong Lin -Date: Tue Aug 13 00:22:14 2013 -0400 - - intel_audio_dump/bdw: dump audio chicken bit register - - This patch dumps this debug register and parse the data for Broadwell. - - Signed-off-by: Mengdong Lin - Reviewed-by: Xingchao Wang - Signed-off-by: Ben Widawsky - -commit 8535720b4c9e595316bd5cf172c680ed15c709f4 -Author: Mengdong Lin -Date: Tue Aug 13 00:21:57 2013 -0400 - - intel_audio_dump/bdw: dump debug registers for audio immediate commands - - This patch dumps debug registers to check audio immediate command, response - and status. - - The audio driver will fall back into immediate command mode if normal - communication between controller and codec is dead. - - Signed-off-by: Mengdong Lin - Reviewed-by: Xingchao Wang - [Ben: Small printf changes to remove compiler warning] - Signed-off-by: Ben Widawsky - -commit 69cc00b072198264a8a6e7b1e870fe0cbad34ce6 -Author: Mengdong Lin -Date: Wed Jul 17 13:29:17 2013 -0400 - - intel_audio_dump/bdw: add support for Broadwell - - This patch renames Haswell audio dump function and reuses it for Broadwell. - - Since Haswell, audio registers are moved from the south display engine to the - north display engine. And the audio register layout is same for Haswell and its - successors like Broadwell. - - Signed-off-by: Mengdong Lin - Signed-off-by: Ben Widawsky - -commit c82872b0193c38994d09f2b78fca03264d52e614 -Author: Damien Lespiau -Date: Wed Feb 27 14:51:48 2013 +0000 - - rendercopy/bdw: Add AUB annotations for states - - This will hopefully help debugging things. - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit 91e589724694c23db9669b987a9411b7ae152d0d -Author: Damien Lespiau -Date: Wed Feb 27 14:51:34 2013 +0000 - - rendercopy/bdw: Fix the original implementation - - For posterity, I've squashed these commits against Damien's request. - - rendercopy/gen8: Fix the include guards - - rendercopy/gen8: Update the 3DSTATE_MULTISAMPLE opcode - - The opcode has changed in BDW. - - rendercopy/gen8: Add the VF_TOPOLOGY state - - The primitive type has moved out of the 3DPRIMITIVE to its own state, - VF_TOPOLOGY. - - rendercopy/gen8: Fixup 3STATE_PS - - Update the state to the latest BSpec, in particular the thread count was - using a wrong shift and we were missing kernel2 offset. - - rendercopy/gen8: Update 3DSTATE_BASE_ADDRESS - - This state has seen its fields moved around a bit, follow the BSpec. - - rendercopy/gen8: Allocate 64 VUEs - - The simulator screams at us if we try to allocate less than that. - - rendercopy/gen8: Surface states have to be 64 bytes a aligned - - rendercopy/gen8: Vertical/horizontal align 2 does not exist any more - - So set them to 4. This should not matter with rendercopy (which is not - using compressed textures), but it makes the simulator moan. - - rendercopy/gen8: Make sure the vertex buffer is 8 bytes aligned - - rendercopy/gen8: Adjust 3DSTATE_VERTEX_BUFFERS for gen8 - - The address of the buffer is now on 48 bits. Also the size was computed - as offset + size where the field is really the size of the buffer - itself, not the end address. - - rendercopy/gen8: Update the SF/SBE states for gen8 - - gen8 has a few changes around those states and a new ones RASTER and - SBE_SWIZ. - - rendercopy/gen8: Add the PS_EXTRA and PS_BLEND states - - rendercopy/gen8: Fix building with DEBUG_RENDERCOPY defined - - The forward declaration was missing the final ';'. Let's move the whole - function at the top instead. - - rendercopy/gen8: Update the PS and CONSTANT_PS states - - rendercopy/gen8: Fix the red channel selection - - Make it output red. - - rendercopy/gen8: Update the write -1 shader - - With the latest assembler changes from Haihao. - - rendercopy/gen8: Remove blit.g8a - - There is no diff between this file and blig.g7a. Remove it. - - rendercopy/gen8: Fix the surface relocation offset - - The surface base address is now at dwords 8/9 so the relocation has to - mirror the change. - - rendercopy/gen8: Add the VF_INSTANCING state - - Should work without, but doesn't hurt to add it. - - rendercopy/gen8: Set the Attribule enable field in PS_EXTRA - - When the SF is set up to output some attributes, the pixel shader also - have to be told there's attributes to care about. - - rendercopy/gen8: Set the force bits to read URB offset/length - - If we want to override the URB offset/length in the SBE state itself, we - need to set the force bits on (new in gen8) - - Signed-off-by: Damien Lespiau - Acked-by: Kenneth Graunke - Signed-off-by: Ben Widawsky - -commit 3f0714a8607fb9b735ef8b16e0e1d1b308381a04 -Author: Damien Lespiau -Date: Wed Feb 27 14:51:33 2013 +0000 - - rendercopy/bdw: Add gen8_render.h to the file list - - So it gets distributed with make dist. - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit 3edfff16cde0033fbec3c2deb390212acff15d6d -Author: Jesse Barnes -Date: Wed Feb 27 14:51:32 2013 +0000 - - rendercopy/bdw: Initial gen8 rendercopy - - Signed-off-by: Jesse Barnes - Signed-off-by: Ben Widawsky - -commit 66783e4c4f8b417e2f493e668cc4cac4ebda51a3 -Author: Zhao Yakui -Date: Tue Apr 9 09:59:16 2013 +0800 - - assembler/bdw: Add the DATA_PORT_CACHE1 shared function for Gen8+ - - This is required to send some messages to data port in GPU shader. - For example: media_block_write message. - - Signed-off-by: Zhao Yakui - Reviewed-by: Kenneth Graunke - Signed-off-by: Ben Widawsky - -commit 88e5f1fdf847a0ce284b8a01ff2cf3fb36e2b07c -Author: Zhao Yakui -Date: Tue Apr 9 09:59:15 2013 +0800 - - assembler/bdw: Add the support of align1 register-indirect addressing mode on Gen8 - - Otherwise it can't compile the following GPU shader that uses the - register-indirect addressing mode. - >add.sat (16) r[a0.5,0]<1>:uw r[a0.5,0]<16;16,1>:uw 0x0080:uw - >add.sat (16) r[a0.5,32]<1>:uw r[a0.5,32]<16;16,1>:uw 0x0080:uw - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - -commit 60c9b41e11bf4a3ea4935bd30f5c169ca24de06d -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:13 2013 +0800 - - assembler/bdw: SEND instruction - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit 3d8d094efec8cd6efbcead9c2fd54067e1a83223 -Author: Ben Widawsky -Date: Fri Aug 16 15:24:25 2013 -0700 - - assembler/bdw: Small cleanup - - This was originally part of: - - commit 62298329350b965e4bbfc558e5a4b1b3646742ea - Author: Xiang, Haihao - Date: Wed Aug 14 14:21:16 2013 -0700 - - assembler: error for the wrong syntax of SEND instruction on GEN6+ - - I merged that patch separately, but this tiny hunk was leftover. In - order to not muck in changing too much history, I am leaving this as a - discrete patch, but with the changed commit message - - Signed-off-by: Ben Widawsky - -commit bf05bd55310a1cde8efb835d4352c9f7c4fbcb60 -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:11 2013 +0800 - - assembler/bdw: Check & Refinement Engine message - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit b6a33bdcce9dd3a9c55d9077b380f0d5ec6d0da3 -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:10 2013 +0800 - - assembler/bdw: Video Motion Estimation(VME) message - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit bf003ea63434e6acc91b7c0feec6aa2084983a16 -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:09 2013 +0800 - - assembler/bdw: Thread Spawn message - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit 01c9654a65460eb6058b9060894a6e0e08ac2c80 -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:08 2013 +0800 - - assembler/bdw: Data port message - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit 9d0287c252cb634db6edef990192cf77d2e120e6 -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:07 2013 +0800 - - assembler/bdw: Set thread switch for multiple branch instructions - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit 216163b44d2285705d1af1db405be94d69a27fef -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:06 2013 +0800 - - assembler/bdw: Set jip/uip offsets used by flow control instructions - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit 2df4d3115af706c9e01b2d7ddb7b957239bfdc85 -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:05 2013 +0800 - - assembler/bdw: Disable mask control for advanced mode - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit 220f165008469c943959cd9ac4958432e4d24d64 -Author: Xiang, Haihao -Date: Fri Feb 22 11:14:04 2013 +0800 - - assembler/bdw: Set math function - - Signed-off-by: Xiang, Haihao - Signed-off-by: Ben Widawsky - -commit 9cf8e1b79c9430171f3e627b298bf5e0f4f65c82 -Author: Damien Lespiau -Date: Tue Feb 5 11:34:10 2013 +0000 - - assembler/bdw: Use gen8_set_exec_size() to set the execution size - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit f9e74fb49464b64ff9321e04e60dba40a7bc34b5 -Author: Damien Lespiau -Date: Thu Jan 31 18:25:45 2013 +0000 - - assembler/bdw: Preliminary gen8 send & msgtarget support - - Still some work needed there, but enough for rendercopy. - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit bc3bf098a98333aa00290663d7aec2e08270fc58 -Author: Damien Lespiau -Date: Thu Jan 31 15:31:27 2013 +0000 - - assembler/bdw: Add the start of a gen8 disassembler - - Directly taken from Mesa. - - v2 (Ben): Updated copyright - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit 42d8d57c8c57232f6da4c47a03a5d9599976fa98 -Author: Damien Lespiau -Date: Thu Jan 31 01:55:48 2013 +0000 - - assembler/bdw: Make the validation functions take a brw_program_instruction - - This allows to use the same functions to validate operands on gen8 for - now. - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit af4d37de38f2ea0304b9618fbe8d85733663a6c8 -Author: Damien Lespiau -Date: Thu Jan 31 02:16:08 2013 +0000 - - assembler/bdw: Support some basic gen8 intructions - - We should now support alu2 intructions with direct register addressing. - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit c3b36592af100672c9b52bdb141e38b7501a658b -Author: Damien Lespiau -Date: Wed Jan 30 17:19:57 2013 +0000 - - assembler/bdw: Add gen8_instruction from mesa - - Signed-off-by: Damien Lespiau - Signed-off-by: Ben Widawsky - -commit f57f55e4daf2ef9c60242f22134f0f4e06117ace -Author: Ben Widawsky -Date: Wed Oct 9 15:51:34 2013 -0700 - - tests/bdw: Port storedw_loop_vebox to gen8 - - I chose not to implement this in the same way as Zhao Yakui because I - was lazy. - - Signed-off-by: Ben Widawsky - -commit 50a52f3ada8c52c584c23d107bf96fa34a47b46e -Author: Zhao Yakui -Date: Tue Apr 9 09:29:19 2013 +0800 - - tests/bdw: Port storedw_loop_blt to gen8 - - The code is from the storedw_loop_render. - - v2 (by Ben): Flush on the correct ring - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - -commit 6a2d5059ff2ee3a6a999465b40a89e0c43d7fc12 -Author: Zhao Yakui -Date: Tue Apr 9 09:29:18 2013 +0800 - - tests/bdw: Port storedw_loop_bsd to gen8 - - The code is from the storedw_loop_render. - - v2 (by Ben): Flush on the correct Ring - - Signed-off-by: Zhao Yakui - Signed-off-by: Ben Widawsky - -commit 636f726b8030e2aec831193de25032d817267452 -Author: Damien Lespiau -Date: Thu Feb 14 15:32:33 2013 +0000 - - tests/bdw: Port storedw_loop_render to bdw - - Signed-off-by: Damien Lespiau - Reviewed-by: Jesse Barnes - Signed-off-by: Ben Widawsky - -commit 3aad2ac83c76e8e05ac91d8b7dab465556ef9575 -Author: Ben Widawsky -Date: Tue Oct 8 19:48:35 2013 -0700 - - tests/bdw: pwrite_pread - - support gen8 style blits - - Signed-off-by: Ben Widawsky - -commit d3480229341b78952dc1558dd8992d0f12f6998b -Author: Ben Widawsky -Date: Wed Oct 9 08:41:52 2013 -0700 - - tests/bdw: gem_linear_blits - - support gen8 style blits - - Signed-off-by: Ben Widawsky - -commit adc5a41f2b26c9c86b4e31d3fa90d95bceece8cf -Author: Ben Widawsky -Date: Wed Oct 9 08:41:52 2013 -0700 - - tests/bdw: gem_pin - - support gen8 style blits - - Signed-off-by: Ben Widawsky - -commit eb89ce7a7e3c54961025f19093ef79fd677a94b6 -Author: Ben Widawsky -Date: Wed Oct 9 08:41:52 2013 -0700 - - tests/bdw: gem_exec_blt - - support gen8 style blits - - Signed-off-by: Ben Widawsky - -commit 91f9e19fcd8df9cd23f54b92db83ecfffcaf47bf -Author: Ben Widawsky -Date: Wed Oct 9 08:41:52 2013 -0700 - - tests/bdw: gem_evict_* - - support gen8 style blits - - Signed-off-by: Ben Widawsky - -commit 6fa529ecd6055db55bc83a56cc83025b3f7dcfd3 -Author: Ben Widawsky -Date: Tue Oct 8 18:15:21 2013 -0700 - - tests/bdw: gem_cpu_reloc - - support gen8 style blits - - Signed-off-by: Ben Widawsky - -commit 3e2937bd99a2c01fb303f68c7384fc8addd337ba -Author: Ben Widawsky -Date: Tue Oct 8 17:38:43 2013 -0700 - - tests/bdw: gem_exec_faulting_reloc - - support gen8 style blits - - Signed-off-by: Ben Widawsky - -commit f4dfa37e8578419b94a7c84fbcea7d4b70aa68b9 -Author: Ben Widawsky -Date: Tue Oct 8 15:02:07 2013 -0700 - - bdw: Update obvious missing blit support - - This provides a macro that allows us to update all the arbitrary blit - commands we have stuck throughout the code. It assumes we don't actually - use 64b relocs (which is currently true). This also allows us to easily find - all the areas we need to update later when we really use the upper dword. - - This block was done mostly with a sed job, and represents the easier - in test blit implementations. - - v2 by Oscar: s/OUT_BATCH/BEGIN_BATCH in BLIT_COPY_BATCH_START - - CC: Chris Wilson - Signed-off-by: Ben Widawsky - Signed-off-by: Oscar Mateo - -commit 26f09a91897f6ad66b8fb8e0e5afb4c95954fbd2 -Author: Damien Lespiau -Date: Thu Feb 14 15:32:32 2013 +0000 - - bdw: Add gen8 specific instdone bits - - Signed-off-by: Damien Lespiau - Reviewed-by: Jesse Barnes - Signed-off-by: Ben Widawsky - -commit 295137046a353ce43a0eff6b665eb1c63dc6145c -Author: Damien Lespiau -Date: Thu Feb 14 15:32:31 2013 +0000 - - bdw: Add gen8 to intel_gen() - - Signed-off-by: Damien Lespiau - Reviewed-by: Jesse Barnes - Signed-off-by: Ben Widawsky - -commit 068c21b56b710e20215e2c2e515ac072b6affb9c -Author: Damien Lespiau -Date: Thu Feb 14 15:32:30 2013 +0000 - - bdw: Add gen8 to the IS_9XX() macro - - Signed-off-by: Damien Lespiau - Reviewed-by: Jesse Barnes - Signed-off-by: Ben Widawsky - -commit a8221a53ecd295747c00f41b1cd6dbd15eec6b93 -Author: Ben Widawsky -Date: Mon Dec 3 11:36:46 2012 -0800 - - pciid/bdw: Add Broadwell PCI ids - - Signed-off-by: Ben Widawsky - -commit f20ac4c8a10995d47a0bd853b3436e8427b58bff -Author: Ben Widawsky -Date: Tue Dec 4 08:38:46 2012 -0800 - - chipset: IS_I9XX macro - - This isnt useful in IGT, but it will allow us to keep the merge process - with libdrm simpler. - - Signed-off-by: Ben Widawsky - -commit 41b5fbfd60286fe8052a4b8d5eb5e315118282bb -Author: Rodrigo Vivi -Date: Wed Nov 6 13:06:11 2013 -0200 - - bump version to 1.5 and add the release date - - Signed-off-by: Rodrigo Vivi - -commit ad648d9debf4c2a751b6d240cfed9da8391913af -Author: Rodrigo Vivi -Date: Tue Oct 1 15:12:37 2013 -0300 - - tests: pm_psr - - Check on debugfs if PSR is supported by panel and matching all conditions in - hardware. In this case PSR must be enabled and performance counting increasing - - v2: check if performance counter is really increasing. - v3: respect new naming convention - - Signed-off-by: Rodrigo Vivi - -commit 27f1a7dd4bf67cd0fc892e9de3254a65f2c48110 -Author: Daniel Vetter -Date: Wed Nov 6 15:06:15 2013 +0100 - - NEWS: drop_caches improvements - - Signed-off-by: Daniel Vetter - -commit d9381c8a6629a82cb27bfcc4fc29861810fe35f1 -Author: Jesse Barnes -Date: Tue Nov 5 07:44:20 2013 -0800 - - quick_dump/vlv: add DPIO_CTL to the dump - - Signed-off-by: Jesse Barnes - -commit aa252d0e009b8c94ff875a69a4ca3640d1a5c1c9 -Author: Oscar Mateo -Date: Tue Nov 5 14:15:19 2013 +0000 - - lib/drmtest: Retire requests via drop caches after gem_quiescent_gpu - - This helps make sure that the GPU is really quiescent by getting - rid of any residual stuff. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 4a6a59f314f61e1e4156bb13a65efabee31a76fc -Author: Daniel Vetter -Date: Tue Nov 5 11:56:50 2013 +0100 - - tests/gem_ctx_bad_exec: Check the errno, too - - Signed-off-by: Daniel Vetter - -commit 466da453aee6bc6218b5f7ebf22223c269c176b7 -Author: Oscar Mateo -Date: Tue Nov 5 10:57:31 2013 +0000 - - gem_flink_race: Assure no pending requests before object counting - - Same thing that was done for prime_self_import. - - v2: Move igt_drop_caches_set() call inside get_object_count() to make - it clearer why we want this. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit ece21fa86502352a251d313dc22b325ac57f2ee4 -Author: Oscar Mateo -Date: Tue Nov 5 10:56:24 2013 +0000 - - prime_self_import: Assure no pending requests before object counting - - We don't want a previously used object to be freed in the middle of a - before/after object counting operation (or we would get a "-1 objects - leaked" message). We have seen this happening, e.g., when a context - from a previous run dies, but its backing object is alive waiting for - a retire_work to kick in. - - v2: Use igt_debugfs facilities for drop cache. - v3: Move igt_drop_caches_set() call inside get_object_count() to make - it clearer why we want this. - - Signed-off-by: Oscar Mateo - Cc: Ben Widawsky - Signed-off-by: Daniel Vetter - -commit eeaf013214698c62a99ff9a83764f1369acd40b0 -Author: Daniel Vetter -Date: Sun Nov 3 11:28:50 2013 +0100 - - NEWS: Roll in updates. - -commit 682b674a673da911c4fa0526596877a28d358471 -Author: Daniel Vetter -Date: Sat Nov 2 12:42:21 2013 +0100 - - tests: establish core_ prefix - - Signed-off-by: Daniel Vetter - -commit 51dc087864c385ebd469c2764b60b40363fbe022 -Author: Daniel Vetter -Date: Sat Nov 2 12:35:44 2013 +0100 - - tests: Use kms_ prefix a bit more - - 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 - -commit 5738f1952d8b62bb2dea643ae8cfa3c308a45797 -Author: Daniel Vetter -Date: Sat Nov 2 12:27:24 2013 +0100 - - tests: establish pm_ prefix - - 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 - -commit c32032111aa701061acb7c3247b6cf7696272501 -Author: Daniel Vetter -Date: Sat Nov 2 12:22:37 2013 +0100 - - tests: estbalish drv_ prefix - - Signed-off-by: Daniel Vetter - -commit d983f9934513740f72bd6f9e3ad1007e60435aec -Author: Daniel Vetter -Date: Sat Nov 2 12:17:49 2013 +0100 - - tests: Start to document naming conventions - - Just a start and we need more work here. Some follow-up patches will - clear up some of the historical confusion. - - While at it rename the pc8 "basic" test to "rte". - - Signed-off-by: Daniel Vetter - -commit 66c46ecc80ab16a90ed3dd845fa68a58323622af -Author: Daniel Vetter -Date: Sat Nov 2 12:54:35 2013 +0100 - - Update .gitignore a bit - - - Ignore build-aux/ - - Cleanup ignores for assembler/ - -commit af9d1b5cdb4cc506a7f171a49d1103998b5a2f9e -Author: Daniel Vetter -Date: Mon Nov 4 18:11:29 2013 +0100 - - lib: drop return value from igt_drop_caches - - No one actually cares, everyone expects it to just work. - - Signed-off-by: Daniel Vetter - -commit 5f0ab94c3fca1437f10812e88136f82c3396a99e -Author: Oscar Mateo -Date: Mon Nov 4 16:30:47 2013 +0000 - - lib: Add igt_drop_caches_set() - - This is basically a "drop cache" interface to the igt_debugfs - facilities. Also, update existing users. - - Signed-off-by: Oscar Mateo - Cc: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit a97402e89ac492e2cbdd4b194638a7c0e898a4a3 -Author: Oscar Mateo -Date: Mon Nov 4 16:30:46 2013 +0000 - - tests: Fix "-thrashing" and "-thrash-inactive" distinction - - A typo in the relocation tests made both sub-tests perform the - same action: drop *all* caches. - - Signed-off-by: Oscar Mateo - Signed-off-by: Daniel Vetter - -commit 163d85d5f0c4e8dfecb93c3a01c7f90da744aa79 -Author: Daniel Vetter -Date: Fri Nov 1 22:18:20 2013 +0100 - - tests: igt_no_subtest - - Yet another check for the library. - - Signed-off-by: Daniel Vetter - -commit 6d73fdbfd2d8944702459f7412790aab32677c48 -Author: Daniel Vetter -Date: Fri Nov 1 18:31:59 2013 +0100 - - tests: Add a Makefile comment about the expected failures in igt_ tests - - Signed-off-by: Daniel Vetter - -commit 8f718b1cd80b13d9044956a5b19668faf4320a52 -Author: Daniel Vetter -Date: Thu Oct 31 17:05:28 2013 +0100 - - tests: Add a test template - - Requested by Paulo. - - Signed-off-by: Daniel Vetter - -commit 071e9ca1ca4424ba35edec0246918efdd0528d76 -Author: Daniel Vetter -Date: Thu Oct 31 16:23:26 2013 +0100 - - lib: add igt_main macro - - In the past new testcases with subtest often forgot to add the call to - igt_exit at the end of their main() function. That is now caught with - a bit more obnoxious asserts, but it's still a nuissance. - - This little igt_main macro takes care of that (and also of calling the - subtest machinery initialization code correctly). - - If no one objects I'll roll this out for all the simple cases (i.e. - those tests that don't have additional argv parsing on top of the - subtest machinery). - - v2: Roll it out across the board. - - Signed-off-by: Daniel Vetter - -commit 223a61e12e119d96484ed05c563d1781fd613a4e -Author: Daniel Vetter -Date: Thu Oct 31 17:16:33 2013 +0100 - - lib: make igt_install_exit_handler never fail - - Most callers didn't bother checking, so just move the asserts into - the function itself. - - Signed-off-by: Daniel Vetter - -commit 1f0cf2df85ca3f9d900b21db9c8744a99e8f60a0 -Author: Daniel Vetter -Date: Thu Oct 31 17:02:41 2013 +0100 - - lib: make igt_set_vt_graphics_mode never fail - - All tests agree that this is a letal failure, so no point - to pass it back to callers. - - Also add some igt_require calls for the drm_fd where I've - noticed that it's missing. - - Signed-off-by: Daniel Vetter - -commit 0369fe19b8b8e19e0815361b5187eba81cb2d71a -Author: Daniel Vetter -Date: Thu Oct 31 16:09:46 2013 +0100 - - lib: consolidate pipe crc exit handler - - No need to sprinkle this all over: - - exit handlers will only be registered once - - they're always called when exiting, so no need to explictly call - them. - - This allows us to hide all the pipe crc cleanup in the library. - - Cc: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit 43def94f3213634c2c798049cb17efc14801a9ed -Author: Daniel Vetter -Date: Thu Oct 31 16:06:40 2013 +0100 - - tests/kms_cursor_crc: rework to auto-skip connectors - - Cc: Ville Syrjälä - Signed-off-by: Daniel Vetter - -commit 8bb5730d28122fe5c142815f1ad32c351bf36cfe -Author: Daniel Vetter -Date: Thu Oct 31 15:37:05 2013 +0100 - - tests/debugfs_pipe_crc: set mode before creating CRC helper - - Otherwise the automagic skipping for DP ports on gmch platforms - won't work. - - v2: We also need to just skip that connector, not the entire subtest. - - kms_cursor_crc still needs to be updated. - - Cc: Damien Lespiau - Cc: Ville Syrjälä - Signed-off-by: Daniel Vetter - -commit 842007154da76dc2684077a4080c875bb3068f32 -Author: Daniel Vetter -Date: Thu Oct 31 14:02:44 2013 +0100 - - tests: use "auto" pipe CRC source - - Makes stuff work on DP ports on gmch platforms automatically. - - Cc: Damien Lespiau - Signed-off-by: Daniel Vetter - -commit 0b51de8dd02dc2502fa0614c3a29959a066584cc -Author: Daniel Vetter -Date: Fri Nov 1 18:29:33 2013 +0100 - - lib: add more self-tests around the igt_exit checks. - - Signed-off-by: Daniel Vetter - -commit e14596a6d074c5e79343633bf3c21a2f2961269d -Author: Daniel Vetter -Date: Fri Nov 1 18:21:08 2013 +0100 - - lib: fix igt_exit assert when only listing subtests. - - Ooops. Reported by Paulo. Also add a new testcase for make check to - make sure this actually works. - - Signed-off-by: Daniel Vetter - -commit 9e21c255e74128a16ef5c2dd4b1903d1d2c417eb -Author: Damien Lespiau -Date: Fri Nov 1 16:25:10 2013 +0000 - - lib: Don't forget to close the pipe ctl fd in igt_pipe_crc_reset() - - Signed-off-by: Damien Lespiau - -commit b1945f8c46c1305dd882241711471dbea90f0c2b -Author: Damien Lespiau -Date: Fri Nov 1 15:47:42 2013 +0000 - - gitignore: Ignore recently introduced tools and tests - - Signed-off-by: Damien Lespiau - -commit bd0aa100ca438fa68cf07dc55ec6dbfe7391ba6c -Author: Paulo Zanoni -Date: Mon Oct 21 11:45:41 2013 -0200 - - module_reload: remove snd_hda_intel - - 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 - Signed-off-by: Paulo Zanoni - -commit 3c6a7e780b08cf7cf9e7700a2a882014f947a795 -Author: Ville Syrjälä -Date: Thu Sep 19 18:14:54 2013 +0300 - - Add VGA register read/write tools - - Signed-off-by: Ville Syrjälä - -commit 164b540936b6cc6d67151793efdc6261975cadfc -Author: Ben Widawsky -Date: Thu Oct 31 14:16:41 2013 -0700 - - debugfs_pipe_crc: skip on simulation - - As with other display tests, they're not working (and in this case, - cause hangs). - - Signed-off-by: Ben Widawsky - -commit 2addb2744f2373cd327a8633330bf27fd11ce621 -Author: Paulo Zanoni -Date: Tue Oct 29 14:02:43 2013 -0200 - - tests/pc8: remove some printfs - - They pollute the output, which makes it harder to see which tests - failed or succeeded. - - Signed-off-by: Paulo Zanoni - -commit b6645ee2e27beb2d8e69402611938c288ab35a47 -Author: Paulo Zanoni -Date: Tue Oct 29 11:14:50 2013 -0200 - - tests/pc8: clarify modeset_subtest arguments - - My tiny little brain can't properly process 3 unnamed boolean - arguments. - - Signed-off-by: Paulo Zanoni - -commit abb334061763652eec274831cda87dab9f8f1d15 -Author: Paulo Zanoni -Date: Tue Oct 29 11:00:45 2013 -0200 - - tests/pc8: add modeset -stress-no-wait tests - - 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 - -commit 7a5275f8a5a5768da038c87efd344c65302dfc93 -Author: Paulo Zanoni -Date: Mon Oct 28 19:11:31 2013 -0200 - - tests/pc8: add modeset-lpsp and modeset-non-lpsp - - 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 - -commit 87cf5571fc206f6d87195d574b2ec2092e0c2b1f -Author: Ben Widawsky -Date: Tue Oct 29 20:01:43 2013 -0700 - - gem_suspend: Skip on simulation - - Simulation has proven flaky across both reset, and s3/4 - - Signed-off-by: Ben Widawsky - -commit 5382aca1afb33614270c536835e3da61b4e2d123 -Author: Ben Widawsky -Date: Tue Oct 29 20:01:14 2013 -0700 - - gem_close_race: Fix linker flags - - Seems the -lpthread was missed in - commit 8f771f3facae133bb72216fa05c74bc817920b6d - Author: Chris Wilson - Date: Tue Oct 29 14:21:29 2013 +0000 - - gem_close_race: Also test random closing of active fd - - Signed-off-by: Ben Widawsky - -commit 8f771f3facae133bb72216fa05c74bc817920b6d -Author: Chris Wilson -Date: Tue Oct 29 14:21:29 2013 +0000 - - gem_close_race: Also test random closing of active fd - - Signed-off-by: Chris Wilson - -commit 5d24a67c1b885084e0f0d51631ed0c5227bcb112 -Author: Daniel Vetter -Date: Tue Oct 29 11:29:00 2013 +0100 - - lib/drmtest: Scream harder when igt_exit isn't called for subtest tests - - 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 - -commit 780807099a482fdcbaea40af7117127b6d92beae -Author: Daniel Vetter -Date: Tue Oct 29 11:15:43 2013 +0100 - - tests: Use igt_exit for tests with subtest - - Signed-off-by: Daniel Vetter - -commit ccb1b5888dd18a8227a4e09a5674abca15931c87 -Author: Chris Wilson -Date: Tue Oct 29 09:25:44 2013 +0000 - - gem_close_race: Bump the workload - - 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() - -commit 51783fc7f9aacd20f13bd7a12c5eb9194176ab14 -Author: Chris Wilson -Date: Tue Oct 29 08:38:30 2013 +0000 - - gem_close_race: Tidy up call to execbuffer - - Pass the right pointer to the execlist would be a good start. - - Signed-off-by: Chris Wilson - -commit 7b8784dccf303c4fd9c6a1c2e3f9fae7d00fde2f -Author: Daniel Vetter -Date: Tue Oct 29 07:47:33 2013 +0100 - - tests/kms_cursor_crc: Use igt_exit - - Otherwise the exit codes are all bogus. - - Signed-off-by: Daniel Vetter - -commit 020600b77dfc179d99bb3d088927dcdf6d432cfe -Author: Damien Lespiau -Date: Thu Oct 24 15:27:12 2013 +0100 - - tests: Convert the ctx test to use render nodes when possible - - Signed-off-by: Damien Lespiau - -commit d71ecdbf5de0bb95551c6a5def4d42e85b4d6616 -Author: Damien Lespiau -Date: Thu Oct 24 15:21:59 2013 +0100 - - tests/gem_render_copy: Use render nodes - - Signed-off-by: Damien Lespiau - -commit 69c200b0bb39bb585f46fa5c779c97166779cd93 -Author: Damien Lespiau -Date: Thu Oct 24 15:19:32 2013 +0100 - - lib: Add a drm_open_any_render() that will try to use render nodes - - 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 - -commit 8329acb752721ad93dab70624b136f1befd4be3f -Author: Damien Lespiau -Date: Thu Oct 24 15:04:26 2013 +0100 - - lib: Close non intel fds in drm_get_card() - - 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 - -commit 949ce5b8a1054fcc1c375ee4b801c291483e2005 -Author: Damien Lespiau -Date: Thu Oct 24 14:08:17 2013 +0100 - - lib: Remove stale comment - - Signed-off-by: Damien Lespiau - -commit 90ecf062d10a3ed1bb08cb887aea78b385072584 -Author: Chris Wilson -Date: Mon Oct 28 09:10:46 2013 +0000 - - tests: Add gem_close_race - - The intention is to exercise #70784. Yet the first challenge is make the - test suite happy. - -commit 37c02cfa5c4ff2fa6dd833efdcf880416139d096 -Author: Damien Lespiau -Date: Tue Oct 22 15:03:48 2013 +0100 - - gem_render_linear_blits: Remove aub dump support - - It's much easier to follow the new gem_render_copy test and acquire a - aub dump from it. - - Suggested-by: Chris Wilson - Signed-off-by: Damien Lespiau - -commit 7ad0cf585b4f4c0391646c0eaea6e7e8e2e88cca -Author: Damien Lespiau -Date: Tue Oct 22 14:57:57 2013 +0100 - - tests/gem_render_copy: Add aub dump support - - Signed-off-by: Damien Lespiau - -commit 145722187c30a60456df046981087f84f3c0b601 -Author: Damien Lespiau -Date: Tue Oct 22 14:26:38 2013 +0100 - - tests/gem_render_copy: Only dump pngs when the -d option is given - - Signed-off-by: Damien Lespiau - -commit 9cd092fac149eb8cfe16e3652f1d535fb0698329 -Author: Damien Lespiau -Date: Tue Oct 22 14:20:10 2013 +0100 - - tests/gem_render_copy: Add a simple render copy test - - 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 - -commit c3707ab387500b534224dd563297a7bbb26aeb83 -Author: Damien Lespiau -Date: Tue Oct 22 14:18:26 2013 +0100 - - lib: Add a function to dump a scratch buf into a png - - Signed-off-by: Damien Lespiau - -commit 13ebe3c01410c2dc0d90a4a1c33cbf143c51056c -Author: Rodrigo Vivi -Date: Tue Oct 22 12:35:59 2013 -0200 - - build: include intel_l3_parity.h to its _SOURCES to fix make distcheck - - and make sure intel_l3_parity.h will be included in tarball. - - Signed-off-by: Rodrigo Vivi - -commit 50c2653381ad0ff5390932df1385aeb20b0d03bc -Author: Rodrigo Vivi -Date: Tue Oct 22 11:28:56 2013 -0200 - - build: Fix small typo that was breaking make distcheck - - Signed-off-by: Rodrigo Vivi - -commit fa05c0bcedd909bf8b85c02ca0f533921e8256b4 -Author: Ville Syrjälä -Date: Wed Oct 16 23:07:34 2013 +0300 - - kms_flip: Add test for -ENOENT - - 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ä - -commit 08c27e3e3899f5063ac3eef44a4dbb6201568b47 -Author: Ville Syrjälä -Date: Fri Oct 18 17:44:42 2013 +0300 - - kms_cursor_crc: Add a cursor test using CRCs - - 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ä - -commit 0786d5cc8f258c7f403a22d8234ebb81837baa70 -Author: Ville Syrjälä -Date: Mon Oct 21 18:45:03 2013 +0300 - - lib: Check pipe source validity in igt_pipe_crc_new() - - 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ä - -commit 987bcd9a5b51db312588163d7f9a21654eb799e4 -Author: Ville Syrjälä -Date: Mon Oct 21 19:37:33 2013 +0300 - - lib: Allow pipe_crc_free(NULL) - - Prevent pipe_crc_free() from segfaulting on NULL ptr. - - Signed-off-by: Ville Syrjälä - -commit 471ec64de83b21316cd7f4d86a9337f4d017a907 -Author: Ville Syrjälä -Date: Fri Oct 18 21:43:14 2013 +0300 - - lib/drmtest: Add kmstest_paint_color_alpha() - - kmstest_paint_color_alpha() just like kmstest_paint_color() except you - also get to specify the alpha channel. - - Signed-off-by: Ville Syrjälä - -commit e98a06d593ba879a5292451812be773b4157fe21 -Author: Paulo Zanoni -Date: Mon Oct 21 13:19:57 2013 -0200 - - intel_reg_dumper: fix "enable" at hsw_debug_lp_wm - - Signed-off-by: Paulo Zanoni - -commit b7ccea08e6e704d0e6c0e72b3c44d4fa6e97fa76 -Author: Damien Lespiau -Date: Mon Oct 21 15:55:52 2013 +0100 - - gitignore: Ignore intel_opregion_decode - - Signed-off-by: Damien Lespiau - -commit 6d3c917e8988979e1328103c5f030371a854e5b1 -Author: Jani Nikula -Date: Tue Oct 8 21:18:14 2013 +0300 - - intel_opregion_decode: decipher bclm table - - Signed-off-by: Jani Nikula - Reviewed-by: Rodrigo Vivi - -commit 76be74975a88fe5ed12744d7735caef7588c69fb -Author: Jani Nikula -Date: Tue Oct 8 21:18:13 2013 +0300 - - intel_opregion_decode: new tool for decoding graphics opregion - - Signed-off-by: Jani Nikula - Reviewed-by: Rodrigo Vivi - -commit a360e3993b9a6800432d7e1b4591d2dd6bf2ddb8 -Author: Jani Nikula -Date: Tue Oct 8 21:15:28 2013 +0300 - - intel_bios_reader: dump all sections, including unknown ones - - 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 - Reviewed-by: Rodrigo Vivi - -commit 419d053fd628b66fe0d838642ced6e9980f6282b -Author: Jani Nikula -Date: Tue Oct 8 21:15:29 2013 +0300 - - intel_bios_reader: dump all edp device info structs - - Signed-off-by: Jani Nikula - Reviewed-by: Rodrigo Vivi - -commit a4180df32a74c8aaa7a58e1cf60d240905e01852 -Author: Jani Nikula -Date: Tue Oct 8 21:15:27 2013 +0300 - - intel_bios_reader: prepare for dumping all sections - - 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 - Reviewed-by: Rodrigo Vivi - -commit 8596a4b8869bb17a4eed31815b2b63ef973c71c7 -Author: Jani Nikula -Date: Tue Oct 8 21:15:26 2013 +0300 - - intel_bios_reader: add size temp variable as a shorthand for finfo.st_size - - Signed-off-by: Jani Nikula - Reviewed-by: Rodrigo Vivi - -commit 58ac17d821cb3fa6300ca58d7f387c41a81d449c -Author: Chris Wilson -Date: Mon Oct 21 09:31:18 2013 +0100 - - intel_error_decode: Fix X/Y fence for gen2/3 - -commit 4acaf0004d43dfb51ba60d7990cef22a54b56727 -Author: Daniel Vetter -Date: Sun Oct 20 20:37:21 2013 +0200 - - tests/kms_flip: More leeway for dummy load tests - - 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 - -commit 3d2d73ed450983c427a839b10527bd4659fbb708 -Author: Daniel Vetter -Date: Sun Oct 20 19:24:08 2013 +0200 - - kmstest: don't pollute stderr for impossible output configs - - 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 - -commit 45cd89ab3d18dc2c869951db4134c1e5dde45c1b -Author: Daniel Vetter -Date: Sun Oct 20 16:11:49 2013 +0200 - - tests/kms_flip: Unconfuse the framenumber step checking - - 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 - -commit 8e11f8778adff693f3a0246fe0e87be4e3ddb83f -Author: Daniel Vetter -Date: Sun Oct 20 16:10:32 2013 +0200 - - tests/kms_flip: no absolute vblank wait on the first frame - - 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 - -commit e313dee22b8edf1429ce861e5974b09bb2ab1b68 -Author: Daniel Vetter -Date: Sat Oct 19 16:21:18 2013 +0200 - - tets/kms_flip: disable correlation check - - 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 - -commit f698984bae5e907eedfa335b463ab717a45ecc2a -Author: Daniel Vetter -Date: Fri Oct 18 18:43:30 2013 +0200 - - tests/debugfs_pipe_crc: new subtest to check CRC frame numbers - - Signed-off-by: Daniel Vetter - -commit 09e9f0b216dd7ee06b857ce5fd5cc9cb5ca491dc -Author: Damien Lespiau -Date: Wed Feb 27 14:51:29 2013 +0000 - - rendercopy: Add a way to dump an .aub file with the rendercopy bos - - 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 - Signed-off-by: Ben Widawsky - -commit 5038b7e4c243b4e9d07db34a33c70adbec044370 -Author: Daniel Vetter -Date: Fri Oct 18 17:53:05 2013 +0200 - - lib: fix the assert in igt_stop_helper - - 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 - -commit 768e32a3ab5e45cc52558fb544d392729e02f1ae -Author: Damien Lespiau -Date: Fri Oct 18 14:29:20 2013 +0100 - - lib: Don't wait for a vblank when enabling the CRCs - - 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 - -commit 5e3047ce522ed57dd6d06bd7512d792bcf601855 -Author: Damien Lespiau -Date: Fri Oct 18 12:27:21 2013 +0100 - - tests/debugfs_pipe_crc: Test the read CRCs are not null - - Signed-off-by: Damien Lespiau - -commit 43f5384c083adb2ae99fb138099130bf450ebd01 -Author: Daniel Vetter -Date: Thu Oct 17 14:18:35 2013 +0200 - - tests/debugfs_pipe_crc: test all connectors - - Diff looks a bit ugly, but it's just due to the added indentation. - - Signed-off-by: Daniel Vetter - -commit 070904bf59abb3ce8ff1d3125cdfae606a5472ed -Author: Daniel Vetter -Date: Thu Oct 17 14:10:43 2013 +0200 - - tests/debugfs_pipe_crc: test all pipes - - And skip them if there's no suitable connector. - - Signed-off-by: Daniel Vetter - -commit e6ad75c1c4763f649f19c367b041ce7d13dcc789 -Author: Daniel Vetter -Date: Thu Oct 17 14:09:52 2013 +0200 - - tests/debugfs_pipe_crc: fix fb leak - - Also remove the unused connector_t->mode. - - Signed-off-by: Daniel Vetter - -commit 173a4cf1da300af4dc3c7c0f2ea085d19e1ce90b -Author: Daniel Vetter -Date: Wed Oct 16 22:49:24 2013 +0200 - - tests/debugfs_pipe_crc: fall back to PIPE source - - 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 - -commit 548323c87d2f11384023ae3b064d6eb793d23115 -Author: Daniel Vetter -Date: Wed Oct 16 19:52:00 2013 +0200 - - lib/drmtest: Check that helper processes have died correctly - - 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 - -commit 1cefd198da32d02ba7ae737866569dd56112158c -Author: Daniel Vetter -Date: Thu Oct 17 10:48:29 2013 +0200 - - tests/ZZ_missed_irq: Fixup SOURCE_PATH handling - - 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 - -commit a12d4a713544ff1ff89ca176d7e94e16944adb56 -Author: Ben Widawsky -Date: Wed Oct 16 22:01:34 2013 -0700 - - gem_ctx_bad_exec: skip vebox when appropriate - - Signed-off-by: Ben Widawsky - -commit befabe241a0c01dacc230b22a488d06df76bba5e -Author: Jani Nikula -Date: Tue Oct 8 21:19:06 2013 +0300 - - README: list some of the dependencies - - Signed-off-by: Jani Nikula - Signed-off-by: Ben Widawsky - -commit 0412f32670642f88bf6de6afce9179eefe608f13 -Author: Daniel Vetter -Date: Wed Oct 16 14:12:49 2013 +0200 - - tests/debugfs_pipe_crc: correctly skip on unsupported platforms - - Signed-off-by: Daniel Vetter - -commit 4ba97ddf96136d463e5b584fe997d6de698c0a74 -Author: Damien Lespiau -Date: Wed Oct 9 11:47:43 2013 +0100 - - debugfs_pipe_crc: Let's check CRCs! - - 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 - -commit f673775fe8a7d9faeaa80f4af9677fecf16e4b17 -Author: Damien Lespiau -Date: Fri Oct 11 18:31:20 2013 +0100 - - lib: Add igt_wait_for_vblank() helper - - Signed-off-by: Damien Lespiau - -commit d4e7ddf15d69fdb17d25446edcd6c73a684b759b -Author: Damien Lespiau -Date: Wed Oct 9 23:53:15 2013 +0100 - - lib: Make igt_debugfs_open() take the mode as argument - - Signed-off-by: Damien Lespiau - -commit 952d4b0a9c835d1d2e4e2c1b8727d225c805c8c6 -Author: Damien Lespiau -Date: Wed Oct 9 17:54:11 2013 +0100 - - lib: Add a igt_display.h with a few enums and defines from the kernel - - Signed-off-by: Damien Lespiau - -commit 252dca1c7b41410e7ff4ab61590a1433a8747e1f -Author: Damien Lespiau -Date: Wed Oct 9 17:42:52 2013 +0100 - - lib: Add kmstest_paint_color() - - Signed-off-by: Damien Lespiau - -commit 5a97ea91e11a4d2a2cfd46f18e0a69c2f0f279af -Author: Damien Lespiau -Date: Wed Oct 9 13:42:13 2013 +0100 - - lib: Add a igt_assert_cmpint() - - Signed-off-by: Damien Lespiau - -commit ffa2107abc46bb891ee2e0f2f73944626b9c67a9 -Author: Damien Lespiau -Date: Wed Oct 9 11:45:31 2013 +0100 - - lib: Add igt_debugfs_fopen() - - Signed-off-by: Damien Lespiau - -commit 51b63e334c5a4271b845d2eba0486c2b4f2bbda0 -Author: Damien Lespiau -Date: Tue Oct 8 23:39:33 2013 +0100 - - lib: Add a small helper to open debugfs files - - Signed-off-by: Damien Lespiau - -commit 8fed3837c758c13c3d7a767765df2caf792cdd7a -Author: Matt Turner -Date: Fri Oct 11 17:34:13 2013 -0700 - - Depend on libdrm_intel >= 2.4.47. - - Reviewed-by: Ben Widawsky - -commit cd460f1a2c5c23bacfb6849923f5d4596ebc3fc4 -Author: Matt Turner -Date: Thu Oct 10 20:54:25 2013 -0700 - - configure: Don't bail if libdrm_nouveau isn't available. - - We were seriously *requiring* libdrm_nouveau unless explicitly disabled? - - Acked-by: Ben Widawsky - Reviewed-by: Chad Versace - -commit d3d371fdf6aab3433ffe4bdf1d7512245aa26335 -Author: Daniel Vetter -Date: Mon Oct 14 19:10:56 2013 +0200 - - tests/pc8: Readd verbose error message - - 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 - -commit a5d40a9bf27c2a41a981cb6fa168b1e68bfc0b3c -Author: Daniel Vetter -Date: Fri Oct 11 20:53:40 2013 +0200 - - tests/kms_flip: fix igt_assert - - I've blown the conversion in - - commit 37e5b318c5dac290611099e2eec21df1e49fa71f - Author: Daniel Vetter - 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 - -commit 98a2b5b01f915c05ef50364494d8092668b94d8c -Author: Daniel Vetter -Date: Fri Oct 11 20:22:19 2013 +0200 - - tests/kms_flip: Skip if the kernel doesn't let y-tiled bo slip through - - Signed-off-by: Daniel Vetter - -commit 9f3794f5fd6baf613594422b64d4eb050f27b78e -Author: Daniel Vetter -Date: Fri Oct 11 19:58:43 2013 +0200 - - tests/kms_flip: exit handler needs a fixture - - Since it can fail. - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70332 - Signed-off-by: Daniel Vetter - -commit ce5becbb616637753e2c7e441c5e019f3864b3f7 -Author: Thomas Wood -Date: Thu Oct 10 12:23:19 2013 +0100 - - testdisplay: Allow getopt to print error messages - - 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 - -commit ffdece38e2b6aec64b0d96e83cd2324c035b1867 -Author: Daniel Vetter -Date: Thu Oct 10 14:20:43 2013 +0200 - - tests/gem_suspend: test debugfs/sysfs reads while s/r - - 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 - -commit 8a9b275b96f1ea5637d21e4568647dcb7fed98f2 -Author: Daniel Vetter -Date: Thu Oct 10 11:22:09 2013 +0200 - - tests/module_reload: fail if the module didn't unload - - Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70336 - Signed-off-by: Daniel Vetter - -commit f014878722f7d9371e54e936de668d8a3b8115f1 -Author: Ben Widawsky -Date: Wed Oct 9 09:07:55 2013 -0700 - - gem_pin: Use iterator for blit batch setup - - Signed-off-by: Ben Widawsky - -commit a7934e26ae206c6558ff3b34af8728ca7ef04fb5 -Author: Ben Widawsky -Date: Wed Oct 9 08:55:24 2013 -0700 - - gem_exec_blt: Use iterator for blit batch setup - - Signed-off-by: Ben Widawsky - -commit 637162d0f7dee79c08c49d717c295be0b0d4696e -Author: Ben Widawsky -Date: Wed Oct 9 08:37:48 2013 -0700 - - gem_evict_*: Use iterator for blit batch - - Signed-off-by: Ben Widawsky - -commit aa6fbd18d4f52b2bc9e6bf9c16b9bcd585a1ae6b -Author: Ben Widawsky -Date: Wed Oct 9 09:07:55 2013 -0700 - - gem_linear_blits: Use iterator for blit batch setup - - Signed-off-by: Ben Widawsky - -commit 4de3b1765e6f76f4e0f40434f5278f0edac0c61e -Author: Ben Widawsky -Date: Tue Oct 8 17:36:21 2013 -0700 - - gem_exec_faulting_reloc: use iterator for batchbuffer - - This will help keep the code clean for new platforms which might have - differently sized relocations. - - Signed-off-by: Ben Widawsky - -commit 6f8c30d8edf8ee0c57689704e32b949b003bfb02 -Author: Daniel Vetter -Date: Wed Oct 9 21:20:40 2013 +0200 - - tests: add kms_addfb - - Just a bunch of testcase to check that all the addfb sanity checks - work as they should. - - Signed-off-by: Daniel Vetter - -commit 590f6101402b51bca54f69c002380bda967484ea -Author: Daniel Vetter -Date: Wed Oct 9 20:50:50 2013 +0200 - - lib/drmtest: extract rawer __gem_set_tiling - - For tests that expect failures. Also apply the existing gem_set_tiling - helper a bit wider. - - Signed-off-by: Daniel Vetter - -commit 40599b077972e1a721fdfcc93455e60b5b564a13 -Author: Ben Widawsky -Date: Tue Oct 8 19:47:53 2013 -0700 - - pwrite_pread: Get devid only once - - Signed-off-by: Ben Widawsky - -commit a2925b0989463a1d225a3b870a3a0e06fa74ad97 -Author: Ben Widawsky -Date: Tue Oct 8 19:45:30 2013 -0700 - - pwrite_pread: Extract batch building - - Signed-off-by: Ben Widawsky - -commit 41ae28e498afed2685feaa95ab8bf4ffdd687b62 -Author: Ben Widawsky -Date: Tue Oct 8 19:41:49 2013 -0700 - - pwrite_pread: use execbuf.batch_len for size - - This will make an upcoming change easier. - - Signed-off-by: Ben Widawsky - -commit 96f665cabb3038905a8a9839dae025f5156ae80e -Author: Ben Widawsky -Date: Tue Oct 8 20:32:12 2013 -0700 - - gem_tiled_blits: Squash bo leak on simulation - - Signed-off-by: Ben Widawsky - -commit f75dec0b415c8c319b9aae32cfdbac6144f3e770 -Author: Ben Widawsky -Date: Tue Oct 8 18:30:13 2013 -0700 - - gem_tiled_blits: Squash memory leak on simulation - - Signed-off-by: Ben Widawsky - -commit 304c458d542a3eee928c0004432aea8f20ca42fb -Author: Daniel Vetter -Date: Mon Oct 7 22:55:14 2013 +0200 - - tests/kms_flip: Skip if no clone configuration could be found - - Signed-off-by: Daniel Vetter - -commit bc888c2b42ab42d628d9c11181a5ba09df66fdcc -Author: Ben Widawsky -Date: Sat Oct 5 16:21:11 2013 -0700 - - configure.ac: require dri2proto for overlay - - With the introduction of - - commit f9a50de3dcc501e930de6c60983a4feb57121e7e - Author: Chris Wilson - 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 - -commit ae599546fadb3b8ebc3114f8ab5b58cffc467952 -Author: Daniel Vetter -Date: Fri Oct 4 19:55:56 2013 +0200 - - tests/pc8: Fail harder - - 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 - -commit 3dc91f32424191f28d7512014b2871e22b5a05b9 -Author: Daniel Vetter -Date: Fri Oct 4 19:49:36 2013 +0200 - - tests/pc8+: Only skip i2c subtest if i2c /dev interface is unavailable - - Through the magic of igt_skip we only need to fail this subtest, not - the entire thing. - - Signed-off-by: Daniel Vetter - -commit 37e5b318c5dac290611099e2eec21df1e49fa71f -Author: Daniel Vetter -Date: Fri Oct 4 18:42:26 2013 +0200 - - tests/kms_flip: use igt_assert more - - I've left the time delta checks as-is since those are tricky math and - my mind is feeble. - - Signed-off-by: Daniel Vetter - -commit 54b5f7251ac8f28338ea59f110f680c3ac8b6c74 -Author: Daniel Vetter -Date: Fri Oct 4 18:11:37 2013 +0200 - - tests/kms_flip: check flip count in both directions - - Signed-off-by: Daniel Vetter - -commit 47d0a6fa6954a2742a50b988461f48597f960b24 -Author: Daniel Vetter -Date: Fri Oct 4 11:10:48 2013 +0200 - - NEWS: Mention gen7 perf counters release - - This is too great to be omitted! - - Signed-off-by: Daniel Vetter - -commit b53f22cee7323df6984f2d34464b51264a92ef2a -Author: Chris Wilson -Date: Fri Aug 23 12:32:43 2013 +0100 - - tests: Simulate missed breadcrumb irqs - - Signed-off-by: Chris Wilson - -commit 11d5859b28727e1dac9d5b15b3027938a7023067 -Author: Kenneth Graunke -Date: Tue Apr 2 22:54:08 2013 -0700 - - intel_perf_counters: Add support for Gen7 platforms. - - We finally received permission to release this; the counters should be - properly documented in the Haswell PRMs. - - Signed-off-by: Kenneth Graunke - -commit 16b61932bb1b54a21b67b6c209ba405f5a36f174 -Author: Daniel Vetter -Date: Thu Oct 3 22:45:53 2013 +0200 - - tests/kms_flip: use igt_assert in the dpms helpers - - No need to route the error code around really. - - Signed-off-by: Daniel Vetter - -commit 0b19cb5dc2afe55084b946b053c527b9f44a011f -Author: Daniel Vetter -Date: Thu Oct 3 18:30:56 2013 +0200 - - tests/kms_flip: Check the dpms confusion - - Some kernels inadvertedly forwarded dpms changes to crtcs connected to - shared encoders even though that specific output wasn't enabled. - Hilarity ensued. - - Note that we only have shared encoders on hsw (DP+HDMI) and with sdvo - cards (multi-function encoders). - - v2: Do a full OFF->ON->OFF transition to make sure something actually - happens. - - Signed-off-by: Daniel Vetter - -commit a8bf10c9cf5000083b102549a335239bd01d4f2f -Author: Daniel Vetter -Date: Tue Oct 1 22:20:38 2013 +0200 - - NEWS: testdisplay now with 3d support! - -commit 1f0addb689a5707bc3e5a5e36d28fea2745ea352 -Author: Daniel Vetter -Date: Mon Sep 30 21:38:09 2013 +0200 - - tests/kms_flip: scale test runtime - - On machines with many outputs and many crtcs it takes too long. - So scale the runtime by the number of output combinations we're trying - to light up. - - Compensate the test runtime a bit by doubling most subtests' duration. - - Signed-off-by: Daniel Vetter - -commit 3f89d5403ef85c1f101c0f1026cf9b800bbaaea9 -Author: Daniel Vetter -Date: Mon Sep 30 21:35:47 2013 +0200 - - tests/kms_flip: fail harder - - At least for pipe A/B we should always fail the test if we can't light - up the preferred mode - the kernel should filter out impossible modes - and for our hw pipe A/B are the least constrained. - - Signed-off-by: Daniel Vetter - -commit 6de613f8e5b76435150a74a38f5863f93195b473 -Author: Damien Lespiau -Date: Mon Sep 30 18:03:33 2013 +0100 - - testdisplay: Print the stereo mode being tested - - Signed-off-by: Damien Lespiau - -commit e836b60d3751475e768a339f29d231509ac1596c -Author: Damien Lespiau -Date: Mon Sep 30 17:42:33 2013 +0100 - - testdisplay: Make -o and -3 work together - - Signed-off-by: Damien Lespiau - -commit 8393bb41a1717691674809361908050974d71fbf -Author: Damien Lespiau -Date: Mon Sep 30 17:41:56 2013 +0100 - - testdisplay: Remove mode resetting now that we don't adjust the timings - - Signed-off-by: Damien Lespiau - -commit c128b731dceff48200a9e6e84436a5e726dc4706 -Author: Damien Lespiau -Date: Mon Sep 30 17:02:21 2013 +0100 - - testdisplay: Respect specified_disp_id in the stereo loop - - Signed-off-by: Damien Lespiau - -commit 28cf66de94962081e7de833166f274807f333f39 -Author: Damien Lespiau -Date: Mon Sep 30 16:56:29 2013 +0100 - - testdisplay: Remove printing out the eyes geometry - - Signed-off-by: Damien Lespiau - -commit 21a89a9f073a892424428631503c7bbb69c5187f -Author: Damien Lespiau -Date: Thu Sep 26 18:34:06 2013 +0100 - - lib: Adjust dump_modes() to the new stereo encoding - - Signed-off-by: Damien Lespiau - -commit a7d1937cd777e23bb6f234156e6164aafe151fbe -Author: Damien Lespiau -Date: Thu Sep 26 17:56:01 2013 +0100 - - testdisplay: Use DRM_MODE_FLAG_3D_MASK - - Signed-off-by: Damien Lespiau - -commit 578c1cefc9c0b80927b69584ef730acd3a1eb2f0 -Author: Damien Lespiau -Date: Tue Sep 17 18:59:52 2013 +0100 - - testdisplay: Remove the timing adjustements now that the kernel does it - - Signed-off-by: Damien Lespiau - -commit d89f4a2c1a773c0dc33cc7d94d475798fc0fee41 -Author: Damien Lespiau -Date: Mon Sep 16 17:52:41 2013 +0100 - - intel_infoframe: Display the VIC in decimal - - It's not customary to display the VIC in hexadecimal and lead me to - scratch my head for a couple of seconds. Print it in decimal instead. - - Signed-off-by: Damien Lespiau - -commit 9a8fda7a4aaba11d191ebcd93c2b1ef648703148 -Author: Damien Lespiau -Date: Mon Sep 10 13:33:26 2012 +0100 - - testdisplay: Test the stereo 3D modes - - Now that modes have flags to describe which 3d formats the sink - supports, it's time to test them. - - The new test cycles through the supported 3D formats and paint 3D - stereoscopic images taken from publicly available samples: - http://www.quantumdata.com/apps/3D/sample_BMP.asp - - Signed-off-by: Damien Lespiau - -commit 951b37e2d0d69ef7c013bf3ee7a57f7d6bd15119 -Author: Damien Lespiau -Date: Fri Sep 6 11:44:41 2013 +0100 - - testdisplay: Provide a full path when opening pngs - - This way one doesn't have to be in tests/ for testsdisplay to be able to - open pass.png. - - Signed-off-by: Damien Lespiau - -commit 5d996349137e368c7ad8a3b2ce708c77c006a2db -Author: Damien Lespiau -Date: Wed Sep 4 14:21:55 2013 +0100 - - testdisplay: Free the array of connectors - - That's an array we allocated earlier in this function. Let's be symetric - and free it once done. - - Signed-off-by: Damien Lespiau - -commit 66477a230fba36a349783020b77ed4a030f204f5 -Author: Damien Lespiau -Date: Thu Sep 5 16:49:11 2013 +0100 - - testdisplay: Untangle dump_info() from the main testing loop - - -i is just supposed to show some information about the DRM resources. - Right now it works in a quite convoluted way. Untangle this to call - dump_info() when -i is given, exit the program and be done with it. - - Signed-off-by: Damien Lespiau - -commit b9db1a6a96581645e222b6d43bd0cd795c6c7501 -Author: Damien Lespiau -Date: Wed Sep 4 12:31:18 2013 +0100 - - testdisplay: Fix CRTS typo - - Signed-off-by: Damien Lespiau - -commit eecd0061eb5bf45a3db515fa1cedb1184f98ca44 -Author: Damien Lespiau -Date: Tue Sep 3 19:46:19 2013 +0100 - - testdisplay: Properly handle the life cycle of framebuffers - - When cycling through the modes, let's make sure to free the previous - framebuffers. This is the perfect occasion to use kmstest_remove_fb(). - - Signed-off-by: Damien Lespiau - -commit 5a1d84300ba31bec08c05db7d1c602c80e932021 -Author: Damien Lespiau -Date: Wed Sep 4 12:12:37 2013 +0100 - - testdisplay: Map the fb inside paint_color_key() - - So the code for this is self-contained. This goes along the way of - reducing the number of global variables in testdisplay. - - Take the opportunity to unmap the fb after use as well. - - Signed-off-by: Damien Lespiau - -commit 0396273972076909f92429503232cff1be38e640 -Author: Damien Lespiau -Date: Tue Sep 3 14:57:31 2013 +0100 - - testdisplay: Move the code sanitizing depth into main() - - It'll be shared by the set_mode() and set_3d_mode() functions. - - Signed-off-by: Damien Lespiau - -commit 79f4cfedbf8f4249291c0915d040d79af97d1389 -Author: Damien Lespiau -Date: Fri Sep 6 18:22:53 2013 +0100 - - lib: Add a helper to write a png from a struct kmstest_fb - - Signed-off-by: Damien Lespiau - -commit dac45f5f067136496a76bf755a3df0224a2c3ea4 -Author: Damien Lespiau -Date: Fri Sep 6 17:26:32 2013 +0100 - - lib: Split create_image_surface() out of create_cairo_ctx() - - So we can use it in the next commit. - - Signed-off-by: Damien Lespiau - -commit bde7060e3c30eba807295c6831e10d7e4365a33b -Author: Damien Lespiau -Date: Fri Aug 23 16:46:45 2013 +0100 - - lib: Add a helper to paint a PNG using cairo - - Signed-off-by: Damien Lespiau - -commit 30e0710ca374eb937806ad79e20f53a222cab54a -Author: Damien Lespiau -Date: Wed Sep 12 14:21:29 2012 +0100 - - lib: Dump information about the supported 3D stereo formats - - When dumping the details of a mode, let's add the 3D formats the mode - supports. - - Signed-off-by: Damien Lespiau - -commit 9edaf7fa7364e03115edd1bc3a1e99a282fce9ce -Author: Damien Lespiau -Date: Fri Sep 6 15:17:48 2013 +0100 - - testdisplay: Add left/right images of a lovely scene - - Signed-off-by: Damien Lespiau - -commit 05493f736d41dbaa2f6f8b8c1c235d30d2370800 -Author: Damien Lespiau -Date: Fri Sep 6 15:20:35 2013 +0100 - - testdisplay: Distribute pass.png - -commit 76dfa9195a489aa8de954f888895278bdccec3b7 -Author: Daniel Vetter -Date: Mon Sep 30 16:04:38 2013 +0200 - - tests/gem_evict_everything: tune down forked subtests - - On new machines with gobloads of memory and cpu cores, but slow swap - on spinning rust we need to limit the runtime a bit for sanity. - - Signed-off-by: Daniel Vetter - -commit f3c54d0cb4744af9d58b5be45f574b625bbc8231 -Author: Daniel Vetter -Date: Wed Sep 25 14:36:59 2013 +0200 - - tests: use igt_assert/igt_require more - - With the new _f variants we can replace almost all of them. - - Also remove a ton of checks for argc != 1, they're a bit useless ... - - Signed-off-by: Daniel Vetter - -commit 88ad6d7be8ab5741b7019a535952145c96577c9c -Author: Ben Widawsky -Date: Mon Sep 23 13:46:06 2013 -0700 - - intel_l3_parity: Make compilation possible without udev - - Signed-off-by: Ben Widawsky - -commit 6020b951dff9584b9cfdb6819bdb1f6b0293db70 -Author: Paulo Zanoni -Date: Mon Sep 23 16:05:21 2013 -0300 - - tests/pc8: fix supports_pc8_plus_residencies - - Bug caused by bad copy+paste+replace. - - Signed-off-by: Paulo Zanoni - -commit 4d3e10d2161200e1c6ccf400775716b9899f3c13 -Author: Chris Wilson -Date: Sun Sep 22 19:00:59 2013 +0100 - - overlay: Some very raw usage information - - Signed-off-by: Chris Wilson - -commit 145c0d1a2697316da5de8441e4cc1847dbf3a28b -Author: Daniel Vetter -Date: Sun Sep 22 13:15:43 2013 +0200 - - NEWS: Start with release notes for 1.5 - - Also extend the underlying for 1.4 to the full lenght ;-) - - Signed-off-by: Daniel Vetter - -commit 799aeb6d00881fc8f19b80ddf70f8b2b4c532f28 -Author: Ben Widawsky -Date: Tue Sep 10 14:21:23 2013 -0700 - - intel_l3_parity: Support a daemonic mode - - v2: Add a comment explaining the dangers of directly accessing the DFT - register (Daniel) - - Signed-off-by: Ben Widawsky - -commit bfa7a5906d53a016b43eaa5592d91c1fb955daf7 -Author: Ben Widawsky -Date: Tue Sep 10 10:40:54 2013 -0700 - - intel_l3_parity: Support error injection - - Haswell added the ability to inject errors which is extremely useful for - testing. Add two arguments to the tool to inject, and uninject. - - Signed-off-by: Ben Widawsky - -commit 5f95ea780bba6027767b3f3411ce41717317e879 -Author: Ben Widawsky -Date: Sat Sep 7 20:38:18 2013 -0700 - - intel_l3_parity: Actually support multiple slices - - Signed-off-by: Ben Widawsky - -commit 8ddcfd6882a9afd17daf5399f78f74bfc6ef3d7a -Author: Ben Widawsky -Date: Sat Sep 7 20:10:27 2013 -0700 - - intel_l3_parity: slice support - - Haswell GT3 adds a new slice which is kept distinct from the old - register interface. Plumb it into the code, though it's only 1 slice - still. - - Signed-off-by: Ben Widawsky - -commit 48d1b362c52803f490080be0ee26b43ae5f7dc27 -Author: Ben Widawsky -Date: Sun Sep 8 16:50:23 2013 -0700 - - intel_l3_parity: Hardware info argument - - Add a new command line argument to the tool which will spit out various - parameters for the giving hardware. As a result of this, some new - defines are added to help with the various info. - - Signed-off-by: Ben Widawsky - -commit a9cd76b36e112389c61ccc315df185a2eaf17c01 -Author: Ben Widawsky -Date: Fri Sep 6 21:10:50 2013 -0700 - - intel_l3_parity: Use getopt for the l3 parity tool - - Add new command line arguments in addition to supporting the old - features. This patch only introduces one feature, the -e argument to - enable a specific row/bank/subbank. Previously you could only enable - all. Otherwise, it has what you expect (we prefer -r -b -s for - specifying the row/bank/subbank). - - Signed-off-by: Ben Widawsky - -commit e740bdf5bd1339b58912eb359902ca68529b438d -Author: Ben Widawsky -Date: Fri Sep 6 11:40:03 2013 -0700 - - intel_l3_parity: Assert all GEN7+ support - - v2: Don't assert for Valleyview (Bryan) - Rework code to be a bit more readable. - - CC: "Bell, Bryan J" - Signed-off-by: Ben Widawsky - -commit 318c0b22d7756d2ae33328935c2f15cd790f6b01 -Author: Ben Widawsky -Date: Tue Sep 10 15:34:54 2013 -0700 - - intel_l3_parity: Fix indentation - - Signed-off-by: Ben Widawsky - -commit 64cfe4eefe9b91ad648df216ba385d9a1e67dd78 -Author: Daniel Vetter -Date: Thu Sep 19 19:56:03 2013 +0200 - - lib/drmtest: Improve printf-like igt_skip_on/require - - Ben Widawsky suggested to use vasprintf, which perfectly fits the bill. - - Also fix the logic conversion bug in tests/gem_storedw_batches_loop that - crept in again :( - - Signed-off-by: Daniel Vetter - -commit e5cdd62624342180a16630b4f6b1d604f6e6e581 -Author: Daniel Vetter -Date: Thu Sep 19 16:37:07 2013 +0200 - - lib/drmtest: igt_assert|require with format strings - - v2: Add a comment about the pitfalls around va_list handling. - - Signed-off-by: Daniel Vetter - -commit b3525129535c6e8e3588f63960e2296d598f6e9a -Author: Daniel Vetter -Date: Thu Sep 19 15:51:33 2013 +0200 - - tests/gem_stored_batches_loop: use igt_assert more - - Terser code ftw! - - Signed-off-by: Daniel Vetter - -commit 867b1a51a6310d63f34acc8ffe602355694da7ee -Author: Daniel Vetter -Date: Thu Sep 19 11:01:14 2013 +0200 - - tests/gem_reloc_overflow: New subtest for overflowing buffer_count - - Luckily everything seems to be fine. - - Signed-off-by: Daniel Vetter - -commit bf6f166035bdd85042c2d6dee0e0b088e122ae81 -Author: Daniel Vetter -Date: Thu Sep 19 10:20:46 2013 +0200 - - tests/gem_reloc_overflow: Extract reloc_tests - - I'll be adding more stuff soon ;-) - - Signed-off-by: Daniel Vetter - -commit 0a587e24b77707099a21d6ad00cbfd19a4661b8b -Author: Daniel Vetter -Date: Wed Sep 18 18:28:18 2013 +0200 - - tests/gem_storedw_batches_loop: Add testcase to check secure dispatch - - v2: Use the mrb_exec function since otherwise we can't pass flags. - - Signed-off-by: Daniel Vetter - -commit 195f04c3008c079c8edb762a8907903c264da83c -Author: Daniel Vetter -Date: Mon Sep 16 22:45:14 2013 +0200 - - tests/gem_persistent_relocs: Tune down the test a bit - - Takes too long. - - Signed-off-by: Daniel Vetter - -commit 31139f6b8fc2d5f0c1623de1cbaf24f8a3d5473d -Author: Daniel Vetter -Date: Thu Sep 12 16:18:10 2013 +0200 - - tests/gem_fenced_exec_thrash: Add interruptible and busy-load subtests - - Usual progression for gem tests up the nasty-scale. - - Signed-off-by: Daniel Vetter - -commit d1b9bc0dc17dbc49d707abf861d31020fbcb5ff6 -Author: Daniel Vetter -Date: Thu Sep 12 16:17:33 2013 +0200 - - lib/drmtest: check that igt_exit is called for subtest tests - - I get this wrong for almost every conversion to subtests ... - - v2: Don't install the check when just listing subtest names. - - Signed-off-by: Daniel Vetter - -commit 7b3634364a1f5cf1797a55a1d0d042ec8d9f510c -Author: Daniel Vetter -Date: Thu Sep 12 14:38:13 2013 +0200 - - tests/gem_fenced_exec_thrash: New subtests that uses all fences - - igt runs under the assumption that nothing else (besides maybe fbcon) - is using the gpu. So we should be able to use all fences. - - Keep the conservative testcase around though in case someone has a - broken setup. - - Signed-off-by: Daniel Vetter - -commit 14e12b80085db3ab9d9035ce962b5679fe862570 -Author: Daniel Vetter -Date: Thu Sep 12 14:21:56 2013 +0200 - - tests/*: scrap get_num_fences - - Just use gem_available_fences directly. - - Signed-off-by: Daniel Vetter - -commit deba86806670e28bfd8110ef5b6e05ab818b1935 -Author: Mengdong Lin -Date: Mon Sep 9 15:38:40 2013 -0400 - - intel_audio_dump/hsw: rename some audio configuration registers for Haswell - - For Haswell, some audio configuration registers have changed their name and - some bit definitions. - - This patch applies the changes, and uses subfunctions to parse registers for - code reuse. - - Here is the name change list: - Audio configuration: AUD_CONFIG_x to AUD_TCx_CONFIG - Audio Misc Control: AUD_MISC_CTRL_x to AUD_Cn_MISC_CTRL - Audio M & CTS programming enable: AUD_CTS_ENABLE_x to AUD_TCx_M_CTS_ENABLE - Audio EDID data block: AUD_HDMIW_HDMIEDID_x to AUD_TCx_EDID_DATA - Audio Widget Data Island Packet: AUD_HDMIW_INFOFR_x to AUD_TCx_AUD_INFOFR - Audio Pipe and Converter Configs: AUD_PORT_EN_HD_CFG to AUD_PIPE_CONV_CFG - Audio Digital Converter: AUD_OUT_DIG_CNVT_x to AUD_Cn_DIG_CNVT - Audio Stream Descriptor Format: AUD_OUT_STR_DESC_x to AUD_Cn_STR_DESC - Audio Connect List Entry & Length: AUD_PINW_CONNLNG_LIST_x to - AUD_TCx_PIN_PIPE_CONN_ENTRY_LNGTH - Audio Connection Select Control: AUD_PINW_CONNLNG_SEL to AUD_PIPE_CONN_SEL_CTRL - Audio DIP & ELD Control State: AUD_DIP_ELD_CTRL_ST_x to AUD_TCx_DIP_ELD_CTRL_ST - Audio HDMI FIFO status: AUD_HDMIW_STATUS to AUD_HDMI_FIFO_STATUS - - NOTE: - For Tx, x = A/B/C, meaning Transcoder A/B/C. - For Cn, n = 1/2/3, meaning audio converter 1/2/3. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - Signed-off-by: Ben Widawsky - -commit 3c7dc5cf32ad50cf3d8b691c921064a419917fc8 -Author: Mengdong Lin -Date: Mon Sep 9 15:38:32 2013 -0400 - - intel_audio_dump/hsw: align code with tab - - This patch makes the file to follow kernel coding style: - - replace leading spaces with tabs for alignment - - fix some minor format issues - - But the max length of a line is set to 120 characters for readability - on high resolution displays. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - Signed-off-by: Ben Widawsky - -commit cac586586ddcf9fa1679c35236cd0674237f3d37 -Author: Mengdong Lin -Date: Mon Sep 9 15:38:20 2013 -0400 - - intel_audio_dump/hsw: remove misuse of PCH transcoder configuration register - - The PCH transcoder config register (PCH_TRANS_CONF, 0xf0008) is not the - correct config register for transcoder A, B or C. This register is in - PCH and for CRT display, nothing to do with display audio. - - So This patch removes misuse of it as config register for transcoder A/B/C. - - Signed-off-by: Mengdong Lin - Reviewed-by: Haihao Xiang - Signed-off-by: Ben Widawsky - commit be28ba071baf33afa1852ed0fd9b4efee699cdbd Author: Rodrigo Vivi Date: Mon Sep 16 16:37:08 2013 -0300 --- intel-gpu-tools-1.14.orig/MAINTAINERS +++ intel-gpu-tools-1.14/MAINTAINERS @@ -0,0 +1,2 @@ +Daniel Vetter +Marius Vlad --- intel-gpu-tools-1.14.orig/autogen.sh +++ intel-gpu-tools-1.14/autogen.sh @@ -0,0 +1,19 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +if ! type gtkdocize > /dev/null 2>&1; then + echo "EXTRA_DIST =" > gtk-doc.make + echo "CLEANFILES =" >> gtk-doc.make +else + gtkdocize || exit $? +fi + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure "$@" --- intel-gpu-tools-1.14.orig/benchmarks/Android.mk +++ intel-gpu-tools-1.14/benchmarks/Android.mk @@ -0,0 +1,37 @@ +LOCAL_PATH := $(call my-dir) + +include $(LOCAL_PATH)/Makefile.sources + +#================# + +define add_benchmark + include $(CLEAR_VARS) + + LOCAL_SRC_FILES := $1.c + + LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM + LOCAL_CFLAGS += -DANDROID -UNDEBUG -include "check-ndebug.h" + LOCAL_CFLAGS += -std=gnu99 + # FIXME: drop once Bionic correctly annotates "noreturn" on pthread_exit + LOCAL_CFLAGS += -Wno-error=return-type + # Excessive complaining for established cases. Rely on the Linux version warnings. + LOCAL_CFLAGS += -Wno-sign-compare + + LOCAL_MODULE := $1_benchmark + LOCAL_MODULE_TAGS := optional + LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/intel/validation/core/igt/benchmarks + + LOCAL_STATIC_LIBRARIES := libintel_gpu_tools + + LOCAL_SHARED_LIBRARIES := libpciaccess \ + libdrm \ + libdrm_intel + + include $(BUILD_EXECUTABLE) +endef + +#================# + +benchmark_list := $(benchmarks_PROGRAMS) + +$(foreach item,$(benchmark_list),$(eval $(call add_benchmark,$(item)))) --- intel-gpu-tools-1.14.orig/debian/README.Debian +++ intel-gpu-tools-1.14/debian/README.Debian @@ -0,0 +1,7 @@ +intel-gpu-tools for Debian +-------------------------- + +The upstream code includes regression tests for the DRM using automake's +make check system. Those are not included in this package. + + -- Eric Anholt Tue, 19 May 2009 18:23:16 -0700 --- intel-gpu-tools-1.14.orig/debian/README.source +++ intel-gpu-tools-1.14/debian/README.source @@ -0,0 +1,58 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + break + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- intel-gpu-tools-1.14.orig/debian/changelog +++ intel-gpu-tools-1.14/debian/changelog @@ -0,0 +1,155 @@ +intel-gpu-tools (1.14-1) unstable; urgency=medium + + * New upstream release. + * control: Add libxv-dev and python-docutils to build-depends. + + -- Timo Aaltonen Thu, 10 Mar 2016 22:01:06 +0200 + +intel-gpu-tools (1.13-1) unstable; urgency=medium + + * New upstream release. + - Drop unneeded build-dep on swig. (Closes: #803522) + + -- Vincent Cheng Wed, 23 Dec 2015 22:43:34 -0800 + +intel-gpu-tools (1.12-1) unstable; urgency=medium + + * New upstream release. + + -- Vincent Cheng Mon, 14 Sep 2015 00:14:04 -0700 + +intel-gpu-tools (1.11-1) unstable; urgency=medium + + * New upstream release. + - Add new build-deps: gtk-doc-tools, libunwind-dev + + -- Vincent Cheng Sun, 14 Jun 2015 17:59:40 -0700 + +intel-gpu-tools (1.10-2) unstable; urgency=medium + + * Fix FTBFS on i386. + + -- Vincent Cheng Wed, 29 Apr 2015 18:19:48 -0700 + +intel-gpu-tools (1.10-1) unstable; urgency=medium + + * New upstream release. + - Fix bashism in tools/intel_gpu_abrt. (Closes: #772339) + * Update to Standards version 3.9.6, no changes required. + + -- Vincent Cheng Wed, 29 Apr 2015 16:52:00 -0700 + +intel-gpu-tools (1.8-1) unstable; urgency=medium + + * New upstream release. + + -- Vincent Cheng Sun, 14 Sep 2014 02:28:45 -0700 + +intel-gpu-tools (1.7-1) unstable; urgency=medium + + * New upstream release. + * Add x11proto-dri2-dev as a build dependency. + + -- Vincent Cheng Tue, 10 Jun 2014 19:47:24 -0700 + +intel-gpu-tools (1.6-2) unstable; urgency=medium + + * Enable build hardening (bump dh compat level to 9). + * Strip debug symbols into separate intel-gpu-tools-dbg package. + + -- Vincent Cheng Tue, 13 May 2014 18:43:34 -0700 + +intel-gpu-tools (1.6-1) unstable; urgency=medium + + [ Timo Aaltonen ] + * New upstream release. + * Drop patches + - 100_drmtest_exit_not_abort.patch - upstream + - 10-Revert-tests-make-testdisplay-non-optional.patch - build testdisplay + now. + - 20-Revert-Fix-pthread-compiler-flags-to-work-on-Solaris.patch + xorg-macros is new enough. + - 30-Revert-add-sprite-demo-from-Armin-Reese.patch - libdrm is new enough. + * control: Bump libdrm-dev build-dep + * control: Add libudev-dev to build-depends. + * control: Add libcairo2-dev to build-depends. + * rules: Stop renaming forcewaked. + * control: Bump standards-version to 3.9.3, no changes. + * control: Limit the architectures to amd64, i386. + * watch: fix the remote url. + * control: Add swig, libxrandr-dev and python3-dev to build-depends. + * rules: Remove .la file(s) on dh_install. + + [ Vincent Cheng ] + * New upstream release. (1.6) + - Fixes "Couldn't map MMIO region: Resource temporarily unavailable". + (Closes: #715278) + - Install missing intel_lid binary. (Closes: #714424) + * Add bison as build-depends. + * Update homepage in debian/control. + * Add myself to Uploaders. + * Update to Standards version 3.9.5, no changes required. + + -- Vincent Cheng Tue, 13 May 2014 01:33:30 -0700 + +intel-gpu-tools (1.2-1) unstable; urgency=low + + * New upstream release + * Add 10-Revert-tests-make-testdisplay-non-optional.patch to + avoid unnecessary build deps for the unshipped testdisplay + * Add 20-Revert-Fix-pthread-compiler-flags-to-work-on-Solaris.patch + to build on current xorg-macros + * Add 30-Revert-add-sprite-demo-from-Armin-Reese.patch because + it requires newer libdrm than ours + * Rename forcewaked to intel_forcewaked (upstream post-release fix) + + -- Tormod Volden Tue, 28 Feb 2012 23:13:05 +0100 + +intel-gpu-tools (1.1-1) unstable; urgency=low + + [ Cyril Brulebois ] + * New upstream release. (Closes: #621721) + - Fixes intel_gpu_top MMIO issue. (Closes: #655672) + * Make the Debian X Strike Force maintain the package; keeping Eric, + Tormod, and myself as Uploaders. + * Wrap Build-Depends/Depends. + * Bump libdrm-intel1 build-dep. + * Update watch file: + - Add a reference to upstream git repository. + - Switch from tar.bz2 to tar.gz, the former isn't supported by the 1.0 + source format. + * Switch to dh: + - Switch debhelper build-dep and compat to 8. + - Use dh-autoreconf and quilt as in other X packages. + - Use --fail-missing and .install accordingly. + * Disable test suite, "make test" checks GPU/drm, not the build + + [ Bryce Harrington ] + * control: Add Conflicts with xserver-xorg-video-intel < 2.9.1 due to + intel_reg_dumper. (LP: #591203) + * Add build dependency on xutils-dev to fix FTBFS. + * rules: Add gentarball target to make it easier to update to new git + snapshots when needed. + * Add 100_drmtest_exit_not_abort.patch to avoid SIGABRT when running + benchmarks as non-root. + + [ Tormod Volden ] + * control: Add Vcs links + * Bump Standards-Version to 3.9.2 (no changes needed) + + -- Cyril Brulebois Sat, 11 Feb 2012 18:09:34 +0100 + +intel-gpu-tools (1.0.2-1) unstable; urgency=low + + * New upstream version 1.0.2 + * debian/control: Bump to Standards-Version 3.8.3 (no changes needed) + * debian/control: Build-dep on libdrm-intel1 >= 2.4.6 + * debian/control: Add myself as uploader + + -- Tormod Volden Thu, 19 Nov 2009 19:03:26 +0100 + +intel-gpu-tools (1.0.1-1) unstable; urgency=low + + * Initial release (Closes: #529553) + + -- Eric Anholt Fri, 04 Sep 2009 11:51:02 -0700 --- intel-gpu-tools-1.14.orig/debian/compat +++ intel-gpu-tools-1.14/debian/compat @@ -0,0 +1 @@ +9 --- intel-gpu-tools-1.14.orig/debian/control +++ intel-gpu-tools-1.14/debian/control @@ -0,0 +1,54 @@ +Source: intel-gpu-tools +Section: x11 +Priority: optional +Maintainer: Debian X Strike Force +Uploaders: + Eric Anholt , + Tormod Volden , + Cyril Brulebois , + Vincent Cheng +Build-Depends: + bison, + debhelper (>= 9), + dh-autoreconf, + gtk-doc-tools, + libcairo2-dev, + libdrm-dev (>= 2.4.38), + libpciaccess-dev (>= 0.10), + libudev-dev, + libunwind-dev, + libxrandr-dev, + libxv-dev, + pkg-config, + python-docutils, + quilt, + x11proto-dri2-dev, + xutils-dev (>= 1:7.6+6) +Standards-Version: 3.9.6 +Homepage: https://01.org/linuxgraphics/ +Vcs-Git: git://anonscm.debian.org/pkg-xorg/app/intel-gpu-tools.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-xorg/app/intel-gpu-tools.git + +Package: intel-gpu-tools +Architecture: amd64 i386 +Depends: ${misc:Depends}, ${shlibs:Depends} +Conflicts: xserver-xorg-video-intel (<< 2.9.1) +Description: tools for debugging the Intel graphics driver + intel-gpu-tools is a package of tools for debugging the Intel graphics driver, + including a GPU hang dumping program, performance monitor, and performance + microbenchmarks for regression testing the DRM. + +Package: intel-gpu-tools-dbg +Section: debug +Priority: extra +Architecture: amd64 i386 +Depends: + intel-gpu-tools (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: tools for debugging the Intel graphics driver (debug) + intel-gpu-tools is a package of tools for debugging the Intel graphics driver, + including a GPU hang dumping program, performance monitor, and performance + microbenchmarks for regression testing the DRM. + . + This package contains debugging symbols for intel-gpu-tools. --- intel-gpu-tools-1.14.orig/debian/copyright +++ intel-gpu-tools-1.14/debian/copyright @@ -0,0 +1,70 @@ +This package was debianized by Eric Anholt on +Tue, 19 May 2009 15:00:52 -0700. + +It was downloaded from http://xorg.freedesktop.org/archive/individual/app/ + +Upstream Authors: + + Eric Anholt + Jesse Barnes + Keith Whitwell + Carl Worth + +Copyright: + + Copyright © 2005 Adam Jackson + Copyright © 2007-2009 Intel Corporation + Copyright 1998-1999, 2006 Tungsten Graphics, Inc., Cedar Park, Texas. + +License: +The code is covered by the MIT license. Most of it is under the common form +that just says "authors and copyright holders": + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + +Some of the code is also under the MIT license but specifically mentions +Tungsten Graphics: + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sub license, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice (including the + next paragraph) shall be included in all copies or substantial portions + of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR + ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +The Debian packaging is: + + Copyright (C) 2009 Eric Anholt + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. --- intel-gpu-tools-1.14.orig/debian/docs +++ intel-gpu-tools-1.14/debian/docs @@ -0,0 +1 @@ +README --- intel-gpu-tools-1.14.orig/debian/intel-gpu-tools.install +++ intel-gpu-tools-1.14/debian/intel-gpu-tools.install @@ -0,0 +1,4 @@ +usr/bin +usr/lib +usr/share/man +usr/share/intel-gpu-tools --- intel-gpu-tools-1.14.orig/debian/patches/series +++ intel-gpu-tools-1.14/debian/patches/series @@ -0,0 +1 @@ +#placeholder --- intel-gpu-tools-1.14.orig/debian/rules +++ intel-gpu-tools-1.14/debian/rules @@ -0,0 +1,32 @@ +#!/usr/bin/make -f + +SOURCE = intel-gpu-tools + +# FIXME: building debugger causes FTBFS +override_dh_auto_configure: + dh_auto_configure -- --disable-shader-debugger --disable-dumper \ + --disable-tests --disable-silent-rules + +# Disable test suite: +override_dh_auto_test: + echo 'Test suite disabled (does not perform a build check).' + +# Install in debian/tmp to retain control through dh_install: +override_dh_auto_install: + dh_auto_install --destdir=debian/tmp + +# Forget no-one: +override_dh_install: + find debian/tmp -name '*.la' -delete + dh_install --fail-missing + +override_dh_strip: + dh_strip --dbg-package=intel-gpu-tools-dbg + +%: + dh $@ --with quilt,autoreconf --builddirectory=build/ + +# For maintainer use only, generate a tarball: +gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//') +gentarball: + git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz --- intel-gpu-tools-1.14.orig/debian/source/format +++ intel-gpu-tools-1.14/debian/source/format @@ -0,0 +1 @@ +1.0 --- intel-gpu-tools-1.14.orig/debian/watch +++ intel-gpu-tools-1.14/debian/watch @@ -0,0 +1,3 @@ +#git=git://anongit.freedesktop.org/xorg/app/intel-gpu-tools +version=3 +http://xorg.freedesktop.org/archive/individual/app/intel-gpu-tools-(.*)\.tar\.gz --- intel-gpu-tools-1.14.orig/demos/Android.mk +++ intel-gpu-tools-1.14/demos/Android.mk @@ -0,0 +1,28 @@ +LOCAL_PATH := $(call my-dir) + +#================# + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := intel_sprite_on.c + + +LOCAL_CFLAGS += -DHAVE_TERMIOS_H +LOCAL_CFLAGS += -DANDROID -UNDEBUG +LOCAL_CFLAGS += -std=gnu99 +# Excessive complaining for established cases. Rely on the Linux version warnings. +LOCAL_CFLAGS += -Wno-sign-compare + +LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib + +LOCAL_MODULE := intel_sprite_on + +LOCAL_MODULE_TAGS := optional + +LOCAL_STATIC_LIBRARIES := libintel_gpu_tools + +LOCAL_SHARED_LIBRARIES := libdrm + +include $(BUILD_EXECUTABLE) + +#================# --- intel-gpu-tools-1.14.orig/lib/Android.mk +++ intel-gpu-tools-1.14/lib/Android.mk @@ -0,0 +1,52 @@ +LOCAL_PATH := $(call my-dir) + +GPU_TOOLS_PATH := $(LOCAL_PATH)/.. +IGT_LIB_PATH := $(LOCAL_PATH) + +# FIXME: autogenerate this info # +$(GPU_TOOLS_PATH)/config.h: + @echo "updating config.h" + @echo '#define PACKAGE_VERSION "1.5"' >> $@ ; \ + echo '#define TARGET_CPU_PLATFORM "android-ia"' >> $@ ; + +include $(LOCAL_PATH)/Makefile.sources + +include $(CLEAR_VARS) + +LOCAL_GENERATED_SOURCES := \ + $(IGT_LIB_PATH)/version.h \ + $(GPU_TOOLS_PATH)/config.h + +LOCAL_C_INCLUDES += \ + $(LOCAL_PATH)/.. + +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) + +LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES +LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM +LOCAL_CFLAGS += -DANDROID -DHAVE_LINUX_KD_H +LOCAL_CFLAGS += -std=gnu99 -UNDEBUG +LOCAL_MODULE:= libintel_gpu_tools + +LOCAL_SHARED_LIBRARIES := libpciaccess \ + libdrm \ + libdrm_intel + +ifeq ("${ANDROID_HAS_CAIRO}", "1") + skip_lib_list := + LOCAL_C_INCLUDES += $(ANDROID_BUILD_TOP)/external/cairo-1.12.16/src + LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1 -DIGT_DATADIR=\".\" -DIGT_SRCDIR=\".\" +else +skip_lib_list := \ + igt_kms.c \ + igt_kms.h \ + igt_fb.c + -DANDROID_HAS_CAIRO=0 +endif + +LOCAL_SRC_FILES := $(filter-out $(skip_lib_list),$(libintel_tools_la_SOURCES)) + +include $(BUILD_STATIC_LIBRARY) + +include $(call first-makefiles-under, $(LOCAL_PATH)) + --- intel-gpu-tools-1.14.orig/lib/igt.cocci +++ intel-gpu-tools-1.14/lib/igt.cocci @@ -0,0 +1,233 @@ +// Semantic patch for common patters and their replacement by igt infrastructure +// and macros. Please run with +// +// spatch --sp-file lib/igt.cocci --in-place tests/*.c +// +// on your new testcase. + + +// Replace open-coded augmented igt_assert/skip/require with macro versions +@@ +expression Ec; +expression list[n] Ep; +@@ +- if (Ec) { +( +- igt_warn( Ep ); +| +- igt_info( Ep ); +| +- igt_debug( Ep ); +) +- igt_fail(...); +- } ++ igt_fail_on_f(Ec, Ep); +@@ +expression Ec; +@@ +- if (Ec) { +- igt_fail(...); +- } ++ igt_fail_on(Ec); +@@ +expression Ec; +expression list[n] Ep; +@@ +- if (Ec) { +- igt_skip(Ep); +- } ++ igt_skip_on_f(Ec, Ep); +@@ +expression Ec; +expression list[n] Ep; +@@ +- if (Ec) { +- igt_warn(Ep); +- } ++ igt_warn_on_f(Ec, Ep); + +// Enforce use of logging functions +@@ +expression list[n] Ep; +@@ +-fprintf(stderr, Ep); ++igt_warn(Ep); +@@ +expression E; +@@ +-perror(E); ++igt_warn(E); +@@ +expression list[n] Ep; +@@ +-fprintf(stdout, Ep); ++igt_info(Ep); +@@ +expression list[n] Ep; +@@ +-printf(Ep); ++igt_info(Ep); + +// No abort for tests, really. Should only be used for internal library checks +// in lib/* +@@ +@@ +-abort(); ++igt_fail(IGT_EXIT_FAILURE); + +@@ +iterator name for_each_pipe; +igt_display_t *display; +expression pipe; +@@ +- for (pipe = 0; pipe < igt_display_get_n_pipes(display); pipe++) { ++ for_each_pipe (display, pipe) { +... +} + +// Tests really shouldn't use plain assert! +@@ +expression E; +@@ +- assert(E); ++ igt_assert(E); + +// Replace open-coded igt_swap() +@@ +type T; +T a, b, tmp; +@@ +- tmp = a; +- a = b; +- b = tmp; ++ igt_swap(a, b); + +// Replace open-coded min() +@@ +expression a; +expression b; +@@ +( +- ((a) < (b) ? (a) : (b)) ++ min(a, b) +| +- ((a) <= (b) ? (a) : (b)) ++ min(a, b) +) + +// Replace open-coded max() +@@ +expression a; +expression b; +@@ +( +- ((a) > (b) ? (a) : (b)) ++ max(a, b) +| +- ((a) >= (b) ? (a) : (b)) ++ max(a, b) +) + +// drm_open_any always returns a valid file descriptor +@@ +expression a; +@@ +a = drm_open_any(); +( +- igt_assert(a >= 0); +| +- if (a < 0) { +- ... +- return ...; +- } +) + +// Use comparison macros instead of raw igt_assert when possible +@@ +typedef uint32_t; +uint32_t E1, E2; +int E3, E4; +@@ +( +- igt_assert(E1 == E2); ++ igt_assert_eq_u32(E1, E2); +| +- igt_assert(E1 != E2); ++ igt_assert_neq_u32(E1, E2); +| +- igt_assert(E1 <= E2); ++ igt_assert_lte_u32(E1, E2); +| +- igt_assert(E1 < E2); ++ igt_assert_lt_u32(E1, E2); +| +- igt_assert(E1 >= E2); ++ igt_assert_lte_u32(E2, E1); +| +- igt_assert(E1 > E2); ++ igt_assert_lt_u32(E2, E1); +| +- igt_assert(E3 == E4); ++ igt_assert_eq(E3, E4); +| +- igt_assert(E3 != E4); ++ igt_assert_neq(E3, E4); +| +- igt_assert(E3 <= E4); ++ igt_assert_lte(E3, E4); +| +- igt_assert(E3 < E4); ++ igt_assert_lt(E3, E4); +| +- igt_assert(E3 >= E4); ++ igt_assert_lte(E4, E3); +| +- igt_assert(E3 > E4); ++ igt_assert_lt(E4, E3); +) + +// avoid unused-result warnings when compiling with _FORTIFY_SOURCE defined +@@ +identifier func =~ "^(read|write)$"; +expression list[2] E; +expression size; +@@ +-func(E, size); ++igt_assert_eq(func(E, size), size); + +@@ +expression ptr, size, nmemb, stream; +@@ +-fread(ptr, size, nmemb, stream); ++igt_assert_eq(fread(ptr, size, nmemb, stream), nmemb); + +@@ +expression list E; +@@ +-fgets(E); ++igt_assert(fgets(E) != NULL); + +@@ +identifier func =~ "^v?asprintf$"; +expression list E; +@@ +-func(E); ++igt_assert_neq(func(E), -1); + +// replace open-coded do_ioctl +@@ +expression a, b, c, e; +@@ +( +-do_or_die(drmIoctl(a, b, c)); ++do_ioctl(a, b, c); +| +-igt_assert(drmIoctl(a, b, c) == 0); ++do_ioctl(a, b, c); +| +-igt_assert(drmIoctl(a, b, c) == -1 && errno == e); ++do_ioctl_err(a, b, c, e); +| +-igt_assert(drmIoctl(a, b, c) < 0 && errno == e); ++do_ioctl_err(a, b, c, e); +) --- intel-gpu-tools-1.14.orig/lib/media_fill.c +++ intel-gpu-tools-1.14/lib/media_fill.c @@ -0,0 +1,16 @@ +#include "i830_reg.h" +#include "media_fill.h" + +media_fillfunc_t get_media_fillfunc(int devid) +{ + media_fillfunc_t fill = NULL; + + if (IS_GEN8(devid)) + fill = gen8_media_fillfunc; + else if (IS_GEN7(devid)) + fill = gen7_media_fillfunc; + else if (IS_GEN9(devid)) + fill = gen9_media_fillfunc; + + return fill; +} --- intel-gpu-tools-1.14.orig/lib/tests/Android.mk +++ intel-gpu-tools-1.14/lib/tests/Android.mk @@ -0,0 +1,41 @@ +LOCAL_PATH := $(call my-dir) + +include $(LOCAL_PATH)/Makefile.sources + +#================# +# each igt test is a separate executable. define a function to build one of these tests +define add_test + include $(CLEAR_VARS) + + # specific to this test + LOCAL_SRC_FILES := $1.c + LOCAL_MODULE := $1 + + # common to all tests + LOCAL_CFLAGS += ${IGT_LOCAL_CFLAGS} + LOCAL_C_INCLUDES = ${IGT_LOCAL_C_INCLUDES} + LOCAL_STATIC_LIBRARIES := ${IGT_LOCAL_STATIC_LIBRARIES} + LOCAL_SHARED_LIBRARIES := ${IGT_LOCAL_SHARED_LIBRARIES} + + LOCAL_MODULE_TAGS := optional + LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/intel/validation/core/igt + + include $(BUILD_EXECUTABLE) +endef + +# set local compilation flags for IGT tests +IGT_LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM -DANDROID -UNDEBUG +IGT_LOCAL_CFLAGS += -std=gnu99 +# FIXME: drop once Bionic correctly annotates "noreturn" on pthread_exit +IGT_LOCAL_CFLAGS += -Wno-error=return-type + +# set local includes +IGT_LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib +IGT_LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm + +# set local libraries +IGT_LOCAL_STATIC_LIBRARIES := libintel_gpu_tools +IGT_LOCAL_SHARED_LIBRARIES := libpciaccess libdrm libdrm_intel + +$(foreach item,$(check_PROGRAMS),$(eval $(call add_test,$(item)))) + --- intel-gpu-tools-1.14.orig/scripts/convert_itp.py +++ intel-gpu-tools-1.14/scripts/convert_itp.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python3 + +#this script helps to convert internal debugger scripts given to us into our tools + +import sys +import fileinput + +def replace_with_dict(text, dicto): + for key, val in dicto.items(): + text = text.replace(key, val) + return text + +for lines in fileinput.input([sys.argv[1]], inplace=True): + lines = lines.strip() + if lines == '': continue # strip empty lines + replace_dict = {'dword(' : '../tools/intel_reg_read ', 'MMADDR + ' : '', '//' : '#', ')p;' : '', ')p ' : ' -c '} + print(replace_with_dict(lines, replace_dict)) --- intel-gpu-tools-1.14.orig/scripts/list-workarounds +++ intel-gpu-tools-1.14/scripts/list-workarounds @@ -0,0 +1,145 @@ +#!/usr/bin/env python3 + +import os,sys +import optparse +import subprocess +import re +import operator + +# map of Workaround names -> (list of platforms) +workarounds = {} +verbose = False + +def find_nth(haystack, needle, n): + start = haystack.find(needle) + while start >= 0 and n > 1: + start = haystack.find(needle, start + len(needle)) + n -= 1 + return start + +valid_platforms = ('ctg', 'elk', 'ilk', 'snb', 'ivb', 'vlv', 'hsw', 'bdw', + 'chv', 'skl', 'bxt', 'kbl') +def parse_platforms(line, p): + l = p.split(',') + for p in l: + if p not in valid_platforms: + sys.stdout.write("warning: %s\n" % line) + sys.stdout.write("unknown platform %s\n" % p) + return l + +wa_re = re.compile('(?PW[aA][A-Z0-9][a-zA-Z0-9_]+):(?P[a-z,]+)') +waname_re = re.compile('(?PW[aA][A-Z0-9][a-zA-Z0-9_]+)') +def parse(me): + for line in me.splitlines(): + match = wa_re.search(str(line)) + if not match: + if not verbose: + continue + + # Those lines come from a git grep that looks for Wa + # names, so if we don't match wa_re here it's because + # no platform has been specified + name = waname_re.search(line).group('name') + path = line[:find_nth(line, ':', 2)] + sys.stdout.write("warning: %s\n" % line) + sys.stdout.write("%s: no platform for %s\n" + % (path, name)) + continue + + wa_name = match.group('name') + platforms = match.group('platforms') + + if wa_name in workarounds: + platforms = parse_platforms(line, platforms) + for p in platforms: + if not p in workarounds[wa_name]: + workarounds[wa_name].append(p) + else: + workarounds[wa_name] = parse_platforms(line, platforms) + + +def execute(cmd): + p = subprocess.Popen(cmd, stdout=subprocess.PIPE, + stderr=subprocess.PIPE) + out, err = p.communicate() + return out, err + +def parse_options(args): + usage = "Usage: list-workarounds [options] path-to-kernel -k path-to-kernel -m path-to-mesa" + parser = optparse.OptionParser(usage, version=1.0) + + parser.add_option("-k", "--kernel-path", dest="kernel_path", default=None, + help="path to kernel") + + parser.add_option("-m", "--mesa-path", dest="mesa_path", default=None, + help="path to mesa") + + parser.add_option("-v", "--verbose", action="store_true", + dest="verbose", default=False, + help="be more verbose") + + parser.add_option("-p", "--platform", dest="platform", default=None, + help="List workarounds for the specified platform") + + (options, args) = parser.parse_args() + return (options, args) + +def print_workarounds(project_root, driver_dir, project): + olddir = os.getcwd() + os.chdir(project_root) + work_arounds, err = execute(['git', 'grep', '-n', + '-e', 'W[aA][A-Z0-9][a-zA-Z0-9_]\+', + driver_dir]) + os.chdir(olddir) + if err: + print(err) + sys.exit(1) + + parse(work_arounds) + print("\nList of workarounds found in %s:" % project) + for wa in sorted(workarounds.keys()): + if not options.platform: + print("%s: %s" % (wa, ', '.join(workarounds[wa]))) + elif options.platform in workarounds[wa]: + print(wa) + + +if __name__ == '__main__': + (options, args) = parse_options(sys.argv) + verbose = options.verbose + kernel_path = None + + if not len(args) and options.kernel_path == None and options.mesa_path == None: + sys.stderr.write("error: A path to either a kernel tree or Mesa is required\n") + sys.exit(1) + + if len(args): + kernel_path = args[0] + elif options.kernel_path != None: + kernel_path = options.kernel_path + + if kernel_path != None: + # --- list Kernel workarounds if path is provided --- + kconfig = os.path.join(kernel_path, 'Kconfig') + if not os.path.isfile(kconfig): + sys.stderr.write("error: %s does not point to a kernel tree \n" + % kernel_path) + sys.exit(1) + + i915_dir = os.path.join('drivers', 'gpu', 'drm', 'i915') + print_workarounds(kernel_path, i915_dir, "kernel") + + # --- list mesa workarounds if path is provided --- + if options.mesa_path != None: + # reset workarounds array + workarounds = {} + + mesa_path = options.mesa_path + i965_dir = os.path.join('src', 'mesa', 'drivers', 'dri', 'i965') + mesa_dir = os.path.join(mesa_path, i965_dir) + if not os.path.exists(mesa_dir): + sys.stderr.write("error: %s does not point to a valid mesa path \n" + % mesa_path) + sys.exit(1) + + print_workarounds(mesa_path, i965_dir, "Mesa") --- intel-gpu-tools-1.14.orig/scripts/quick-testlist.py +++ intel-gpu-tools-1.14/scripts/quick-testlist.py @@ -0,0 +1,46 @@ +#!/usr/bin/env python +# +# Copyright 2015 Intel Corporation +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice (including the next +# paragraph) shall be included in all copies or substantial portions of the +# Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +from __future__ import print_function +import json +import sys + +def filter_results(filename): + with open(filename) as data: + json_data = json.load(data) + + for test_name in json_data["tests"]: + if json_data["tests"][test_name]["result"] == "incomplete": + continue + if json_data["tests"][test_name]["time"] < 60: + print(test_name) + + +if len(sys.argv) < 2: + print("Usage: quick-testlist.py RESULTS") + print("Read piglit results from RESULTS and print the tests that executed" + " in under 60 seconds, excluding any incomplete tests. The list can" + " be used by the --test-list option of piglit.") + sys.exit(1) + +filter_results(sys.argv[1]) --- intel-gpu-tools-1.14.orig/shaders/gpgpu/README +++ intel-gpu-tools-1.14/shaders/gpgpu/README @@ -0,0 +1,4 @@ + +Commands used to generate the shader on gen7 +$> m4 gpgpu_fill.gxa > gpgpu_fill.gxm +$> intel-gen4asm -g 7 -o gpgpu_fill.gxm --- intel-gpu-tools-1.14.orig/shaders/gpgpu/gpgpu_fill.gxa +++ intel-gpu-tools-1.14/shaders/gpgpu/gpgpu_fill.gxa @@ -0,0 +1,39 @@ +/* + * Registers + * g0 -- header + * g1 -- constant + * g2 -- calculate X/Y offset + * g4-g12 payload for write message + */ +define(`ORIG', `g2.0<2,2,1>UD') +define(`ORIG_X', `g2.0<1>UD') +define(`ORIG_Y', `g2.4<1>UD') +define(`COLOR', `g1.0') +define(`COLORUB', `COLOR<0,1,0>UB') +define(`COLORUD', `COLOR<0,1,0>UD') +define(`X', `g0.4<0,1,0>UD') +define(`Y', `g0.24<0,1,0>UD') + +mov(4) COLOR<1>UB COLORUB {align1}; + +/* WRITE */ +/* count thread group ID for X/Y offset */ +mul(1) ORIG_X X 0x10UD {align1}; +mov(1) ORIG_Y Y {align1}; +mov(8) g4.0<1>UD g0.0<8,8,1>UD {align1}; +mov(2) g4.0<1>UD ORIG {align1}; +/* Normal mode: for block height 1 row and block width 16 bytes */ +mov(1) g4.8<1>UD 0x0000000fUD {align1}; + +mov(16) g5.0<1>UD COLORUD {align1 compr}; + +/* + * write(0, 0, 10, 12) + * 10: media_block_write + * 12: data cache data port 1 + */ +send(16) 4 acc0<1>UW null write(0, 0, 10, 12) mlen 3 rlen 0 {align1}; + +/* EOT */ +mov(8) g112.0<1>UD g0.0<8,8,1>UD {align1}; +send(16) 112 null<1>UW null thread_spawner(0, 0, 1) mlen 1 rlen 0 {align1 EOT}; --- intel-gpu-tools-1.14.orig/shaders/media/README +++ intel-gpu-tools-1.14/shaders/media/README @@ -0,0 +1,5 @@ +These files are here for reference only. + +Commands used to generate the shader on gen8 +$> m4 media_fill.gxa > media_fill.gxm +$> intel-gen4asm -g 8 -o media_fill.gxm --- intel-gpu-tools-1.14.orig/shaders/media/media_fill.gxa +++ intel-gpu-tools-1.14/shaders/media/media_fill.gxa @@ -0,0 +1,44 @@ +/* + * Registers + * g0 -- header + * g1 -- constant + * g2 -- inline data + * g3 -- reserved + * g4-g12 payload for write message + */ +define(`ORIG', `g2.0<2,2,1>UD') +define(`COLOR', `g1.0') +define(`COLORUB', `COLOR<0,1,0>UB') +define(`COLORUD', `COLOR<0,1,0>UD') + +mov(4) COLOR<1>UB COLORUB {align1}; + +/* WRITE */ +mov(8) g4.0<1>UD g0.0<8,8,1>UD {align1}; +mov(2) g4.0<1>UD ORIG {align1}; +mov(1) g4.8<1>UD 0x000f000fUD {align1}; + +mov(16) g5.0<1>UD COLORUD {align1 compr}; +mov(16) g7.0<1>UD COLORUD {align1 compr}; +mov(16) g9.0<1>UD COLORUD {align1 compr}; +mov(16) g11.0<1>UD COLORUD {align1 compr}; + +/* + * comment out the following instruction on Gen7 + * write(0, 0, 10, 12) + * 10: media_block_write + * 12: data cache data port 1 + */ +send(16) 4 acc0<1>UW null write(0, 0, 10, 12) mlen 9 rlen 0 {align1}; + +/* + * uncomment the following instruction on Gen7 + * write(0, 0, 10, 0) + * 10: media_block_write + * 0: reander cache data port + */ +/* send(16) 4 acc0<1>UW null write(0, 0, 10, 0) mlen 9 rlen 0 {align1}; */ + +/* EOT */ +mov(8) g112.0<1>UD g0.0<8,8,1>UD {align1}; +send(16) 112 null<1>UW null thread_spawner(0, 0, 1) mlen 1 rlen 0 {align1 EOT}; --- intel-gpu-tools-1.14.orig/shaders/ps/README +++ intel-gpu-tools-1.14/shaders/ps/README @@ -0,0 +1 @@ +These files are here for reference only. --- intel-gpu-tools-1.14.orig/shaders/ps/blit.g7a +++ intel-gpu-tools-1.14/shaders/ps/blit.g7a @@ -0,0 +1,66 @@ +/* Assemble with ".../intel-gen4asm/src/intel-gen4asm -g 7" */ + + +/* Move pixels into g10-g13. The pixel shaader does not load what you want. It + * loads the input data for a plane function to calculate what you want. The + * following is boiler plate code to move our normalized texture coordinates + * (u,v) into g10-g13. It does this 4 subspans (16 pixels) at a time. + * + * This should do the same thing, but it doesn't work for some reason. + * pln(16) g10 g6<0,1,0>F g2<8,8,1>F { align1 }; + * pln(16) g12 g6.16<1>F g2<8,8,1>F { align1 }; + */ +/* U */ +pln (8) g10<1>F g6.0<0,1,0>F g2.0<8,8,1>F { align1 }; /* pixel 0-7 */ +pln (8) g11<1>F g6.0<0,1,0>F g4.0<8,8,1>F { align1 }; /* pixel 8-15 */ +/* V */ +pln (8) g12<1>F g6.16<0,1,0> g2.0<8,8,1>F { align1 }; /* pixel 0-7 */ +pln (8) g13<1>F g6.16<0,1,0> g4.0<8,8,1>F { align1 }; /* pixel 8-15 */ + + +/* Next the we want the sampler to fetch the src texture (ie. src buffer). This + * is done with a pretty simple send message. The output goes to g112, which is + * exactly what we're supposed to use in our final send message. + * In intel-gen4asm, we should end up parsed by the following rule: + * predicate SEND execsize dst sendleadreg sndopr directsrcoperand instoptions + * + * Send message descriptor: + * 28:25 = message len = 4 // our 4 registers have 16 pixels + * 24:20 = response len = 8 // Each pixel is RGBA32, so we need 8 registers + * 19:19 = header present = 0 + * 18:17 = SIMD16 = 2 + * 16:12 = TYPE = 0 (regular sample) + * 11:08 = Sampler index = ignored/0 + * 7:0 = binding table index = src = 1 + * 0x8840001 + * + * Send message extra descriptor + * 5:5 = End of Thread = 0 + * 3:0 = Target Function ID = SFID_SAMPLER (2) + * 0x2 + */ + +send(16) g112 g10 0x2 0x8840001 { align1 }; + +/* g112-g119 now contains the sample source input, and all we must do is write + * it out to the destination render target. This is done with the send message + * as well. The only extra bits are to terminate the pixel shader. + * + * Send message descriptor: + * 28:25 = message len = 8 // 16 pixels RGBA32 + * 24:20 = response len = 0 + * 19:19 = header present = 0 + * 17:14 = message type = Render Target Write (12) + * 12:12 = Last Render Target Select = 1 + * 10:08 = Message Type = SIMD16 (0) + * 07:00 = Binding Table Index = dest = 0 + * 0x10031000 + * + * Send message extra descriptor + * 5:5 = End of Thread = 1 + * 3:0 = Target Function ID = SFID_DP_RC (5) + * 0x25 + */ +send(16) null g112 0x25 0x10031000 { align1, EOT }; + +/* vim: set ft=c ts=4 sw=2 tw=80 et: */ --- intel-gpu-tools-1.14.orig/shaders/ps/neg1_test.g7a +++ intel-gpu-tools-1.14/shaders/ps/neg1_test.g7a @@ -0,0 +1,9 @@ +mov(8) g112:UD 0x3f800000:UD { align1 }; +mov(8) g113:UD 0x3f800000:UD { align1 }; +mov(8) g114:UD 0x3f800000:UD { align1 }; +mov(8) g115:UD 0x3f800000:UD { align1 }; +mov(8) g116:UD 0x3f800000:UD { align1 }; +mov(8) g117:UD 0x3f800000:UD { align1 }; +mov(8) g118:UD 0x3f800000:UD { align1 }; +mov(8) g119:UD 0x3f800000:UD { align1 }; +send(16) null g112 0x25 0x10031000 { align1, EOT }; --- intel-gpu-tools-1.14.orig/tests/Android.mk +++ intel-gpu-tools-1.14/tests/Android.mk @@ -0,0 +1,79 @@ +LOCAL_PATH := $(call my-dir) + +include $(LOCAL_PATH)/Makefile.sources + +#================# +# each igt test is a separate executable. define a function to build one of these tests +define add_test + include $(CLEAR_VARS) + + # specific to this test + LOCAL_SRC_FILES := $1.c + LOCAL_MODULE := $1 + + # common to all tests + LOCAL_CFLAGS += ${IGT_LOCAL_CFLAGS} + LOCAL_C_INCLUDES = ${IGT_LOCAL_C_INCLUDES} + LOCAL_STATIC_LIBRARIES := ${IGT_LOCAL_STATIC_LIBRARIES} + LOCAL_SHARED_LIBRARIES := ${IGT_LOCAL_SHARED_LIBRARIES} + + LOCAL_MODULE_TAGS := optional + # ask linker to define a specific symbol; we use this to identify IGT tests + LOCAL_LDFLAGS := -Wl,--defsym=$2=0 + LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/intel/validation/core/igt + + include $(BUILD_EXECUTABLE) +endef + + +# some tests still do not build under android +skip_tests_list := +skip_tests_list += testdisplay # needs glib.h +skip_tests_list += pm_rpm + +# set local compilation flags for IGT tests +IGT_LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM -DANDROID -UNDEBUG +IGT_LOCAL_CFLAGS += -include "check-ndebug.h" -std=gnu99 +# FIXME: drop once Bionic correctly annotates "noreturn" on pthread_exit +IGT_LOCAL_CFLAGS += -Wno-error=return-type +# Excessive complaining for established cases. Rely on the Linux version warnings. +IGT_LOCAL_CFLAGS += -Wno-sign-compare + +# set local includes +IGT_LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib +IGT_LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm + +# set local libraries +IGT_LOCAL_STATIC_LIBRARIES := libintel_gpu_tools +IGT_LOCAL_SHARED_LIBRARIES := libpciaccess libdrm libdrm_intel + +# handle cairo requirements if it is enabled +ifeq ("${ANDROID_HAS_CAIRO}", "1") + IGT_LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/cairo-1.12.16/src + IGT_LOCAL_SHARED_LIBRARIES += libcairo + IGT_LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1 +else +# the following tests depend on cairo, so skip them + skip_tests_list += \ + gem_render_copy \ + pm_lpsp + +# All kms tests depend on cairo + tmp_list := $(foreach test_name, $(TESTS_progs),\ + $(if $(findstring kms_,$(test_name)),$(test_name))) + skip_tests_list += $(tmp_list) + + tmp_list := $(foreach test_name, $(TESTS_progs_M),\ + $(if $(findstring kms_,$(test_name)),$(test_name))) + skip_tests_list += $(tmp_list) + + IGT_LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=0 +endif + +# create two test lists, one for simple single tests, one for tests that have subtests +tests_list := $(filter-out $(skip_tests_list),$(TESTS_progs) $(HANG) $(TESTS_testsuite)) +tests_list_M := $(filter-out $(skip_tests_list),$(TESTS_progs_M)) + +$(foreach item,$(tests_list),$(eval $(call add_test,$(item),"IGT_SINGLE_TEST"))) +$(foreach item,$(tests_list_M),$(eval $(call add_test,$(item),"IGT_MULTI_TEST"))) + --- intel-gpu-tools-1.14.orig/tests/ZZ_check_dmesg +++ intel-gpu-tools-1.14/tests/ZZ_check_dmesg @@ -0,0 +1,11 @@ +#!/bin/sh + +if dmesg | grep '\*ERROR\*' > /dev/null ; then + echo "DRM_ERROR dirt in dmesg" + exit 1 +fi + +if dmesg | grep -- '------\[ cut here \]----' > /dev/null ; then + echo "found a backtrace in dmesg" + exit 1 +fi --- intel-gpu-tools-1.14.orig/tools/Android.mk +++ intel-gpu-tools-1.14/tools/Android.mk @@ -0,0 +1,72 @@ +LOCAL_PATH := $(call my-dir) + +include $(LOCAL_PATH)/Makefile.sources + +LOCAL_TOOLS_DIR := intel/validation/core/igt/tools + +#================# + +define add_tool + include $(CLEAR_VARS) + + ifeq ($($(1)_SOURCES),) + LOCAL_SRC_FILES := $1.c + else + LOCAL_SRC_FILES := $($(1)_SOURCES) + endif + + LOCAL_CFLAGS += -DHAVE_TERMIOS_H + LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM + LOCAL_CFLAGS += -DANDROID -UNDEBUG + LOCAL_CFLAGS += -std=gnu99 + # FIXME: drop once Bionic correctly annotates "noreturn" on pthread_exit + LOCAL_CFLAGS += -Wno-error=return-type + # Excessive complaining for established cases. Rely on the Linux version warnings. + LOCAL_CFLAGS += -Wno-sign-compare + ifeq ($($(1)_LDFLAGS),) + else + LOCAL_LDFLAGS += $($(1)_LDFLAGS) + endif + + LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib + LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/PRIVATE/drm/include/drm + LOCAL_C_INCLUDES += ${ANDROID_BUILD_TOP}/external/zlib + + LOCAL_MODULE := $1_tool + LOCAL_MODULE_TAGS := optional + + LOCAL_STATIC_LIBRARIES := libintel_gpu_tools + + LOCAL_SHARED_LIBRARIES := libpciaccess \ + libdrm \ + libdrm_intel + + # Tools dir on host + LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/$(LOCAL_TOOLS_DIR) + # Tools dir on target. + LOCAL_CFLAGS += -DPKGDATADIR=\"/system/vendor/$(LOCAL_TOOLS_DIR)\" + + include $(BUILD_EXECUTABLE) +endef + +#================# + +# Copy the register files +$(shell mkdir -p $(TARGET_OUT_VENDOR)/$(LOCAL_TOOLS_DIR)/registers) +$(shell cp $(LOCAL_PATH)/registers/* $(TARGET_OUT_VENDOR)/$(LOCAL_TOOLS_DIR)/registers) + + +skip_tools_list := \ + intel_framebuffer_dump \ + intel_reg_dumper \ + intel_vga_read \ + intel_vga_write + +ifneq ("${ANDROID_HAS_CAIRO}", "1") + skip_tools_list += intel_display_crc + skip_tools_list += intel_residency +endif + +tools_list := $(filter-out $(skip_tools_list),$(bin_PROGRAMS)) + +$(foreach item,$(tools_list),$(eval $(call add_tool,$(item)))) --- intel-gpu-tools-1.14.orig/tools/registers/base_interrupt.txt +++ intel-gpu-tools-1.14/tools/registers/base_interrupt.txt @@ -0,0 +1,20 @@ +('GEN6_PMINTRMSK', '0x0000a168', '') +('DEISR', '0x00044000', '') +('DEIMR', '0x00044004', '') +('DEIIR', '0x00044008', '') +('DEIER', '0x0004400c', '') +('GTISR', '0x00044010', '') +('GTIMR', '0x00044014', '') +('GTIIR', '0x00044018', '') +('GTIER', '0x0004401c', '') +('GEN6_PMISR', '0x00044020', '') +('GEN6_PMIMR', '0x00044024', '') +('GEN6_PMIIR', '0x00044028', '') +('GEN6_PMIER', '0x0004402c', '') +('SDEISR', '0x000c4000', '') +('SDEIMR', '0x000c4004', '') +('SDEIIR', '0x000c4008', '') +('SDEIER', '0x000c400c', '') +('RENDER_IMR', '0x000020a8', '') +('BSD_IMR', '0x000120a8', '') +('BLT_IMR', '0x000220a8', '') --- intel-gpu-tools-1.14.orig/tools/registers/base_other.txt +++ intel-gpu-tools-1.14/tools/registers/base_other.txt @@ -0,0 +1,7 @@ +('PGETBL_CTL', '0x00002020', '') +('MI_MODE', '0x0000209c', '') +('CCID', '0x00002180', '') +('ERROR_GEN6', '0x000040a0', '') +('RENDER_HWSTAM', '0x00002098', '') +('GEN6_BSD_HWSTAM', '0x00012098', '') +('GEN6_BLITTER_HWSTAM', '0x00022098', '') --- intel-gpu-tools-1.14.orig/tools/registers/base_power.txt +++ intel-gpu-tools-1.14/tools/registers/base_power.txt @@ -0,0 +1,21 @@ +('GEN6_RPNSWREQ', '0x0000a008', '') +('GEN6_RC_VIDEO_FREQ', '0x0000a00c', '') +('GEN6_RP_DOWN_TIMEOUT', '0x0000a010', '') +('GEN6_RP_INTERRUPT_LIMITS', '0x0000a014', '') +('GEN6_RP_CONTROL', '0x0000a024', '') +('GEN6_RP_UP_THRESHOLD', '0x0000a02c', '') +('GEN6_RP_UP_EI', '0x0000a068', '') +('GEN6_RP_DOWN_EI', '0x0000a06c', '') +('GEN6_RP_IDLE_HYSTERSIS', '0x0000a070', '') +('GEN6_RC_CONTROL', '0x0000a090', '') +('GEN6_RC_STATE', '0x0000a094', '') +('GEN6_RC1_WAKE_RATE_LIMIT', '0x0000a098', '') +('GEN6_RC6_WAKE_RATE_LIMIT', '0x0000a09c', '') +('GEN6_RC_EVALUATION_INTERVAL', '0x0000a0a8', '') +('GEN6_RC_IDLE_HYSTERSIS', '0x0000a0ac', '') +('GEN6_RC_SLEEP', '0x0000a0b0', '') +('GEN6_RC1e_THRESHOLD', '0x0000a0b4', '') +('GEN6_RC6_THRESHOLD', '0x0000a0b8', '') +('RC6_RESIDENCY_TIME', '0x00138108', '') +('RC6p_RESIDENCY_TIME', '0x0013810c', '') +('RC6pp_RESIDENCY_TIME', '0x00138110', '') --- intel-gpu-tools-1.14.orig/tools/registers/base_rings.txt +++ intel-gpu-tools-1.14/tools/registers/base_rings.txt @@ -0,0 +1,33 @@ +('RENDER_INSTPM', '0x20c0', '') +('BSD_INSTPM', '0x120c0', '') +('BLT_INSTPM', '0x220c0', '') +('RENDER_RING_TAIL', '0x2030', '') +('BSD_RING_TAIL', '0x12030', '') +('BLT_RING_TAIL', '0x22030', '') +('RENDER_RING_HEAD', '0x2034', '') +('BSD_RING_HEAD', '0x12034', '') +('BLT_RING_HEAD', '0x22034', '') +('RENDER_RING_START', '0x2038', '') +('BSD_RING_START', '0x12038', '') +('BLT_RING_START', '0x22038', '') +('RENDER_RING_CTL', '0x203c', '') +('BSD_RING_CTL', '0x1203c', '') +('BLT_RING_CTL', '0x2203c', '') +('RENDER_IPEIR', '0x2064', '') +('BSD_IPEIR', '0x12064', '') +('BLT_IPEIR', '0x22064', '') +('RENDER_IPEHR', '0x2068', '') +('BSD_IPEHR', '0x12068', '') +('BLT_IPEHR', '0x22068', '') +('RENDER_INSTDONE', '0x206c', '') +('BSD_INSTDONE', '0x1206c', '') +('BLT_INSTDONE', '0x2206c', '') +('RENDER_INSTPS', '0x2070', '') +('BSD_INSTPS', '0x12070', '') +('BLT_INSTPS', '0x22070', '') +('RENDER_RING_ACTHD', '0x2074', '') +('BSD_RING_ACTHD', '0x12074', '') +('BLT_RING_ACTHD', '0x22074', '') +('RENDER_FADDR', '0x2078', '') +('BSD_FADDR', '0x12078', '') +('BLT_FADDR', '0x22078', '') --- intel-gpu-tools-1.14.orig/tools/registers/vlv_power.txt +++ intel-gpu-tools-1.14/tools/registers/vlv_power.txt @@ -0,0 +1,14 @@ +('GTLC wake control', '0x130090', '') +('GTLC power well status', '0x130094', '') +('Render forcewake req', '0x1300b0', '') +('Render forcewake ack', '0x1300b4', '') +('Counter control', '0x138104', '') +('RC6 counter', '0x138108', '') +('RC6_SLEEP', 0xa0b0, '') +('RC6_WAKE_LIMIT', 0xa09c, '') +('RC_EI', 0xa0a8, '') +('RC_IDLE_HYSTERESIS', 0xa0ac, '') +('RC6_THRESHOLD', 0xa0b8, '') +('RC6p_THRESHOLD', 0xa0bc, '') +('RC6pp_THRESHOLD', 0xa0c0, '') +('RC_CONTROL', 0xa090, '')