* [PATCH igt] tests/gem_eio: use lib to force a gpu reset
@ 2018-03-16 10:19 Mika Kuoppala
2018-03-16 10:25 ` Chris Wilson
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Mika Kuoppala @ 2018-03-16 10:19 UTC (permalink / raw)
To: intel-gfx
From: Mika Kuoppala <mika.kuoppala@intel.com>
Instead of poking the debugfs directly, use a library
function to force a gpu reset.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
---
tests/gem_eio.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/tests/gem_eio.c b/tests/gem_eio.c
index 249f5bff..1aa5d60a 100644
--- a/tests/gem_eio.c
+++ b/tests/gem_eio.c
@@ -84,15 +84,6 @@ static void wedge_gpu(int fd)
igt_assert(i915_reset_control(true));
}
-static void wedgeme(int drm_fd)
-{
- int dir = igt_debugfs_dir(drm_fd);
-
- igt_sysfs_set(dir, "i915_wedged", "-1");
-
- close(dir);
-}
-
static int __gem_throttle(int fd)
{
int err = 0;
@@ -181,7 +172,7 @@ static void test_suspend(int fd, int state)
/* Check we can suspend when the driver is already wedged */
igt_require(i915_reset_control(false));
- wedgeme(fd);
+ igt_force_gpu_reset(fd);
igt_system_suspend_autoresume(state, SUSPEND_TEST_DEVICES);
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH igt] tests/gem_eio: use lib to force a gpu reset 2018-03-16 10:19 [PATCH igt] tests/gem_eio: use lib to force a gpu reset Mika Kuoppala @ 2018-03-16 10:25 ` Chris Wilson 2018-03-16 10:30 ` Mika Kuoppala 2018-03-16 12:02 ` ✓ Fi.CI.BAT: success for " Patchwork 2018-03-16 13:39 ` ✗ Fi.CI.IGT: failure " Patchwork 2 siblings, 1 reply; 5+ messages in thread From: Chris Wilson @ 2018-03-16 10:25 UTC (permalink / raw) To: Mika Kuoppala, intel-gfx Quoting Mika Kuoppala (2018-03-16 10:19:19) > From: Mika Kuoppala <mika.kuoppala@intel.com> > > Instead of poking the debugfs directly, use a library > function to force a gpu reset. Unfortunately said library function asserts the reset succeeds, which is the antithesis of gem_eio. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH igt] tests/gem_eio: use lib to force a gpu reset 2018-03-16 10:25 ` Chris Wilson @ 2018-03-16 10:30 ` Mika Kuoppala 0 siblings, 0 replies; 5+ messages in thread From: Mika Kuoppala @ 2018-03-16 10:30 UTC (permalink / raw) To: Chris Wilson, intel-gfx Chris Wilson <chris@chris-wilson.co.uk> writes: > Quoting Mika Kuoppala (2018-03-16 10:19:19) >> From: Mika Kuoppala <mika.kuoppala@intel.com> >> >> Instead of poking the debugfs directly, use a library >> function to force a gpu reset. > > Unfortunately said library function asserts the reset succeeds, which is > the antithesis of gem_eio. Ah indeed it does. Patch withdrawn. -Mika _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 5+ messages in thread
* ✓ Fi.CI.BAT: success for tests/gem_eio: use lib to force a gpu reset 2018-03-16 10:19 [PATCH igt] tests/gem_eio: use lib to force a gpu reset Mika Kuoppala 2018-03-16 10:25 ` Chris Wilson @ 2018-03-16 12:02 ` Patchwork 2018-03-16 13:39 ` ✗ Fi.CI.IGT: failure " Patchwork 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2018-03-16 12:02 UTC (permalink / raw) To: Mika Kuoppala; +Cc: intel-gfx == Series Details == Series: tests/gem_eio: use lib to force a gpu reset URL : https://patchwork.freedesktop.org/series/40089/ State : success == Summary == IGT patchset tested on top of latest successful build 2e92134b4e4f754239f9721b8781ce2fc0aab07c tests/kms_frontbuffer_tracking: Reduce fbc status spam, v2. with latest DRM-Tip kernel build CI_DRM_3938 d635bfa5779f drm-tip: 2018y-03m-16d-11h-00m-29s UTC integration manifest No testlist changes. ---- Known issues: Test debugfs_test: Subgroup read_all_entries: pass -> INCOMPLETE (fi-snb-2520m) fdo#103713 Test gem_mmap_gtt: Subgroup basic-small-bo-tiledx: fail -> PASS (fi-gdg-551) fdo#102575 fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713 fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575 fi-bdw-5557u total:285 pass:264 dwarn:0 dfail:0 fail:0 skip:21 time:432s fi-bdw-gvtdvm total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:442s fi-blb-e6850 total:285 pass:220 dwarn:1 dfail:0 fail:0 skip:64 time:381s fi-bsw-n3050 total:285 pass:239 dwarn:0 dfail:0 fail:0 skip:46 time:546s fi-bwr-2160 total:285 pass:180 dwarn:0 dfail:0 fail:0 skip:105 time:297s fi-bxt-dsi total:285 pass:255 dwarn:0 dfail:0 fail:0 skip:30 time:513s fi-bxt-j4205 total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:513s fi-byt-j1900 total:285 pass:250 dwarn:0 dfail:0 fail:0 skip:35 time:517s fi-byt-n2820 total:285 pass:246 dwarn:0 dfail:0 fail:0 skip:39 time:506s fi-cfl-8700k total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:413s fi-cfl-s2 total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:578s fi-cfl-u total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:512s fi-cnl-drrs total:285 pass:254 dwarn:3 dfail:0 fail:0 skip:28 time:526s fi-elk-e7500 total:285 pass:225 dwarn:1 dfail:0 fail:0 skip:59 time:427s fi-gdg-551 total:285 pass:177 dwarn:0 dfail:0 fail:0 skip:108 time:323s fi-glk-1 total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:538s fi-hsw-4770 total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:402s fi-ilk-650 total:285 pass:225 dwarn:0 dfail:0 fail:0 skip:60 time:423s fi-ivb-3520m total:285 pass:256 dwarn:0 dfail:0 fail:0 skip:29 time:478s fi-ivb-3770 total:285 pass:252 dwarn:0 dfail:0 fail:0 skip:33 time:426s fi-kbl-7500u total:285 pass:260 dwarn:1 dfail:0 fail:0 skip:24 time:473s fi-kbl-7567u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:466s fi-kbl-r total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:515s fi-pnv-d510 total:285 pass:219 dwarn:1 dfail:0 fail:0 skip:65 time:654s fi-skl-6260u total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:444s fi-skl-6600u total:285 pass:258 dwarn:0 dfail:0 fail:0 skip:27 time:528s fi-skl-6700hq total:285 pass:259 dwarn:0 dfail:0 fail:0 skip:26 time:545s fi-skl-6700k2 total:285 pass:261 dwarn:0 dfail:0 fail:0 skip:24 time:505s fi-skl-6770hq total:285 pass:265 dwarn:0 dfail:0 fail:0 skip:20 time:504s fi-skl-guc total:285 pass:257 dwarn:0 dfail:0 fail:0 skip:28 time:431s fi-skl-gvtdvm total:285 pass:262 dwarn:0 dfail:0 fail:0 skip:23 time:446s fi-snb-2520m total:3 pass:2 dwarn:0 dfail:0 fail:0 skip:0 fi-snb-2600 total:285 pass:245 dwarn:0 dfail:0 fail:0 skip:40 time:403s == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1147/issues.html _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 5+ messages in thread
* ✗ Fi.CI.IGT: failure for tests/gem_eio: use lib to force a gpu reset 2018-03-16 10:19 [PATCH igt] tests/gem_eio: use lib to force a gpu reset Mika Kuoppala 2018-03-16 10:25 ` Chris Wilson 2018-03-16 12:02 ` ✓ Fi.CI.BAT: success for " Patchwork @ 2018-03-16 13:39 ` Patchwork 2 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2018-03-16 13:39 UTC (permalink / raw) To: Mika Kuoppala; +Cc: intel-gfx == Series Details == Series: tests/gem_eio: use lib to force a gpu reset URL : https://patchwork.freedesktop.org/series/40089/ State : failure == Summary == ---- Possible new issues: Test gem_eio: Subgroup hibernate: pass -> FAIL (shard-snb) Subgroup suspend: pass -> FAIL (shard-snb) Test gem_tiled_swapping: Subgroup non-threaded: skip -> PASS (shard-hsw) skip -> PASS (shard-snb) ---- Known issues: Test gem_eio: Subgroup hibernate: pass -> FAIL (shard-apl) fdo#103927 +1 pass -> FAIL (shard-hsw) fdo#103540 Subgroup suspend: pass -> FAIL (shard-hsw) fdo#105055 Test gem_exec_suspend: Subgroup basic-s3: skip -> PASS (shard-snb) fdo#104311 Test kms_frontbuffer_tracking: Subgroup fbc-1p-primscrn-pri-indfb-draw-render: pass -> FAIL (shard-apl) fdo#101623 Test kms_plane_multiple: Subgroup atomic-pipe-a-tiling-x: fail -> PASS (shard-snb) fdo#103166 Test kms_rotation_crc: Subgroup primary-rotation-180: fail -> PASS (shard-snb) fdo#103925 Test kms_sysfs_edid_timing: warn -> PASS (shard-apl) fdo#100047 Test testdisplay: pass -> DMESG-WARN (shard-apl) fdo#104727 fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927 fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540 fdo#105055 https://bugs.freedesktop.org/show_bug.cgi?id=105055 fdo#104311 https://bugs.freedesktop.org/show_bug.cgi?id=104311 fdo#101623 https://bugs.freedesktop.org/show_bug.cgi?id=101623 fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166 fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925 fdo#100047 https://bugs.freedesktop.org/show_bug.cgi?id=100047 fdo#104727 https://bugs.freedesktop.org/show_bug.cgi?id=104727 shard-apl total:3442 pass:1811 dwarn:2 dfail:0 fail:10 skip:1619 time:13037s shard-hsw total:3442 pass:1765 dwarn:1 dfail:0 fail:4 skip:1671 time:11823s shard-snb total:3442 pass:1355 dwarn:1 dfail:0 fail:4 skip:2081 time:7113s Blacklisted hosts: shard-kbl total:2180 pass:1186 dwarn:22 dfail:0 fail:9 skip:963 time:6374s == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1147/shards.html _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-03-16 13:39 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-03-16 10:19 [PATCH igt] tests/gem_eio: use lib to force a gpu reset Mika Kuoppala 2018-03-16 10:25 ` Chris Wilson 2018-03-16 10:30 ` Mika Kuoppala 2018-03-16 12:02 ` ✓ Fi.CI.BAT: success for " Patchwork 2018-03-16 13:39 ` ✗ Fi.CI.IGT: failure " Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox