Skip to contentSkip to conversation

igt/tests: kms_plane_stress: Add plane stress test

PATCH Superseded Stanislav Lisovskiy 2 participants 3 messages Apr 8, 2019 – Apr 9, 2019 Arm/Amlogic Meson SoC support

v7 of 15 Superseded Latest is v15 →

lore
Share & tools
lore
#0 lore raw

PATCH v7 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.

---
 tests/Makefile.sources   |   1 +
 tests/kms_plane_stress.c | 568 +++++++++++++++++++++++++++++++++++++++
 tests/meson.build        |   1 +
 3 files changed, 570 insertions(+)
 create mode 100644 tests/kms_plane_stress.c
tests/Makefile.sources +1 -0
index 71ccf00a..9d04d888 100644
@@ -59,6 +59,7 @@ TESTS_progs = \
 	kms_plane_lowres \
 	kms_plane_multiple \
 	kms_plane_scaling \
+	kms_plane_stress \
 	kms_prop_blob \
 	kms_properties \
 	kms_psr \
tests/kms_plane_stress.c new file +568 -0

569 lines not on this page · raw message

tests/meson.build +1 -0
index 9015f809..c586642c 100644
@@ -46,6 +46,7 @@ test_progs = [
 	'kms_plane_lowres',
 	'kms_plane_multiple',
 	'kms_plane_scaling',
+	'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
#1 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for igt/tests: kms_plane_stress: Add plane stress test (rev7)

== Series Details ==

== Series Details ==

Series: igt/tests: kms_plane_stress: Add plane stress test (rev7)
URL : https://patchwork.freedesktop.org/series/58524/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_5888 -> IGTPW_2815
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_2815 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_2815, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://patchwork.freedesktop.org/api/1.0/series/58524/revisions/7/mbox/

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_2815:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live_contexts:
- fi-bdw-gvtdvm: PASS -> DMESG-FAIL

Known issues
------------

Here are the changes found in IGTPW_2815 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live_uncore:
- fi-skl-gvtdvm: PASS -> DMESG-FAIL [fdo#110210]
- fi-ivb-3770: PASS -> DMESG-FAIL [fdo#110210]

* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- fi-glk-dsi: PASS -> INCOMPLETE [fdo#103359] / [k.org#198133]

* igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
- fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362]

#### Possible fixes ####

* igt@i915_selftest@live_execlists:
- fi-apl-guc: INCOMPLETE [fdo#103927] / [fdo#109720] -> PASS

* igt@kms_frontbuffer_tracking@basic:
- fi-byt-clapper: FAIL [fdo#103167] -> PASS

[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
[fdo#109720]: https://bugs.freedesktop.org/show_bug.cgi?id=109720
[fdo#110210]: https://bugs.freedesktop.org/show_bug.cgi?id=110210
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133

Participating hosts (50 -> 41)
------------------------------

Missing (9): fi-ilk-m540 fi-bxt-dsi fi-skl-6770hq fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-icl-y fi-bdw-samus fi-kbl-r

Build changes
-------------

* IGT: IGT_4932 -> IGTPW_2815

CI_DRM_5888: 381350f19ba1844d34105890169b1f1443f45879 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_2815: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2815/
IGT_4932: 08cf63a8fac11e3594b57580331fb319241a0d69 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@kms_plane_stress@stress-cpu-load-gpu-load-rgb565-untiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-rgb565-xtiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-rgb565-ytiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb8888-untiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb8888-xtiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb8888-ytiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb2101010-untiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb2101010-xtiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb2101010-ytiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-rgb565-untiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-rgb565-xtiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-rgb565-ytiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb8888-untiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb8888-xtiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb8888-ytiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb2101010-untiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb2101010-xtiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb2101010-ytiled +igt@kms_plane_stress@stress-mode-override-rgb565-untiled +igt@kms_plane_stress@stress-mode-override-rgb565-xtiled +igt@kms_plane_stress@stress-mode-override-rgb565-ytiled +igt@kms_plane_stress@stress-mode-override-xrgb8888-untiled +igt@kms_plane_stress@stress-mode-override-xrgb8888-xtiled +igt@kms_plane_stress@stress-mode-override-xrgb8888-ytiled +igt@kms_plane_stress@stress-mode-override-xrgb2101010-untiled +igt@kms_plane_stress@stress-mode-override-xrgb2101010-xtiled +igt@kms_plane_stress@stress-mode-override-xrgb2101010-ytiled +igt@kms_plane_stress@stress-rgb565-untiled +igt@kms_plane_stress@stress-rgb565-xtiled +igt@kms_plane_stress@stress-rgb565-ytiled +igt@kms_plane_stress@stress-xrgb8888-untiled +igt@kms_plane_stress@stress-xrgb8888-xtiled +igt@kms_plane_stress@stress-xrgb8888-ytiled +igt@kms_plane_stress@stress-xrgb2101010-untiled +igt@kms_plane_stress@stress-xrgb2101010-xtiled +igt@kms_plane_stress@stress-xrgb2101010-ytiled

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2815/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#2 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for igt/tests: kms_plane_stress: Add plane stress test (rev8)

In reply to Stanislav Lisovskiy
== Series Details ==

== Series Details ==

Series: igt/tests: kms_plane_stress: Add plane stress test (rev8)
URL : https://patchwork.freedesktop.org/series/58524/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_5893 -> IGTPW_2824
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_2824 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_2824, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://patchwork.freedesktop.org/api/1.0/series/58524/revisions/8/mbox/

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_2824:

### IGT changes ###

#### Possible regressions ####

* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence:
- fi-glk-dsi: PASS -> FAIL

Known issues
------------

Here are the changes found in IGTPW_2824 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@cs-sdma:
- fi-skl-6770hq: NOTRUN -> SKIP [fdo#109271] +37

* igt@amdgpu/amd_cs_nop@fork-compute0:
- fi-icl-y: NOTRUN -> SKIP [fdo#109315] +17

* igt@gem_exec_basic@basic-bsd2:
- fi-icl-y: NOTRUN -> SKIP [fdo#109276] +7

* igt@gem_exec_parse@basic-rejected:
- fi-icl-y: NOTRUN -> SKIP [fdo#109289] +1

* igt@gem_workarounds@basic-read:
- fi-snb-2600: NOTRUN -> SKIP [fdo#109271] +57

* igt@i915_selftest@live_contexts:
- fi-icl-y: NOTRUN -> DMESG-FAIL [fdo#108569]

* igt@kms_busy@basic-flip-c:

    - fi-blb-e6850:       NOTRUN -> SKIP [fdo#109271] / [fdo#109278]
    - fi-byt-j1900:       NOTRUN -> SKIP [fdo#109271] / [fdo#109278]
    - fi-snb-2600:        NOTRUN -> SKIP [fdo#109271] / [fdo#109278]

* igt@kms_chamelium@dp-crc-fast:
- fi-icl-y: NOTRUN -> SKIP [fdo#109284] +8

* igt@kms_chamelium@hdmi-crc-fast:
- fi-byt-j1900: NOTRUN -> SKIP [fdo#109271] +43

* igt@kms_force_connector_basic@force-load-detect:
- fi-icl-y: NOTRUN -> SKIP [fdo#109285] +3

* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u3: PASS -> FAIL [fdo#103167]

* igt@kms_pipe_crc_basic@hang-read-crc-pipe-c:
- fi-blb-e6850: NOTRUN -> SKIP [fdo#109271] +20

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- fi-blb-e6850: NOTRUN -> INCOMPLETE [fdo#107718]

* igt@kms_psr@primary_mmap_gtt:
- fi-icl-y: NOTRUN -> SKIP [fdo#110189] +3

* igt@prime_vgem@basic-fence-flip:
- fi-icl-y: NOTRUN -> SKIP [fdo#109294]

#### Possible fixes ####

* igt@gem_exec_fence@basic-busy-default:
- fi-byt-j1900: INCOMPLETE [fdo#102657] -> PASS

* igt@gem_exec_suspend@basic-s4-devices:
- fi-blb-e6850: INCOMPLETE [fdo#107718] -> PASS

* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
- fi-glk-dsi: FAIL -> PASS

[fdo#102657]: https://bugs.freedesktop.org/show_bug.cgi?id=102657
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109294]: https://bugs.freedesktop.org/show_bug.cgi?id=109294
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189

Participating hosts (45 -> 44)
------------------------------

Additional (3): fi-icl-y fi-skl-6770hq fi-snb-2600
Missing (4): fi-kbl-soraka fi-byt-squawks fi-bsw-cyan fi-bdw-samus

Build changes
-------------

* IGT: IGT_4933 -> IGTPW_2824

CI_DRM_5893: 554dd58b6cd364da6824d89b3638e3ed6135107f @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_2824: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2824/
IGT_4933: fef5706e11dcfc72cc759242842d36e7c8dc5e31 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@kms_plane_stress@stress-cpu-load-gpu-load-rgb565-untiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-rgb565-xtiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-rgb565-ytiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb8888-untiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb8888-xtiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb8888-ytiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb2101010-untiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb2101010-xtiled +igt@kms_plane_stress@stress-cpu-load-gpu-load-xrgb2101010-ytiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-rgb565-untiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-rgb565-xtiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-rgb565-ytiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb8888-untiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb8888-xtiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb8888-ytiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb2101010-untiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb2101010-xtiled +igt@kms_plane_stress@stress-mode-override-cpu-load-gpu-load-xrgb2101010-ytiled +igt@kms_plane_stress@stress-mode-override-rgb565-untiled +igt@kms_plane_stress@stress-mode-override-rgb565-xtiled +igt@kms_plane_stress@stress-mode-override-rgb565-ytiled +igt@kms_plane_stress@stress-mode-override-xrgb8888-untiled +igt@kms_plane_stress@stress-mode-override-xrgb8888-xtiled +igt@kms_plane_stress@stress-mode-override-xrgb8888-ytiled +igt@kms_plane_stress@stress-mode-override-xrgb2101010-untiled +igt@kms_plane_stress@stress-mode-override-xrgb2101010-xtiled +igt@kms_plane_stress@stress-mode-override-xrgb2101010-ytiled +igt@kms_plane_stress@stress-rgb565-untiled +igt@kms_plane_stress@stress-rgb565-xtiled +igt@kms_plane_stress@stress-rgb565-ytiled +igt@kms_plane_stress@stress-xrgb8888-untiled +igt@kms_plane_stress@stress-xrgb8888-xtiled +igt@kms_plane_stress@stress-xrgb8888-ytiled +igt@kms_plane_stress@stress-xrgb2101010-untiled +igt@kms_plane_stress@stress-xrgb2101010-xtiled +igt@kms_plane_stress@stress-xrgb2101010-ytiled

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2824/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev