Tag 'intel-gpu-tools-1.8' created by Rodrigo Vivi <rodrigo.v...@intel.com> at 2014-09-09 02:47 +0000
intel-gpu-tools-1.8 Changes since intel-gpu-tools-1.7: Arun Siluvery (1): igt/gem_workarounds: igt to test workaround registers Ben Widawsky (1): lib: Add ndebug to the headers Chris Wilson (60): API docs for intel_check_memory() tests: add gem_fence_upload igt/gem_mmap_gtt: Exercise concurrent pagefaulting igt/gem_fence_upload: Throw some threads into the mix igt/gem_fence_upload: Exercise contention on the fault handler igt/gem_exec_parse: Convert to igt_assert_eq igt/gem_exec_big: Update to new igt_assert_eq gem_fence_upload: Improve the contended messages gem_mmap_gtt: Test mmaping less than the full object Wait for any pid in order to reap failure quicker igt/gem_userptr_blits: Shared memory allocations igt/gem_userptr_blits: Verify that userptr bo work on unshared memory configure: Only build overlay if dri2proto is present igt/gem_tiled_swapping: Speed up slightly igt/gem_close_race: Trim object size overlay: Baytrail needs a custom GPU frequency parser igt/gem_close_race: Increase GPU load igt/gem_userptr_blits: Add missing RAM check before coherency tests igt/gem_userptr_blits: Add missing RAM check before coherency tests igt/kms_flip: Skip if headless Use SIGTERM in replace of SIGQUIT Quieten valgrind igt/gem_userptr_blits: New tests, old issues linux: Flush page/buffer cache before querying available memory linux: placate drop_caches and pass it a '\n' core: Only use signalsafe functions inside signal handlers igt_core: Refactor igt_stop_helper() to use igt_wait_helper() igt_core: Read manpages more carefully for WNOHANG core: Inject subtest message into dmesg core: Improve phrasing for test requirements core: Inject program name into dmesg drmtest: First check that driver is i915 igt/pm_rps: Fix assertion in load_helper_stop core: Add all kernel log levels igt/gem_cpu_reloc: Update the memory requirements igt: Prettify igt_assert_eq() failure messages igt/gem_concurrent_blit: Add GPU-vs-GPU checks igt/gem_concurrent_blit: Add ring race checks lib/batchbuffer: Store the gen in a local variable lib/batchbuffer: Guard intel_blt_copy with even more asserts igt: Tweak the igt_assert_cmpint macro igt/gem_concurrent_blit: Apply some fence pressure as well Prepare for 64bit relocation addresses igt/gem_seqno_wrap: Use debugfs singleton batch: Specify number of relocations to accommodate batch: Fix typo in BLIT_BATCH_BEGIN igt/gem_concurrent_blit: Use the preallocated dummy bo for temporary copies rendercopy/gen8: Fix vertex buffer relocation igt/gem_gtt_hog: Convert opencoded fork()/wait() over to igt_fork() igt/gem_concurrent_blit: Move igt_require() out of children core: Display subtest walltime lib/igt_fb: Add debug output for creating fb lib/igt_fb: Ignore RGB888 core: Prettify igt_require_f output aux: Squelch warning when emitting progress indicator igt/drv_missed_irq_hang: Increase busy load igt/kms_universal_plane: Only test existing planes igt/gem_mmap_gtt: Check coherency between GTT and CPU mmappings with LLC igt/kms_flip_tiling: Use the associated pipe for the output igt/gem_cpu_reloc: Terminate the bad batch Damien Lespiau (83): list-workarounds/chv: Add Cherryview to the list of valid platorms kms_universal_plane: Don't assert outside of fixtures/subtests kms_pipe_crc_basic: Split the main test function a bit more kms_pipe_crc_basic: Cycle between 2 differently colored buffer kms_pipe_crc_basic: Make the number of CRCs a parameter kms_pipe_crc_basic: Add a bit a debugging output lib: Reset 'position_changed' after a drmModeSetCrtc() pipe_crc: Warn if the CRC values is 0xffffffff pipe_crc: Make collect_crc() ensure the CRC looks somewhat valid kms_plane: Make the gathering of reference CRCs test agnostic kms_plane: Add a debug message when grabbing the CRC of a colored fb kms_plane: Specify the pipe when grabbing reference CRCs core: Put the requirement failure messages together core: Only display the errno message if errno is set core: Apply the same treatment to the in errno message in __igt_fail_assert() drv_module_reload: Don't declare success when failing igt_kms: Factor out a generic get_property() out of get_drm_plane_type() igt_kms: Provide a get_plane_property() shorthand igt_kms: Add a way to query of the plane supports rotation igt_kms: Add support for setting plane rotation igt_kms: Introduce a for_each_pipe() macro kms_rotation_crc: Make check_plane_type() static kms_rotation_crc: Make more functions static kms_rotation_crc: Align a few wrapped lines to the opening brace kms_rotation_crc: Update the copyright to have this year as well kms_rotation_crc: Test the validity of the output first kms_rotation_crc: Require universal planes for the testing primary rotation kms_rotation_crc: Fix style issue: '{' at the end of lines kms_rotation_crc: Fix style issue: single statement conditionals kms_rotation_crc: Factor out the square drawing function kms_rotation_crc: Factor out common primary/sprite code in prepare_crtc() kms_rotation_crc: Remove useless comments kms_rotation_crc: Use drm_plane from igt_plane_t kms_rotation_crc: Style issue: binary operators need spaces before and after kms_rotation_crc: Skip the tests if rotation is not supported kms_rotation_crc: Just store the igt_plane_t in data kms_rotation_crc: Unify the two tests kms_rotation_crc: Always disable the plane in cleanup kms_rotation_crc: Don't store rotate in the test state kms_rotation_crc: Don't store 'pipe' in the state kms_rotation_crc: Use igt_plane_set_rotation() kms_rotation_crc: Remove now unnecessary defines kms_rotation_crc: Use for_each_pipe() kms_rotation_crc: Remove the test on output->valid kms_rotation_crc: Remove 'output' from the state kms_rotation_crc: Remove the sleep(2) kms_rotation_crc: Remove plane from the state kms_rotation_crc: No need to test for NULL before freeing the pipe CRC object kms_rotation_crc: Allow the sprite test to run even without universal planes kms_rotation_crc: Don't commit with no fb set up kms_rotation_crc: Properly paint the whole frame buffer kms_rotation_crc: Add the test to .gitignore kms_rotation_crc: Don't compile the test on Android with no cairo support kms_rotation_crc: Document the two steps in prepare_crtc() kms_rotation_crc: Always use the primary plane to compute the reference CRC kms_rotation_crc: Remove unnecessary includes kms_rotation_crc: Use the igt_kms enum to encode the plane rotation lib: Extract gem_get_tiling() from a couple of tests. tests: Move gem_render_copy_redux to the list of multi-subtests tests lib: Remove unused field from struct igt_fb lib: Split the GTT mapping out of get_cairo_surface() lib: NULLify ->cairo_surface once unmapped lib: Don't take a reference to the surface in get_cairo_surface() testdisplay: Destroy the cairo context once the fb is painted lib: Change the fb creation functions to take fully qualified tiling formats kms_cursor_crc: Use I915_TILING_NONE to create fbs kms_fbc_crc: Use I915_TILING_X to create fbs kms_fence_pin_leak: Use I915_TILING_X to create fbs kms_flip: Adjust to the new igt_create_fb*() API kms_flip_tiling: Adjust to the new igt_create_.*fb() API kms_mmio_vs_cs_flip: Adjust to the new igt_create_.*fb() API kms_pipe_crc_basic: Adjust to the new igt_create.*fb() API kms_plane: Adjust to the new igt_create.*fb() API kms_psr_sink_crc: Adjust to the new igt_create.*fb() API kms_render: Adjust to the new igt_create.*fb() API kms_setmode: Adjust to the igt_create.*fb() API kms_sink_crc_basic: Adjust to the new igt_create.*fb() API pm_lpsp: Adjust to the new igt_create.*fb() API pm_rpm: Adjust to the new igt_create*fb() API testdisplay: Make the desired tiling mode an unsigned int lib/fb: Replace straight igt_fail() by asserts with debug messages lib/fb: Assert, instead of silently failing, when creating fbs gem_workarounds: intel_wa_registers is now prefixed with i915 Daniel Vetter (57): NEWS: post-release bump Revert "Add rc6_residency_counter subtest" lib/intel_os: Spelling fix tests/gem_fence_upload: Fix test wrapper tests/kms_psr_sink_crc: Skip properly tests/prime_self_import: Use igt_assert_cmpint lib/igt_core: Add igt_assert_eq lib: add igt.cocci tests: Run igt.cocci over tests Revert "tests: Run igt.cocci over tests" tests/pm_psr_sink_crc: Fix longjmp fun tests: Don't use stderr for informational messages lib/igt.cocci: Conversion to igt logging lib/igt.cocci: Convert abort() to igt_fail lib/igt.cocci: Also add rule to use igt_warn_on_f lib: Introduce igt_fail_on/_f NEWS: Mention igt.cocci tests: run igt.cocci Revert "Revert "Add rc6_residency_counter subtest"" tests/Makefile.sources: Remove empty last line tests: Move gem_userptr_blits to the right Makefile target Paritially revert "lib: add missing includes to headers" tests/gem_mmap: Add short mmap test tests/gem_exec_big: Re-add gem_sync tests/kms_psr_sink_crc: Fix delayed gtt/cpu write tests tests/gem_exec_parse: use gem_uses_aliasing_ppgtt tests/gem_render_copy_redux needs legacy drm nodes drv_module_reload: Unbind the right console driver tests: Run igt.cocci NEWS: Updates lib/igt_core: Don't log when listing subtests lib/igt.cocci: Add stanza for for_each_pipe lib: Add argc/argv to igt_simple_init lib/igt_core: Fixup gtkdoc for logging functions tests/gem_userptr_blits: Polish lib/igt.cocci: Add s/assert/igt_assert/ tests: Move root check to lib/drm_lib.sh lib/drm_lib.sh: Bare-bones long option parsing tests/pm_rpm: Convert to new optparsing NEWS: Updates NEWS: Don't forget new universal plane commit for igt_kms tests/gem_ringfill: add interruptible mode tests/kms_cursor_crc: Align opening { lib/igt_kms: Unify pipe name helpers lib/igt_kms: Clean up the other _name functions/macros lib/igt_kms: doc for type2str functions lib/igt_kms: set_vt_graphics_mode is a low-level helper lib/igt_kms: Shuffle kmtests_ functions lib/igt_kms: Simplify return value of kmstest_get_connector_default_mode lib/igt_kms: Simplify return value of kmstest_get_connector_config lib/igt_kms: doc for the remaining kmstest_ functions lib/rendercopy*: Use igt_assert lib/intel_* Use igt checks and macros lib/igt_* Use igt macros in igt libaries lib: Use igt macros more NEWS: Updates in anticipation of the next release lib/igt_aux: Improve wait_for_keypress helper a bit Gaurav K Singh (2): intel_bios_reader: Add support to dump MIPI Configuration Block #52 intel_bios_reader: Add support to dump MIPI Sequence block #53 Jesse Barnes (1): gem_exec_parse: require PPGTT as well Matt Roper (10): lib/kms: Drop igt_pipe->need_set_{crtc, cursor} lib/kms: Track need for vblank wait locally lib/kms: Add igt_display_commit2() lib/kms: Add igt_display_try_commit2() lib/kms: Add universal plane support (v2) lib/kms: Drop primary plane windowing test from igt_plane_set_position() tests/kms_universal_plane: Universal plane testing (v6) tests/kms_cursor_crc: Combine data_t and test_data_t tests/kms_cursor_crc: Call drmModeMoveCursor() directly lib/kms: Provide universal plane #define's Mika Kuoppala (6): lib/gen6_render: removed duplicate defines tools/null_state_gen: terminate relocs with -1 lib/rendercopy: fix a typo in define lib/gen6_render: fix GEN6_3DSTATE_VF_STATISTICS define lib: Add MI_LOAD_REGISTER_IMM tools/null_state_gen: build cmd and state space separately Mike Mason (4): Add kms_flip_event_leak to .gitignore scripts: Allow multiple -t and -x regular expressions for run-tests.sh tests: Fix seg fault when gem_mmap is run without specifying a subtest scripts: Add capability to resume interrupted run-tests.sh session Paulo Zanoni (14): tests/pm_rpm: add dpms-mode-unset{,-non}-lpsp subtests tests/pm_rpm: add subtests for planes and cursors igt_kms: don't get drmModeRes just to free it later igt_kms: pass drm_fd instead of igt_display_t on some functions igt_kms: optionally return the property from get_property igt_kms: document and export kmstest_get_property() tests/pm_rpm: use kmstest_get_property() igt_kms: add kmstest_unset_all_crtcs() tests/pm_rpm: add subtests for fences tests/pm_rpm: add wait_for_suspended() calls to test_one_plane tests/pm_rpm: add macros to disable/enable screens and wait tests/pm_rpm: add disable_or_dpms_all_screens() tests/pm_rpm: refactor the modesetting code igt_core: zero exit_handler_count before forking Rodrigo Vivi (2): tests/kms_psr_sink_crc: Create test to test PSR by checking panel CRC. bump version to 1.8 and add the release date Rémi Cardona (1): shader-debugger: Force file/stdout IO as UTF-8 Sean V Kelley (1): lib/chv: CHV media pipeline command sequence Sonika Jindal (2): tests/kms_rotation_crc: IGT for 180 degree HW rotation kms_rotation_crc: Calling commit2 instead of legacy commit Thomas Wood (46): quick_dump: read the architecture files for items to add to EXTRA_DIST README: update piglit instructions lib: remove /** from comments that are not API documentation README: update the section on modifying and rebuilding documentation gitignore: add missing files and keep lists sorted lib: various documentation fixes docs: add private headers to IGNORE_HFILES docs: always rebuild the sections file docs: remove unused annotation glossary include lib: ensure igt_display_init clears the memory for the display struct lib: add missing includes to headers lib: add function to change connector states lib: add the ability to set an EDID data block on a connector lib: add igt_enable_connectors and igt_reset_connectors tests: enable extra connectors in kms_flip and kms_pipe_crc_basic lib: allow the edid to be reset scripts: add a script to help run tests with Piglit README: update the test run instructions core: increase the exit handler limit lib: warn when attempting to run an unknown subtest tests: remove unused getopt header includes lib: move option parsing into common_init lib: add igt_simple_init_parse_opts lib: don't ignore unknown options in multi-tests tests: convert simple tests to use igt_simple_init_parse_opts lib: always warn about unknown options lib: add a command line option to enable debug output in tests lib: add an exit code to use when invalid options are specified build: improve version.h generation testdisplay: only set terminal attributes when in foreground process group quick_dump: fix distcheck testdisplay: set a non-zero exit code if getopt detected an error lib: avoid getopt value conflicts with tests lib: check test options for conflicts lib: don't abort if forcing the connector state fails Update .gitignore files testdisplay: ignore invalid subtest options lib: add igt_restore_vt_mode tests: check plane rotation is reset after the VT mode is restored lib: add kmstest_edid_add_3d lib: move create_stereo_fb from testdisplay to igt_fb tests: add kms_3d test lib/igt_fb: ensure igt_create_fb parameters are consistent lib: don't force HDMI or DP connectors on HSW and BDW tests/kms_3d: skip if connectors cannot be forced lib: keep a list of modified connectors to reset Tim Gore (7): intel-gpu-tools: remove the --cmd option from gem_seqno_wrap intel-gpu-tools: add igt_core init func calls to some tests intel-gpu-tools: Dont build kms_univeral_plane if no cairo intel-gpu-tools: Dont build kms_force_connector if no cairo intel-gpu-tools: add sys/wait.h to pm_rps.c intel-gpu-tools: fix version.h creation in android intel-gpu-tools: skip kms_flip_event_leak unless we have cairo Tvrtko Ursulin (4): tests/gem_userptr_blits: Race between object creation and multi-threaded mm ops igt/gem_userptr_benchmark: Fix for upstream ioctl number igt/gem_userptr_blits: Fix forked access test igt/gem_userptr_blits: Fix multi-threaded mm stress tester Ville Syrjälä (7): tests/kms_fbc_crc: Update blit code for BDW lib/igt_debugfs: Don't fail if debugfs is already mounted lib/igt_debufs: Add IGT_NO_FORCEWAKE environment variable tools: Add intel_iosf_sb_{read,write} tools tools/intel_display_poller: Add a new tool that will poll various display registers tests/gem_ctx_exec: Add reset-pin-leak subtest tests: Add kms_flip_event_leak test Wendy Wang (2): Fixed the review issues for pm_rc6_residency IGT case Merge two subtests for pm_rc6_residency IGT case Yi Sun (1): kms_plane: Add panning test for primary plane --- .gitignore | 4 Makefile.am | 23 NEWS | 42 README | 55 benchmarks/gem_userptr_benchmark.c | 2 benchmarks/intel_upload_blit_large.c | 4 benchmarks/intel_upload_blit_large_gtt.c | 4 benchmarks/intel_upload_blit_large_map.c | 4 benchmarks/intel_upload_blit_small.c | 4 configure.ac | 14 debugger/system_routine/pre_cpp.py | 5 docs/reference/intel-gpu-tools/Makefile.am | 8 docs/reference/intel-gpu-tools/intel-gpu-tools-docs.xml | 3 lib/.gitignore | 1 lib/Android.mk | 24 lib/Makefile.am | 8 lib/Makefile.sources | 29 lib/drmtest.c | 44 lib/gen6_render.h | 42 lib/gen7_render.h | 2 lib/i915_3d.h | 26 lib/igt.cocci | 93 + lib/igt_aux.c | 42 lib/igt_aux.h | 3 lib/igt_core.c | 499 +++-- lib/igt_core.h | 137 + lib/igt_debugfs.c | 29 lib/igt_edid.h | 125 + lib/igt_fb.c | 210 +- lib/igt_fb.h | 22 lib/igt_kms.c | 1252 ++++++++++--- lib/igt_kms.h | 160 + lib/instdone.c | 5 lib/intel_batchbuffer.c | 88 lib/intel_batchbuffer.h | 74 lib/intel_chipset.c | 27 lib/intel_io.h | 2 lib/intel_iosf.c | 22 lib/intel_mmio.c | 42 lib/intel_os.c | 46 lib/intel_reg.h | 427 ++-- lib/intel_reg_map.c | 6 lib/ioctl_wrappers.c | 81 lib/ioctl_wrappers.h | 2 lib/media_fill.h | 7 lib/media_fill_gen7.c | 8 lib/media_fill_gen8.c | 11 lib/media_fill_gen8lp.c | 367 +++ lib/rendercopy.h | 3 lib/rendercopy_gen6.c | 5 lib/rendercopy_gen7.c | 9 lib/rendercopy_gen8.c | 29 lib/rendercopy_i830.c | 1 lib/rendercopy_i915.c | 1 overlay/gpu-freq.c | 74 overlay/gpu-freq.h | 1 scripts/Makefile.am | 2 scripts/list-workarounds | 3 scripts/run-tests.sh | 128 + tests/.gitignore | 19 tests/Android.mk | 9 tests/Makefile.am | 7 tests/Makefile.sources | 17 tests/ddi_compute_wrpll.c | 12 tests/drm_lib.sh | 15 tests/drm_vma_limiter_cached.c | 7 tests/drv_hangman.c | 14 tests/drv_missed_irq_hang | 15 tests/drv_module_reload | 19 tests/eviction_common.c | 8 tests/gem_bad_address.c | 6 tests/gem_bad_batch.c | 6 tests/gem_bad_blit.c | 10 tests/gem_bad_reloc.c | 4 tests/gem_caching.c | 4 tests/gem_close_race.c | 48 tests/gem_concurrent_blit.c | 336 ++- tests/gem_cpu_reloc.c | 8 tests/gem_cs_prefetch.c | 8 tests/gem_ctx_basic.c | 20 tests/gem_ctx_exec.c | 30 tests/gem_double_irq_loop.c | 6 tests/gem_dummy_reloc_loop.c | 18 tests/gem_exec_bad_domains.c | 14 tests/gem_exec_big.c | 23 tests/gem_exec_blt.c | 2 tests/gem_exec_params.c | 2 tests/gem_exec_parse.c | 166 - tests/gem_fence_upload.c | 339 +++ tests/gem_fenced_exec_thrash.c | 8 tests/gem_gtt_hog.c | 21 tests/gem_gtt_speed.c | 2 tests/gem_hang.c | 4 tests/gem_hangcheck_forcewake.c | 11 tests/gem_media_fill.c | 1 tests/gem_mmap.c | 13 tests/gem_mmap_gtt.c | 179 + tests/gem_multi_bsd_sync_loop.c | 4 tests/gem_non_secure_batch.c | 10 tests/gem_partial_pwrite_pread.c | 4 tests/gem_persistent_relocs.c | 8 tests/gem_pipe_control_store_loop.c | 22 tests/gem_reg_read.c | 6 tests/gem_reloc_vs_gpu.c | 8 tests/gem_render_copy.c | 25 tests/gem_render_copy_redux.c | 3 tests/gem_render_linear_blits.c | 5 tests/gem_render_tiled_blits.c | 5 tests/gem_ring_sync_copy.c | 4 tests/gem_ring_sync_loop.c | 4 tests/gem_ringfill.c | 25 tests/gem_seqno_wrap.c | 203 -- tests/gem_set_tiling_vs_blt.c | 16 tests/gem_storedw_loop_blt.c | 12 tests/gem_storedw_loop_bsd.c | 12 tests/gem_storedw_loop_render.c | 12 tests/gem_storedw_loop_vebox.c | 7 tests/gem_stress.c | 202 -- tests/gem_tiled_partial_pwrite_pread.c | 4 tests/gem_tiled_pread.c | 16 tests/gem_tiled_pread_pwrite.c | 16 tests/gem_tiled_swapping.c | 6 tests/gem_unfence_active_buffers.c | 20 tests/gem_unref_active_buffers.c | 8 tests/gem_userptr_blits.c | 466 +++-- tests/gem_wait_render_timeout.c | 35 tests/gem_workarounds.c | 231 ++ tests/gem_write_read_ring_switch.c | 19 tests/gen3_mixed_blits.c | 2 tests/gen3_render_linear_blits.c | 2 tests/gen3_render_mixed_blits.c | 2 tests/gen3_render_tiledx_blits.c | 2 tests/gen3_render_tiledy_blits.c | 2 tests/gen7_forcewake_mt.c | 5 tests/igt_simulation.c | 70 tests/kms_3d.c | 121 + tests/kms_cursor_crc.c | 254 +- tests/kms_fbc_crc.c | 52 tests/kms_fence_pin_leak.c | 14 tests/kms_flip.c | 41 tests/kms_flip_event_leak.c | 132 + tests/kms_flip_tiling.c | 11 tests/kms_force_connector.c | 120 + tests/kms_mmio_vs_cs_flip.c | 24 tests/kms_pipe_crc_basic.c | 107 - tests/kms_plane.c | 260 ++ tests/kms_psr_sink_crc.c | 615 ++++++ tests/kms_render.c | 16 tests/kms_rotation_crc.c | 225 ++ tests/kms_setmode.c | 13 tests/kms_sink_crc_basic.c | 14 tests/kms_universal_plane.c | 580 ++++++ tests/pm_lpsp.c | 24 tests/pm_rc6_residency.c | 75 tests/pm_rpm.c | 707 +++++-- tests/pm_rps.c | 52 tests/prime_nv_pcopy.c | 2 tests/prime_self_import.c | 4 tests/test_rte_check | 2 tests/testdisplay.c | 264 -- tests/testdisplay_hotplug.c | 16 tests/tools_test | 2 tools/.gitignore | 5 tools/Makefile.sources | 3 tools/intel_bios.h | 158 + tools/intel_bios_reader.c | 366 +++ tools/intel_display_poller.c | 1471 ++++++++++++++++ tools/intel_iosf_sb_read.c | 62 tools/intel_iosf_sb_write.c | 67 tools/intel_perf_counters.c | 6 tools/null_state_gen/.gitignore | 1 tools/null_state_gen/intel_batchbuffer.c | 251 +- tools/null_state_gen/intel_batchbuffer.h | 86 tools/null_state_gen/intel_null_state_gen.c | 101 - tools/null_state_gen/intel_renderstate_gen6.c | 136 - tools/null_state_gen/intel_renderstate_gen7.c | 126 - tools/null_state_gen/intel_renderstate_gen8.c | 169 - tools/quick_dump/Makefile.am | 8 178 files changed, 10692 insertions(+), 3396 deletions(-) --- -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e1xt63z-0008sq...@moszumanska.debian.org