commit d492abfbad687d3c5f343b836da4c7316a57ba77
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Fri Jun 9 16:27:11 2017 +0300

    Update NEWS, bump version to 1.19.
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>

commit a493e058325d5bd34a77be3a16d646031dadcdb4
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Fri Jun 9 15:46:07 2017 +0300

    Fix a couple of typos CLFAGS -> CFLAGS
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>

commit 09e666d2396c4d0df362809bf5498ab61079d11e
Author: Brian Starkey <brian.starkey@arm.com>
Date:   Mon Jun 5 14:28:40 2017 +0100

    lib/igt_debugfs: Only use valid values in igt_crc_to_str()
    
    Not all elements in the crc array may be valid, so only use the valid
    ones to generate the string.
    
    Signed-off-by: Brian Starkey <brian.starkey@arm.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit 4bdcd335961203c07a37aaebf6c441814a6555fa
Author: Brian Starkey <brian.starkey@arm.com>
Date:   Mon Jun 5 14:28:39 2017 +0100

    lib/igt_debugfs: Remove igt_debugfs_t
    
    It's not used anymore, so remove it.
    
    Signed-off-by: Brian Starkey <brian.starkey@arm.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit bf2a10392eaca70e18163dec40e8bbfcdb54c8ba
Author: Brian Starkey <brian.starkey@arm.com>
Date:   Mon Jun 5 14:28:37 2017 +0100

    lib/igt_kms: Fix erroneous assert
    
    In trying to fix igt_display_init() for devices without cursors, I
    actually made matters worse. Fix the assert.
    
    Fixes: 545aa3398223 lib/igt_kms: Remove redundant cursor code
    Signed-off-by: Brian Starkey <brian.starkey@arm.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit b5a899316447a357e35b1cd095bdcae98fff5bcf
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Fri Jun 9 14:36:19 2017 +0300

    intel-ci: Document the public CI results web page
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit 8648655f6f00119f5546f254ddedee6621c8a1de
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Fri Jun 9 14:32:17 2017 +0300

    intel-ci: Have the directory included in the distributed tarballs
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit bacc37beac8ced1fb45374608080c842bdbd6ce4
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Fri Mar 17 14:38:58 2017 +0200

    tests/Makefile.am: Only ignore generated gitignore in gitignore
    
    When generating the .gitignore file, use /.gitignore instead of
    .gitignore to not have it apply to subdirectories.
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit 5b13b8f91cc7a6e274d00890a9f0659b52e9ff45
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Fri Mar 17 15:07:56 2017 +0200

    intel-ci: Add comments on test order to fast-feedback.testlist
    
    Document the test ordering choices in fast-feedback.testlist.
    
    For comments in testlists, piglit commit
    
     commit 0c535186d624071098c10003fdafe8f475ed9ae7
     Author: Petri Latvala <petri.latvala@intel.com>
     Date:   Wed Feb 1 12:57:45 2017 +0200
    
        framework/programs/run.py: Allow comments in test-list files.
    
    is required.
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit b642e1d78fd1ad70cf6b726aae26150a02343c40
Author: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
Date:   Wed Jun 7 16:29:59 2017 +0200

    tests/pm_rps: Replace custom load function with dummy load
    
    Replaced custom load implementation with lib counterpart.
    
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Signed-off-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit 9623c628c54482270f5e4f30df69c1954b105e29
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri Jun 9 11:51:57 2017 +0100

    media-bench.pl: Add automatic per-client target mode
    
    It is useful to be able to specify wps target relative to single
    client performance when evaluating multiple workloads.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit aa57274568158dcf5b4726b4398bf448fea79855
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri Jun 9 11:51:03 2017 +0100

    trace.pl: Handle multi-day uptime
    
    Handle multi-day uptime when parsing tracepoint timestamps.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit a663424e2a5ebf3c8e9ab743143e0856f978f7d6
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed Jun 7 11:32:50 2017 +0100

    Revert "kms_cursor_legacy: Add a burner thread to make basic-busy-* pass."
    
    This reverts commit 7c8703fb02b248c2bcf9756bba8812bcfe7ed5d3.
    
    If we expect it to fail until we find a solution, let the hw fail and
    continue to track the known failure in CI/bugs.
    
    Cc: Martin Peres <martin.peres@linux.intel.com>
    Acked-by: Martin Peres <martin.peres@linux.intel.com>

commit 73bb3fa53e8ebb05a4e4505e2c7fd0a50b0f07c7
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Thu Jun 8 15:23:09 2017 +0300

    tests: Merge single_kernel_tests and multi_kernel_tests in the build system
    
    The separation of testcases with and without subtests in the build
    system was used in the past, but now both are handled the same
    way. Merge them together and finally forget about the difference
    between TESTS_progs and TESTS_progs_M.
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit 0aaa6d1a95d8fe4dc196c3a7ca4a4a973f8a4f7e
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Thu Jun 8 15:23:08 2017 +0300

    tests/Makefile.sources: Remove unused XFAIL_TESTS
    
    The tests listed in XFAIL_TESTS have moved to lib/tests quite a while
    ago.
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>
    Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>

commit d1ea0c0a9cd9671adb03f77101268f938aff0f4c
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed Jun 7 17:15:55 2017 +0100

    gem_wsim: More interesting workloads
    
    These ones demonstrate fence usage and also mixing them with
    data dependencies.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 5a5be91d76879ddfc84a1a18f85a7e0099ee84ba
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed Jun 7 10:01:25 2017 +0100

    gem_wsim: Add some randomness to the 17i7 workload
    
    It was the only one with no randomness.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 65173e1aaa909ddef37321170dfb33a2992ba6f4
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Jun 5 12:36:54 2017 +0100

    gem_wsim: Asymmetrical 1-to-n workloads
    
    Simulates a single decoder feeding multiple processing and
    encoding pipelines.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit c14a2602a973da42d4cfcaed68dbf1c80d47945d
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed Jun 7 11:40:43 2017 +0100

    gem_wsim: Fix heartbeats in GT2 mode
    
    VCS2 needs to be redirected to BCS in the remapping mode
    otherwise the update will get missed.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 32681f8ad2bdef07dccfce80630831fe2f005cd3
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed Jun 7 09:56:42 2017 +0100

    media-bench.pl: Add GT2 mode
    
    So gem_wsim can be driven in it.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit c5ab34670d6ff2624e45067ade545add9696a1ed
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed Jun 7 07:58:22 2017 +0100

    media-bench.pl: Verbose option
    
    For time being just displays the saturation finding steps.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 424faaa6a9144695da845ae57ce90c1d0abda8db
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Jun 5 12:30:24 2017 +0100

    gem_wsim: Detect invalid duration range
    
    Maximum has to be larger than minimum and all values positive.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 7d18a707d1432cc21416aeb5d0acf5da09f9d4cd
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Jun 5 12:07:51 2017 +0100

    media-bench.pl: Include gem_wsim -d in the evaluation
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 6f2e3ba386ec5179d781ec5b463ece466dffbfd6
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Jun 5 11:16:59 2017 +0100

    gem_wsim: Late balancing decision mode
    
    An approximation of in kernel balancing where balancing
    decision is postponed to just before submitting the batch
    for execution.
    
    This is implemented by waiting on data dependencies in
    userspace before submitting each batch.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 8ef3b4f53bf20b5301a214e545a7648197cf2d25
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Jun 5 09:14:53 2017 +0100

    media-bench.pl: Add context balancer to the list
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit ef74c0566ff8d57ff649cd9f7f1b74ba15488877
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Jun 5 08:58:19 2017 +0100

    gem_wsim: Add static context balancer
    
    This one assigns VCS engines for each created context in a round-
    robin fashion. By default each client starts the assignment from
    the first engine.
    
    In global mode the engines are assigned in the round-robin fashion
    between all the clients - which is identical to the i915 behaviour.
    Important difference is that doing it from gem_wsim means the
    assignment always start from a known point so the run-to-run
    behaviour is identical and repeatable, contrary to when i915 round-
    robin assignment is used.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit dd5a378f683e23680939f5ea71697be67be58595
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon Jun 5 08:00:52 2017 +0100

    gem_wsim: Added missing -H help text
    
    Also check that the usage makes sense.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit d8c6cf9fc05eef415c79529f50b6e6a1487ade88
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Thu Jun 8 10:47:00 2017 +0300

    configure.ac: Define HAVE_CHAMELIUM in config.h
    
    Signed-off-by: Petri Latvala <petri.latvala@intel.com>

commit da42b17e45c1da375323293c83afae6b38e88771
Author: Eric Anholt <eric@anholt.net>
Date:   Thu Apr 6 18:07:35 2017 -0700

    igt/vc4_dmabuf_poll: Add a test for polling to wait for dmabuf fences.
    
    This successfully catches vc4's lack of dmabuf fencing.
    
    Signed-off-by: Eric Anholt <eric@anholt.net>

