Skip to contentSkip to conversation

i915/gem_mmap_offset: Ignore ENOSPC error for making residency execbuf

PATCH In review Zbigniew Kempczyński 3 participants 4 messages Oct 3, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i915/gem_mmap_offset: Ignore ENOSPC error for making residency execbuf

Platforms without ppgtt may be affected by ENOSPC when object is too big to fit in gtt. Still we expect object will be cleared in pagefault path so we can move forward even if execbuf is failing. To verify object is cleared in both paths (execbuf/pagefault handler) we select them randomly.

---
 tests/i915/gem_mmap_offset.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
tests/i915/gem_mmap_offset.c +3 -2
index f51d7e38f5..13da26c784 100644
@@ -102,7 +102,7 @@ static void make_resident(int i915, uint32_t batch, uint32_t handle)
 		.buffer_count = ARRAY_SIZE(obj),
 	};
 
-	gem_execbuf(i915, &eb);
+	__gem_execbuf(i915, &eb);
 	if (obj[1].handle != batch)
 		gem_close(i915, obj[1].handle);
 }
@@ -704,7 +704,8 @@ static void *thread_clear(void *data)
 		size = npages << 12;
 
 		igt_assert_eq(__gem_create_in_memory_region_list(i915, &handle, &size, 0, &arg->region, 1), 0);
