igt/tests: kms_plane_stress: Add plane stress test
PATCH v13 1/1 igt/tests: kms_plane_stress: Add plane stress test
This test attempts to utilize all connected
outputs at the same time, using maximum possible
resolution and amount of planes, to check whether
we are hiting any kind of bandwidth, watermark or
other limitations.
v2: Added cpu and gpu load threads, which consume
additional bandwidth.
v3: Removed binary picture file, using pattern fb
instead.
v4: Moved FB creation/removal to better place.
v5: Fixed rebase conflict and changed "fb->tiling"
to "fb->modifier".
v6: Removed unnecessary new macro for iterating on
pipes. Taken into use igt_gettime instead of clock_gettime.
v7: Put fb reinit into igt_fixture to avoid problems.
Move stress function under igt_subtest. Release planes, remove redundant commit, assert if no planes can be used.
v8: - Add blitting also, to have more fun
- Now using separate framebuffer per each plane.
- Fixed magic number for bpp value(now based on format)
- Some optimizations, like not applying same mode if it hasn't change, also don't do highest mode search on each iteration, just calculate once and use it.
- Some code refactoring: extracted some lengthy code to separate functions.
- Fixed wrong index for cursor FB(cursor FB is one per pipe)
v9:
- More helper functions(start/stop threads, test init)
- Now doing GPU work in pthreads also
- Do GPU work in a separate framebuffer(not displayed)
v10:
- Fix issue in main testing cycle, code refactoring
- Rebased
v11:
- Fixed issue with suspending/resuming GPU threads to get crc. Added num_rectangles to be able to customize number of gpgpu_fill calls.
v12:
- Removed unneeded shared fb functionality and gpu thread pause/resume.
- Now also using different formats for cursor fb.
- Removed unnecessary parameters for stress function.
- Changed plane_stress function name to pipe_stress(makes sense)
- Put gpgpu_walk x and y bug fix into separate patch.
v13:
- Added tests documentation.
--- tests/Makefile.sources | 1 + tests/kms_plane_stress.c | 861 +++++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 3 files changed, 863 insertions(+) create mode 100644 tests/kms_plane_stress.c
tests/Makefile.sources +1 -0
@@ -65,6 +65,7 @@ TESTS_progs = \ kms_plane_multiple \ kms_plane_scaling \ kms_prime \ + kms_plane_stress \ kms_prop_blob \ kms_properties \ kms_psr \
tests/kms_plane_stress.c new file +861 -0
862 lines not on this page · raw message
tests/meson.build +1 -0
@@ -50,6 +50,7 @@ test_progs = [ 'kms_plane_multiple', 'kms_plane_scaling', 'kms_prime', + 'kms_plane_stress', 'kms_prop_blob', 'kms_properties', 'kms_psr',
Signature · 6 lines
2.17.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for igt/tests: kms_plane_stress: Add plane stress test (rev17)
== Series Details ==
== Series Details ==
Series: igt/tests: kms_plane_stress: Add plane stress test (rev17)
URL : https://patchwork.freedesktop.org/series/58524/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6915 -> IGTPW_3477
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/58524/revisions/17/mbox/
Known issues
------------
Here are the changes found in IGTPW_3477 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live_sanitycheck:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3477/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
#### Possible fixes ####
* igt@gem_mmap_gtt@basic-write-no-prefault:
- fi-icl-u3: [DMESG-WARN][3] ([fdo#107724]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3477/fi-icl-u3/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- {fi-icl-u4}: [DMESG-WARN][5] ([fdo#105602] / [fdo#106107] / [fdo#106350]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-icl-u4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3477/fi-icl-u4/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][7] ([fdo#111096]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3477/fi-kbl-7500u/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- {fi-icl-u4}: [DMESG-WARN][9] ([fdo#105602]) -> [PASS][10] +40 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-icl-u4/igt@kms_psr@sprite_plane_onoff.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3477/fi-icl-u4/igt@kms_psr@sprite_plane_onoff.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
[fdo#106350]: https://bugs.freedesktop.org/show_bug.cgi?id=106350
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111155]: https://bugs.freedesktop.org/show_bug.cgi?id=111155
[fdo#111600]: https://bugs.freedesktop.org/show_bug.cgi?id=111600
Participating hosts (56 -> 45)
------------------------------
Missing (11): fi-ilk-m540 fi-bxt-dsi fi-cml-h fi-skl-gvtdvm fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-icl-y fi-icl-dsi fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5190 -> IGTPW_3477
CI-20190529: 20190529
CI_DRM_6915: c72f7d5ea4386172247558b74c1f8012b35800b7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3477: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3477/
IGT_5190: 0e9510b83502af3e230870df2d66d4f68918d3a4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@kms_plane_stress@stress-xrgb8888-untiled
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3477/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev