Skip to contentSkip to conversation

tests/intel/pm: Separate display specific tests from i915_pm_rpm

igt-dev Bhanuprakash Modem 2 participants 3 messages Sep 15, 2023 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

Separate display specific tests, from i915_pm_rpm and create a new binary "kms_pm_rpm" for them.

Note: This patch can be split into multiple, but still it is a good starting point to review.

V2: - Drop unnecessary header files
V3: - Restore old Copyright
- Fix missing display tests
V4: - Fix/Optimize testplan documentation
- Split module-reload into with & w/o display

Cc Anshuman Gupta <[email protected]>
Cc Swati Sharma <[email protected]>
---
 tests/intel-ci/blacklist-pre-merge.txt |    8 +-
 tests/intel-ci/blacklist.txt           |    1 +
 tests/intel-ci/fast-feedback.testlist  |    6 +-
 tests/intel/i915_pm_rpm.c              | 1136 ----------------
 tests/intel/kms_pm_rpm.c               | 1738 ++++++++++++++++++++++++
 tests/meson.build                      |    1 +
 6 files changed, 1747 insertions(+), 1143 deletions(-)
 create mode 100644 tests/intel/kms_pm_rpm.c
tests/intel-ci/blacklist-pre-merge.txt +4 -4
index d4e5ef66e..0a1315aae 100644
@@ -13,8 +13,8 @@
 #
 # Data acquired on 2020-02-19 by Martin Peres
 ###############################################################################
-igt@i915_pm_rpm@legacy-planes(-dpms)?
-igt@i915_pm_rpm@universal-planes(-dpms)?
+igt@kms_pm_rpm@legacy-planes(-dpms)?
+igt@kms_pm_rpm@universal-planes(-dpms)?
 
 
 ###############################################################################
@@ -67,7 +67,7 @@ igt@gem_exec_alignment@.*
 #
 # Data acquired on 2020-02-20 by Martin Peres
 ###############################################################################
-igt@i915_pm_rpm@debugfs-read
+igt@kms_pm_rpm@debugfs-read
 
 
 ###############################################################################
@@ -109,4 +109,4 @@ igt@gem_tiled_wc
 #
 # Data acquired on 2020-02-20 by Martin Peres
 ###############################################################################
-igt@i915_pm_rpm@modeset-stress-extra-wait
+igt@kms_pm_rpm@modeset-stress-extra-wait
tests/intel-ci/blacklist.txt +1 -0
index e13759d3e..13504dac3 100644
@@ -15,6 +15,7 @@ igt@meta_test(@.*)?
 #igt@i915_module_load(@.*)? # danger, danger; hope for taints!
 igt@i915_pm_rpm@module-reload
 igt@i915_pm_rpm@gem-execbuf-stress-extra-wait
+igt@kms_pm_rpm@module-reload
 ###############################################
 # GEM
 ###############################################
tests/intel-ci/fast-feedback.testlist +3 -3
index 3d8b23073..dfa11e2c5 100644
@@ -121,13 +121,13 @@ igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence
 igt@kms_pipe_crc_basic@read-crc
 igt@kms_pipe_crc_basic@read-crc-frame-sequence
 igt@kms_pm_backlight@basic-brightness
+igt@kms_pm_rpm@basic-pci-d3-state
+igt@kms_pm_rpm@basic-rte
 igt@kms_psr@primary_page_flip
 igt@kms_psr@cursor_plane_move
 igt@kms_psr@sprite_plane_onoff
 igt@kms_psr@primary_mmap_gtt
 igt@kms_setmode@basic-clone-single-crtc
-igt@i915_pm_rpm@basic-pci-d3-state
-igt@i915_pm_rpm@basic-rte
 igt@i915_pm_rps@basic-api
 igt@prime_self_import@basic-llseek-bad
 igt@prime_self_import@basic-llseek-size
@@ -163,7 +163,7 @@ igt@gem_lmem_swapping@basic
 igt@gem_lmem_swapping@parallel-random-engines
 igt@gem_lmem_swapping@random-engines
 igt@gem_lmem_swapping@verify-random
-igt@i915_pm_rpm@module-reload
+igt@kms_pm_rpm@module-reload
 
 # Kernel selftests
 igt@i915_selftest@live
tests/intel/i915_pm_rpm.c +0 -1136

1,239 lines not on this page · raw message

tests/intel/kms_pm_rpm.c new file +1738 -0

1,708 lines not on this page · raw message

tests/meson.build +1 -0
index 7201958b7..8e0c62cae 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.40.0

Part of the diff is not shown here. View the raw message.

#1 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for tests/intel/pm: Separate display specific tests from i915_pm_rpm

== Series Details ==

== Series Details ==

Series: tests/intel/pm: Separate display specific tests from i915_pm_rpm
URL : https://patchwork.freedesktop.org/series/123750/
State : failure

== Summary ==

CI Bug Log - changes from IGT_7489 -> IGTPW_9798
====================================================

Summary
-------

**FAILURE**

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

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

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/index.html

Participating hosts (41 -> 40)
------------------------------