-		make_resident(i915, batch, handle);
+		if (random() & 1)
+			make_resident(i915, batch, handle);
 
 		ptr = __mmap_offset(i915, handle, 0, size,
 				    PROT_READ | PROT_WRITE,
Signature · 1 line
2.34.1
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for i915/gem_mmap_offset: Ignore ENOSPC error for making residency execbuf

== Series Details ==

== Series Details ==

Series: i915/gem_mmap_offset: Ignore ENOSPC error for making residency execbuf
URL : https://patchwork.freedesktop.org/series/109360/
State : success

== Summary ==

CI Bug Log - changes from IGT_6671 -> IGTPW_7905
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/index.html

Participating hosts (49 -> 43)
------------------------------

Additional (1): fi-rkl-11600
Missing (7): fi-tgl-u2 fi-hsw-4200u fi-glk-dsi fi-ctg-p8600 fi-bdw-samus fi-bsw-nick fi-skl-6600u

Known issues
------------

Here are the changes found in IGTPW_7905 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_huc_copy@huc-copy:
- fi-rkl-11600: NOTRUN -> [SKIP][1] ([i915#2190])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-bdw-gvtdvm: NOTRUN -> [SKIP][2] ([fdo#109271]) +19 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-bdw-gvtdvm/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][3] ([i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@gem_tiled_pread_basic:
- fi-rkl-11600: NOTRUN -> [SKIP][4] ([i915#3282])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@gem_tiled_pread_basic.html

* igt@i915_pm_backlight@basic-brightness:
- fi-rkl-11600: NOTRUN -> [SKIP][5] ([i915#3012])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@i915_suspend@basic-s2idle-without-i915:
- fi-bdw-gvtdvm: NOTRUN -> [INCOMPLETE][6] ([i915#4817])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-bdw-gvtdvm/igt@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- fi-rkl-11600: NOTRUN -> [INCOMPLETE][7] ([i915#5982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@kms_chamelium@hdmi-edid-read:
- fi-rkl-11600: NOTRUN -> [SKIP][8] ([fdo#111827]) +7 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-rkl-11600: NOTRUN -> [SKIP][9] ([i915#4103])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-rkl-11600: NOTRUN -> [SKIP][10] ([fdo#109285] / [i915#4098])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@kms_psr@primary_page_flip:
- fi-rkl-11600: NOTRUN -> [SKIP][11] ([i915#1072]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@kms_psr@primary_page_flip.html

* igt@kms_setmode@basic-clone-single-crtc:
- fi-rkl-11600: NOTRUN -> [SKIP][12] ([i915#3555] / [i915#4098])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@prime_vgem@basic-read:
- fi-rkl-11600: NOTRUN -> [SKIP][13] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- fi-rkl-11600: NOTRUN -> [SKIP][14] ([fdo#109295] / [i915#3301] / [i915#3708])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-rkl-11600/igt@[email protected]

#### Possible fixes ####

* igt@fbdev@read:
- {bat-rpls-2}: [SKIP][15] ([i915#2582]) -> [PASS][16] +4 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/bat-rpls-2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/bat-rpls-2/igt@[email protected]

* igt@i915_module_load@load:
- fi-bdw-gvtdvm: [DMESG-WARN][17] ([i915#6540]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/fi-bdw-gvtdvm/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-bdw-gvtdvm/igt@[email protected]

* igt@i915_selftest@live@gt_pm:
- {bat-rpls-2}: [DMESG-FAIL][19] ([i915#4258]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/bat-rpls-2/igt@i915_selftest@live@gt_pm.html

* igt@i915_selftest@live@slpc:
- {bat-rpls-1}: [DMESG-FAIL][21] ([i915#6367]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/bat-rpls-1/igt@i915_selftest@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@kms_force_connector_basic@force-connector-state:
- fi-bdw-gvtdvm: [DMESG-WARN][23] ([i915#5922]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/fi-bdw-gvtdvm/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/fi-bdw-gvtdvm/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-d-dp-2:
- {bat-dg2-11}: [FAIL][25] ([i915#6818]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#5922]: https://gitlab.freedesktop.org/drm/intel/issues/5922
[i915#5982]: https://gitlab.freedesktop.org/drm/intel/issues/5982
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6540]: https://gitlab.freedesktop.org/drm/intel/issues/6540
[i915#6818]: https://gitlab.freedesktop.org/drm/intel/issues/6818
[i915#6856]: https://gitlab.freedesktop.org/drm/intel/issues/6856
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_6671 -> IGTPW_7905

CI-20190529: 20190529
CI_DRM_12204: fd2f9b9a4178e667adad268a662eb8a9c0ddc8f8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_7905: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/index.html
IGT_6671: e9244bfd0111902aee2d9c09cddf7c38a6f6d0ce @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/index.html

#2 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for i915/gem_mmap_offset: Ignore ENOSPC error for making residency execbuf

In reply to Zbigniew Kempczyński
== Series Details ==

== Series Details ==

Series: i915/gem_mmap_offset: Ignore ENOSPC error for making residency execbuf
URL : https://patchwork.freedesktop.org/series/109360/
State : success

== Summary ==

CI Bug Log - changes from IGT_6671_full -> IGTPW_7905_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/index.html

Participating hosts (6 -> 6)
------------------------------

No changes in participating hosts

Known issues
------------

Here are the changes found in IGTPW_7905_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_create@create-massive:
- shard-apl: NOTRUN -> [DMESG-WARN][1] ([i915#4991])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl7/igt@[email protected]

* igt@gem_exec_fair@basic-pace@rcs0:
- shard-glk: [PASS][2] -> [FAIL][3] ([i915#2842])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-glk6/igt@gem_exec_fair@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-glk3/igt@gem_exec_fair@[email protected]

* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][4] -> [DMESG-WARN][5] ([i915#5566] / [i915#716])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-glk7/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-glk2/igt@[email protected]

* igt@i915_pm_dc@dc5-psr:
- shard-tglb: [PASS][6] -> [FAIL][7] ([i915#3989])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-tglb7/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-tglb5/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp:
- shard-apl: NOTRUN -> [SKIP][8] ([fdo#109271]) +75 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl3/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
- shard-glk: NOTRUN -> [SKIP][9] ([fdo#109271]) +8 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-glk2/igt@[email protected]

* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [PASS][10] -> [DMESG-WARN][11] ([i915#180]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl1/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl7/igt@[email protected]

* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#3886]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl6/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_chamelium@hdmi-hpd-storm:
- shard-apl: NOTRUN -> [SKIP][13] ([fdo#109271] / [fdo#111827]) +4 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl6/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- shard-tglb: NOTRUN -> [SKIP][14] ([i915#4103])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][15] ([i915#4103])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb8/igt@[email protected]

* igt@kms_cursor_legacy@cursor-vs-flip@atomic-transitions:
- shard-iclb: [PASS][16] -> [FAIL][17] ([i915#5072])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb4/igt@kms_cursor_legacy@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb7/igt@kms_cursor_legacy@[email protected]

* igt@kms_flip@2x-flip-vs-rmfb:
- shard-iclb: NOTRUN -> [SKIP][18] ([fdo#109274])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][19] ([fdo#109274] / [fdo#111825] / [i915#3637])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-tglb5/igt@[email protected]

* igt@kms_flip@2x-plain-flip-fb-recreate@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][20] -> [FAIL][21] ([i915#2122])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-glk6/igt@kms_flip@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-glk2/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#2587] / [i915#2672]) +2 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb5/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][23] ([i915#2672]) +4 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-upscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-downscaling@pipe-a-default-mode:
- shard-iclb: [PASS][24] -> [SKIP][25] ([i915#3555])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-downscaling@pipe-a-default-mode.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-downscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][26] ([i915#3555])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-downscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][27] ([i915#2672] / [i915#3555])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
- shard-tglb: NOTRUN -> [SKIP][28] ([i915#6497])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-tglb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu:
- shard-snb: NOTRUN -> [SKIP][29] ([fdo#109271]) +9 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-snb6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu.html
- shard-tglb: NOTRUN -> [SKIP][30] ([fdo#109280] / [fdo#111825])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu.html
- shard-iclb: NOTRUN -> [SKIP][31] ([fdo#109280])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu.html

* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [PASS][32] -> [SKIP][33] ([fdo#109441])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb6/igt@kms_psr@psr2_sprite_mmap_gtt.html

* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-tglb: [PASS][34] -> [SKIP][35] ([i915#5519])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-tglb8/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-tglb3/igt@[email protected]

#### Possible fixes ####

* igt@gem_ctx_exec@basic-nohangcheck:
- shard-tglb: [FAIL][36] ([i915#6268]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-tglb3/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-tglb7/igt@[email protected]

* igt@gem_exec_balancer@parallel-balancer:
- shard-iclb: [SKIP][38] ([i915#4525]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb6/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@[email protected]

* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: [FAIL][40] ([i915#2842]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-glk2/igt@gem_exec_fair@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-glk5/igt@gem_exec_fair@[email protected]

* igt@gem_mmap_offset@close-race:
- shard-glk: [FAIL][42] ([i915#7000]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-glk6/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-glk5/igt@[email protected]

* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [SKIP][44] ([fdo#109271]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl7/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl6/igt@[email protected]

* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][46] ([i915#6537]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl7/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl3/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@b-dp1:
- shard-apl: [DMESG-WARN][48] ([i915#180]) -> [PASS][49] +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl8/igt@kms_flip@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl6/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-valid-mode:
- shard-glk: [FAIL][50] ([i915#1888] / [i915#5852]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-glk6/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-valid-mode.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-glk9/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling@pipe-a-valid-mode.html

* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-iclb: [SKIP][52] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb1/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@[email protected]

* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-iclb: [SKIP][54] ([fdo#109441]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb3/igt@kms_psr@psr2_primary_mmap_gtt.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html

* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- shard-iclb: [SKIP][56] ([i915#5519]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb6/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@[email protected]

#### Warnings ####

* igt@gem_exec_balancer@parallel-ordering:
- shard-iclb: [FAIL][58] ([i915#6117]) -> [SKIP][59] ([i915#4525])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb4/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb3/igt@[email protected]

* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-fully-sf:
- shard-iclb: [SKIP][60] ([i915#658]) -> [SKIP][61] ([i915#2920]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb6/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area:
- shard-iclb: [SKIP][62] ([i915#2920]) -> [SKIP][63] ([fdo#111068] / [i915#658])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb2/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb3/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
- shard-iclb: [SKIP][64] ([fdo#111068] / [i915#658]) -> [SKIP][65] ([i915#2920])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb5/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@[email protected]

* igt@kms_psr2_su@page_flip-nv12:
- shard-iclb: [SKIP][66] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [FAIL][67] ([i915#5939])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb5/igt@kms_psr2_su@page_flip-nv12.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb2/igt@kms_psr2_su@page_flip-nv12.html

* igt@kms_psr2_su@page_flip-p010:
- shard-iclb: [FAIL][68] ([i915#5939]) -> [SKIP][69] ([fdo#109642] / [fdo#111068] / [i915#658])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-iclb2/igt@kms_psr2_su@page_flip-p010.html
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-iclb6/igt@kms_psr2_su@page_flip-p010.html

* igt@runner@aborted:
- shard-apl: ([FAIL][70], [FAIL][71], [FAIL][72], [FAIL][73]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#4312]) -> ([FAIL][74], [FAIL][75], [FAIL][76], [FAIL][77]) ([i915#180] / [i915#3002] / [i915#4312])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl8/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl8/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl6/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6671/shard-apl2/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl3/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl8/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl7/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/shard-apl7/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#5072]: https://gitlab.freedesktop.org/drm/intel/issues/5072
[i915#5519]: https://gitlab.freedesktop.org/drm/intel/issues/5519
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5852]: https://gitlab.freedesktop.org/drm/intel/issues/5852
[i915#5939]: https://gitlab.freedesktop.org/drm/intel/issues/5939
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#7000]: https://gitlab.freedesktop.org/drm/intel/issues/7000
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_6671 -> IGTPW_7905

CI-20190529: 20190529
CI_DRM_12204: fd2f9b9a4178e667adad268a662eb8a9c0ddc8f8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_7905: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/index.html
IGT_6671: e9244bfd0111902aee2d9c09cddf7c38a6f6d0ce @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_7905/index.html

Reviewed-by on v1 1/1
#3 lore raw
In reply to Zbigniew Kempczyński

Hi Zbigniew,

Quoted 19 lines · Zbigniew Kempczyński

Platforms without ppgtt may be affected by ENOSPC when object is too big to fit in gtt. Still we expect object will be cleared in pagefault path so we can move forward even if execbuf is failing. To verify object is cleared in both paths (execbuf/pagefault handler) we select them randomly.

---
 tests/i915/gem_mmap_offset.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
tests/i915/gem_mmap_offset.c +0 -0
index f51d7e38f5..13da26c784 100644

tests/i915/gem_mmap_offset.c static void make_resident(int i915, uint32_t batch, uint32_t handle) · line 105

Quoted 4 lines
tests/i915/gem_mmap_offset.c +0 -1
@@ -102,7 +102,7 @@ static void make_resident(int i915, uint32_t batch, uint32_t handle)
 		.buffer_count = ARRAY_SIZE(obj),
 	};
 
-	gem_execbuf(i915, &eb);

imho it would help to put here short comment why we ignore error.

tests/i915/gem_mmap_offset.c static void *thread_clear(void *data) · line 707

Quoted 9 lines
tests/i915/gem_mmap_offset.c +1 -1
+	__gem_execbuf(i915, &eb);
 	if (obj[1].handle != batch)
 		gem_close(i915, obj[1].handle);
 }
@@ -704,7 +704,8 @@ static void *thread_clear(void *data)
 		size = npages << 12;
 
 		igt_assert_eq(__gem_create_in_memory_region_list(i915, &handle, &size, 0, &arg->region, 1), 0);
-		make_resident(i915, batch, handle);

Same here, put short comment why we make it random.

With that fixed

Quoted 8 lines
tests/i915/gem_mmap_offset.c +2 -0
+		if (random() & 1)
+			make_resident(i915, batch, handle);
 
 		ptr = __mmap_offset(i915, handle, 0, size,
 				    PROT_READ | PROT_WRITE,
Signature · 1 line
2.34.1