Skip to contentSkip to conversation

tests/i915/i915_module_load: Use GEM_BUSY instead of SET_CACHE for sanity check

PATCH New Vikas Srivastava 2 participants 2 messages Oct 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 tests/i915/i915_module_load: Use GEM_BUSY instead of SET_CACHE for sanity check

Use GEM_BUSY ioctl for sanity check as SET_CACHING ioctl is not supported on latest platforms like MTL.

---
 tests/i915/i915_module_load.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/i915/i915_module_load.c +2 -2
index 1009a22b..eebb3167 100644
@@ -226,13 +226,13 @@ inject_fault(const char *module_name, const char *opt, int fault)
 
 static void gem_sanitycheck(void)
 {
-	struct drm_i915_gem_caching args = {};
+	struct drm_i915_gem_busy args = {};
 	int i915 = __drm_open_driver(DRIVER_INTEL);
 	int expected = gem_has_lmem(i915) ? -ENODEV : -ENOENT;
 	int err;
 
 	err = 0;
-	if (ioctl(i915, DRM_IOCTL_I915_GEM_SET_CACHING, &args))
+	if (ioctl(i915,DRM_IOCTL_I915_GEM_BUSY, &args))
 		err = -errno;
 	if (err == expected)
 		store_all(i915);
Signature · 1 line
2.25.1
#1 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for tests/i915/i915_module_load: Use GEM_BUSY instead of SET_CACHE for sanity check

== Series Details ==

== Series Details ==

Series: tests/i915/i915_module_load: Use GEM_BUSY instead of SET_CACHE for sanity check
URL : https://patchwork.freedesktop.org/series/109934/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12264 -> IGTPW_7992
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes introduced in IGTPW_7992, 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/IGTPW_7992/index.html

Participating hosts (44 -> 42)
------------------------------

Additional (1): bat-jsl-3
Missing (3): fi-hsw-4770 fi-icl-u2 fi-bdw-samus

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_module_load@reload:
- bat-dg1-5: [PASS][1] -> [FAIL][2] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-dg1-5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-dg1-5/igt@[email protected]

* igt@i915_selftest@live@gem_contexts:
- bat-adlp-4: [PASS][3] -> [DMESG-FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-adlp-4/igt@i915_selftest@live@gem_contexts.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-adlp-4/igt@i915_selftest@live@gem_contexts.html

#### Suppressed ####

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

* igt@i915_module_load@load:
- {bat-atsm-1}: [PASS][5] -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-atsm-1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-atsm-1/igt@[email protected]

* igt@i915_module_load@reload:
- {bat-dg2-9}: [PASS][7] -> [FAIL][8] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-dg2-9/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-dg2-9/igt@[email protected]
- {bat-dg2-11}: [PASS][9] -> [FAIL][10] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-dg2-11/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-dg2-11/igt@[email protected]
- {bat-dg2-8}: [PASS][11] -> [FAIL][12] +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-dg2-8/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-dg2-8/igt@[email protected]

* igt@i915_pm_rpm@basic-rte:
- {bat-rplp-1}: [PASS][13] -> [DMESG-WARN][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-rplp-1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-rplp-1/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_render_tiled_blits@basic:
- fi-apl-guc: [PASS][15] -> [INCOMPLETE][16] ([i915#7056])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/fi-apl-guc/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/fi-apl-guc/igt@[email protected]

* igt@i915_selftest@live@gem_contexts:
- fi-glk-j4005: [PASS][17] -> [DMESG-FAIL][18] ([i915#7270])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/fi-glk-j4005/igt@i915_selftest@live@gem_contexts.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/fi-glk-j4005/igt@i915_selftest@live@gem_contexts.html

* igt@i915_suspend@basic-s3-without-i915:
- fi-bdw-5557u: [PASS][19] -> [INCOMPLETE][20] ([i915#146] / [i915#6712])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/fi-bdw-5557u/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/fi-bdw-5557u/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][21] ([i915#7229]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/fi-pnv-d510/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/fi-pnv-d510/igt@[email protected]

* igt@gem_exec_suspend@basic-s3@smem:
- {bat-adlm-1}: [DMESG-WARN][23] ([i915#2867]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-adlm-1/igt@gem_exec_suspend@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-adlm-1/igt@gem_exec_suspend@[email protected]

* igt@i915_selftest@live@gem_contexts:
- {bat-dg2-8}: [DMESG-FAIL][25] ([i915#7270]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-dg2-8/igt@i915_selftest@live@gem_contexts.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-dg2-8/igt@i915_selftest@live@gem_contexts.html

* igt@i915_selftest@live@requests:
- bat-adlp-4: [DMESG-FAIL][27] ([i915#7269]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-adlp-4/igt@i915_selftest@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-adlp-4/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@reset:
- {bat-rpls-1}: [DMESG-FAIL][29] ([i915#4983] / [i915#5828]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-rpls-1/igt@i915_selftest@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@slpc:
- {bat-adln-1}: [DMESG-FAIL][31] ([i915#6997]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-adln-1/igt@i915_selftest@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-adln-1/igt@i915_selftest@[email protected]

* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-3:
- {bat-dg2-11}: [FAIL][33] ([i915#6818]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12264/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/bat-dg2-11/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#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3003]: https://gitlab.freedesktop.org/drm/intel/issues/3003
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5537]: https://gitlab.freedesktop.org/drm/intel/issues/5537
[i915#5828]: https://gitlab.freedesktop.org/drm/intel/issues/5828
[i915#6257]: https://gitlab.freedesktop.org/drm/intel/issues/6257
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6712]: https://gitlab.freedesktop.org/drm/intel/issues/6712
[i915#6818]: https://gitlab.freedesktop.org/drm/intel/issues/6818
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7056]: https://gitlab.freedesktop.org/drm/intel/issues/7056
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7269]: https://gitlab.freedesktop.org/drm/intel/issues/7269
[i915#7270]: https://gitlab.freedesktop.org/drm/intel/issues/7270

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

* CI: CI-20190529 -> None
* IGT: IGT_7020 -> IGTPW_7992

CI-20190529: 20190529
CI_DRM_12264: 1d6878b45c6d2c1999761877115c9b4f2fa44055 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_7992: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7992/index.html
IGT_7020: 05b7eaf9ade2216d17c069c89439015757ee25f7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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