* [igt-dev] [PATCH i-g-t] lib/i915: Fix is_physical_engine advancement
@ 2020-01-29 12:16 Chris Wilson
2020-01-29 12:35 ` Andi Shyti
2020-01-29 13:42 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
0 siblings, 2 replies; 4+ messages in thread
From: Chris Wilson @ 2020-01-29 12:16 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev, Tvrtko Ursulin, Petri Latvala
Update the local var e after iterating to the next engine when searching
for the next non-virtual engine. Otherwise, it is prone to loop forever.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Andi Shyti <andi.shyti@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
---
lib/i915/gem_engine_topology.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/i915/gem_engine_topology.c b/lib/i915/gem_engine_topology.c
index 43a99e0ff..9daa03df4 100644
--- a/lib/i915/gem_engine_topology.c
+++ b/lib/i915/gem_engine_topology.c
@@ -180,10 +180,8 @@ intel_get_current_physical_engine(struct intel_engine_data *ed)
{
struct intel_execution_engine2 *e;
- for (e = intel_get_current_engine(ed);
- e && e->is_virtual;
- intel_next_engine(ed))
- ;
+ while ((e = intel_get_current_engine(ed)) && e->is_virtual)
+ intel_next_engine(ed);
return e;
}
--
2.25.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/i915: Fix is_physical_engine advancement
2020-01-29 12:16 [igt-dev] [PATCH i-g-t] lib/i915: Fix is_physical_engine advancement Chris Wilson
@ 2020-01-29 12:35 ` Andi Shyti
2020-01-29 12:37 ` Chris Wilson
2020-01-29 13:42 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
1 sibling, 1 reply; 4+ messages in thread
From: Andi Shyti @ 2020-01-29 12:35 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev, intel-gfx, Petri Latvala, Tvrtko Ursulin
Hi Chris,
On Wed, Jan 29, 2020 at 12:16:02PM +0000, Chris Wilson wrote:
> Update the local var e after iterating to the next engine when searching
> for the next non-virtual engine. Otherwise, it is prone to loop forever.
Do I remember correctly that you sent this once already?
In any case,
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Thanks,
Andi
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/i915: Fix is_physical_engine advancement
2020-01-29 12:35 ` Andi Shyti
@ 2020-01-29 12:37 ` Chris Wilson
0 siblings, 0 replies; 4+ messages in thread
From: Chris Wilson @ 2020-01-29 12:37 UTC (permalink / raw)
To: Andi Shyti; +Cc: igt-dev, intel-gfx, Petri Latvala, Tvrtko Ursulin
Quoting Andi Shyti (2020-01-29 12:35:38)
> Hi Chris,
>
> On Wed, Jan 29, 2020 at 12:16:02PM +0000, Chris Wilson wrote:
> > Update the local var e after iterating to the next engine when searching
> > for the next non-virtual engine. Otherwise, it is prone to loop forever.
>
> Do I remember correctly that you sent this once already?
If I have, I've forgotten. I feel like I've complained about it before
:)
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for lib/i915: Fix is_physical_engine advancement
2020-01-29 12:16 [igt-dev] [PATCH i-g-t] lib/i915: Fix is_physical_engine advancement Chris Wilson
2020-01-29 12:35 ` Andi Shyti
@ 2020-01-29 13:42 ` Patchwork
1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2020-01-29 13:42 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: lib/i915: Fix is_physical_engine advancement
URL : https://patchwork.freedesktop.org/series/72716/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7836 -> IGTPW_4026
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4026 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_4026, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4026:
### IGT changes ###
#### Possible regressions ####
* igt@gem_exec_parallel@fds:
- fi-byt-n2820: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-byt-n2820/igt@gem_exec_parallel@fds.html
Known issues
------------
Here are the changes found in IGTPW_4026 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@bad-pitch-1024:
- fi-tgl-y: [PASS][2] -> [DMESG-WARN][3] ([CI#94] / [i915#402])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7836/fi-tgl-y/igt@kms_addfb_basic@bad-pitch-1024.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-tgl-y/igt@kms_addfb_basic@bad-pitch-1024.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][4] -> [FAIL][5] ([fdo#111096] / [i915#323])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7836/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
#### Possible fixes ####
* igt@gem_close_race@basic-threads:
- fi-byt-n2820: [INCOMPLETE][6] ([i915#45]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7836/fi-byt-n2820/igt@gem_close_race@basic-threads.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-byt-n2820/igt@gem_close_race@basic-threads.html
* igt@gem_exec_suspend@basic-s4-devices:
- fi-tgl-y: [FAIL][8] ([CI#94]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7836/fi-tgl-y/igt@gem_exec_suspend@basic-s4-devices.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-tgl-y/igt@gem_exec_suspend@basic-s4-devices.html
* igt@i915_selftest@live_blt:
- fi-hsw-4770r: [DMESG-FAIL][10] ([i915#725]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7836/fi-hsw-4770r/igt@i915_selftest@live_blt.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-hsw-4770r/igt@i915_selftest@live_blt.html
* igt@kms_addfb_basic@bad-pitch-0:
- fi-tgl-y: [DMESG-WARN][12] ([CI#94] / [i915#402]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7836/fi-tgl-y/igt@kms_addfb_basic@bad-pitch-0.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-tgl-y/igt@kms_addfb_basic@bad-pitch-0.html
#### Warnings ####
* igt@i915_selftest@live_blt:
- fi-hsw-4770: [DMESG-FAIL][14] ([i915#725]) -> [DMESG-FAIL][15] ([i915#553] / [i915#725])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7836/fi-hsw-4770/igt@i915_selftest@live_blt.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/fi-hsw-4770/igt@i915_selftest@live_blt.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#553]: https://gitlab.freedesktop.org/drm/intel/issues/553
[i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725
Participating hosts (51 -> 46)
------------------------------
Additional (1): fi-bsw-kefka
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5402 -> IGTPW_4026
CI-20190529: 20190529
CI_DRM_7836: d242b9ae26a7ec6e493823c0b82eed4ff72f4820 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4026: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/index.html
IGT_5402: ccefe6bf07b075f786d96904e19eaa03695c26d5 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4026/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-01-29 13:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29 12:16 [igt-dev] [PATCH i-g-t] lib/i915: Fix is_physical_engine advancement Chris Wilson
2020-01-29 12:35 ` Andi Shyti
2020-01-29 12:37 ` Chris Wilson
2020-01-29 13:42 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox