* [Intel-gfx] [PATCH i-g-t] igt/prime_vgem: Skip flip if no display @ 2018-09-13 12:58 Chris Wilson 2018-09-13 13:31 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork 0 siblings, 1 reply; 2+ messages in thread From: Chris Wilson @ 2018-09-13 12:58 UTC (permalink / raw) To: intel-gfx; +Cc: igt-dev We try flipping a vgem surface onto a i915 scanout. However, if there is no display we want to disable the kms interface, including the addfb ioctl. On such systems the call to kms_addfb will naturally fail and the test cannot be run. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> --- tests/prime_vgem.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/prime_vgem.c b/tests/prime_vgem.c index 993a35894..952fb017a 100644 --- a/tests/prime_vgem.c +++ b/tests/prime_vgem.c @@ -764,10 +764,13 @@ static void test_flip(int i915, int vgem, unsigned hang) igt_assert(handle[i]); close(fd); - do_or_die(__kms_addfb(i915, handle[i], - bo[i].width, bo[i].height, bo[i].pitch, - DRM_FORMAT_XRGB8888, I915_TILING_NONE, NULL, - LOCAL_DRM_MODE_FB_MODIFIERS, &fb_id[i])); + /* May skip if i915 has no displays */ + igt_require(__kms_addfb(i915, handle[i], + bo[i].width, bo[i].height, bo[i].pitch, + DRM_FORMAT_XRGB8888, + I915_TILING_NONE, NULL, + LOCAL_DRM_MODE_FB_MODIFIERS, + &fb_id[i]) == 0); igt_assert(fb_id[i]); } -- 2.19.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply related [flat|nested] 2+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for igt/prime_vgem: Skip flip if no display 2018-09-13 12:58 [Intel-gfx] [PATCH i-g-t] igt/prime_vgem: Skip flip if no display Chris Wilson @ 2018-09-13 13:31 ` Patchwork 0 siblings, 0 replies; 2+ messages in thread From: Patchwork @ 2018-09-13 13:31 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: igt/prime_vgem: Skip flip if no display URL : https://patchwork.freedesktop.org/series/49638/ State : failure == Summary == = CI Bug Log - changes from CI_DRM_4807 -> IGTPW_1834 = == Summary - FAILURE == Serious unknown changes coming with IGTPW_1834 absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_1834, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://patchwork.freedesktop.org/api/1.0/series/49638/revisions/1/mbox/ == Possible new issues == Here are the unknown changes that may have been introduced in IGTPW_1834: === IGT changes === ==== Possible regressions ==== igt@drv_selftest@live_contexts: fi-bsw-n3050: PASS -> DMESG-WARN igt@gem_exec_suspend@basic-s4-devices: fi-bdw-samus: NOTRUN -> INCOMPLETE igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a: fi-bsw-n3050: SKIP -> DMESG-WARN ==== Warnings ==== igt@kms_pipe_crc_basic@hang-read-crc-pipe-a: fi-bsw-n3050: SKIP -> PASS +11 == Known issues == Here are the changes found in IGTPW_1834 that come from known issues: === IGT changes === ==== Issues hit ==== igt@gem_exec_suspend@basic-s3: fi-kbl-soraka: NOTRUN -> INCOMPLETE (fdo#107556, fdo#107774) igt@kms_frontbuffer_tracking@basic: fi-byt-clapper: PASS -> FAIL (fdo#103167) igt@kms_pipe_crc_basic@read-crc-pipe-a: fi-byt-clapper: PASS -> FAIL (fdo#107362) igt@kms_psr@primary_mmap_gtt: {fi-cnl-u}: NOTRUN -> FAIL (fdo#107383) +3 igt@pm_rpm@module-reload: fi-hsw-peppy: NOTRUN -> DMESG-WARN (fdo#107603) ==== Possible fixes ==== igt@gem_exec_suspend@basic-s3: fi-blb-e6850: INCOMPLETE (fdo#107718) -> PASS igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a: fi-cfl-8109u: INCOMPLETE (fdo#106070) -> PASS igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b: fi-byt-clapper: FAIL (fdo#107362, fdo#103191) -> PASS igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c: fi-bxt-dsi: INCOMPLETE (fdo#103927) -> PASS {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167 fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191 fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927 fdo#106070 https://bugs.freedesktop.org/show_bug.cgi?id=106070 fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362 fdo#107383 https://bugs.freedesktop.org/show_bug.cgi?id=107383 fdo#107556 https://bugs.freedesktop.org/show_bug.cgi?id=107556 fdo#107603 https://bugs.freedesktop.org/show_bug.cgi?id=107603 fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718 fdo#107774 https://bugs.freedesktop.org/show_bug.cgi?id=107774 == Participating hosts (46 -> 46) == Additional (5): fi-kbl-soraka fi-cnl-u fi-icl-u fi-hsw-peppy fi-bdw-samus Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u == Build changes == * IGT: IGT_4639 -> IGTPW_1834 CI_DRM_4807: 55b148b84b254f61adbfeb89c4f6674664f01c46 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_1834: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1834/ IGT_4639: c7fa2ea9fbce87206474748100b825558eebe08e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1834/issues.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-13 13:31 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-09-13 12:58 [Intel-gfx] [PATCH i-g-t] igt/prime_vgem: Skip flip if no display Chris Wilson 2018-09-13 13:31 ` [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; as well as URLs for NNTP newsgroup(s).