* [igt-dev] [PATCH i-g-t] lib/i915: Use engine discovery in gem_test_engines
@ 2019-06-27 12:25 Tvrtko Ursulin
2019-06-27 12:55 ` Chris Wilson
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tvrtko Ursulin @ 2019-06-27 12:25 UTC (permalink / raw)
To: igt-dev; +Cc: Intel-gfx, Tvrtko Ursulin
From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
If request is to verify all engines work, use the new engine discovery API
so we can actually test all.
There is a sporadic and mysterious, possibly memory corruption issue
surronding this area so lets see if this changes the pattern.
It is easy to do in this function due it re-opening the driver and
throwing it away. So there are no concerns that the modified default
context can affect any other test.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
References: https://bugzilla.freedesktop.org/show_bug.cgi?id=110667
---
lib/i915/gem_submission.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/i915/gem_submission.c b/lib/i915/gem_submission.c
index 2fd460d5ed2b..a8bb45c6ac8f 100644
--- a/lib/i915/gem_submission.c
+++ b/lib/i915/gem_submission.c
@@ -28,6 +28,8 @@
#include <i915_drm.h>
+#include "i915/gem_engine_topology.h"
+
#include "igt_core.h"
#include "igt_gt.h"
#include "igt_sysfs.h"
@@ -215,8 +217,10 @@ void gem_test_engine(int i915, unsigned int engine)
gem_write(i915, obj.handle, 0, &bbe, sizeof(bbe));
if (engine == ALL_ENGINES) {
- for_each_physical_engine(i915, engine) {
- execbuf.flags = engine;
+ const struct intel_execution_engine2 *e2;
+
+ __for_each_physical_engine(i915, e2) {
+ execbuf.flags = e2->flags;
gem_execbuf(i915, &execbuf);
}
} else {
--
2.20.1
_______________________________________________
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: Use engine discovery in gem_test_engines
2019-06-27 12:25 [igt-dev] [PATCH i-g-t] lib/i915: Use engine discovery in gem_test_engines Tvrtko Ursulin
@ 2019-06-27 12:55 ` Chris Wilson
2019-06-27 13:45 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-06-28 12:29 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2 siblings, 0 replies; 4+ messages in thread
From: Chris Wilson @ 2019-06-27 12:55 UTC (permalink / raw)
To: Tvrtko Ursulin, igt-dev; +Cc: Intel-gfx, Tvrtko Ursulin
Quoting Tvrtko Ursulin (2019-06-27 13:25:52)
> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> If request is to verify all engines work, use the new engine discovery API
> so we can actually test all.
>
> There is a sporadic and mysterious, possibly memory corruption issue
> surronding this area so lets see if this changes the pattern.
While I do not think the purely on-stack parameters here are subject to
memory corruption, nor should the validation path for the execbuf
parameters be affected by suspend, if this makes the problem go away, I
can be blissfully ignorant as to what was the actual cause.
> It is easy to do in this function due it re-opening the driver and
> throwing it away. So there are no concerns that the modified default
> context can affect any other test.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> References: https://bugzilla.freedesktop.org/show_bug.cgi?id=110667
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-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: success for lib/i915: Use engine discovery in gem_test_engines
2019-06-27 12:25 [igt-dev] [PATCH i-g-t] lib/i915: Use engine discovery in gem_test_engines Tvrtko Ursulin
2019-06-27 12:55 ` Chris Wilson
@ 2019-06-27 13:45 ` Patchwork
2019-06-28 12:29 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-06-27 13:45 UTC (permalink / raw)
To: Tvrtko Ursulin; +Cc: igt-dev
== Series Details ==
Series: lib/i915: Use engine discovery in gem_test_engines
URL : https://patchwork.freedesktop.org/series/62854/
State : success
== Summary ==
CI Bug Log - changes from IGT_5070 -> IGTPW_3205
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/62854/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3205 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap_gtt@basic-small-bo-tiledy:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/fi-icl-u3/igt@gem_mmap_gtt@basic-small-bo-tiledy.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/fi-icl-u3/igt@gem_mmap_gtt@basic-small-bo-tiledy.html
* igt@i915_selftest@live_blt:
- fi-skl-iommu: [PASS][3] -> [INCOMPLETE][4] ([fdo#108602])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/fi-skl-iommu/igt@i915_selftest@live_blt.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/fi-skl-iommu/igt@i915_selftest@live_blt.html
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u3: [PASS][5] -> [FAIL][6] ([fdo#103167])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/fi-icl-u3/igt@kms_frontbuffer_tracking@basic.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/fi-icl-u3/igt@kms_frontbuffer_tracking@basic.html
#### Possible fixes ####
* igt@gem_workarounds@basic-read:
- fi-icl-u3: [DMESG-WARN][7] ([fdo#107724]) -> [PASS][8] +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/fi-icl-u3/igt@gem_workarounds@basic-read.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/fi-icl-u3/igt@gem_workarounds@basic-read.html
* igt@i915_module_load@reload-no-display:
- fi-icl-dsi: [INCOMPLETE][9] ([fdo#107713]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/fi-icl-dsi/igt@i915_module_load@reload-no-display.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/fi-icl-dsi/igt@i915_module_load@reload-no-display.html
* igt@i915_pm_rpm@basic-rte:
- fi-kbl-r: [DMESG-WARN][11] ([fdo#111012]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/fi-kbl-r/igt@i915_pm_rpm@basic-rte.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/fi-kbl-r/igt@i915_pm_rpm@basic-rte.html
* igt@kms_flip@basic-plain-flip:
- fi-icl-dsi: [DMESG-WARN][13] ([fdo#106107]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/fi-icl-dsi/igt@kms_flip@basic-plain-flip.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/fi-icl-dsi/igt@kms_flip@basic-plain-flip.html
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108602]: https://bugs.freedesktop.org/show_bug.cgi?id=108602
[fdo#111012]: https://bugs.freedesktop.org/show_bug.cgi?id=111012
Participating hosts (52 -> 44)
------------------------------
Additional (2): fi-bdw-gvtdvm fi-skl-gvtdvm
Missing (10): fi-kbl-soraka fi-ilk-m540 fi-bdw-5557u fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ivb-3770 fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* IGT: IGT_5070 -> IGTPW_3205
CI_DRM_6374: 0c5076215689ad865b43ec530552a573dded361a @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3205: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/
IGT_5070: 250475af7bc52ba64956e6b35591fdd7176954d7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/
_______________________________________________
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.IGT: success for lib/i915: Use engine discovery in gem_test_engines
2019-06-27 12:25 [igt-dev] [PATCH i-g-t] lib/i915: Use engine discovery in gem_test_engines Tvrtko Ursulin
2019-06-27 12:55 ` Chris Wilson
2019-06-27 13:45 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2019-06-28 12:29 ` Patchwork
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-06-28 12:29 UTC (permalink / raw)
To: Tvrtko Ursulin; +Cc: igt-dev
== Series Details ==
Series: lib/i915: Use engine discovery in gem_test_engines
URL : https://patchwork.freedesktop.org/series/62854/
State : success
== Summary ==
CI Bug Log - changes from IGT_5070_full -> IGTPW_3205_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/62854/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3205_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@unwedge-stress:
- shard-snb: [PASS][1] -> [FAIL][2] ([fdo#109661])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-snb4/igt@gem_eio@unwedge-stress.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-snb7/igt@gem_eio@unwedge-stress.html
* igt@i915_pm_rpm@i2c:
- shard-hsw: [PASS][3] -> [FAIL][4] ([fdo#104097])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-hsw4/igt@i915_pm_rpm@i2c.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-hsw8/igt@i915_pm_rpm@i2c.html
* igt@i915_pm_rpm@legacy-planes-dpms:
- shard-iclb: [PASS][5] -> [INCOMPLETE][6] ([fdo#107713] / [fdo#108840] / [fdo#109960])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb5/igt@i915_pm_rpm@legacy-planes-dpms.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb2/igt@i915_pm_rpm@legacy-planes-dpms.html
* igt@kms_frontbuffer_tracking@fbc-2p-rte:
- shard-hsw: [PASS][7] -> [SKIP][8] ([fdo#109271]) +19 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-hsw4/igt@kms_frontbuffer_tracking@fbc-2p-rte.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-hsw1/igt@kms_frontbuffer_tracking@fbc-2p-rte.html
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-apl: [PASS][9] -> [FAIL][10] ([fdo#103167])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-apl2/igt@kms_frontbuffer_tracking@fbc-stridechange.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-apl5/igt@kms_frontbuffer_tracking@fbc-stridechange.html
- shard-kbl: [PASS][11] -> [FAIL][12] ([fdo#103167])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-stridechange.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-stridechange.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite:
- shard-iclb: [PASS][13] -> [FAIL][14] ([fdo#103167]) +4 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite.html
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [PASS][15] -> [SKIP][16] ([fdo#109642])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb2/igt@kms_psr2_su@frontbuffer.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb8/igt@kms_psr2_su@frontbuffer.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +3 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb5/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [PASS][19] -> [DMESG-WARN][20] ([fdo#108566]) +5 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-apl2/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-apl8/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
#### Possible fixes ####
* igt@gem_exec_balancer@smoke:
- shard-iclb: [SKIP][21] ([fdo#110854]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb3/igt@gem_exec_balancer@smoke.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb2/igt@gem_exec_balancer@smoke.html
* igt@i915_selftest@mock_requests:
- shard-glk: [INCOMPLETE][23] ([fdo#103359] / [k.org#198133]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-glk7/igt@i915_selftest@mock_requests.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-glk1/igt@i915_selftest@mock_requests.html
* igt@kms_cursor_legacy@cursor-vs-flip-atomic:
- shard-hsw: [FAIL][25] ([fdo#103355]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-hsw8/igt@kms_cursor_legacy@cursor-vs-flip-atomic.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-hsw7/igt@kms_cursor_legacy@cursor-vs-flip-atomic.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-pwrite:
- shard-hsw: [SKIP][27] ([fdo#109271]) -> [PASS][28] +22 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-hsw1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-pwrite.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-hsw5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-iclb: [FAIL][29] ([fdo#103167]) -> [PASS][30] +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-apl: [DMESG-WARN][31] ([fdo#108566]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-apl4/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-apl5/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
* igt@kms_psr@psr2_sprite_mmap_cpu:
- shard-iclb: [SKIP][33] ([fdo#109441]) -> [PASS][34] +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb8/igt@kms_psr@psr2_sprite_mmap_cpu.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_cpu.html
* igt@perf_pmu@rc6-runtime-pm:
- shard-apl: [FAIL][35] ([fdo#105010]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-apl4/igt@perf_pmu@rc6-runtime-pm.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-apl2/igt@perf_pmu@rc6-runtime-pm.html
#### Warnings ####
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][37] ([fdo#109349]) -> [DMESG-WARN][38] ([fdo#107724])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5070/shard-iclb4/igt@kms_dp_dsc@basic-dsc-enable-edp.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/shard-iclb2/igt@kms_dp_dsc@basic-dsc-enable-edp.html
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103355]: https://bugs.freedesktop.org/show_bug.cgi?id=103355
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#104097]: https://bugs.freedesktop.org/show_bug.cgi?id=104097
[fdo#105010]: https://bugs.freedesktop.org/show_bug.cgi?id=105010
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#109960]: https://bugs.freedesktop.org/show_bug.cgi?id=109960
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (7 -> 6)
------------------------------
Missing (1): shard-skl
Build changes
-------------
* IGT: IGT_5070 -> IGTPW_3205
CI_DRM_6374: 0c5076215689ad865b43ec530552a573dded361a @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3205: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/
IGT_5070: 250475af7bc52ba64956e6b35591fdd7176954d7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3205/
_______________________________________________
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:[~2019-06-28 12:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27 12:25 [igt-dev] [PATCH i-g-t] lib/i915: Use engine discovery in gem_test_engines Tvrtko Ursulin
2019-06-27 12:55 ` Chris Wilson
2019-06-27 13:45 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-06-28 12:29 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox