drm/i915/guc: Check for wedged before doing stuff
Subsystems (2)
PATCH 1/1 drm/i915/guc: Check for wedged before doing stuff
From: John Harrison <[email protected]>
A fault injection probe test hit a BUG_ON in a GuC error path. It showed that the GuC code could potentially attempt to do many things when the device is actually wedged. So, add a check in to prevent that.
--- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +2 -1
@@ -1350,7 +1350,8 @@ submission_disabled(struct intel_guc *guc)struct i915_sched_engine *const sched_engine = guc->sched_engine;return unlikely (!sched_engine || - !__tasklet_is_enabled (&sched_engine->tasklet)); + !__tasklet_is_enabled (&sched_engine->tasklet) || +test_bit (I915_WEDGED , &guc_to_gt (guc)->reset.flags)); }static void disable_submission (struct intel_guc *guc)
Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/guc: Check for wedged before doing stuff
== Series Details ==
== Series Details ==
Series: drm/i915/guc: Check for wedged before doing stuff
URL : https://patchwork.freedesktop.org/series/98099/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11005 -> Patchwork_21856
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/index.html
Participating hosts (43 -> 33)
------------------------------
Missing (10): bat-dg1-6 bat-dg1-5 fi-bdw-gvtdvm fi-icl-u2 fi-bsw-cyan bat-adlp-6 bat-adlp-4 fi-bdw-samus bat-jsl-2 bat-jsl-1
Known issues
------------
Here are the changes found in Patchwork_21856 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@sync-fork-gfx0:
- fi-skl-6600u: NOTRUN -> [SKIP][1] ([fdo#109271]) +21 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/fi-skl-6600u/igt@amdgpu/[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-bdw-5557u: [PASS][2] -> [INCOMPLETE][3] ([i915#146])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/fi-bdw-5557u/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/fi-bdw-5557u/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-skl-6600u: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/fi-skl-6600u/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-skl-6600u: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/fi-skl-6600u/igt@[email protected]
* igt@kms_chamelium@vga-edid-read:
- fi-skl-6600u: NOTRUN -> [SKIP][6] ([fdo#109271] / [fdo#111827]) +8 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/fi-skl-6600u/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-skl-6600u: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#533])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/fi-skl-6600u/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-skl-6600u: [INCOMPLETE][8] ([i915#4547]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/fi-skl-6600u/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/fi-skl-6600u/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Build changes
-------------
* Linux: CI_DRM_11005 -> Patchwork_21856
CI-20190529: 20190529
CI_DRM_11005: 2e6d871494af25300763592917a5a133a14d0f12 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6309: 61f0995ecaf1ce99d7046a325d8d926f27d8d2dd @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21856: e4ef4fc9d52fcae74d5d46c583ed8723e9caeda8 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
e4ef4fc9d52f drm/i915/guc: Check for wedged before doing stuff
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/index.html
Quoted 7 lines · On Wed, Dec 15, 2021 at 02:45:56PM -0800, [email protected] wrote:
From: John Harrison <[email protected]>
A fault injection probe test hit a
BUG_ONin a GuC error path. It showed that the GuC code could potentially attempt to do many things when the device is actually wedged. So, add a check in to prevent that.Signed-off-by John Harrison <[email protected]>
Quoted 21 lines
--- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +2
-1@@ -1350,7 +1350,8 @@ submission_disabled(struct intel_guc *guc)struct i915_sched_engine *const sched_engine = guc->sched_engine;return unlikely (!sched_engine || - !__tasklet_is_enabled (&sched_engine->tasklet)); + !__tasklet_is_enabled (&sched_engine->tasklet) || +test_bit (I915_WEDGED , &guc_to_gt (guc)->reset.flags)); }static void disable_submission (struct intel_guc *guc)Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/guc: Check for wedged before doing stuff
In reply to [email protected]== Series Details ==
== Series Details ==
Series: drm/i915/guc: Check for wedged before doing stuff
URL : https://patchwork.freedesktop.org/series/98099/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_11005_full -> Patchwork_21856_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_21856_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_21856_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21856_full:
### IGT changes ###
#### Possible regressions ####
* igt@perf@gen8-unprivileged-single-ctx-counters:
- shard-skl: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl10/igt@[email protected]
#### Warnings ####
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-tglb: [SKIP][3] ([fdo#109506] / [i915#2411]) -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-tglb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb8/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21856_full that come from known issues:
### CI changes ###
#### Possible fixes ####
* boot:
- shard-apl: ([PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [FAIL][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25], [PASS][26], [PASS][27], [PASS][28], [PASS][29]) ([i915#4386]) -> ([PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [PASS][51], [PASS][52], [PASS][53], [PASS][54])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl4/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl4/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl3/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl3/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl3/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl2/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl2/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl2/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl2/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl1/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl1/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl1/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl1/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl6/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl6/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl4/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl4/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl4/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl8/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl8/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl8/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl7/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl7/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl7/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl6/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl8/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl1/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl1/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl1/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl2/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl2/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl2/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl3/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl3/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl3/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl3/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl4/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl4/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl4/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl4/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl6/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl6/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl6/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl7/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl7/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl7/boot.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl8/boot.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl8/boot.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl8/boot.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl8/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_capture@pi@bcs0:
- shard-skl: [PASS][55] -> [INCOMPLETE][56] ([i915#4547])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl2/igt@gem_exec_capture@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl2/igt@gem_exec_capture@[email protected]
- shard-tglb: [PASS][57] -> [INCOMPLETE][58] ([i915#3371] / [i915#3731])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-tglb5/igt@gem_exec_capture@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@gem_exec_capture@[email protected]
* igt@gem_exec_capture@pi@vcs1:
- shard-iclb: NOTRUN -> [INCOMPLETE][59] ([i915#3371])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb4/igt@gem_exec_capture@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: NOTRUN -> [FAIL][60] ([i915#2842]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl3/igt@gem_exec_fair@[email protected]
- shard-glk: [PASS][61] -> [FAIL][62] ([i915#2842])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-glk4/igt@gem_exec_fair@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk3/igt@gem_exec_fair@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][63] ([fdo#109271] / [i915#2190])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl3/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][64] ([fdo#109271] / [i915#2190])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl7/igt@[email protected]
* igt@gem_lmem_swapping@heavy-random:
- shard-skl: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#4613]) +3 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl7/igt@[email protected]
* igt@gem_lmem_swapping@parallel-multi:
- shard-glk: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#4613])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#4613])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@gem_lmem_swapping@random:
- shard-apl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#4613])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl3/igt@[email protected]
* igt@gem_pxp@verify-pxp-execution-after-suspend-resume:
- shard-tglb: NOTRUN -> [SKIP][69] ([i915#4270])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@gem_pxp@verify-pxp-stale-ctx-execution:
- shard-iclb: NOTRUN -> [SKIP][70] ([i915#4270])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb6/igt@[email protected]
* igt@gem_render_copy@y-tiled-to-vebox-yf-tiled:
- shard-iclb: NOTRUN -> [SKIP][71] ([i915#768])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb6/igt@[email protected]
* igt@gem_ringfill@basic-all:
- shard-skl: [PASS][72] -> [DMESG-WARN][73] ([i915#1982])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl3/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl1/igt@[email protected]
* igt@gem_spin_batch@user-each:
- shard-skl: [PASS][74] -> [FAIL][75] ([i915#2898])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl9/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl2/igt@[email protected]
* igt@gem_userptr_blits@unsync-overlap:
- shard-tglb: NOTRUN -> [SKIP][76] ([i915#3297])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][77] -> [DMESG-WARN][78] ([i915#180]) +4 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl4/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl4/igt@[email protected]
* igt@gen7_exec_parse@oacontrol-tracking:
- shard-tglb: NOTRUN -> [SKIP][79] ([fdo#109289])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-skl: NOTRUN -> [FAIL][80] ([i915#454])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl7/igt@[email protected]
* igt@kms_async_flips@crc:
- shard-skl: NOTRUN -> [FAIL][81] ([i915#4272])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl8/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- shard-glk: [PASS][82] -> [DMESG-WARN][83] ([i915#118])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-glk7/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk9/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0:
- shard-glk: NOTRUN -> [FAIL][84] ([i915#1888] / [i915#3653])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-skl: NOTRUN -> [FAIL][85] ([i915#3743]) +2 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl7/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-glk: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#3777])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][87] ([fdo#109271] / [i915#3777]) +2 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl9/igt@[email protected]
* igt@kms_big_fb@yf-tiled-32bpp-rotate-180:
- shard-tglb: NOTRUN -> [SKIP][88] ([fdo#111615])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-apl: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#3777])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl1/igt@[email protected]
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#3886]) +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl3/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs:
- shard-glk: NOTRUN -> [SKIP][91] ([fdo#109271]) +38 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs.html
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-iclb: NOTRUN -> [SKIP][92] ([fdo#109278] / [i915#3886]) +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb5/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][93] ([i915#3689]) +1 similar issue
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_ccs.html
* igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-skl: NOTRUN -> [SKIP][94] ([fdo#109271] / [i915#3886]) +13 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl5/igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][95] ([fdo#109271] / [i915#3886])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
- shard-tglb: NOTRUN -> [SKIP][96] ([i915#3689] / [i915#3886])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][97] ([fdo#109271] / [i915#3886]) +3 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl7/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][98] ([fdo#111615] / [i915#3689])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-yf_tiled_ccs.html
* igt@kms_cdclk@mode-transition:
- shard-apl: NOTRUN -> [SKIP][99] ([fdo#109271]) +135 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl1/igt@[email protected]
* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-glk: NOTRUN -> [SKIP][100] ([fdo#109271] / [fdo#111827]) +3 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@[email protected]
* igt@kms_chamelium@dp-hpd-with-enabled-mode:
- shard-snb: NOTRUN -> [SKIP][101] ([fdo#109271] / [fdo#111827]) +3 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-snb2/igt@[email protected]
* igt@kms_chamelium@hdmi-edid-change-during-suspend:
- shard-apl: NOTRUN -> [SKIP][102] ([fdo#109271] / [fdo#111827]) +7 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl7/igt@[email protected]
* igt@kms_chamelium@vga-hpd-after-suspend:
- shard-skl: NOTRUN -> [SKIP][103] ([fdo#109271] / [fdo#111827]) +20 similar issues
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl7/igt@[email protected]
* igt@kms_chamelium@vga-hpd-for-each-pipe:
- shard-kbl: NOTRUN -> [SKIP][104] ([fdo#109271] / [fdo#111827]) +4 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl3/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-blue-to-red:
- shard-tglb: NOTRUN -> [SKIP][105] ([fdo#109284] / [fdo#111827]) +3 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-apl: NOTRUN -> [TIMEOUT][106] ([i915#1319])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x512-onscreen:
- shard-tglb: NOTRUN -> [SKIP][107] ([fdo#109279] / [i915#3359])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: [PASS][108] -> [DMESG-WARN][109] ([i915#180]) +5 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-kbl1/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen:
- shard-skl: NOTRUN -> [SKIP][110] ([fdo#109271]) +239 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl9/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][111] ([i915#3319]) +2 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-256x256-onscreen:
- shard-kbl: NOTRUN -> [SKIP][112] ([fdo#109271]) +64 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][113] ([fdo#109278])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb6/igt@[email protected]
* igt@kms_cursor_legacy@2x-cursor-vs-flip-atomic:
- shard-snb: NOTRUN -> [SKIP][114] ([fdo#109271]) +54 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-snb2/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-tglb: NOTRUN -> [SKIP][115] ([fdo#111825]) +11 similar issues
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-skl: [PASS][116] -> [FAIL][117] ([i915#2346])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl9/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-toggle:
- shard-iclb: [PASS][118] -> [FAIL][119] ([i915#2346])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-iclb5/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb7/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-torture-bo:
- shard-kbl: NOTRUN -> [SKIP][120] ([fdo#109271] / [i915#533])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl3/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-tglb: NOTRUN -> [SKIP][121] ([i915#4103])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][122] -> [INCOMPLETE][123] ([i915#180] / [i915#1982])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-apl6/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl2/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-skl: [PASS][124] -> [FAIL][125] ([i915#79])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl4/igt@kms_flip@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl9/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-kbl: [PASS][126] -> [INCOMPLETE][127] ([i915#636])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-kbl4/igt@kms_flip@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl2/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@c-edp1:
- shard-skl: [PASS][128] -> [FAIL][129] ([i915#2122]) +2 similar issues
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl1/igt@kms_flip@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl7/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-kbl: NOTRUN -> [SKIP][130] ([fdo#109271] / [i915#2672])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl7/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][131] ([fdo#109271] / [i915#2672])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl3/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- shard-tglb: NOTRUN -> [SKIP][132] ([fdo#109285])
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-shrfb-fliptrack-mmap-gtt:
- shard-iclb: NOTRUN -> [SKIP][133] ([fdo#109280])
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb5/igt@[email protected]
* igt@kms_hdr@static-toggle-dpms:
- shard-tglb: NOTRUN -> [SKIP][134] ([i915#1187])
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- shard-skl: NOTRUN -> [SKIP][135] ([fdo#109271] / [i915#533]) +1 similar issue
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl5/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][136] ([fdo#108145] / [i915#265]) +1 similar issue
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][137] ([i915#265])
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][138] ([fdo#108145] / [i915#265])
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][139] -> [FAIL][140] ([fdo#108145] / [i915#265]) +1 similar issue
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-skl9/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: NOTRUN -> [FAIL][141] ([fdo#108145] / [i915#265]) +2 similar issues
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl7/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-tglb: NOTRUN -> [SKIP][142] ([i915#2920])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][143] ([fdo#109271] / [i915#658])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-skl: NOTRUN -> [SKIP][144] ([fdo#109271] / [i915#658]) +2 similar issues
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl8/igt@[email protected]
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-apl: NOTRUN -> [SKIP][145] ([fdo#109271] / [i915#658]) +1 similar issue
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-apl1/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_psr@psr2_dpms:
- shard-iclb: [PASS][146] -> [SKIP][147] ([fdo#109441]) +1 similar issue
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-iclb2/igt@kms_psr@psr2_dpms.html
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb4/igt@kms_psr@psr2_dpms.html
* igt@kms_psr@psr2_sprite_plane_onoff:
- shard-tglb: NOTRUN -> [FAIL][148] ([i915#132] / [i915#3467])
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@kms_psr@psr2_sprite_plane_onoff.html
* igt@kms_tv_load_detect@load-detect:
- shard-tglb: NOTRUN -> [SKIP][149] ([fdo#109309])
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [PASS][150] -> [DMESG-WARN][151] ([i915#180] / [i915#295])
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11005/shard-kbl6/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-kbl1/igt@[email protected]
* igt@kms_writeback@writeback-pixel-formats:
- shard-glk: NOTRUN -> [SKIP][152] ([fdo#109271] / [i915#2437])
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-glk8/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][153] ([fdo#109271] / [i915#2437])
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-skl9/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][154] ([i915#2437])
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@nouveau_crc@pipe-a-source-outp-inactive:
- shard-iclb: NOTRUN -> [SKIP][155] ([i915#2530])
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-iclb6/igt@[email protected]
* igt@nouveau_crc@pipe-d-source-outp-complete:
- shard-tglb: NOTRUN -> [SKIP][156] ([i915#2530])
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@[email protected]
* igt@prime_nv_test@i915_import_pread_pwrite:
- shard-tglb: NOTRUN -> [SKIP][157] ([fdo#109291]) +1 similar issue
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/shard-tglb3/igt@prime_nv_test@i915_import_pread_pwrite.html
* igt@
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21856/index.html
Quoted 16 lines · On 15/12/2021 22:45, [email protected] wrote:
From: John Harrison <[email protected]>
A fault injection probe test hit a
BUG_ONin a GuC error path. It showed that the GuC code could potentially attempt to do many things when the device is actually wedged. So, add a check in to prevent that.Signed-off-by John Harrison <[email protected]>--- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c submission_disabled(struct intel_guc *guc) · line 1354
Quoted 6 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +2
-1@@ -1350,7 +1350,8 @@ submission_disabled(struct intel_guc *guc)struct i915_sched_engine *const sched_engine = guc->sched_engine;return unlikely (!sched_engine || - !__tasklet_is_enabled (&sched_engine->tasklet)); + !__tasklet_is_enabled (&sched_engine->tasklet) || +test_bit (I915_WEDGED , &guc_to_gt (guc)->reset.flags));
Or intel_gt_is_wedged ?
Regards,
Tvrtko
Quoted 4 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0}static void disable_submission (struct intel_guc *guc)
Quoted 12 lines · Tvrtko Ursulin
Quoted 11 lines · On 15/12/2021 22:45, [email protected] wrote:
From: John Harrison <[email protected]>
A fault injection probe test hit a
BUG_ONin a GuC error path. It showed that the GuC code could potentially attempt to do many things when the device is actually wedged. So, add a check in to prevent that.Signed-off-by John Harrison <[email protected]>---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c| 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)
Quoted 12 lines
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0@@ -1350,7 +1350,8 @@ submission_disabled(struct intel_guc *guc) struct i915_sched_engine * const sched_engine = guc->sched_engine;return unlikely(!sched_engine ||
- !__tasklet_is_enabled(&sched_engine->tasklet));
+ !__tasklet_is_enabled(&sched_engine->tasklet) ||
+test_bit(I915_WEDGED, &guc_to_gt(guc)->reset.flags));Or
intel_gt_is_wedged?
Hmm. I just copied the test from somewhere else. Is there any particular reason why other bits of code would be doing the explicit test_bit rather than calling the helper? I see the helper has a BUG_ON. Can that fire if called at the wrong time in the reset path?
John.
Quoted 8 lines
Regards,
Tvrtko
Quoted 3 lines
}
static voiddisable_submission(struct intel_guc *guc)
Quoted 25 lines · John Harrison
Quoted 12 lines · Tvrtko Ursulin
Quoted 11 lines · On 15/12/2021 22:45, [email protected] wrote:
From: John Harrison <[email protected]>
A fault injection probe test hit a
BUG_ONin a GuC error path. It showed that the GuC code could potentially attempt to do many things when the device is actually wedged. So, add a check in to prevent that.Signed-off-by John Harrison <[email protected]>---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c| 3 ++-1 file changed, 2 insertions(+), 1 deletion(-)Quoted 12 lines
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0@@ -1350,7 +1350,8 @@ submission_disabled(struct intel_guc *guc) struct i915_sched_engine * const sched_engine = guc->sched_engine;return unlikely(!sched_engine ||
- !__tasklet_is_enabled(&sched_engine->tasklet));
+ !__tasklet_is_enabled(&sched_engine->tasklet) ||
+test_bit(I915_WEDGED, &guc_to_gt(guc)->reset.flags));Or
intel_gt_is_wedged?
Quoted 1 line
Hmm. I just copied the test from somewhere else. Is there any particular reason why other bits of code would be doing the explicit
test_bit
Lets see:
$ grep intel_gt_is_wedged . -r | wc -l 55
$ grep test_bit.*I915_WEDGED, . -r
./gt/intel_gt.h: !test_bit(I915_WEDGED, >->reset.flags));
./gt/intel_gt.h: return unlikely(test_bit(I915_WEDGED, >->reset.flags));
./gt/intel_reset.c: if (test_bit(I915_WEDGED, >->reset.flags))
./gt/intel_reset.c: if (test_bit(I915_WEDGED, >->reset.flags))
./gt/intel_reset.c: if (!test_bit(I915_WEDGED, >->reset.flags))
./gt/intel_reset.c: if (!test_bit(I915_WEDGED, >->reset.flags))
./gt/uc/intel_guc_submission.c: test_bit(I915_WEDGED, &guc_to_gt(guc)->reset.flags))) {So outside the components which own the flag only GuC goes direct therefore you might know better if there is a special reason for that.
The code there looks like this:
/* Reset called during driver load or during wedge? */ if (unlikely(!guc_submission_initialized(guc) || test_bit(I915_WEDGED, &guc_to_gt(guc)->reset.flags))) return;
Perhaps that check and then one you are adding could even be partly the same?
Quoted 1 line
rather than calling the helper? I see the helper has a
BUG_ON. Can that fire if called at the wrong time in the reset path?
The grep above suggests it should be safe. And looking at the assert it seems to check if someone set the fatal wedge bit without setting the "normal" wedge eg. setting it directly bypassing the helper. So should be fine.
Regards,
Tvrtko