igt/tests: kms_plane_stress: Add plane stress test
PATCH v12 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.
--- tests/Makefile.sources | 1 + tests/kms_plane_stress.c | 853 +++++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 3 files changed, 855 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 +853 -0
854 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] ✗ GitLab.Pipeline: warning for igt/tests: kms_plane_stress: Add plane stress test (rev16)
== Series Details ==
== Series Details ==
Series: igt/tests: kms_plane_stress: Add plane stress test (rev16)
URL : https://patchwork.freedesktop.org/series/58524/
State : warning
== Summary ==
ERROR! This series introduces new undocumented tests:
kms_plane_stress
kms_plane_stress@stress-xrgb8888-untiled
Can you document them as per the requirement in the [CONTRIBUTING.md]?
[Documentation] has more details on how to do this.
Here are few examples:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/0316695d03aa46108296b27f3982ec93200c7a6e
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/443cc658e1e6b492ee17bf4f4d891029eb7a205d
Thanks in advance!
[CONTRIBUTING.md]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/CONTRIBUTING.md#L19
[Documentation]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe
Other than that, pipeline status: SUCCESS.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/64574 for more details
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/64574
_______________________________________________
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 (rev16)
In reply to Stanislav Lisovskiy== Series Details ==
== Series Details ==
Series: igt/tests: kms_plane_stress: Add plane stress test (rev16)
URL : https://patchwork.freedesktop.org/series/58524/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6915 -> IGTPW_3476
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/58524/revisions/16/mbox/
Known issues
------------
Here are the changes found in IGTPW_3476 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap_gtt@basic-small-bo-tiledx:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724]) +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3476/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- fi-bxt-dsi: [INCOMPLETE][3] ([fdo#103927]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-bxt-dsi/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3476/fi-bxt-dsi/igt@[email protected]
* igt@gem_mmap_gtt@basic-write-no-prefault:
- fi-icl-u3: [DMESG-WARN][5] ([fdo#107724]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6915/fi-icl-u3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3476/fi-icl-u3/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#111600]: https://bugs.freedesktop.org/show_bug.cgi?id=111600
Participating hosts (56 -> 48)
------------------------------
Missing (8): fi-ilk-m540 fi-tgl-u fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5190 -> IGTPW_3476
CI-20190529: 20190529
CI_DRM_6915: c72f7d5ea4386172247558b74c1f8012b35800b7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3476: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3476/
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_3476/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev