drm/i915/gt: Restrict forced preemption to the active context
Subsystems (3)
PATCH 1/1 drm/i915/gt: Restrict forced preemption to the active context
From: Chris Wilson <[email protected]>
When we submit a new pair of contexts to ELSP for execution, we start a timer by which point we expect the HW to have switched execution to the pending contexts. If the promotion to the new pair of contexts has not occurred, we declare the executing context to have hung and force the preemption to take place by resetting the engine and resubmitting the new contexts.
This can lead to an unfair situation where almost all of the preemption timeout is consumed by the first context which just switches into the second context immediately prior to the timer firing and triggering the preemption reset (assuming that the timer interrupts before we process the CS events for the context switch). The second context hasn't yet had a chance to yield to the incoming ELSP (and send the ACk for the promotion) and so ends up being blamed for the reset.
If we see that a context switch has occurred since setting the preemption timeout, but have not yet received the ACK for the ELSP promotion, rearm the preemption timer and check again. This is especially significant if the first context was not schedulable and so we used the shortest timer possible, greatly increasing the chance of accidentally blaming the second innocent context.
---
Hi,
This patch is upstreamed from internal branch. So I have removed R-B by Andi. Andi let me know if your R-B still apply.
Regards
Andrzej
--- drivers/gpu/drm/i915/gt/intel_engine_types.h | 15 +++++++++++++ .../drm/i915/gt/intel_execlists_submission.c | 21 ++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/intel_engine_types.h +15 -0
@@ -165,6 +165,21 @@ struct intel_engine_execlists {*/ struct timer_list preempt; +/** +* @preempt_target: active request at the time of the preemption request +* +* We force a preemption to occur if the pending contexts have not +* been promoted to active upon receipt of the CS ack event within +* the timeout. This timeout maybe chosen based on the target, +* using a very short timeout if the context is no longer schedulable. +* That short timeout may not be applicable to other contexts, so +* if a context switch should happen within before the preemption +* timeout, we may shoot early at an innocent context. To prevent this, +* we record which context was active at the time of the preemption +* request and only reset that context upon the timeout. +*/ +const struct i915_request *preempt_target; +/** * @ccid: identifier for contexts submitted to this engine */
drivers/gpu/drm/i915/gt/intel_execlists_submission.c +20 -1
@@ -1241,6 +1241,9 @@ static unsigned long active_preempt_timeout(struct intel_engine_cs *engine,if (!rq)return 0 ; +/* Only allow ourselves to force reset the currently active context */ + engine->execlists.preempt_target = rq; +/* Force a fast reset for terminated contexts (ignoring sysfs!) */ if (unlikely (intel_context_is_banned (rq->context) ||bad_request (rq)))return INTEL_CONTEXT_BANNED_PREEMPT_TIMEOUT_MS ;
@@ -2427,8 +2430,24 @@ static void execlists_submission_tasklet(struct tasklet_struct *t)GEM_BUG_ON (inactive - post >ARRAY_SIZE (post));if (unlikely (preempt_timeout (engine))) { +const struct i915_request *rq = *engine->execlists.active; + +/* +* If after the preempt-timeout expired, we are still on the +* same active request/context as before we initiated the +* preemption, reset the engine. +* +* However, if we have processed a CS event to switch contexts, +* but not yet processed the CS event for the pending +* preemption, reset the timer allowing the new context to +* gracefully exit. +*/ cancel_timer (&engine->execlists.preempt); - engine->execlists.error_interrupt |=ERROR_PREEMPT ; +if (rq == engine->execlists.preempt_target) + engine->execlists.error_interrupt |=ERROR_PREEMPT ; +else +set_timer_ms (&engine->execlists.preempt, +active_preempt_timeout (engine, rq)); }if (unlikely (READ_ONCE (engine->execlists.error_interrupt))) {
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Restrict forced preemption to the active context
== Series Details ==
== Series Details ==
Series: drm/i915/gt: Restrict forced preemption to the active context
URL : https://patchwork.freedesktop.org/series/108830/
State : warning
== Summary ==
Error: dim checkpatch failed1f75a439c5ab drm/i915/gt: Restrict forced preemption to the active context
-:103: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Chris Wilson <[email protected]>' != 'Signed-off-by: Chris Wilson <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 55 lines checked
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gt: Restrict forced preemption to the active context
In reply to Andrzej Hajda== Series Details ==
== Series Details ==
Series: drm/i915/gt: Restrict forced preemption to the active context
URL : https://patchwork.freedesktop.org/series/108830/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gt: Restrict forced preemption to the active context
In reply to Andrzej Hajda== Series Details ==
== Series Details ==
Series: drm/i915/gt: Restrict forced preemption to the active context
URL : https://patchwork.freedesktop.org/series/108830/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12164 -> Patchwork_108830v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/index.html
Participating hosts (34 -> 44)
------------------------------
Additional (11): fi-rkl-11600 bat-dg1-5 bat-dg2-8 bat-adlm-1 fi-icl-u2 bat-dg2-9 bat-adlp-6 bat-adln-1 bat-jsl-3 bat-rpls-1 bat-dg2-11
Missing (1): fi-bdw-samus
Known issues
------------
Here are the changes found in Patchwork_108830v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@nullptr:
- bat-dg1-5: NOTRUN -> [SKIP][1] ([i915#2582]) +4 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-icl-u2: NOTRUN -> [SKIP][2] ([i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-rkl-11600: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
* igt@gem_lmem_swapping@random-engines:
- fi-icl-u2: NOTRUN -> [SKIP][5] ([i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
* igt@gem_mmap@basic:
- bat-dg1-5: NOTRUN -> [SKIP][6] ([i915#4083])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@gem_tiled_blits@basic:
- bat-dg1-5: NOTRUN -> [SKIP][7] ([i915#4077]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@gem_tiled_pread_basic:
- fi-rkl-11600: NOTRUN -> [SKIP][8] ([i915#3282])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@gem_tiled_pread_basic.html
- bat-dg1-5: NOTRUN -> [SKIP][9] ([i915#4079]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@gem_tiled_pread_basic.html
* igt@i915_pm_backlight@basic-brightness:
- fi-rkl-11600: NOTRUN -> [SKIP][10] ([i915#3012])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
- bat-dg1-5: NOTRUN -> [SKIP][11] ([i915#1155])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg1-5: NOTRUN -> [SKIP][12] ([i915#6621])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@kms_addfb_basic@basic-x-tiled-legacy:
- bat-dg1-5: NOTRUN -> [SKIP][13] ([i915#4212]) +7 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg1-5: NOTRUN -> [SKIP][14] ([i915#4215])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@kms_busy@basic:
- bat-dg1-5: NOTRUN -> [SKIP][15] ([i915#1845] / [i915#4303])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- bat-dg1-5: NOTRUN -> [SKIP][16] ([fdo#111827]) +8 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@kms_chamelium@hdmi-edid-read:
- fi-rkl-11600: NOTRUN -> [SKIP][17] ([fdo#111827]) +8 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: NOTRUN -> [SKIP][18] ([fdo#111827]) +8 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-rkl-11600: NOTRUN -> [SKIP][19] ([i915#4103])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
- fi-icl-u2: NOTRUN -> [SKIP][20] ([i915#4103])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
* igt@kms_force_connector_basic@force-connector-state:
- fi-icl-u2: NOTRUN -> [WARN][21] ([i915#6008])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg1-5: NOTRUN -> [SKIP][22] ([fdo#109285])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][23] ([fdo#109285] / [i915#4098])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
- fi-icl-u2: NOTRUN -> [SKIP][24] ([fdo#109285])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc:
- bat-dg1-5: NOTRUN -> [SKIP][25] ([i915#4078]) +14 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@kms_psr@primary_page_flip:
- fi-rkl-11600: NOTRUN -> [SKIP][26] ([i915#1072]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@kms_psr@primary_page_flip.html
- bat-dg1-5: NOTRUN -> [SKIP][27] ([i915#1072] / [i915#4078]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@kms_psr@primary_page_flip.html
* igt@kms_setmode@basic-clone-single-crtc:
- fi-rkl-11600: NOTRUN -> [SKIP][28] ([i915#3555] / [i915#4098])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
- bat-dg1-5: NOTRUN -> [SKIP][29] ([i915#3555])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
- fi-icl-u2: NOTRUN -> [SKIP][30] ([i915#3555])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-dg1-5: NOTRUN -> [SKIP][31] ([i915#1845] / [i915#3708])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-dg1-5: NOTRUN -> [SKIP][32] ([i915#3708]) +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@prime_vgem@basic-gtt:
- bat-dg1-5: NOTRUN -> [SKIP][33] ([i915#3708] / [i915#4077]) +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
* igt@prime_vgem@basic-read:
- fi-rkl-11600: NOTRUN -> [SKIP][34] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- fi-icl-u2: NOTRUN -> [SKIP][35] ([fdo#109295] / [i915#3301])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-icl-u2/igt@[email protected]
- bat-dg1-5: NOTRUN -> [SKIP][36] ([i915#3708] / [i915#4873])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/bat-dg1-5/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][37] ([fdo#109295] / [i915#3301] / [i915#3708])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-rkl-11600/igt@[email protected]
* igt@runner@aborted:
- fi-bdw-5557u: NOTRUN -> [FAIL][38] ([i915#4312])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-bdw-5557u/igt@[email protected]
#### Warnings ####
* igt@runner@aborted:
- fi-kbl-guc: [FAIL][39] ([i915#6219] / [i915#6884]) -> [FAIL][40] ([i915#6641] / [i915#6884])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/fi-kbl-guc/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-kbl-guc/igt@[email protected]
- fi-kbl-8809g: [FAIL][41] ([i915#6219] / [i915#6884]) -> [FAIL][42] ([i915#6641] / [i915#6884])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/fi-kbl-8809g/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-kbl-8809g/igt@[email protected]
- fi-apl-guc: [FAIL][43] ([i915#6884]) -> [FAIL][44] ([i915#6641] / [i915#6884])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/fi-apl-guc/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-apl-guc/igt@[email protected]
- fi-skl-guc: [FAIL][45] ([i915#6884]) -> [FAIL][46] ([i915#6641] / [i915#6884])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/fi-skl-guc/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-skl-guc/igt@[email protected]
- fi-kbl-soraka: [FAIL][47] ([i915#6219] / [i915#6884]) -> [FAIL][48] ([i915#6641] / [i915#6884] / [i915#6894])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/fi-kbl-soraka/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/fi-kbl-soraka/igt@[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#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3003]: https://gitlab.freedesktop.org/drm/intel/issues/3003
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3595]: https://gitlab.freedesktop.org/drm/intel/issues/3595
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4303]: https://gitlab.freedesktop.org/drm/intel/issues/4303
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6008]: https://gitlab.freedesktop.org/drm/intel/issues/6008
[i915#6219]: https://gitlab.freedesktop.org/drm/intel/issues/6219
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6641]: https://gitlab.freedesktop.org/drm/intel/issues/6641
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#6816]: https://gitlab.freedesktop.org/drm/intel/issues/6816
[i915#6884]: https://gitlab.freedesktop.org/drm/intel/issues/6884
[i915#6894]: https://gitlab.freedesktop.org/drm/intel/issues/6894
Build changes
-------------
* Linux: CI_DRM_12164 -> Patchwork_108830v1
CI-20190529: 20190529
CI_DRM_12164: a1f63e144e545f0ce8f41f41005f2dfc552eb836 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6659: 1becf700a737a7a98555a0cfbe8566355377afb2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108830v1: a1f63e144e545f0ce8f41f41005f2dfc552eb836 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
0455343a84de drm/i915/gt: Restrict forced preemption to the active context
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/index.html
Hi Andrzej and Chris,
Quoted 33 lines · Andrzej Hajda
From: Chris Wilson <[email protected]>
When we submit a new pair of contexts to ELSP for execution, we start a timer by which point we expect the HW to have switched execution to the pending contexts. If the promotion to the new pair of contexts has not occurred, we declare the executing context to have hung and force the preemption to take place by resetting the engine and resubmitting the new contexts.
This can lead to an unfair situation where almost all of the preemption timeout is consumed by the first context which just switches into the second context immediately prior to the timer firing and triggering the preemption reset (assuming that the timer interrupts before we process the CS events for the context switch). The second context hasn't yet had a chance to yield to the incoming ELSP (and send the ACk for the promotion) and so ends up being blamed for the reset.
If we see that a context switch has occurred since setting the preemption timeout, but have not yet received the ACK for the ELSP promotion, rearm the preemption timer and check again. This is especially significant if the first context was not schedulable and so we used the shortest timer possible, greatly increasing the chance of accidentally blaming the second innocent context.
Fixes 3a7a92aba8fb ("drm/i915/execlists: Force preemption")Fixes d12acee84ffb ("drm/i915/execlists: Cancel banned contexts on schedule-out")Reported-by Tvrtko Ursulin <[email protected]>Signed-off-by Chris Wilson <[email protected]>Cc Tvrtko Ursulin <[email protected]>Cc Andi Shyti <[email protected]>Reviewed-by Andrzej Hajda <[email protected]>Tested-by Andrzej Hajda <[email protected]>Cc <[email protected]> # v5.5+
Quoted 5 lines
---
Hi,This patch is upstreamed from internal branch. So I have removed R-B by Andi. Andi let me know if your R-B still apply.
yes, I know this patch and my r-b holds:
Anyway, thanks Chris for the comments and the clear explanation both in the commit log and in between the code.
Andi
Quoted 75 lines
Regards
Andrzej--- drivers/gpu/drm/i915/gt/intel_engine_types.h | 15 +++++++++++++ .../drm/i915/gt/intel_execlists_submission.c | 21 ++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/gt/intel_engine_types.h +15
-0@@ -165,6 +165,21 @@ struct intel_engine_execlists {*/ struct timer_list preempt; +/** +* @preempt_target: active request at the time of the preemption request +* +* We force a preemption to occur if the pending contexts have not +* been promoted to active upon receipt of the CS ack event within +* the timeout. This timeout maybe chosen based on the target, +* using a very short timeout if the context is no longer schedulable. +* That short timeout may not be applicable to other contexts, so +* if a context switch should happen within before the preemption +* timeout, we may shoot early at an innocent context. To prevent this, +* we record which context was active at the time of the preemption +* request and only reset that context upon the timeout. +*/ +const struct i915_request *preempt_target; +/** * @ccid: identifier for contexts submitted to this engine */ drivers/gpu/drm/i915/gt/intel_execlists_submission.c +20
-1@@ -1241,6 +1241,9 @@ static unsigned long active_preempt_timeout(struct intel_engine_cs *engine,if (!rq)return 0 ; +/* Only allow ourselves to force reset the currently active context */ + engine->execlists.preempt_target = rq; +/* Force a fast reset for terminated contexts (ignoring sysfs!) */ if (unlikely (intel_context_is_banned (rq->context) ||bad_request (rq)))return INTEL_CONTEXT_BANNED_PREEMPT_TIMEOUT_MS ;@@ -2427,8 +2430,24 @@ static void execlists_submission_tasklet(struct tasklet_struct *t)GEM_BUG_ON (inactive - post >ARRAY_SIZE (post));if (unlikely (preempt_timeout (engine))) { +const struct i915_request *rq = *engine->execlists.active; + +/* +* If after the preempt-timeout expired, we are still on the +* same active request/context as before we initiated the +* preemption, reset the engine. +* +* However, if we have processed a CS event to switch contexts, +* but not yet processed the CS event for the pending +* preemption, reset the timer allowing the new context to +* gracefully exit. +*/ cancel_timer (&engine->execlists.preempt); - engine->execlists.error_interrupt |=ERROR_PREEMPT ; +if (rq == engine->execlists.preempt_target) + engine->execlists.error_interrupt |=ERROR_PREEMPT ; +else +set_timer_ms (&engine->execlists.preempt, +active_preempt_timeout (engine, rq)); }if (unlikely (READ_ONCE (engine->execlists.error_interrupt))) {Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/gt: Restrict forced preemption to the active context
In reply to Andrzej Hajda== Series Details ==
== Series Details ==
Series: drm/i915/gt: Restrict forced preemption to the active context
URL : https://patchwork.freedesktop.org/series/108830/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12164_full -> Patchwork_108830v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (9 -> 11)
------------------------------
Additional (2): shard-rkl shard-tglu
Known issues
------------
Here are the changes found in Patchwork_108830v1_full that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- shard-snb: ([PASS][1], [PASS][2], [PASS][3], [PASS][4], [PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][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], [PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [FAIL][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50]) ([i915#4338])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb7/boot.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb7/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb7/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb7/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb7/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb6/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb6/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb6/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb6/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb6/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb6/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb5/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb5/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb5/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb5/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb4/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb4/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb4/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb4/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb4/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb2/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb2/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb2/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb2/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-snb2/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb7/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb7/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb7/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb7/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb7/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb6/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb6/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb6/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb6/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb6/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb5/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb5/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb5/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb5/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb5/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb5/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb4/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb4/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb4/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb4/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb2/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb2/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb2/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb2/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-snb2/boot.html
- shard-skl: ([PASS][51], [PASS][52], [PASS][53], [PASS][54], [PASS][55], [PASS][56], [PASS][57], [PASS][58], [PASS][59], [PASS][60], [PASS][61], [PASS][62], [PASS][63], [PASS][64], [PASS][65], [PASS][66], [PASS][67], [PASS][68], [PASS][69], [PASS][70]) -> ([FAIL][71], [PASS][72], [PASS][73], [PASS][74], [PASS][75], [PASS][76], [PASS][77], [PASS][78], [PASS][79], [PASS][80], [PASS][81], [PASS][82], [PASS][83], [PASS][84], [PASS][85], [PASS][86], [PASS][87], [PASS][88], [PASS][89], [PASS][90], [PASS][91], [PASS][92]) ([i915#5032])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl9/boot.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl9/boot.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl9/boot.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl7/boot.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/boot.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/boot.html
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/boot.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/boot.html
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl5/boot.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl4/boot.html
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl4/boot.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl3/boot.html
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl3/boot.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl3/boot.html
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl1/boot.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl1/boot.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/boot.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/boot.html
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/boot.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/boot.html
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl5/boot.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl4/boot.html
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl4/boot.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl4/boot.html
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl3/boot.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl3/boot.html
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl1/boot.html
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl1/boot.html
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl1/boot.html
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl10/boot.html
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl10/boot.html
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl10/boot.html
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl9/boot.html
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl9/boot.html
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl9/boot.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl7/boot.html
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl7/boot.html
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl7/boot.html
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl6/boot.html
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl6/boot.html
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl6/boot.html
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl5/boot.html
#### Possible fixes ####
* boot:
- shard-glk: ([PASS][93], [PASS][94], [PASS][95], [PASS][96], [PASS][97], [PASS][98], [PASS][99], [PASS][100], [PASS][101], [PASS][102], [PASS][103], [PASS][104], [PASS][105], [PASS][106], [PASS][107], [PASS][108], [PASS][109], [PASS][110], [PASS][111], [FAIL][112], [PASS][113], [PASS][114], [PASS][115], [PASS][116]) ([i915#4392]) -> ([PASS][117], [PASS][118], [PASS][119], [PASS][120], [PASS][121], [PASS][122], [PASS][123], [PASS][124], [PASS][125], [PASS][126], [PASS][127], [PASS][128], [PASS][129], [PASS][130], [PASS][131], [PASS][132], [PASS][133], [PASS][134], [PASS][135], [PASS][136], [PASS][137], [PASS][138], [PASS][139], [PASS][140], [PASS][141])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk3/boot.html
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk9/boot.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk9/boot.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk9/boot.html
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk8/boot.html
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk8/boot.html
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk8/boot.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk7/boot.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk7/boot.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk6/boot.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk6/boot.html
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk5/boot.html
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk5/boot.html
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk5/boot.html
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk3/boot.html
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk3/boot.html
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk3/boot.html
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk2/boot.html
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk2/boot.html
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk2/boot.html
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk2/boot.html
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk1/boot.html
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk1/boot.html
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk1/boot.html
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk9/boot.html
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk9/boot.html
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk8/boot.html
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk8/boot.html
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk8/boot.html
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk8/boot.html
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk7/boot.html
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk7/boot.html
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk7/boot.html
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk6/boot.html
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk6/boot.html
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk6/boot.html
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk5/boot.html
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk5/boot.html
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk5/boot.html
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk5/boot.html
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk3/boot.html
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk3/boot.html
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk3/boot.html
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk2/boot.html
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk2/boot.html
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk2/boot.html
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk1/boot.html
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk1/boot.html
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk1/boot.html
### IGT changes ###
#### Issues hit ####
* igt@feature_discovery@display-3x:
- shard-tglb: NOTRUN -> [SKIP][142] ([i915#1839])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vecs0:
- shard-tglb: [PASS][143] -> [DMESG-WARN][144] ([i915#2411] / [i915#2867])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-tglb6/igt@gem_ctx_isolation@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@gem_ctx_isolation@[email protected]
* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: [PASS][145] -> [SKIP][146] ([i915#4525]) +2 similar issues
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb1/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb6/igt@[email protected]
* igt@gem_exec_capture@capture-recoverable:
- shard-tglb: NOTRUN -> [SKIP][147] ([i915#6344])
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-glk: NOTRUN -> [FAIL][148] ([i915#2842])
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [PASS][149] -> [FAIL][150] ([i915#2842])
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk5/igt@gem_exec_fair@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][151] -> [FAIL][152] ([i915#2842])
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-tglb7/igt@gem_exec_fair@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_schedule@wide@rcs0:
- shard-glk: NOTRUN -> [FAIL][153] ([i915#6659])
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk9/igt@gem_exec_schedule@[email protected]
* igt@gem_exec_suspend@basic-s3@smem:
- shard-apl: [PASS][154] -> [DMESG-WARN][155] ([i915#180]) +4 similar issues
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-apl8/igt@gem_exec_suspend@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl2/igt@gem_exec_suspend@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][156] -> [SKIP][157] ([i915#2190])
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-tglb3/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb7/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-verify-ccs:
- shard-glk: NOTRUN -> [SKIP][158] ([fdo#109271] / [i915#4613]) +1 similar issue
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk9/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-glk: NOTRUN -> [WARN][159] ([i915#2658])
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk9/igt@[email protected]
* igt@gem_pxp@create-protected-buffer:
- shard-tglb: NOTRUN -> [SKIP][160] ([i915#4270])
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@gem_render_copy@y-tiled-ccs-to-y-tiled-mc-ccs:
- shard-glk: NOTRUN -> [SKIP][161] ([fdo#109271]) +86 similar issues
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk9/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-glk: [PASS][162] -> [DMESG-WARN][163] ([i915#5566] / [i915#716])
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk3/igt@[email protected]
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk8/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-tglb: NOTRUN -> [SKIP][164] ([i915#2527] / [i915#2856])
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@4-tiled-64bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][165] ([i915#5286])
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][166] ([fdo#111615])
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][167] ([i915#3689] / [i915#3886]) +1 similar issue
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-random-ccs-data-4_tiled_dg2_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][168] ([i915#3689] / [i915#6095]) +2 similar issues
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@kms_ccs@pipe-b-random-ccs-data-4_tiled_dg2_mc_ccs.html
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][169] ([fdo#109271] / [i915#3886]) +4 similar issues
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk9/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-bad-pixel-format-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][170] ([fdo#111615] / [i915#3689])
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@kms_ccs@pipe-d-bad-pixel-format-yf_tiled_ccs.html
* igt@kms_chamelium@hdmi-edid-change-during-suspend:
- shard-tglb: NOTRUN -> [SKIP][171] ([fdo#109284] / [fdo#111827]) +1 similar issue
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_color_chamelium@ctm-max:
- shard-glk: NOTRUN -> [SKIP][172] ([fdo#109271] / [fdo#111827]) +5 similar issues
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk7/igt@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible:
- shard-tglb: NOTRUN -> [SKIP][173] ([fdo#109274] / [fdo#111825] / [i915#3637]) +3 similar issues
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][174] ([i915#2587] / [i915#2672]) +3 similar issues
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb4/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][175] ([i915#2672]) +6 similar issues
[175]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-tglb: NOTRUN -> [SKIP][176] ([fdo#109280] / [fdo#111825]) +4 similar issues
[176]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-tglb: NOTRUN -> [SKIP][177] ([i915#6497]) +1 similar issue
[177]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
- shard-glk: NOTRUN -> [FAIL][178] ([fdo#108145] / [i915#265]) +1 similar issue
[178]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk7/igt@[email protected]
* igt@kms_plane_lowres@tiling-4:
- shard-tglb: NOTRUN -> [SKIP][179] ([fdo#112054] / [i915#5288])
[179]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-25@pipe-c-edp-1:
- shard-tglb: NOTRUN -> [SKIP][180] ([i915#5235]) +3 similar issues
[180]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-c-edp-1:
- shard-iclb: [PASS][181] -> [SKIP][182] ([i915#5235]) +2 similar issues
[181]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb7/igt@kms_plane_scaling@[email protected]
[182]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb2/igt@kms_plane_scaling@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area:
- shard-tglb: NOTRUN -> [SKIP][183] ([i915#2920])
[183]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-glk: NOTRUN -> [SKIP][184] ([fdo#109271] / [i915#658])
[184]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk7/igt@[email protected]
* igt@kms_psr@psr2_cursor_mmap_gtt:
- shard-iclb: [PASS][185] -> [SKIP][186] ([fdo#109441]) +2 similar issues
[185]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_gtt.html
[186]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb8/igt@kms_psr@psr2_cursor_mmap_gtt.html
* igt@prime_nv_pcopy@test1_macro:
- shard-tglb: NOTRUN -> [SKIP][187] ([fdo#109291])
[187]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@prime_nv_pcopy@test1_macro.html
* igt@sysfs_clients@fair-0:
- shard-tglb: NOTRUN -> [SKIP][188] ([i915#2994])
[188]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][189] ([fdo#109271] / [i915#2994]) +1 similar issue
[189]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk2/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-iclb: [SKIP][190] ([i915#4525]) -> [PASS][191] +1 similar issue
[190]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb3/igt@[email protected]
[191]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb4/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][192] ([i915#2842]) -> [PASS][193] +1 similar issue
[192]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk2/igt@gem_exec_fair@[email protected]
[193]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk3/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [FAIL][194] ([i915#2842]) -> [PASS][195]
[194]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb2/igt@gem_exec_fair@[email protected]
[195]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb4/igt@gem_exec_fair@[email protected]
* igt@gem_userptr_blits@huge-split:
- shard-apl: [FAIL][196] ([i915#3376]) -> [PASS][197]
[196]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-apl3/igt@[email protected]
[197]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl6/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [DMESG-WARN][198] ([i915#5566] / [i915#716]) -> [PASS][199]
[198]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-glk1/igt@[email protected]
[199]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-glk2/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [FAIL][200] ([i915#3989] / [i915#454]) -> [PASS][201]
[200]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb6/igt@[email protected]
[201]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb2/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [SKIP][202] ([i915#4281]) -> [PASS][203]
[202]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb3/igt@[email protected]
[203]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb8/igt@[email protected]
* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][204] ([i915#6537]) -> [PASS][205]
[204]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-apl7/igt@[email protected]
[205]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl3/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-tglb: [FAIL][206] ([i915#3743]) -> [PASS][207]
[206]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-tglb6/igt@[email protected]
[207]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb1/igt@[email protected]
* igt@kms_cursor_crc@cursor-suspend@pipe-a-dp-1:
- shard-apl: [DMESG-WARN][208] ([i915#180]) -> [PASS][209] +1 similar issue
[208]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-apl2/igt@kms_cursor_crc@[email protected]
[209]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl6/igt@kms_cursor_crc@[email protected]
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1:
- shard-iclb: [SKIP][210] ([i915#5176]) -> [PASS][211] +1 similar issue
[210]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb3/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
[211]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb1/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-iclb: [SKIP][212] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [PASS][213]
[212]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb7/igt@[email protected]
[213]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb2/igt@[email protected]
* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [SKIP][214] ([fdo#109441]) -> [PASS][215] +3 similar issues
[214]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb8/igt@kms_psr@psr2_cursor_blt.html
[215]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html
* igt@kms_universal_plane@universal-plane-pipe-b-functional:
- shard-tglb: [INCOMPLETE][216] -> [PASS][217]
[216]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-tglb8/igt@[email protected]
[217]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-tglb3/igt@[email protected]
#### Warnings ####
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][218] ([i915#658]) -> [SKIP][219] ([i915#588])
[218]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb8/igt@[email protected]
[219]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-iclb: [SKIP][220] ([fdo#111068] / [i915#658]) -> [SKIP][221] ([i915#2920])
[220]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb8/igt@[email protected]
[221]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-fully-sf:
- shard-iclb: [SKIP][222] ([i915#2920]) -> [SKIP][223] ([i915#658])
[222]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-iclb2/igt@[email protected]
[223]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-iclb8/igt@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][224], [FAIL][225], [FAIL][226]) ([i915#3002] / [i915#4312] / [i915#6884]) -> ([FAIL][227], [FAIL][228], [FAIL][229], [FAIL][230], [FAIL][231], [FAIL][232], [FAIL][233]) ([i915#180] / [i915#3002] / [i915#4312] / [i915#6884])
[224]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-apl6/igt@[email protected]
[225]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-apl7/igt@[email protected]
[226]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-apl2/igt@[email protected]
[227]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl6/igt@[email protected]
[228]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl3/igt@[email protected]
[229]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl8/igt@[email protected]
[230]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl1/igt@[email protected]
[231]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl8/igt@[email protected]
[232]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl2/igt@[email protected]
[233]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-apl2/igt@[email protected]
- shard-skl: ([FAIL][234], [FAIL][235], [FAIL][236], [FAIL][237], [FAIL][238], [FAIL][239], [FAIL][240], [FAIL][241], [FAIL][242], [FAIL][243], [FAIL][244], [FAIL][245], [FAIL][246], [FAIL][247], [FAIL][248], [FAIL][249], [FAIL][250], [FAIL][251], [FAIL][252], [FAIL][253]) ([i915#6884]) -> ([FAIL][254], [FAIL][255], [FAIL][256], [FAIL][257], [FAIL][258], [FAIL][259], [FAIL][260], [FAIL][261], [FAIL][262], [FAIL][263], [FAIL][264], [FAIL][265], [FAIL][266], [FAIL][267], [FAIL][268], [FAIL][269], [FAIL][270], [FAIL][271], [FAIL][272], [FAIL][273], [FAIL][274]) ([i915#6641] / [i915#6884])
[234]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/igt@[email protected]
[235]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl1/igt@[email protected]
[236]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl3/igt@[email protected]
[237]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/igt@[email protected]
[238]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl3/igt@[email protected]
[239]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl1/igt@[email protected]
[240]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/igt@[email protected]
[241]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl10/igt@[email protected]
[242]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl3/igt@[email protected]
[243]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/igt@[email protected]
[244]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl5/igt@[email protected]
[245]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl7/igt@[email protected]
[246]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/igt@[email protected]
[247]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl9/igt@[email protected]
[248]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl9/igt@[email protected]
[249]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/igt@[email protected]
[250]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl9/igt@[email protected]
[251]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl4/igt@[email protected]
[252]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl6/igt@[email protected]
[253]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12164/shard-skl4/igt@[email protected]
[254]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl4/igt@[email protected]
[255]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl6/igt@[email protected]
[256]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl10/igt@[email protected]
[257]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl7/igt@[email protected]
[258]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl1/igt@[email protected]
[259]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl3/igt@[email protected]
[260]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl5/igt@[email protected]
[261]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl6/igt@[email protected]
[262]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl7/igt@[email protected]
[263]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl10/igt@[email protected]
[264]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl9/igt@[email protected]
[265]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl4/igt@[email protected]
[266]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl9/igt@[email protected]
[267]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl10/igt@[email protected]
[268]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl1/igt@[email protected]
[269]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl6/igt@[email protected]
[270]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl9/igt@[email protected]
[271]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl4/igt@[email protected]
[272]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl7/igt@[email protected]
[273]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl1/igt@[email protected]
[274]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/shard-skl3/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110254]: https://bugs.freedesktop.org/show_bug.cgi?id=110254
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1063]: https://gitlab.freedesktop.org/drm/intel/issues/1063
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1850]: https://gitlab.freedesktop.org/drm/intel/issues/1850
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#1911]: https://gitlab.freedesktop.org/drm/intel/issues/1911
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2410]: https://gitlab.freedesktop.org/drm/intel/issues/2410
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2435]: https://gitlab.freedesktop.org/drm/intel/issues/2435
[i915#2436]: https://gitlab.freedesktop.org/drm/intel/issues/2436
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2530]: https://gitlab.freedesktop.org/drm/intel/issues/2530
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3376]: https://gitlab.freedesktop.org/drm/intel/issues/3376
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3825]: https://gitlab.freedesktop.org/drm/intel/issues/3825
[i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4338]: https://gitlab.freedesktop.org/drm/intel/issues/4338
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4392]: https://gitlab.freedesktop.org/drm/intel/issues/4392
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#5032]: https://gitlab.freedesktop.org/drm/intel/issues/5032
[i915#5099]: https://gitlab.freedesktop.org/drm/intel/issues/5099
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5182]: https://gitlab.freedesktop.org/drm/intel/issues/5182
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#5982]: https://gitlab.freedesktop.org/drm/intel/issues/5982
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6251]: https://gitlab.freedesktop.org/drm/intel/issues/6251
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6474]: https://gitlab.freedesktop.org/drm/intel/issues/6474
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6641]: https://gitlab.freedesktop.org/drm/intel/issues/6641
[i915#6659]: https://gitlab.freedesktop.org/drm/intel/issues/6659
[i915#6884]: https://gitlab.freedesktop.org/drm/intel/issues/6884
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
Build changes
-------------
* Linux: CI_DRM_12164 -> Patchwork_108830v1
CI-20190529: 20190529
CI_DRM_12164: a1f63e144e545f0ce8f41f41005f2dfc552eb836 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6659: 1becf700a737a7a98555a0cfbe8566355377afb2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108830v1: a1f63e144e545f0ce8f41f41005f2dfc552eb836 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108830v1/index.html
Andi Shyti
AppliedHi Andrzej and Chris,
pushed to drm-intel-gt-next
Thanks!
Andi
Quoted 114 lines · Andrzej Hajda
From: Chris Wilson <[email protected]>
When we submit a new pair of contexts to ELSP for execution, we start a timer by which point we expect the HW to have switched execution to the pending contexts. If the promotion to the new pair of contexts has not occurred, we declare the executing context to have hung and force the preemption to take place by resetting the engine and resubmitting the new contexts.
This can lead to an unfair situation where almost all of the preemption timeout is consumed by the first context which just switches into the second context immediately prior to the timer firing and triggering the preemption reset (assuming that the timer interrupts before we process the CS events for the context switch). The second context hasn't yet had a chance to yield to the incoming ELSP (and send the ACk for the promotion) and so ends up being blamed for the reset.
If we see that a context switch has occurred since setting the preemption timeout, but have not yet received the ACK for the ELSP promotion, rearm the preemption timer and check again. This is especially significant if the first context was not schedulable and so we used the shortest timer possible, greatly increasing the chance of accidentally blaming the second innocent context.
Fixes 3a7a92aba8fb ("drm/i915/execlists: Force preemption")Fixes d12acee84ffb ("drm/i915/execlists: Cancel banned contexts on schedule-out")Reported-by Tvrtko Ursulin <[email protected]>Signed-off-by Chris Wilson <[email protected]>Cc Tvrtko Ursulin <[email protected]>Cc Andi Shyti <[email protected]>Reviewed-by Andrzej Hajda <[email protected]>Tested-by Andrzej Hajda <[email protected]>Cc <[email protected]> # v5.5+---
Hi,This patch is upstreamed from internal branch. So I have removed R-B by Andi. Andi let me know if your R-B still apply.
Regards
Andrzej--- drivers/gpu/drm/i915/gt/intel_engine_types.h | 15 +++++++++++++ .../drm/i915/gt/intel_execlists_submission.c | 21 ++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/gt/intel_engine_types.h +15
-0@@ -165,6 +165,21 @@ struct intel_engine_execlists {*/ struct timer_list preempt; +/** +* @preempt_target: active request at the time of the preemption request +* +* We force a preemption to occur if the pending contexts have not +* been promoted to active upon receipt of the CS ack event within +* the timeout. This timeout maybe chosen based on the target, +* using a very short timeout if the context is no longer schedulable. +* That short timeout may not be applicable to other contexts, so +* if a context switch should happen within before the preemption +* timeout, we may shoot early at an innocent context. To prevent this, +* we record which context was active at the time of the preemption +* request and only reset that context upon the timeout. +*/ +const struct i915_request *preempt_target; +/** * @ccid: identifier for contexts submitted to this engine */ drivers/gpu/drm/i915/gt/intel_execlists_submission.c +20
-1@@ -1241,6 +1241,9 @@ static unsigned long active_preempt_timeout(struct intel_engine_cs *engine,if (!rq)return 0 ; +/* Only allow ourselves to force reset the currently active context */ + engine->execlists.preempt_target = rq; +/* Force a fast reset for terminated contexts (ignoring sysfs!) */ if (unlikely (intel_context_is_banned (rq->context) ||bad_request (rq)))return INTEL_CONTEXT_BANNED_PREEMPT_TIMEOUT_MS ;@@ -2427,8 +2430,24 @@ static void execlists_submission_tasklet(struct tasklet_struct *t)GEM_BUG_ON (inactive - post >ARRAY_SIZE (post));if (unlikely (preempt_timeout (engine))) { +const struct i915_request *rq = *engine->execlists.active; + +/* +* If after the preempt-timeout expired, we are still on the +* same active request/context as before we initiated the +* preemption, reset the engine. +* +* However, if we have processed a CS event to switch contexts, +* but not yet processed the CS event for the pending +* preemption, reset the timer allowing the new context to +* gracefully exit. +*/ cancel_timer (&engine->execlists.preempt); - engine->execlists.error_interrupt |=ERROR_PREEMPT ; +if (rq == engine->execlists.preempt_target) + engine->execlists.error_interrupt |=ERROR_PREEMPT ; +else +set_timer_ms (&engine->execlists.preempt, +active_preempt_timeout (engine, rq)); }if (unlikely (READ_ONCE (engine->execlists.error_interrupt))) {Signature · 1 line
2.34.1