commit acfed73248f1f629fc1df0794496d2be302603d9
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Jun 7 12:14:04 2017 +0200

    ffs: Include strings.h
    
    ffs() was used in couple of places without explicitly including
    strings.h. On a few libc implementation this is done implicitly through
    other headers, but let's do not rely on that behavior.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 200d0f5d4972f78b8ed0b58cdb99c9a351a79b42
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Jun 7 12:11:37 2017 +0200

    benchmarks/gem_wsim: Add LOCAL fence defines
    
    Same as in other benchmarks using them, as not every system is updated
    with libdrm having those defines.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 098947803ff4683f22135d36e8379fc299816eae
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Tue May 16 12:59:50 2017 +0200

    tests/gem_exec_nop: Rename signal() to fence_signal()
    
    Unfortunately <signal.h> is included through some obscure dependencies
    when using bionic, so we have a name clash on signal().
    
    Changed the test function name to fence_signal() to avoid this, but left
    the test cases names unchanged.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 21bfc9f181f74e6d93083fd0baf5a9b8f3230c24
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 19 12:50:06 2017 +0200

    tests/gem_exec_nop: Disable headless subtest on cairoless Android
    
    Currently whole igt_kms.c is disabled while compiling on Android without
    cairo, so this tests does not compile.
    
    There should be cleaner a way to disable only cairo dependant parts
    which should allow us to enable at least some of the KMS tests, but
    that's a bigger rework for another time.
    
    v2: simplified #ifs on CAIRO/ANDROID (P. Latvala)
    
    Cc: Petri Latvala <petri.latvala@intel.com>
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit fcda874bfae0cd0319b13a2d90c7f4f8f979ab6c
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Tue Apr 18 15:27:43 2017 +0200

    tools/Android.mk: Fix zlib inclusion
    
    Add dependency on libz instead of doing path magic.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 6047b01fc6faae5181c75c21e69117e71126064c
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Fri Apr 14 15:10:20 2017 +0200

    Android.mk: Use drm stubs
    
    Use drm stubs that sit under lib/stubs.
    
    Also drop strange, nonexistent additions to LOCAL_C_INCLUDES.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 60c5bb538c5353259043f3136615c641711349d6
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Fri Apr 14 14:06:37 2017 +0200

    Android.mk: Filter out *.h from src files
    
    Newer Android's build system complains about unused files if we leave
    those there.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 53e7f53d6b040b32083bb71b72d1d4fbf8c9a575
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 12 09:42:47 2017 +0200

    Android.mk: Fix libkmod use
    
    On Android libkmod.h is nested under libkmod directory, so we should
    include appropriately.
    
    Also we need to link with it.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 4fe47f4541a2bb64f4189759bfb62155011f6061
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 12 12:35:54 2017 +0200

    tests/Android.mk: Add perf to skip list
    
    It does not build on Android with top libdrm.
    
    Temporary hax.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit f13da12764e0fa669fb6a8676e07dffa025832ce
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 12 09:38:56 2017 +0200

    tools/Android.mk: Add guc_logger and l3_parity skip list
    
    Those tools does not build on Android due to "Linux-only" dependencies.
    
    Let's blacklist them for now.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit a702b60782d713ebce9199b0007d8beb083e49fe
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 12 12:33:12 2017 +0200

    chamelium: Fix build issues on Android
    
    Makefile.sources are included 1:1 in Android.mk files, and are not
    parsed by automake. And yet those had some automake conditional logic.
    Moving it to .am file is enough for now.
    
    Also igt_chamelium.h included config.h without proper "HAVE_CONFIG_H"
    guard, and the file itself was included unconditionally.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>

commit d7d3f4e87b827152f00bdf89a67871736672b492
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 12 12:24:42 2017 +0200

    lib/igt_aux: Make procps optional
    
    Android does not have procps and it's not easy to compile it as a
    dependency.
    
    We can provide alternative, "naive" implementation that just shells out
    to external commands (i.e. pkill and lsof) in case we do not have the
    library.
    
    v2: have separate functions for naive impls (J. Nikula)
    
    Cc: Jani Nikula <jani.nikula@linux.intel.com>
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 86b59f8474a38b7a0e9c4cf68e32aba664878107
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 12 09:28:45 2017 +0200

    lib/igt_aux: Include unistd.h for gettid() on Android
    
    We define gettid() using syscall() because glibc does not provide a
    wrapper.
    
    Android's bionic got the syscall covered though.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 17f9e36c8e7ebc1bbdc943e064468698e48f8e49
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Wed Apr 12 09:19:50 2017 +0200

    Make conditions on HAVE_UDEV consistent
    
    We have a lot of `#ifdef HAVE_UDEV` and ` #if HAVE_UDEV` all over the
    place, but ifdef and if have a slightly different semantics.
    
    Let make it consistent by using #ifdefs only.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit c237e3a24b21b1f60e0cc2624ecdacc72d6d24ca
