Skip to contentSkip to conversation

i915/gem_ctx_exec: Open master device when setting error state

PATCH In review Nirmoy Das 3 participants 3 messages Jul 28, 2022

lore
Share & tools
lore

Nirmoy Das

author
#0 lore raw

PATCH 1/1 i915/gem_ctx_exec: Open master device when setting error state

Error capture file is in /sys/class/drm/cardN/error so open the master device instead of render dev when test needs to change error state sysfs file.

---
 tests/i915/gem_ctx_exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/i915/gem_ctx_exec.c +1 -1
index 3d94f01db..a85ea971c 100644
@@ -456,7 +456,7 @@ igt_main
 	int fd;
 
 	igt_fixture {
-		fd = drm_open_driver_render(DRIVER_INTEL);
+		fd = drm_open_driver_master(DRIVER_INTEL);
 		igt_require_gem(fd);
 
 		gem_require_contexts(fd);
Signature · 1 line
2.35.1
#1 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for i915/gem_ctx_exec: Open master device when setting error state

== Series Details ==

== Series Details ==

Series: i915/gem_ctx_exec: Open master device when setting error state
URL : https://patchwork.freedesktop.org/series/106808/
State : failure

== Summary ==

CI Bug Log - changes from IGT_6603 -> IGTPW_7578
====================================================

Summary
-------

**FAILURE**

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

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

Participating hosts (42 -> 41)
------------------------------

Additional (2): fi-kbl-soraka bat-rplp-1
Missing (3): fi-cml-u2 fi-cfl-8109u fi-bdw-samus

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

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

### IGT changes ###

#### Possible regressions ####

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_gttfill@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][2] ([fdo#109271]) +8 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-kbl-soraka/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-kbl-soraka/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-kbl-soraka/igt@[email protected]

* igt@i915_selftest@live@gem:
- fi-pnv-d510: NOTRUN -> [DMESG-FAIL][5] ([i915#4528])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-pnv-d510/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][6] ([i915#1886])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html

* igt@kms_chamelium@common-hpd-after-suspend:
- fi-hsw-4770: NOTRUN -> [SKIP][7] ([fdo#109271] / [fdo#111827])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-hsw-4770/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-soraka: NOTRUN -> [SKIP][8] ([fdo#109271] / [fdo#111827]) +7 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-kbl-soraka/igt@[email protected]

#### Possible fixes ####

* igt@gem_ringfill@basic-all:
- {bat-dg2-9}: [FAIL][9] ([i915#5886]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6603/bat-dg2-9/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/bat-dg2-9/igt@[email protected]

* igt@i915_selftest@live@coherency:
- {bat-dg2-9}: [DMESG-WARN][11] ([i915#5763]) -> [PASS][12] +6 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6603/bat-dg2-9/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/bat-dg2-9/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@gt_pm:
- {bat-rpls-1}: [INCOMPLETE][13] -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6603/bat-rpls-1/igt@i915_selftest@live@gt_pm.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/bat-rpls-1/igt@i915_selftest@live@gt_pm.html

* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [INCOMPLETE][15] ([i915#4785]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6603/fi-hsw-4770/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-hsw-4770/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@requests:
- fi-pnv-d510: [DMESG-FAIL][17] ([i915#4528]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6603/fi-pnv-d510/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-pnv-d510/igt@i915_selftest@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size:
- fi-bsw-kefka: [FAIL][19] ([i915#6298]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6603/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html

{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
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4093]: https://gitlab.freedesktop.org/drm/intel/issues/4093
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#5763]: https://gitlab.freedesktop.org/drm/intel/issues/5763
[i915#5886]: https://gitlab.freedesktop.org/drm/intel/issues/5886
[i915#5903]: https://gitlab.freedesktop.org/drm/intel/issues/5903
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#6380]: https://gitlab.freedesktop.org/drm/intel/issues/6380

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

* CI: CI-20190529 -> None
* IGT: IGT_6603 -> IGTPW_7578

CI-20190529: 20190529
CI_DRM_11946: 0e9c43d76a145712da46e935d429ce2a3eea80e8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_7578: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7578/index.html
IGT_6603: d851d950cf805f3021d67666db67e24fae1b99ee @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

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

Reviewed-by on v1 1/1
#2 lore raw
In reply to Nirmoy Das
Quoted 4 lines · Nirmoy Das

Error capture file is in /sys/class/drm/cardN/error so open the master device instead of render dev when test needs to change error state sysfs file.

Quoted 23 lines
---
 tests/i915/gem_ctx_exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/i915/gem_ctx_exec.c +1 -2
index 3d94f01db..a85ea971c 100644
@@ -456,7 +456,7 @@ igt_main
 	int fd;
 
 	igt_fixture {
-		fd = drm_open_driver_render(DRIVER_INTEL);
+		fd = drm_open_driver_master(DRIVER_INTEL);
 		igt_require_gem(fd);
 
 		gem_require_contexts(fd);
--

2.35.1