Hello, A new intel-gpu-tools quarterly release is available with the following changes: - New KMS test: tests/kms_cursor_legacy (Stress legacy cursor ioctl) (Chris Wilson) - Several GEM tests have been removed from BAT: tests/gem_exec_whisper, tests/gem_sync (dropped individual engines), test/gem_cs_prefetch (replaced by test/gem_exec_gttfill), tests/gem_ctx_param_basic (got relabeled to tests/gem_ctx_param) (Chris Wilson) - build: Skip configure step if is NOCONFIGURE set (Tomeu Vizoso) - tools/intel_bios_reader: Added options for dumping individual panels, specific section, hex format and other various fixes (Jani Nikula) - build: Add optional --enable-werror (hard-fail in case of compiler warnings) (Marius Vlad) - New KMS test: tests/prime_mmap_kms (show case dma-buf new API and processes restrictions) (Tiago Vignatti) - Several tests have gained to ability to be run on different platforms than Intel: tests/testdisplay (Tomeu Vizoso), tests/kms_panel_fitting (Robert Foss), tests/kms_flip_event_leak, tests/kms_flip (Tomeu Vizoso). - compute exitcode first: In the case of running multiple subtests which all happen to be skipped, igt_exitcode is 0, but the final exit code will be 77. (Chris Wilson) - Shorten tests/kms_flip test (Tvrtko Ursulin) - Half the timeout for suspend to RAM and a third for suspend to disk (Marius Vlad) - lib: Pass format instead of bpp to create_bo_for_fb (Ville Syrjälä) - Removed from tests/test-list.txt, tests/gem_concurrent_all and added tests/test-list-full.txt that contains all the tests. This will speed up considerably piglit when starting tests. (Gabriel Feceoru) - piglit changed its behaviour to prevent overwriting the results. A fairly new version of piglit is required to run i-g-t tests. (Gabriel Feceoru) - lib: Replace drmIoctl() with a layer of indirection (Chris Wilson) - Adding missing Broxton PCI IDs (Rodrigo Vivi) - Added COMMIT_ATOMIC (lib/igt_kms, w/ tests/kms_rotation_crc). Requires nuclear_pageflip parameter turned on in the i915 driver. (Mayuresh Gharpure, Pratik Vishwakarma) - man/: rewrite manual pages in reStructuredText (Jani Nikula) - tests/drv_module_reload_basic: perform fault injection (Chris Wilson) with various improvements (Imre Deak) - Removed tests/gem_multi_bsd_sync_loop which was superseded by tests/gem_ring_sync_loop and tests/gem_dummy_reloc_loop by tests/gem_exec_reloc (Chris Wilson) - New GEM tests: tests/gem_exec_whisper, tests/gem_exec_store, test/gem_exec_gttfill, tests/gem_exec_suspend, tests/gem_exec_flush (Chris Wilson) - New benchmarks: benchmarks/gem_syslatency, benchmarks/gem_exec_fault (Chris Wilson) - tests/gem_exec_nop included in BAT (Chris Wilson) - tests/pm_rpm: Fix crash on machines that lack LLC (David Weinehall) - lib/igt_fb: Fix domain tracking for GTT cairo surfaces (Chris Wilson) - Add igt_subtest_group to allow igt_fixture for only a subset of subtests without skipping/failing all subsequent subtests. (Daniel Vetter) - Many more fixes and improvements. And the full changelog follows: Bob Paauwe (1): ksm_pipe_color: Set legacy gamma values inside loop. Chris Wilson (190): igt/gem_ctx_create: Exercise a trivial allocation failure igt/gem_ctx_create: Exercise implicit per-fd context creation tests/drv_missed_irq_hang: Wait harder lib: Show the command that fails when suspending lib/igt_fb: Fix domain tracking for GTT cairo surfaces igt/gem_exec_suspend: Exercise simple exec-and-read across suspend igt/gem_exec_basic: Check that we don't write into the const execbuf arg igt/gem_softpin: Check norelocations hold versus suspend/resume lib: Tidy testing for rtcwake lib/igt_gt: Replace asm clflush/mfence with __builtin_ia32 variants igt/pm_rpm: Wait for PCI D3 igt/gem_reloc_overflow: Fix errno tests for "overflow" lib: Flush BSD2 as well when available lib: Flush all possible rings lib: Skip execution in gem_has_ring() igt/gem_exec_suspend: Do pre/post suspend double checks lib: Magic for_each_engine() macro to iterate over available engines igt/gem_exec_suspend: Check with both cached/uncached objects igt/gem_ringfill: Check full rings across suspend/hibernate igt/gem_exec_nop: Add a basic test benchmarks/gem_latency: Replace igt_stats with igt_mean igt/gem_exec_store: The simplest batch that does something! igt/gem_exec_nop: Only combine unique rings benchmarks: Add gem_syslatency benchmarks/gem_syslatency: Measure unloaded latency benchmarks/gem_syslatency: Prevent CPU sleeps (C-states) benchmarks/gem_syslatency: Subtract the clock_gettime() overhead igt/drv_hangman: 32bit compilation warning igt/gem_concurrent_blit: 32bit compilation warning igt/gem_reloc_overflow: 32bit compilation warning benchmarks/gem_syslatency: Guard setaffinity_np igt/gem_exec_nop: Fix logical inversion for checking of valid execbuf tests: Add gem_exec_whisper igt/gem_exec_whisper: Don't forget that 0 is a valid address on full-ppgtt igt/gem_exec_whisper: Stop passing NO_RELOC igt/gem_exec_whisper: Test submission between fds igt/drv_module_reload_basic: Rinse and repeat with addition module parameters igt/gem_exec_whisper: Persistent relocation support lib: Remove unused gem_has_enable_ring() tests/gem_ring_sync_loop: Exercise all rings igt/gem_exec_reloc: Exercise updating relocations of an active object lib: Remove dead gem_get_num_rings() igt/gem_exec_whisper: Exercise rings individually igt/gem_exec_nop: Decrease BAT timing igt/gem_bad_reloc: Fix handling of 64bit relocations igt/gem_exec_whisper: Beware PIN_HIGH igt/gem_bad_reloc: Rename conflicting negative-reloc-blt igt/gem_exec_whisper: Move testing of "default" engine to standalone lib/igt_gt: Handle SIGINT whilst writing to i915_error_state igt/gem_softpin: Repeat tests with signal interruptions igt/gem_concurrent_all: struct buffers for all lib/intel_os: Squelch dmesg spam when purging VM caches lib/ioctl_wrappers: Explain a couple of igt_require(ret == 0) igt/gem_concurent_blit: Exercise different object sizes lib: Replace drmIoctl() with a layer of indirection lib/igt_aux: Divert ioctls for signal injection igt/gem_concurrent_blit: Enable quicker interruptible testing igt/gem_concurrent_blit: dmabuf requires twice the number of files igt/gem_ringfill: Use igt_sigiter to focus the interruptible testing igt/gem_exec_whisper: Add interruptibles tests igt/prime_mmap_coherency: Speed up interruptible testing igt/gem_softpin: Convert to igt_interruptible igt/gem_concurrent_blit: Enable quicker interruptible testing lib/igt_aux: Refine decision to stop signal injection igt/gem_concurrent_blit: Reset process limits to allow dmabuf tests igt/gem_concurent_blit: Prevent a memleak if we assert whilst creating buffers igt/gem_exec_whisper: Prevent MI_STORE_DWORD on gen6/bsd again igt/gem_concurrent_all: Inject a hang onto all rings igt/gem_exec_whisper: Tweak migration logging igt/gem_exec_suspend: Allow suspend testing on gen6 igt/gem_exec_suspend: Add BAT runs igt/gem_ringfill: Fine-tune list of BAT tests igt/gem_ringfill: Fix basic- reversal lib: Measure the cost of calling timer_settimer() for sigiter tests: Add gem_shrink igt/gem_shrink: Include a shrinker vs GPU hang igt/gem_shrink: Consume all of total ram in each process lib: Add a GPU error detector igt/gem_concurrent_blit: Enable hang detection benchmarks/gem_exec_nop: Include a measurement across all rings igt/gem_concurrent_blit: Relax maxfiles restrictions igt/gem: Add GPU hang detection to basic tests igt/gem_sync: Add a basic test to wait upon a batch on all rings igt/gem_exec_whisper: Check for inconsistent reloc offset vs object offset igt/gem_exec_whisper: Add simple interruptible pass igt/gem_ctx_switch: Add basic test for context switching igt/gem_exec_nop: Add expectancy of independent execution between engines igt/gem_exec_nop: Relax parallel assertion for short rings igt/gem_exec_store: Exercise write ordering igt/gem_exec_suspend: Add basic selftest lib: Tidy error message for a helper process who unexpectedly dies lib: Ignore udev failure to report an event igt/gem_busy: Use a boatload of store-dwords to force ring busyness igt/gem_busy: Cap number of tries to create busy rings igt/gem_busy: Try to slow down execution igt/gem_exec_reloc: Exercise read-only relocation arrays igt/pm_rps: Trigger a real GPU reset igt/gem_shrink: Add pread/pwrite stress igt/gem_shrink: Exercise with userptr stress lib: Don't report the last errno inside the async GPU hang detector lib: Avoid assertion if sig_ioctl is unsed from a child accidentally benchmarks/gem_latency: Add a -C switch to measure impact of cmdparser benchmarks: Include my ezbench test runners igt/gem_shrink: Fix leak in userptr, add another igt/gem_shrink: Reduce oom spam igt/kms_pipe_crc_basic: Replace stop_rings with igt_hang_ring igt/kms_flip: Convert over to real hang injection lib: Remove defunct stop_rings igt/gem_shrink: Fix execution object offset igt/gem_concurrent_blit: Purge the libdrm caches before cloning lib: Tidy presentations of pread/pwrite failures igt/gem_concurrent_blit: Tweak num_buffers to just exceed target igt/gem_busy: fix compaction of multiple store commands igt: Add a basic test to stress allocation of batches igt/gem_exec_create: Add a "leak" test igt/gem_ctx_create: Broaden per-engine testing igt/gem_exec_nop: Explain the parallel execution assertion igt/gem_exec_nop: Correct %3.f typo igt/gem_busy: Slow down the writer igt/gem_pwrite: Add backwards/random access patterns igt/gem_mocs_settings: Check for pollution of default contexts gem_exec_lut_handle: Fix presumed_offset to force relocation on full-ppgtt igt/gem_ctx_param: Relabel igt/gem_exec_nop: Fix time units for assertion printf igt/gem_concurrent_blit: Ensure we only shrink the child buffers igt/gem_close_race: Batify scripts: Add a simple trybot driver igt/gem_close_race: Avoid using threads, use signals instead igt/gem_close_race: Import the scratch igt/gem_exec_nop: Apply missed interrupt detection igt/gem_busy: Discard the indirect batchbuffers igt/gem_busy: Test parallel execution igt/gem_close_race: Restore threads test to BAT status igt/gem_busy: Avoid BSD emission on gen6 igt: Add gem_exec_parallel benchmark/gem_latency: sync startup correctly tests: Add gem_exec_flush lib: Apply magic clflush serialisation igt/gem_exec_flush: Add a read-only variation igt/gem_exec_flush: Use subtest groups to tidy requirement checking lib: Enable clflush for 32bit x86 builds igt/gem_exec_flush: For good measure, check pread/pwrite igt/gem_exec_flush: Add basic set-domain checks igt/gem_exec_flush: Add interruptible testing igt/gem_exec_flush: Use a cacheline stride benchmarks/gem_latency: Report throughput igt/gem_exec_flush: Mark mmap-wc dependency lib: Tweak calibration of initial settimer delay igt/gem_exec_flush: Move assertions out of interruptible loops lib: Fixup u64 multiply for computing nanoseconds igt/gem_exec_flush: Immediately repeat the same cacheline igt/gem_exec_flush: Match gem_set_domain to pointer access igt/gem_ringfill: Avoid CPU -> GTT -> CPU transition igt/gem_exec_flush: Test continuously rewriting the batch lib: compute exitcode first igt/gem_exec_flush: Stress a few more synchronisation paths for execbuf igt/gem_exec_flush: Give even batch write a unique value igt/gem_exec_flush: Also check flushing before the cmdparser igt/gem_exec_flush: Halve the number of BAT tests, but double their runtime igt/gem_exec_flush: Restrict BAT batch testing igt/gem_exec_flush: Test cacheline invalidation before execbuf igt/gem_exec_flush: Add a WC mmapping of the target buffer igt/gem_exec_flush: Flush before each use igt/gem_exec_flush: Add some commentary about clflush testing igt: Add a few more forked variants of basic tests benchmarks: Add some contention tests for object/context creation igt/gem_exec_parse: Simple exercise for MI_LOAD_REGISTER_REG benchmarks/gem_create: Report combined concurrent allocation rate benchmarks/gem_exec_nop: Add forked variants benchmarks/gem_blt: Add forked variants benchmarks/gem_latency: Revert to unsafe mmio access on gen7 igt/gem_exec_flush: Include a bit of information about the test setup igt/gem_reset_stats: Fix pending batch count for bans igt/gem_exec_flush: Exclude -before- subtests from BAT tests: Add gem_exec_gttfill igt/gem_cs_prefetch: Remove from BAT benchmarks: Add gem_exec_fault igt/gem_exec_gttfill: Exclude the page allocation from the timeout benchmarks/gem_exec_fault: Reset alignment to 0 igt/gem_sync: Drop individual engines from BAT igt/gem_exec_whisper: Exclude from BAT igt/gem_exec_gttfill: Limit to using 4GiB of GTT lib/gt: Replace hanging instruction igt/gem_exec_gttfill: qword writes require an extra bit on bdw+ test: Add legacy cursor stress test igt/kms_cursor_legacy: Give each child a different CRTC access pattern igt/kms_cursor_legacy: Add uncontended cursor updates igt/kms_cursor_legacy: Show basic stats of iterations per child igt/kms_cursor_legacy: Stress each CRTC individually as well igt/kms_cursor_legacy: Fixup !fixture Daniel Vetter (16): lib/igt_kms: Don't disable exit handlers around set_vt_mode tests/kms_mmap_write_crc: Use the right fork helpers gitignore: Add .dirstamp lib/igt_core: remove igt_disable/enable_exit_handlers lib: Unit test for exit handler lib: remove saved_sig_mask tests/gem_reloc_overflow: Add missing igt_fixture lib: Add igt_subtest_group tests/gem_concurrent_blt|all: Use igt_subtest_group lib: Fix some doc warnings lib/tests: More igt_subtest_group checks lib: Fix doc warnings for real! lib/igt_kms: Move IGT_MAX_PLANES into the igt_plane enum lib/igt_aux: Polish docs for igt_interruptible lib/igt_aux: Polish docs for igt_timeout lib/crc: Update doc for igt_pipe_crc_get_crcs David Weinehall (1): tests/pm_rpm: Fix CRASH on machines that lack LLC Derek Morton (2): benchmarks/gem_syslatency: Add extra android guard to attr_setaffinity_np tests/Android.mk: Update cairo dependant test list Feceoru, Gabriel (7): scripts: Adapt run-tests.sh to the piglit changes tests: Separate tests with lots of subtests tests/kms_plane: Skip on no connected outputs lib/igt_kms: Add fail exit branch in do_display_commit() tests/kms_plane: Skip the test when configuration couldn't be applied tests/kms_flip: Adjust tolerance when counting frames tests: Moved gem_concurrent_blit back to the normal set Gabriel Feceoru (1): kms_frontbuffer_tracking: Remove hardcoded PIPE_A Imre Deak (2): drv_module_reload_basic: skip alive check after load failure injection igt/drv_module_reload_basic: Pass correct inject_load_failure module option Jani Nikula (32): man: rewrite manual pages in reStructuredText man: update intel_reg.rst to be more in line with the others lib/intel_chipset: drop unused IS_9XX() tools/intel_reg_decode: drop confusing use of IS_965() tests: use igt_assert_lte to verify pm_backlight test results tests: add context param to pm_backlight tests tests: limit pm_backlight actual brightness tolerance between 0 and max tests/kms_sink_crc_basic: clean up assert_color and provide more details man: add .gitignore with defs.rst tools/intel_bios_reader: drop unused macros lib/igt_aux: update encoder and type names lib/igt_aux: define actual functions for kmstest_*_str tools/intel_bios_reader: make VBIOS non-global tools/intel_bios_reader: add command line option parsing and --file parameter tools/intel_bios_reader: add --devid parameter tools/intel_bios_reader: drop unused lvds_support variable tools/intel_bios_reader: drop silly tv_present variable and printout tools/intel_bios_reader: pass around a context pointer instead of bdb_header tools/intel_bios_reader: move more globals to struct context tools/intel_bios_reader: move devid to context too tools/intel_bios_reader: drop dependencies on lvds block parsing tools/intel_bios_reader: let the user specify panel type on the command line tools/intel_bios_reader: dump the blocks in numerical order tools/intel_bios_reader: add --hexdump option to dump hex, disable by default tools/intel_bios_reader: add support for dumping only specific section tools/intel_bios_reader: add --all-panels option to dump all panels tools/intel_bios_reader: free the block returned by find_section man: update intel_bios_reader man page tools/intel_bios_reader: abstract header information dumping tools/intel_bios_reader: clean up VBT/BDB header dumping tools/intel_bios_reader: print errors to stderr, return EXIT_FAILURE lib/igt_kms: move gtk-doc comments next to the definition Lionel Landwerlin (7): lib: kms: add crtc_id to igt_pipe_t lib: kms: add helpers for color management properties on pipes lib: fb: add igt_paint_color_gradient_range lib: add crc comparison function without an assert tests/kms_color: New test for pipe level color management test/kms_pipe_color: add test to verify legacy ioctl resets GAMMA_LUT lib: kms: move framebuffer scanout offset/size to plane Maarten Lankhorst (1): tests/kms_setmode: Add tests when not stealing encoders on same crtc. Marius Vlad (9): tests/kms_setmode: Fix compilation warnings. NEWS: a newer version of piglit is required. NEWS: Updated info about tests/tests-list.txt. NEWS: COMMIT_ATOMIC landed a while ago and a test that makes use of it. tests/gem_close_race: Remove basic-threads from BAT. NEWS: Update news. tests/prime_mmap_kms: Fix white-space. tools/intel_bios_reader: add help Updated NEWS, and bumped to 1.15. Matt Roper (2): kms_atomic: Skip rather than fail on non-atomic drivers igt_core: Search "." as final fallback for igt_fopen_data() Mayuresh Gharpure (1): lib/igt_kms: Add COMMIT_ATOMIC to igt_display_commit2() Micah Fedke (1): lib: update kmstest_get_pipe_from_crtc_id Mika Kuoppala (2): tests/gem_evict_alignment: use uint64_t in eviction memory parameters tests/gem_evict_everything: use uint64_t in subtest params Paulo Zanoni (7): lib/igt_kms: add kmstest_get_crtc_idx kms_frontbuffer_tracking: don't pass the crtc idx to init_mode_params kms_frontbuffer_tracking: extract find_connector function kms_frontbuffer_tracking: try harder to find suitable connectors tests: fix CRTC assignment for a few tests kms_frontbuffer_tracking: add missing igt_remove_fb calls tests/kms_draw_crc: remove hardcoded PIPE_A Peter Antoine (1): test/gem_mocs_settings: Testing MOCS register settings Robert Foss (12): kms_atomic: Fix crtc_id comparison failing. core_getversion: Switched from igt_assert to assert helpers. core_getversion: Only verify major version for i915. kms_panel_fitting: skips if there's a non-eDP display connected. Fix it. kms_panel_fitting: Remove un-read variable. kms_panel_fitting: Remove un-read variable pipe_crc. kms_panel_fitting: Remove un-used variable. kms_panel_fitting: Switched DRM format to a hardware agnostic alternative. kms_panel_fitting: Enabled test on non-Intel hardware. kms_panel_fitting: Enable connectors with "scaling mode" property set. tests/gem_ppgtt: Switched to new aliases of intel specific functions. tests/gem_render_tiled_blits: Switched to new aliases of intel specific functions. Rodrigo Vivi (2): intel: Adding missing Broxton PCI IDs. tools: Add missing Kabylake codename strings. Tiago Vignatti (2): prime_mmap_coherency: Add return error tests for prime sync ioctl prime_mmap_kms: show case dma-buf new API and processes restrictions Tomeu Vizoso (31): lib: Rename is_intel to has_known_intel_chipset lib: add igt_require_intel lib: Have gem_set_tiling require intel lib: Expose is_i915_device lib: Assert we are on i915 from intel_get_drm_devid lib: Call intel_get_drm_devid only from intel code lib: Add wrapper for DRM_IOCTL_MODE_CREATE_DUMB lib: Add helper kmstest_dumb_map_buffer lib: Add igt_dirty_fb lib: Map dumb buffers lib: Add igt_create_bo_with_dimensions kms_addfb_basic: call igt_create_bo_with_dimensions kms_addfb_basic: move tiling functionality into each subtest kms_addfb_basic: Split tiling_tests off kms_addfb_basic: Move calls to gem_set_tiling to the subtests kms_addfb_basic: Get intel gen from within subtest tests: Open any driver tests/kms_addfb_basic: Set tiling in addfb25 subtest lib: Declare loop variable as volatile before setjmp tests/drm_read: Drop DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID tests/kms_render: Move dependency on i915 into subtest tests/kms_flip: Create tiled BOs only when needed tests/kms_flip: Move bufmgr requirement into subtests tests/kms_flip: Open DRM device with DRIVER_ANY tests/kms_flip_event_leak: Use non-tiled formats tests/kms_flip_event_leak: Open DRM device with DRIVER_ANY tests/kms_addfb_basic: Move tiling tests into their own groups tests/testdisplay: Use cairo helpers to draw to plane tests/testdisplay: Open DRM device with DRIVER_ANY build: Skip configure step if is NOCONFIGURE set lib: Actually use provided size when creating BO Tvrtko Ursulin (4): gem_ppgtt: Fix flink-and-exit-vma-leak for engine->last_context igt/drv_module_reload_basic: Do not require snd-hda-intel kms_flip: Shorten basic tests a bit igt_kms: Fix use after free in kmstest_get_pipe_from_crtc_id Ville Syrjälä (8): lib/igt_kms: Fix igt_fb_set_size() debug message lib/igt_fb: Fix gen2 and 915 Y tile sizes tests/pm_rps: Fix assert for sysfs writes tools/intel_reg: Fix builtin register spec for gen4 tools/intel_reg: Add extra pipe B registers for CHV tests/pm_rps: Increase timeouts to 15 seconds lib: Pass format instead of bpp to create_bo_for_fb() tools/intel_watermark: Dump linetime watermarks on hsw/bdw marius vlad (7): tests/kms_pipe_crc_basic: Don't suspend the machine if the pipe is not present. lib/igt_aux: Half the timeout for suspend to RAM and a third for suspend to disk. tests/gem_busy: Fix passing invalid fd for basic-parallel-* tests. tests/gem_close_race: Add igt_fixture block for igt_stop_hang_detector. tests/{gem_ctx_switch, gem_exec_create}: Fix shadow declaration of child variable. benchmarks/, overlay/, demos/, tools/, tests/: Add optional Werror. autotools/: Allow building tests/gem_concurrent_{all, blit} pvishwak (1): tests/kms_rotation_crc: Adding rotation tests using COMMIT_ATOMIC path git tag: intel-gpu-tools-1.15 http://xorg.freedesktop.org/archive/individual/app/intel-gpu-tools-1.15.tar.bz2 MD5: dea5d3a60f93054760d773aaa3a36b1f intel-gpu-tools-1.15.tar.bz2 SHA1: d40167c2395907c8077388a36aa77f645e70a001 intel-gpu-tools-1.15.tar.bz2 SHA256: dcf256112d2692aa49ce6c6d17a898f60b3709b98c2f1c4592b23d22371462bd intel-gpu-tools-1.15.tar.bz2 PGP: http://xorg.freedesktop.org/archive/individual/app/intel-gpu-tools-1.15.tar.bz2.sig http://xorg.freedesktop.org/archive/individual/app/intel-gpu-tools-1.15.tar.gz MD5: 2b929cfbe6ebff1c426048ada194b801 intel-gpu-tools-1.15.tar.gz SHA1: 51b44311e1db246658a60113d446118ffb7ba85c intel-gpu-tools-1.15.tar.gz SHA256: 88e7ec1d29ac1141dbb67cf45d3b8f131e376d81d2732fc182ca0a080ae59462 intel-gpu-tools-1.15.tar.gz PGP: http://xorg.freedesktop.org/archive/individual/app/intel-gpu-tools-1.15.tar.gz.sig -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <https://lists.x.org/archives/xorg-announce/attachments/20160531/5d94c921/attachment-0001.sig>