Author: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Date:   Fri Apr 14 13:36:56 2017 +0200

    tests/drm_import_export: Include {i915_,}drm.h properly
    
    Using `libdrm/` impairs compatibility with android build system and
    pkg-config manages -I for us on regular distros.
    
    Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 7c8703fb02b248c2bcf9756bba8812bcfe7ed5d3
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Wed Jun 7 11:10:06 2017 +0200

    kms_cursor_legacy: Add a burner thread to make basic-busy-* pass.
    
    This appears to be required on SNB, or else we miss a lot of interrupts.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

commit a39f864cea0e47085f5bca549384d54671d02674
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Wed Jun 7 10:04:10 2017 +0200

    tests/kms_properties: Allow setting all connector properties now.
    
    i915 connector properties have been converted to atomic, so
    all properties can now be set.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

commit 9d809cdeac9739304f3254d85dd5b8599b7a58e4
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Jun 6 17:12:20 2017 +0200

    tests/kms_rotation_crc: Keep primary plane enabled while testing.
    
    This will force less watermarks to be allcoated to the sprite plane,
    making it easy to hit a underrun!
    
    Unfortunately the FIFO underrun wasprevented by skl_plane_downscale_amount,
    but fixed with Ville's patch series.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

commit a7fe05b0a784a7a7c58d36842426579a6e00f5a0
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Jun 6 16:41:12 2017 +0200

    tests/kms_rotation_crc: Implement stricter rotation tests
    
    This makes kms_rotation_crc also test a case where a small strip is
    tested on the top or left side of the screen. It allows us to ensure
    more accurately that the rotation is shown correctly on the screen.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

commit ca23986925e285b542e659605de057a629815c77
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Tue Jun 6 12:16:43 2017 +0200

    tests/kms_cursor_legacy: Prepare for non-square rotation tests
    
    No functional changes yet, just making sure that it works
    as expected.
    
    Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

commit fdb85460c844a6bcf2dbab3760559b67e6b210fe
Author: Terrence Xu <terrence.xu@intel.com>
Date:   Wed Jun 14 07:36:31 2017 +0800

    Fix the mac address definition typo in tools/intel_gvtg_test.
    
    Changed the "%2X" to "%02X", to prevent padding with spaces, which
    breaks qemu command line arguments when first RANDOM is <0x10.
    
    Signed-off-by: Sarvela Tomi P <tomi.p.sarvela@intel.com>
    Signed-off-by: Terrence Xu <terrence.xu@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 750319044f0fdce1c251e040ce0741d672b31226
Author: Harry Wentland <harry.wentland@amd.com>
Date:   Mon Jun 5 14:43:19 2017 -0400

    tests/kms_setmode: Dynamic crtc/connector combinations
    
    Create crtc/connector combinations based on actual adapter
    information obtained from drmModeRes.
    
    Also set MAX_CRTCs to 6 for AMD GPUs.
    
    Signed-off-by: Harry Wentland <harry.wentland@amd.com>
    Acked-by: Alex Deucher <alexander.deucher@amd.com>

commit a0433ca1dddb83968a0f91753509526bb0240b5a
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Thu Jun 1 21:15:45 2017 +0300

    tests/kms_cursor_crc: Test non-square cursors on IVB+
    
    IVB+ have the cursor "FBC" feature, meaning they support a
    somewhat limited form of non-square cursors. Let's test that.
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

commit 9fc445dabf788516d9f6d4956a05277bda1e7f04
Author: Lukasz Fiedorowicz <lukasz.fiedorowicz@intel.com>
Date:   Thu May 25 09:40:54 2017 +0200

    lib: Moving gem_execbuf_wr to ioctl_wrappers
    
    gem_execbuf_wr was duplicated in multiple places.
    Moving everything to lib/
    
    Signed-off-by: Lukasz Fiedorowicz <lukasz.fiedorowicz@intel.com>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit d9dcfc3a91cc197d07433cc4fbaaa76929b38e29
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri May 26 12:11:04 2017 +0100

    igt: Fix detection of missing flex
    
    AM_PROG_FLEX macro will set the LEX variable using the missing
    script when the flex is not present. This will confuse the
    configure.ac check, which expects the AC_PROG_FLEX behaviour,
    and will so fail to detect the missing flex:
    
            AS_IF([test x"$LEX" != "x:" -a x"$YACC" != xyacc],
                    [enable_assembler=yes],
                    [enable_assembler=no])
    
    This is because AM_PROG_LEX sets the LEX variable to
    "${SHELL} /home/sc/intel-gpu-tools/build-aux/missing flex",
    while AC_PROG_LEX would set it to ":".
    
    If for some reason we really need to keep AM_PROG_LEX,
    alternative fix could be something like this placed before
    the above AS_IF check:
    
            AC_MSG_CHECKING([checking for working flex])
            if ! eval "$LEX --version >/dev/null 2>&1"; then
                    AC_MSG_RESULT([failed])
                    LEX=:
            else
                    AC_MSG_RESULT([pass])
            fi
    
    Note the evil eval needed to recursively expand variables.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Reviewed-by: Petri Latvala <petri.latvala@intel.com>

commit 00ce341b95c718611689ded8ccec45086186c5b7
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 24 17:31:43 2017 +0100

    igt/gem_shrink: Exercise concurrent calls to i915_gem_shrink()
    
    Just recently I once again made the mistake of thinking we could do a
    plain mutex_lock() inside i915_gem_shrink(). However, such a lock is
    liable to cyclic deadlocks between multiple relcaimers. This can be
    reported by lockdep, but we need contention in the shrinker for it to
    spot this particular mistake. The easiest way to explicit cause
    contention is via concurrent calls to debugfs/i915_drop_caches whilst
    the GPU is busy.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit 056765c412951b991836126412fbd6ffb8054013
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 24 16:20:24 2017 +0100

    media-bench.pl: More tweak to saturation point finding
    
    Plus a help text correction and calibration speed-up in
    -R and -T modes.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 26c266febe1fc97c46d25a33aaf6a1869a51c008
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Tue May 23 16:28:41 2017 +0100

    media-bench.pl: Support GPU aggregate idle stats
    
    Record it within this script since trace.pl added support.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit cfd15a7dc39ebc39c6235da662cddaeef38e6c36
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Tue May 23 16:07:52 2017 +0100

    media-bench.pl: Add option to specify workloads directly
    
    New option (-w) allows direct pass-through to gem_wsim for cases
    when heterogenous workloads, or even additional parameters to
    gem_wsim need to be tested.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 2f64c684b651993425a5d12b5cb2e7b0efc7c997
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Tue May 23 15:38:47 2017 +0100

    trace.pl: Option to draw the aggreate GPU busy timeline
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 1af2ae74fa7418a689e479be3e6d406b089fa5e8
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Tue May 23 15:09:33 2017 +0100

    trace.pl: Add aggregate GPU idle/busy stat
    
    Merge and flatten all the engine timelines to produce an
    aggregate stat.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 36cd3abd48074dffb18af90d3a450c0d6116e055
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Tue May 23 12:56:12 2017 +0100

    media-bench.pl: Add global balancing mode
    
    In addition:
    
     * optimize saturation point finding
     * fix wps target modes
     * always use -R, it is pointless not to
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 1c6c53c1e81cf9d91d2c3db0b67494db841a80c6
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Mon May 22 10:30:45 2017 +0100

    gem_wsim: Add global balancing mode
    
    In this mode ('-G' on the command line) all balancing operations
    are routed via the first client so the complete balancing state
    is shared. In other words the overall balancing behaviours is
    like there is only one client submitting the aggregate workload.
    
    This can help with the observed metrics and lead to better
    balancing decisions in a lot of cases.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 01959de48a142139c0ed08cf32dc677dd4965779
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri May 19 15:42:35 2017 +0100

    gem_wsim: Move seqno status page access to helpers
    
    Refactoring for upcoming changes.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit e329adcf00d563227645c6333c04f8ef0fc10a0d
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri May 19 15:33:23 2017 +0100

    gem_wsim: Move seqno allocation and query into helpers
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 255d1fcc6b1274b21c838e207aa82b8f0dbc6ece
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri May 19 15:13:48 2017 +0100

    gem_wsim: Convert clients to threads
    
    Will make the userspace balancing daemon simulation easier.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit a6f712176c865f924e484148440da71a182f3fde
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 23 15:46:23 2017 +0100

    igt/gem_mmap_wc: Move the require mmap-wc to the fixture
    
    Not all subtests remembered their requires, so do it from the caller and
    catch all at once.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit cf279439727b0b32e268698e072045e6f98abba2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 23 15:44:40 2017 +0100

    igt/gem_exec_latency: Check for WC mmaps before use
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit a25e83f3c7aa1a0a8a1774d28afb6dbda8ccbcbc
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 23 12:08:59 2017 +0100

    igt/gem_exec_store: And free the new obj/reloc arrays
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit c206fda29509e0805baca0a90aee64434be444f0
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue May 23 11:44:40 2017 +0100

    igt/gem_exec_store: Exercise more patterns for MI_STORE_DWORD_IMM
    
    Check that writes to adjacent cachelines are functional.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit a71597ad90354b291138be5416a78cba23a6011c
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Fri May 19 13:05:44 2017 +0100

    gem_wsim: Add missing help text for -p
    
    Document priority support in the help text.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 39cccab83b7c515a2b57abe679a8cb304c8933ef
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri May 19 09:41:40 2017 +0100

    igt/pm_rps: Allow CUR to be greater than MAX (overclocking)
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit 9ba644d95d7692de134614305955d02668e08952
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 18 14:20:48 2017 +0100

    igt/gem_exec_fence: Skip await test if store-dword is not support
    
    The request we await for is just to store a dword, if the device doesn't
    support store-dword we will do no awaits and so not actually test
    anything.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit bc7877660c7d7a733ec484e91e2096b8daf2cf0d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 18 12:11:59 2017 +0100

    lib: Refactor testing for ability to use MI_STORE_DATA_IMM
    
    Rather than have the code in multiple locations, put a copy in lib/
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit 49e083a29a0942309c877ea8e9275fa985a5bf25
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 17 21:41:30 2017 +0100

    igt/gem_spin_batch: Avoid interleave throttle within open spin batches
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101079
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit 8910738e25fa701fcb6a1cebdfc6c7ea7e1213f7
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 17 19:55:25 2017 +0100

    wsim: Allow assigning priorities to each workload
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit cb5479a767b26cd8a3729d59c2b21e50f07cd81b
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 17 19:54:49 2017 +0100

    wsim: Fix reporting of workload/s for slaves
    
    Slaves just keep on running, far beyond the repeat target of their
    master.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit f87eb22d43ee040d7f85c3737e344b70e05f3101
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 17 18:06:24 2017 +0100

    gem_wsim: Fix client exit with more than one background workload
    
    Need to close more pipe ends to support master with more than
    one background workloads.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 42e3cf129c5d7c706c510eec38ace943e70fa035
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 17 13:50:37 2017 +0100

    media-bench: Print score range when evaluation workloads
    
    When evaluating best balancers it is useful to be able to glance
    over the range of results for a particular workload since that
    determines the weighted scoring.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 635d2d04b008324f6499951575d5ef9d9b2f1f38
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 17 13:10:18 2017 +0100

    media-bench: Simplify combined scoring
    
    I am failing to come up with a smart formula which would
    have a little bit of an exponential component and take into
    consideration both total thtoughput and single client
    performance.
    
    Simply adding the two scores together might work better
    than any complications.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 77d953aa25ad6b0ba01489283cfa58ee86a2da03
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 17 12:34:56 2017 +0100

    media-bench: Store the trace file for later
    
    Makes sense to keep it around if a different type of analysis
    needs to be done later.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit c2a15894eae56b02849008fafc8f6785783d12b1
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 17 12:27:09 2017 +0100

    media-bench: Flag workloads which failed to balance
    
    Split out the flagging logic so to make it easier to read and so
    that the complete failure to balance is declared a failure
    instead of a warning.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 36d97824afb1256ecfa8381a135b6cba11dcb04f
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 17 12:04:09 2017 +0100

    media-bench: Fix evaluating with no balancing
    
    Code just didn't expect '<none>' as the selected balancer.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit 6126b12383ab0c62c21e7298566b24ed2904a36d
Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Date:   Wed May 17 11:50:03 2017 +0100

    media-bench: Fix scoreboard range stat
    
    It wasn't normalized as the results are.
    
    Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

commit d99fcfd3f0f505dc6352f658c95c3adf2566b3d0
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Wed May 17 10:35:57 2017 +0100

    wsim: Only require execbuf wr ioctl for FENCE_OUT
