tests/gem_userptr_blits: test zero user_size
PATCH 1/1 tests/gem_userptr_blits: test zero user_size
Check that the kernel rejects a zero user_size.
--- tests/gem_userptr_blits.c | 8 ++++++++ 1 file changed, 8 insertions(+)
tests/gem_userptr_blits.c +8 -0
@@ -442,6 +442,14 @@ static int test_input_checking(int fd) ret =drmIoctl (fd,LOCAL_IOCTL_I915_GEM_USERPTR , &userptr);igt_assert_neq (ret,0 ); +/* Zero user_size. */ +memset (&userptr,0 ,sizeof (userptr)); + userptr.user_ptr =0 ; + userptr.user_size =0 ; + userptr.flags =0 ; + ret =drmIoctl (fd,LOCAL_IOCTL_I915_GEM_USERPTR , &userptr); +igt_assert_neq (ret,0 ); +return 0 ; }
Signature · 6 lines
2.17.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Matthew Auld (2018-05-02 20:17:00)
Quoted 4 lines
Check that the kernel rejects a zero
user_size.Signed-off-by Matthew Auld <[email protected]>Cc Chris Wilson <[email protected]>
Bleurgh, ugly looking test.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/gem_userptr_blits: test zero user_size
In reply to Matthew Auld== Series Details ==
== Series Details ==
Series: tests/gem_userptr_blits: test zero user_size
URL : https://patchwork.freedesktop.org/series/42625/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4131 -> IGTPW_1317 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/42625/revisions/1/mbox/
== Known issues ==
Here are the changes found in IGTPW_1317 that come from known issues:
=== IGT changes ===
==== Possible fixes ====
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-skl-6770hq: FAIL (fdo#100368) -> PASS
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
fi-skl-6770hq: FAIL (fdo#103481) -> PASS +1
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
fi-bxt-dsi: INCOMPLETE (fdo#103927) -> PASS fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103481 https://bugs.freedesktop.org/show_bug.cgi?id=103481
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
== Participating hosts (39 -> 37) ==
Additional (1): fi-byt-j1900
Missing (3): fi-ctg-p8600 fi-ilk-m540 fi-skl-6700hq
== Build changes ==
* IGT: IGT_4459 -> IGTPW_1317
CI_DRM_4131: 46d3a67e7a5611ef8af00cb7adebf03817856645 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1317: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1317/
IGT_4459: 1b8977e08031253d61b4641bc21e5c7a990d4a4f @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4459: f74d92e704849610364b4474a2c67ea2008c14e0 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1317/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for tests/gem_userptr_blits: test zero user_size
In reply to Matthew Auld== Series Details ==
== Series Details ==
Series: tests/gem_userptr_blits: test zero user_size
URL : https://patchwork.freedesktop.org/series/42625/
State : failure
== Summary ==
= CI Bug Log - changes from IGT_4459_full -> IGTPW_1317_full =
== Summary - FAILURE ==
Serious unknown changes coming with IGTPW_1317_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_1317_full, 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/42625/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in IGTPW_1317_full:
=== IGT changes ===
==== Possible regressions ====
igt@gem_userptr_blits@input-checking:
shard-kbl: PASS -> FAIL
shard-snb: PASS -> FAIL
shard-apl: PASS -> FAIL
shard-glk: PASS -> FAIL
shard-hsw: PASS -> FAIL
==== Warnings ====
igt@pm_rc6_residency@rc6-accuracy:
shard-kbl: PASS -> SKIP== Known issues ==
Here are the changes found in IGTPW_1317_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_suspend@sysfs-reader:
shard-kbl: PASS -> INCOMPLETE (fdo#103665)
igt@gem_exec_nop@signal-all:
shard-apl: PASS -> INCOMPLETE (fdo#103927)
igt@gem_exec_schedule@pi-ringfull-bsd:
shard-glk: NOTRUN -> FAIL (fdo#103158)
igt@kms_cursor_crc@cursor-128x128-suspend:
shard-kbl: PASS -> INCOMPLETE (fdo#106024, fdo#103665)
igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible:
shard-glk: PASS -> FAIL (fdo#100368)
igt@kms_hdmi_inject@inject-audio:
shard-kbl: PASS -> FAIL (fdo#102370)
igt@kms_setmode@basic:
shard-apl: PASS -> FAIL (fdo#99912)
shard-glk: PASS -> FAIL (fdo#99912)
==== Possible fixes ====
igt@gem_exec_store@cachelines-bsd:
shard-hsw: FAIL (fdo#100007) -> PASS
igt@kms_atomic_interruptible@legacy-dpms:
shard-apl: CRASH (fdo#106381) -> PASS +5
igt@kms_atomic_interruptible@legacy-setmode:
shard-glk: CRASH (fdo#106381) -> PASS +5
igt@kms_atomic_interruptible@universal-setplane-cursor:
shard-snb: CRASH (fdo#106381) -> PASS +5
shard-hsw: CRASH (fdo#106381) -> PASS +5
igt@kms_atomic_interruptible@universal-setplane-primary:
shard-kbl: CRASH (fdo#106381) -> PASS +5
igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
shard-glk: INCOMPLETE (fdo#103359, k.org#198133) -> PASS +7
shard-apl: INCOMPLETE (fdo#103927) -> PASS +7
igt@kms_atomic_transition@plane-all-transition-fencing:
shard-kbl: INCOMPLETE (fdo#106024, fdo#103665) -> PASS
igt@kms_atomic_transition@plane-use-after-nonblocking-unbind-fencing:
shard-hsw: INCOMPLETE (fdo#103540) -> PASS +10
igt@kms_flip@flip-vs-wf_vblank-interruptible:
shard-glk: FAIL (fdo#100368) -> PASS +1
igt@kms_flip@modeset-vs-vblank-race-interruptible:
shard-glk: FAIL (fdo#103060) -> PASS
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-blt:
shard-apl: FAIL (fdo#103167) -> PASS
igt@kms_plane_multiple@atomic-pipe-a-tiling-x:
shard-snb: FAIL (fdo#103166) -> PASS
igt@kms_rotation_crc@sprite-rotation-270:
shard-apl: FAIL (fdo#103925) -> PASS
igt@sw_sync@sync_expired_merge:
shard-apl: DMESG-FAIL (fdo#106381) -> PASS +11
igt@sw_sync@sync_merge_invalid:
shard-glk: DMESG-FAIL (fdo#106381) -> PASS +57
igt@sw_sync@sync_merge_same:
shard-snb: DMESG-FAIL (fdo#106381) -> PASS +63
igt@sw_sync@sync_multi_consumer:
shard-snb: INCOMPLETE (fdo#105411) -> PASS +6
igt@sw_sync@sync_multi_producer_single_consumer:
shard-kbl: INCOMPLETE (fdo#103665) -> PASS +6
igt@syncobj_wait@invalid-reset-one-illegal-handle:
shard-kbl: DMESG-FAIL (fdo#106381) -> PASS +52
igt@syncobj_wait@multi-wait-all-for-submit-unsubmitted-signaled:
shard-apl: FAIL (fdo#106381) -> PASS +44
igt@syncobj_wait@multi-wait-all-for-submit-unsubmitted-submitted:
shard-hsw: DMESG-FAIL (fdo#106381) -> PASS +50 fdo#100007 https://bugs.freedesktop.org/show_bug.cgi?id=100007
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102370 https://bugs.freedesktop.org/show_bug.cgi?id=102370
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103158 https://bugs.freedesktop.org/show_bug.cgi?id=103158
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#103927 https://bugs.freedesktop.org/show_bug.cgi?id=103927
fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
fdo#106024 https://bugs.freedesktop.org/show_bug.cgi?id=106024
fdo#106381 https://bugs.freedesktop.org/show_bug.cgi?id=106381
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133
== Participating hosts (6 -> 5) ==
Missing (1): pig-glk-j4005
== Build changes ==
* IGT: IGT_4459 -> IGTPW_1317
* Linux: CI_DRM_4130 -> CI_DRM_4131
CI_DRM_4130: 7cccdd4022b8be9118cb9ef67168419f249ff049 @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_4131: 46d3a67e7a5611ef8af00cb7adebf03817856645 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_1317: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1317/
IGT_4459: 1b8977e08031253d61b4641bc21e5c7a990d4a4f @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4459: f74d92e704849610364b4474a2c67ea2008c14e0 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_1317/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev