Skip to contentSkip to conversation

drm/i915/selftests: add basic selftests for rc6

PATCH Superseded Andi Shyti 3 participants 5 messages Feb 5, 2020 – Feb 6, 2020

Subsystems (2)

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Andi Shyti

author
#0 lore raw

PATCH v4 1/1 drm/i915/selftests: add basic selftests for rc6

From: Andi Shyti <[email protected]>

Add three basic tests for rc6 power status:

1. live_rc6_basic - simply checks if rc6 works when it's enabled or stops when it's disabled.

2. live_rc6_threshold - rc6 should not work when the evaluation interval is less than the threshold and should work otherwise.

3. live_rc6_busy - keeps the gpu busy and then goes in idle; checks that we don't fall in rc6 when busy and that we do fall in rc6 when idling.

The three tests are added as sutest of the bigger live_late_gt_pm selftest.

The basic rc6 functionality is tested by checking the reference counter within the evaluation interval.

---
Hi,

just resending this patch that was going in decomposition. It's rebased on top of drm-tip.

Andi

Changelog:
* v3 -> v4:
- just a small refactoring where test_rc6 becomes a measure function while another test_rc6 checks the return value from the measure.
* v2 -> v3:
- rebased on top of the latest drm-tip
- fixed exiting order in rc6_basic to avoid exiting without releasing the pm reference
* v1 -> v2:
- some changes from Chris (thank you!).

 drivers/gpu/drm/i915/gt/selftest_gt_pm.c |   3 +
 drivers/gpu/drm/i915/gt/selftest_rc6.c   | 190 +++++++++++++++++++++++
 drivers/gpu/drm/i915/gt/selftest_rc6.h   |   3 +
 3 files changed, 196 insertions(+)
drivers/gpu/drm/i915/gt/selftest_gt_pm.c +3 -0
index 09ff8e4f88af..84d1a58cfa28 100644
@@ -51,6 +51,9 @@ static int live_gt_resume(void *arg)
 int intel_gt_pm_live_selftests(struct drm_i915_private *i915)
 {
 	static const struct i915_subtest tests[] = {
+		SUBTEST(live_rc6_basic),
+		SUBTEST(live_rc6_threshold),
+		SUBTEST(live_rc6_busy),
 		SUBTEST(live_rc6_manual),
 		SUBTEST(live_gt_resume),
 	};
drivers/gpu/drm/i915/gt/selftest_rc6.c +190 -0

199 lines not on this page · raw message

drivers/gpu/drm/i915/gt/selftest_rc6.h +3 -0
index 762fd442d7b2..b924d2e5cb43 100644
@@ -7,6 +7,9 @@
 #ifndef SELFTEST_RC6_H
 #define SELFTEST_RC6_H
 
+int live_rc6_basic(void *arg);
+int live_rc6_threshold(void *arg);
+int live_rc6_busy(void *arg);
 int live_rc6_ctx_wa(void *arg);
 int live_rc6_manual(void *arg);
 
Signature · 6 lines
2.25.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
author
#1 lore raw

PATCH v5 1/1 drm/i915/selftests: add basic selftests for rc6

From: Andi Shyti <[email protected]>

Add three basic tests for rc6 power status:

1. live_rc6_basic - simply checks if rc6 works when it's enabled or stops when it's disabled.

2. live_rc6_threshold - rc6 should not work when the evaluation interval is less than the threshold and should work otherwise.

3. live_rc6_busy - keeps the gpu busy and then goes in idle; checks that we don't fall in rc6 when busy and that we do fall in rc6 when idling.

The three tests are added as sutest of the bigger live_late_gt_pm selftest.

The basic rc6 functionality is tested by checking the reference counter within the evaluation interval.

---
I sent the wrong patch, sorry, this is the right one.

Andi

Changelog:
* v4 -> v5:
- added changes in v4 which I forgot to include
- a small renaming and refactoring suggested by Mika to make clear the purpose of the test function. Now it's called "is_rc6_active" in a question format (and I believe Chris won't like my creativity) and it returns true if rc6 is active and false otherwise. Thanks, Mika!
- fixed a couple of typos.
* v3 -> v4:
- just a small refactoring where test_rc6 becomes a measure function while another test_rc6 checks the return value from the measure.
* v2 -> v3:
- rebased on top of the latest drm-tip
- fixed exiting order in rc6_basic to avoid exiting without releasing the pm reference
* v1 -> v2:
- some changes from Chris (thank you!).

 drivers/gpu/drm/i915/gt/selftest_gt_pm.c |   2 +
 drivers/gpu/drm/i915/gt/selftest_rc6.c   | 179 +++++++++++++++++++++++
 drivers/gpu/drm/i915/gt/selftest_rc6.h   |   2 +
 3 files changed, 183 insertions(+)
drivers/gpu/drm/i915/gt/selftest_gt_pm.c +2 -0
index 09ff8e4f88af..5c7b92301a14 100644
@@ -52,6 +52,8 @@ int intel_gt_pm_live_selftests(struct drm_i915_private *i915)
 {
 	static const struct i915_subtest tests[] = {
 		SUBTEST(live_rc6_manual),
+		SUBTEST(live_rc6_threshold),
+		SUBTEST(live_rc6_busy),
 		SUBTEST(live_gt_resume),
 	};
 
drivers/gpu/drm/i915/gt/selftest_rc6.c +179 -0

188 lines not on this page · raw message

drivers/gpu/drm/i915/gt/selftest_rc6.h +2 -0
index 762fd442d7b2..312894423dc2 100644
@@ -7,7 +7,9 @@
 #ifndef SELFTEST_RC6_H
 #define SELFTEST_RC6_H
 
+int live_rc6_busy(void *arg);
 int live_rc6_ctx_wa(void *arg);
 int live_rc6_manual(void *arg);
+int live_rc6_threshold(void *arg);
 
 #endif /* SELFTEST_RC6_H */
Signature · 6 lines
2.25.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw

Quoting Andi Shyti (2020-02-05 22:49:49)

Quoted 53 lines
drivers/gpu/drm/i915/gt/selftest_rc6.c +53 -0
+int live_rc6_busy(void *arg)
+{
+       struct intel_gt *gt = arg;
+       struct intel_rc6 *rc6 = &gt->rc6;
+       struct intel_engine_cs *engine;
+       struct igt_spinner spin;
+       intel_wakeref_t wakeref;
+       enum intel_engine_id id;
+       int err;
+
+       if (!rc6->supported)
+               return 0;
+
+       err = igt_spinner_init(&spin, gt);
+       if (err)
+               return err;
+
+       wakeref = intel_runtime_pm_get(gt->uncore->rpm);
+       for_each_engine(engine, gt, id) {
+               struct i915_request *rq;
+
+               rq = igt_spinner_create_request(&spin,
+                                               engine->kernel_context,
+                                               MI_NOOP);
+               if (IS_ERR(rq)) {
+                       err = PTR_ERR(rq);
+                       break;
+               }
+
+               i915_request_get(rq);
+               i915_request_add(rq);
+
+               igt_wait_for_spinner(&spin, rq); /* it's enough waiting */
+
+               /* gpu is busy, we shouldn't be in rc6 */
+               if (is_rc6_active(rc6)) {
+                       pr_err("%s: never busy enough for having a nap\n",
+                              engine->name);
+                       err = -EINVAL;
+               }
+
+               igt_spinner_end(&spin);
+               if (i915_request_wait(rq, 0, HZ / 5) < 0)
+                       err = -ETIME;
+               i915_request_put(rq);
+               if (err)
+                       break;
+
+               intel_gt_wait_for_idle(gt, HZ / 5);
+               intel_gt_pm_wait_for_idle(gt);
+
+               /* gpu is idle, we should be in rc6 */
+               if (!is_rc6_active(rc6)) {

drivers/gpu/drm/i915/gt/selftest_rc6.c int live_rc6_ctx_wa(void *arg) · line 382

Quoted 10 lines
drivers/gpu/drm/i915/gt/selftest_rc6.c +10 -0
+                       pr_err("%s is idle but doesn't go in rc6\n",
+                              engine->name);
+                       err = -EINVAL;
+                       break;
+               }
+       }
+       intel_runtime_pm_put(gt->uncore->rpm, wakeref);
+
+       igt_spinner_fini(&spin);
+       return err;

I'm afraid I think we should split the patch one more time, and push ahead with live_rc6_busy() as that should be working regardless of our discovery process around the thresholds.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: add basic selftests for rc6 (rev6)

In reply to Andi Shyti
== Series Details ==

== Series Details ==

Series: drm/i915/selftests: add basic selftests for rc6 (rev6)
URL : https://patchwork.freedesktop.org/series/69825/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7871 -> Patchwork_16446
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes introduced in Patchwork_16446, please notify your bug team 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/Patchwork_16446/index.html

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live_gt_pm:
- fi-cfl-8700k: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-cfl-8700k/igt@i915_selftest@live_gt_pm.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-cfl-8700k/igt@i915_selftest@live_gt_pm.html
- fi-icl-u2: [PASS][3] -> [DMESG-FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-icl-u2/igt@i915_selftest@live_gt_pm.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-icl-u2/igt@i915_selftest@live_gt_pm.html
- fi-bsw-nick: [PASS][5] -> [DMESG-FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-bsw-nick/igt@i915_selftest@live_gt_pm.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-bsw-nick/igt@i915_selftest@live_gt_pm.html
- fi-icl-y: [PASS][7] -> [DMESG-FAIL][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-icl-y/igt@i915_selftest@live_gt_pm.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-icl-y/igt@i915_selftest@live_gt_pm.html
- fi-kbl-x1275: [PASS][9] -> [DMESG-FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-kbl-x1275/igt@i915_selftest@live_gt_pm.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-kbl-x1275/igt@i915_selftest@live_gt_pm.html
- fi-kbl-guc: [PASS][11] -> [DMESG-FAIL][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-kbl-guc/igt@i915_selftest@live_gt_pm.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-kbl-guc/igt@i915_selftest@live_gt_pm.html
- fi-skl-guc: [PASS][13] -> [DMESG-FAIL][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-skl-guc/igt@i915_selftest@live_gt_pm.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-skl-guc/igt@i915_selftest@live_gt_pm.html
- fi-icl-u3: [PASS][15] -> [DMESG-FAIL][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-icl-u3/igt@i915_selftest@live_gt_pm.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-icl-u3/igt@i915_selftest@live_gt_pm.html
- fi-glk-dsi: [PASS][17] -> [DMESG-FAIL][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-glk-dsi/igt@i915_selftest@live_gt_pm.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-glk-dsi/igt@i915_selftest@live_gt_pm.html
- fi-bsw-kefka: [PASS][19] -> [DMESG-FAIL][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-bsw-kefka/igt@i915_selftest@live_gt_pm.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-bsw-kefka/igt@i915_selftest@live_gt_pm.html
- fi-hsw-4770r: [PASS][21] -> [DMESG-FAIL][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-hsw-4770r/igt@i915_selftest@live_gt_pm.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-hsw-4770r/igt@i915_selftest@live_gt_pm.html
- fi-icl-guc: [PASS][23] -> [DMESG-FAIL][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-icl-guc/igt@i915_selftest@live_gt_pm.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-icl-guc/igt@i915_selftest@live_gt_pm.html
- fi-byt-n2820: NOTRUN -> [DMESG-FAIL][25]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-byt-n2820/igt@i915_selftest@live_gt_pm.html
- fi-bsw-n3050: [PASS][26] -> [DMESG-FAIL][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-bsw-n3050/igt@i915_selftest@live_gt_pm.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-bsw-n3050/igt@i915_selftest@live_gt_pm.html
- fi-whl-u: [PASS][28] -> [DMESG-FAIL][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-whl-u/igt@i915_selftest@live_gt_pm.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-whl-u/igt@i915_selftest@live_gt_pm.html
- fi-skl-6770hq: [PASS][30] -> [DMESG-FAIL][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-skl-6770hq/igt@i915_selftest@live_gt_pm.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-skl-6770hq/igt@i915_selftest@live_gt_pm.html
- fi-cfl-guc: [PASS][32] -> [DMESG-FAIL][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-cfl-guc/igt@i915_selftest@live_gt_pm.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-cfl-guc/igt@i915_selftest@live_gt_pm.html
- fi-hsw-4770: [PASS][34] -> [DMESG-FAIL][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-hsw-4770/igt@i915_selftest@live_gt_pm.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-hsw-4770/igt@i915_selftest@live_gt_pm.html
- fi-bxt-dsi: [PASS][36] -> [DMESG-FAIL][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-bxt-dsi/igt@i915_selftest@live_gt_pm.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-bxt-dsi/igt@i915_selftest@live_gt_pm.html
- fi-skl-6600u: [PASS][38] -> [DMESG-FAIL][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-skl-6600u/igt@i915_selftest@live_gt_pm.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-skl-6600u/igt@i915_selftest@live_gt_pm.html
- fi-cml-u2: [PASS][40] -> [DMESG-FAIL][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-cml-u2/igt@i915_selftest@live_gt_pm.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-cml-u2/igt@i915_selftest@live_gt_pm.html
- fi-icl-dsi: [PASS][42] -> [DMESG-FAIL][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-icl-dsi/igt@i915_selftest@live_gt_pm.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-icl-dsi/igt@i915_selftest@live_gt_pm.html
- fi-apl-guc: [PASS][44] -> [DMESG-FAIL][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-apl-guc/igt@i915_selftest@live_gt_pm.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-apl-guc/igt@i915_selftest@live_gt_pm.html
- fi-kbl-8809g: [PASS][46] -> [DMESG-FAIL][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-kbl-8809g/igt@i915_selftest@live_gt_pm.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-kbl-8809g/igt@i915_selftest@live_gt_pm.html
- fi-snb-2520m: [PASS][48] -> [DMESG-FAIL][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-snb-2520m/igt@i915_selftest@live_gt_pm.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-snb-2520m/igt@i915_selftest@live_gt_pm.html

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@i915_selftest@live_gt_pm:
- {fi-ehl-1}: [DMESG-FAIL][50] ([i915#801]) -> [DMESG-FAIL][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-ehl-1/igt@i915_selftest@live_gt_pm.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-ehl-1/igt@i915_selftest@live_gt_pm.html
- {fi-tgl-u}: [PASS][52] -> [DMESG-FAIL][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-tgl-u/igt@i915_selftest@live_gt_pm.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-tgl-u/igt@i915_selftest@live_gt_pm.html

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_getparams_basic@basic-subslice-total:
- fi-tgl-y: [PASS][54] -> [DMESG-WARN][55] ([CI#94] / [i915#402])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-tgl-y/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-tgl-y/igt@[email protected]

* igt@i915_selftest@live_execlists:
- fi-icl-y: [PASS][56] -> [DMESG-FAIL][57] ([fdo#108569])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-icl-y/igt@i915_selftest@live_execlists.html
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-icl-y/igt@i915_selftest@live_execlists.html

* igt@i915_selftest@live_gt_pm:
- fi-tgl-y: [PASS][58] -> [DMESG-FAIL][59] ([CI#94])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-tgl-y/igt@i915_selftest@live_gt_pm.html
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-tgl-y/igt@i915_selftest@live_gt_pm.html

* igt@i915_selftest@live_gtt:
- fi-kbl-x1275: [PASS][60] -> [TIMEOUT][61] ([fdo#112271])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-kbl-x1275/igt@i915_selftest@live_gtt.html
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-kbl-x1275/igt@i915_selftest@live_gtt.html

#### Possible fixes ####

* igt@gem_close_race@basic-threads:
- fi-byt-n2820: [INCOMPLETE][62] ([i915#45]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-byt-n2820/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-byt-n2820/igt@[email protected]

* igt@gem_exec_suspend@basic-s4-devices:
- fi-tgl-y: [FAIL][64] ([CI#94]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-tgl-y/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-tgl-y/igt@[email protected]

* igt@i915_selftest@live_gtt:
- fi-icl-guc: [TIMEOUT][66] ([fdo#112271]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-icl-guc/igt@i915_selftest@live_gtt.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-icl-guc/igt@i915_selftest@live_gtt.html

* igt@kms_addfb_basic@bad-pitch-128:
- fi-tgl-y: [DMESG-WARN][68] ([CI#94] / [i915#402]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7871/fi-tgl-y/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16446/fi-tgl-y/igt@[email protected]

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

[CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#801]: https://gitlab.freedesktop.org/drm/intel/issues/801

Participating hosts (45 -> 38)
------------------------------

Additional (2): fi-bwr-2160 fi-ilk-650
Missing (9): fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-ivb-3770 fi-cfl-8109u fi-snb-2600 fi-bdw-samus fi-kbl-r

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_7871 -> Patchwork_16446

CI-20190529: 20190529
CI_DRM_7871: c9b0237ee7ffb1bbb62f864f0b2d7b290ee1313d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5419: 44913a91e77434b03001bb9ea53216cd03c476e6 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16446: 3418233c6fd72e9da91f5725a562c71493dbb079 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

3418233c6fd7 drm/i915/selftests: add basic selftests for rc6

== Logs ==

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

#4 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: add basic selftests for rc6 (rev7)

In reply to Andi Shyti
== Series Details ==

== Series Details ==

Series: drm/i915/selftests: add basic selftests for rc6 (rev7)
URL : https://patchwork.freedesktop.org/series/69825/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7874 -> Patchwork_16452
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes introduced in Patchwork_16452, please notify your bug team 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/Patchwork_16452/index.html

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live_gt_pm:
- fi-cfl-8700k: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-cfl-8700k/igt@i915_selftest@live_gt_pm.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-cfl-8700k/igt@i915_selftest@live_gt_pm.html
- fi-kbl-r: [PASS][3] -> [DMESG-FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-kbl-r/igt@i915_selftest@live_gt_pm.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-kbl-r/igt@i915_selftest@live_gt_pm.html
- fi-byt-j1900: [PASS][5] -> [DMESG-FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-byt-j1900/igt@i915_selftest@live_gt_pm.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-byt-j1900/igt@i915_selftest@live_gt_pm.html
- fi-kbl-x1275: [PASS][7] -> [DMESG-FAIL][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-kbl-x1275/igt@i915_selftest@live_gt_pm.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-kbl-x1275/igt@i915_selftest@live_gt_pm.html
- fi-kbl-guc: [PASS][9] -> [DMESG-FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-kbl-guc/igt@i915_selftest@live_gt_pm.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-kbl-guc/igt@i915_selftest@live_gt_pm.html
- fi-skl-guc: [PASS][11] -> [DMESG-FAIL][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-skl-guc/igt@i915_selftest@live_gt_pm.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-skl-guc/igt@i915_selftest@live_gt_pm.html
- fi-icl-u3: [PASS][13] -> [DMESG-FAIL][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-icl-u3/igt@i915_selftest@live_gt_pm.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-icl-u3/igt@i915_selftest@live_gt_pm.html
- fi-bdw-5557u: [PASS][15] -> [DMESG-FAIL][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-bdw-5557u/igt@i915_selftest@live_gt_pm.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-bdw-5557u/igt@i915_selftest@live_gt_pm.html
- fi-snb-2600: [PASS][17] -> [DMESG-FAIL][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-snb-2600/igt@i915_selftest@live_gt_pm.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-snb-2600/igt@i915_selftest@live_gt_pm.html
- fi-glk-dsi: [PASS][19] -> [DMESG-FAIL][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-glk-dsi/igt@i915_selftest@live_gt_pm.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-glk-dsi/igt@i915_selftest@live_gt_pm.html
- fi-icl-guc: [PASS][21] -> [DMESG-FAIL][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-icl-guc/igt@i915_selftest@live_gt_pm.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-icl-guc/igt@i915_selftest@live_gt_pm.html
- fi-skl-6700k2: [PASS][23] -> [DMESG-FAIL][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-skl-6700k2/igt@i915_selftest@live_gt_pm.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-skl-6700k2/igt@i915_selftest@live_gt_pm.html
- fi-bsw-n3050: [PASS][25] -> [DMESG-FAIL][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-bsw-n3050/igt@i915_selftest@live_gt_pm.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-bsw-n3050/igt@i915_selftest@live_gt_pm.html
- fi-whl-u: [PASS][27] -> [DMESG-FAIL][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-whl-u/igt@i915_selftest@live_gt_pm.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-whl-u/igt@i915_selftest@live_gt_pm.html
- fi-skl-6770hq: [PASS][29] -> [DMESG-FAIL][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-skl-6770hq/igt@i915_selftest@live_gt_pm.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-skl-6770hq/igt@i915_selftest@live_gt_pm.html
- fi-cfl-guc: [PASS][31] -> [DMESG-FAIL][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-cfl-guc/igt@i915_selftest@live_gt_pm.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-cfl-guc/igt@i915_selftest@live_gt_pm.html
- fi-bxt-dsi: [PASS][33] -> [DMESG-FAIL][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-bxt-dsi/igt@i915_selftest@live_gt_pm.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-bxt-dsi/igt@i915_selftest@live_gt_pm.html
- fi-skl-6600u: [PASS][35] -> [DMESG-FAIL][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-skl-6600u/igt@i915_selftest@live_gt_pm.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-skl-6600u/igt@i915_selftest@live_gt_pm.html
- fi-cml-u2: [PASS][37] -> [DMESG-FAIL][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-cml-u2/igt@i915_selftest@live_gt_pm.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-cml-u2/igt@i915_selftest@live_gt_pm.html
- fi-apl-guc: [PASS][39] -> [DMESG-FAIL][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-apl-guc/igt@i915_selftest@live_gt_pm.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-apl-guc/igt@i915_selftest@live_gt_pm.html
- fi-kbl-8809g: [PASS][41] -> [DMESG-FAIL][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-kbl-8809g/igt@i915_selftest@live_gt_pm.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-kbl-8809g/igt@i915_selftest@live_gt_pm.html
- fi-snb-2520m: [PASS][43] -> [DMESG-FAIL][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-snb-2520m/igt@i915_selftest@live_gt_pm.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-snb-2520m/igt@i915_selftest@live_gt_pm.html

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@i915_selftest@live_gt_pm:
- {fi-kbl-7560u}: [PASS][45] -> [DMESG-FAIL][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-kbl-7560u/igt@i915_selftest@live_gt_pm.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-kbl-7560u/igt@i915_selftest@live_gt_pm.html

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_close_race@basic-threads:
- fi-byt-n2820: [PASS][47] -> [INCOMPLETE][48] ([i915#45])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-byt-n2820/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-byt-n2820/igt@[email protected]

* igt@i915_module_load@reload:
- fi-skl-6770hq: [PASS][49] -> [DMESG-WARN][50] ([i915#92]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-skl-6770hq/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-skl-6770hq/igt@[email protected]

* igt@i915_selftest@live_blt:
- fi-hsw-4770r: [PASS][51] -> [DMESG-FAIL][52] ([i915#725])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-hsw-4770r/igt@i915_selftest@live_blt.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-hsw-4770r/igt@i915_selftest@live_blt.html
- fi-hsw-peppy: [PASS][53] -> [DMESG-FAIL][54] ([i915#553] / [i915#725])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-hsw-peppy/igt@i915_selftest@live_blt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-hsw-peppy/igt@i915_selftest@live_blt.html

* igt@i915_selftest@live_execlists:
- fi-icl-y: [PASS][55] -> [DMESG-FAIL][56] ([fdo#108569])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-icl-y/igt@i915_selftest@live_execlists.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-icl-y/igt@i915_selftest@live_execlists.html

* igt@kms_addfb_basic@bad-pitch-0:
- fi-tgl-y: [PASS][57] -> [DMESG-WARN][58] ([CI#94] / [i915#402])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-tgl-y/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-tgl-y/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
- fi-skl-6770hq: [PASS][59] -> [SKIP][60] ([fdo#109271]) +5 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-skl-6770hq/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-skl-6770hq/igt@[email protected]

* igt@kms_pipe_crc_basic@read-crc-pipe-b:
- fi-skl-6770hq: [PASS][61] -> [DMESG-WARN][62] ([i915#106] / [i915#188])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-skl-6770hq/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-skl-6770hq/igt@[email protected]

#### Possible fixes ####

* igt@kms_addfb_basic@addfb25-bad-modifier:
- fi-tgl-y: [DMESG-WARN][63] ([CI#94] / [i915#402]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-tgl-y/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-tgl-y/igt@[email protected]

* igt@kms_chamelium@hdmi-crc-fast:
- fi-icl-u2: [FAIL][65] ([fdo#109635] / [i915#217]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-icl-u2/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-icl-u2/igt@[email protected]

#### Warnings ####

* igt@gem_exec_parallel@contexts:
- fi-byt-j1900: [TIMEOUT][67] ([fdo#112271] / [i915#1084]) -> [FAIL][68] ([i915#694])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7874/fi-byt-j1900/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16452/fi-byt-j1900/igt@[email protected]

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

[CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109635]: https://bugs.freedesktop.org/show_bug.cgi?id=109635
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#106]: https://gitlab.freedesktop.org/drm/intel/issues/106
[i915#1084]: https://gitlab.freedesktop.org/drm/intel/issues/1084
[i915#188]: https://gitlab.freedesktop.org/drm/intel/issues/188
[i915#217]: https://gitlab.freedesktop.org/drm/intel/issues/217
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#553]: https://gitlab.freedesktop.org/drm/intel/issues/553
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92

Participating hosts (51 -> 41)
------------------------------

Missing (10): fi-ehl-1 fi-byt-squawks fi-bsw-cyan fi-ilk-650 fi-kbl-7500u fi-cfl-8109u fi-bsw-kefka fi-byt-clapper fi-bsw-nick fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_7874 -> Patchwork_16452

CI-20190529: 20190529
CI_DRM_7874: 3f234d1ab91ec2321312150116c1285bcb0a260b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5420: 497e13d2b4c1053bcd01bd15739fef55e7694a03 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16452: 274f9c305cc9670894fbe7a3c7eeffe6a933d8f1 @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

274f9c305cc9 drm/i915/selftests: add basic selftests for rc6

== Logs ==

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