Missing (1): fi-snb-2520m

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@late_gt_pm:
- fi-kbl-soraka: NOTRUN -> [ABORT][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-kbl-soraka/igt@i915_selftest@live@late_gt_pm.html

* {igt@kms_pm_rpm@module-reload} (NEW):
- bat-adls-5: NOTRUN -> [WARN][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-adls-5/igt@[email protected]
- fi-apl-guc: NOTRUN -> [WARN][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-apl-guc/igt@[email protected]
- bat-dg1-5: NOTRUN -> [WARN][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-dg1-5/igt@[email protected]
- bat-atsm-1: NOTRUN -> [WARN][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-atsm-1/igt@[email protected]
- fi-glk-j4005: NOTRUN -> [WARN][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-glk-j4005/igt@[email protected]
- bat-adlp-9: NOTRUN -> [WARN][7]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-adlp-9/igt@[email protected]
- fi-skl-guc: NOTRUN -> [WARN][8]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-skl-guc/igt@[email protected]
- bat-dg2-11: NOTRUN -> [WARN][9]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-dg2-11/igt@[email protected]
- fi-kbl-soraka: NOTRUN -> [WARN][10]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-kbl-soraka/igt@[email protected]
- fi-cfl-8109u: NOTRUN -> [WARN][11]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-cfl-8109u/igt@[email protected]
- fi-kbl-8809g: NOTRUN -> [WARN][12]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-kbl-8809g/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [WARN][13]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-bsw-nick/igt@[email protected]
- fi-kbl-guc: NOTRUN -> [WARN][14]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-kbl-guc/igt@[email protected]
- bat-adlm-1: NOTRUN -> [WARN][15]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-adlm-1/igt@[email protected]
- fi-tgl-1115g4: NOTRUN -> [WARN][16]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-tgl-1115g4/igt@[email protected]
- fi-bsw-n3050: NOTRUN -> [WARN][17]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-bsw-n3050/igt@[email protected]
- fi-cfl-guc: NOTRUN -> [WARN][18]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-cfl-guc/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [WARN][19]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-mtlp-6/igt@[email protected]
- bat-dg2-9: NOTRUN -> [WARN][20]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-dg2-9/igt@[email protected]
- fi-kbl-x1275: NOTRUN -> [WARN][21]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-kbl-x1275/igt@[email protected]
- fi-hsw-4770: NOTRUN -> [WARN][22]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-hsw-4770/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [WARN][23]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-mtlp-8/igt@[email protected]
- bat-jsl-1: NOTRUN -> [WARN][24]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-jsl-1/igt@[email protected]
- fi-cfl-8700k: NOTRUN -> [WARN][25]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-cfl-8700k/igt@[email protected]
- bat-rpls-1: NOTRUN -> [WARN][26]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-rpls-1/igt@[email protected]
- bat-kbl-2: NOTRUN -> [WARN][27]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-kbl-2/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [WARN][28]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-rkl-11600/igt@[email protected]
- fi-skl-6600u: NOTRUN -> [WARN][29]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-skl-6600u/igt@[email protected]

New tests
---------

New tests have been introduced between IGT_7489 and IGTPW_9798:

### New IGT tests (3) ###

* igt@kms_pm_rpm@basic-pci-d3-state:
- Statuses : 1 abort(s) 29 pass(s) 5 skip(s)
- Exec time: [0.0] s

* igt@kms_pm_rpm@basic-rte:
- Statuses : 29 pass(s) 5 skip(s)
- Exec time: [0.0] s

* igt@kms_pm_rpm@module-reload:
- Statuses : 5 skip(s) 28 warn(s)
- Exec time: [0.0] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- fi-hsw-4770: NOTRUN -> [SKIP][30] ([fdo#109271]) +13 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-hsw-4770/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-vga-1:
- fi-hsw-4770: NOTRUN -> [DMESG-WARN][31] ([i915#8841]) +6 other tests dmesg-warn
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-hsw-4770/igt@kms_pipe_crc_basic@[email protected]

* {igt@kms_pm_rpm@basic-pci-d3-state} (NEW):
- bat-adln-1: NOTRUN -> [ABORT][32] ([i915#8668])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-adln-1/igt@[email protected]
- fi-ivb-3770: NOTRUN -> [SKIP][33] ([fdo#109271]) +2 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-ivb-3770/igt@[email protected]
- fi-elk-e7500: NOTRUN -> [SKIP][34] ([fdo#109271]) +2 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-elk-e7500/igt@[email protected]
- fi-ilk-650: NOTRUN -> [SKIP][35] ([fdo#109271]) +2 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-ilk-650/igt@[email protected]
- fi-blb-e6850: NOTRUN -> [SKIP][36] ([fdo#109271]) +2 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-blb-e6850/igt@[email protected]

* {igt@kms_pm_rpm@module-reload} (NEW):
- fi-pnv-d510: NOTRUN -> [SKIP][37] ([fdo#109271]) +2 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-pnv-d510/igt@[email protected]

* igt@kms_psr@sprite_plane_onoff:
- fi-hsw-4770: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#1072]) +3 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/fi-hsw-4770/igt@kms_psr@sprite_plane_onoff.html

#### Possible fixes ####

* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1:
- bat-rplp-1: [ABORT][39] ([i915#8668]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7489/bat-rplp-1/igt@kms_pipe_crc_basic@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/bat-rplp-1/igt@kms_pipe_crc_basic@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#7952]: https://gitlab.freedesktop.org/drm/intel/issues/7952
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
[i915#8841]: https://gitlab.freedesktop.org/drm/intel/issues/8841

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

* CI: CI-20190529 -> None
* IGT: IGT_7489 -> IGTPW_9798

CI-20190529: 20190529
CI_DRM_13635: c6b7f865a77a75af03c3b68baa4cf7eb66c1c6d5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_9798: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/index.html
IGT_7489: c31111635650e76263faee031292290b1a393f2a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

Testlist changes
----------------

+igt@kms_pm_rpm@basic-pci-d3-state
+igt@kms_pm_rpm@basic-rte
+igt@kms_pm_rpm@cursor
+igt@kms_pm_rpm@cursor-dpms
+igt@kms_pm_rpm@dpms-lpsp
+igt@kms_pm_rpm@dpms-mode-unset-lpsp
+igt@kms_pm_rpm@dpms-mode-unset-non-lpsp
+igt@kms_pm_rpm@dpms-non-lpsp
+igt@kms_pm_rpm@drm-resources-equal
+igt@kms_pm_rpm@fences
+igt@kms_pm_rpm@fences-dpms
+igt@kms_pm_rpm@i2c
+igt@kms_pm_rpm@legacy-planes
+igt@kms_pm_rpm@legacy-planes-dpms
+igt@kms_pm_rpm@modeset-lpsp
+igt@kms_pm_rpm@modeset-lpsp-stress
+igt@kms_pm_rpm@modeset-lpsp-stress-no-wait
+igt@kms_pm_rpm@modeset-non-lpsp
+igt@kms_pm_rpm@modeset-non-lpsp-stress
+igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait
+igt@kms_pm_rpm@modeset-pc8-residency-stress
+igt@kms_pm_rpm@modeset-stress-extra-wait
+igt@kms_pm_rpm@module-reload
+igt@kms_pm_rpm@pc8-residency
+igt@kms_pm_rpm@pm-caching
+igt@kms_pm_rpm@pm-tiling
+igt@kms_pm_rpm@system-suspend-modeset
+igt@kms_pm_rpm@universal-planes
+igt@kms_pm_rpm@universal-planes-dpms
-igt@i915_pm_rpm@basic-pci-d3-state
-igt@i915_pm_rpm@basic-rte
-igt@i915_pm_rpm@cursor
-igt@i915_pm_rpm@cursor-dpms
-igt@i915_pm_rpm@dpms-lpsp
-igt@i915_pm_rpm@dpms-mode-unset-lpsp
-igt@i915_pm_rpm@dpms-mode-unset-non-lpsp
-igt@i915_pm_rpm@dpms-non-lpsp
-igt@i915_pm_rpm@drm-resources-equal
-igt@i915_pm_rpm@fences
-igt@i915_pm_rpm@fences-dpms
-igt@i915_pm_rpm@i2c
-igt@i915_pm_rpm@legacy-planes
-igt@i915_pm_rpm@legacy-planes-dpms
-igt@i915_pm_rpm@modeset-lpsp
-igt@i915_pm_rpm@modeset-lpsp-stress
-igt@i915_pm_rpm@modeset-lpsp-stress-no-wait
-igt@i915_pm_rpm@modeset-non-lpsp
-igt@i915_pm_rpm@modeset-non-lpsp-stress
-igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait
-igt@i915_pm_rpm@modeset-pc8-residency-stress
-igt@i915_pm_rpm@modeset-stress-extra-wait
-igt@i915_pm_rpm@pc8-residency
-igt@i915_pm_rpm@pm-caching
-igt@i915_pm_rpm@pm-tiling
-igt@i915_pm_rpm@system-suspend-modeset
-igt@i915_pm_rpm@universal-planes
-igt@i915_pm_rpm@universal-planes-dpms

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/index.html

#2 lore raw

[igt-dev] ✓ CI.xeBAT: success for tests/intel/pm: Separate display specific tests from i915_pm_rpm

In reply to Bhanuprakash Modem
== Series Details ==

== Series Details ==

Series: tests/intel/pm: Separate display specific tests from i915_pm_rpm
URL : https://patchwork.freedesktop.org/series/123750/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_7489_BAT -> XEIGTPW_9798_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (4 -> 4)
------------------------------

No changes in participating hosts

Changes
-------

No changes found

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

* IGT: IGT_7489 -> IGTPW_9798

IGTPW_9798: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_9798/index.html
IGT_7489: c31111635650e76263faee031292290b1a393f2a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-375-4a9681392cecd56a372d06b648f7b3a37fdd5c63: 4a9681392cecd56a372d06b648f7b3a37fdd5c63

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_9798/index.html