* [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session @ 2023-02-14 18:11 Alan Previn 2023-02-14 18:59 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) Patchwork ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: Alan Previn @ 2023-02-14 18:11 UTC (permalink / raw) To: igt-dev; +Cc: Alan Previn Subtest 'test_pxp_stale_buf_optout_execution' when run on its own, could be executing without the PXP Arb session being alive. This would result in the termination trigger to fail (when writing to the pxp termination debugfs). Create a background protected context to start the Arb session so the simulated termination will succeed. v2: - use create_ctx_with_params instead of prepare_exec_assets for the background pxp context (Daniele) Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com> --- tests/i915/gem_pxp.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tests/i915/gem_pxp.c b/tests/i915/gem_pxp.c index 8c141ddd..0c422448 100644 --- a/tests/i915/gem_pxp.c +++ b/tests/i915/gem_pxp.c @@ -933,6 +933,27 @@ static void test_pxp_stale_buf_optout_execution(int i915) { int ret; struct simple_exec_assets data = {0}; + uint32_t tmpctx; + + /* + * NOTE: this subtest creates a non-protected context + * for submissions that uses a protected buffer. The UAPI + * requirement dictates that gem_exec_buf will not fail + * if a teardown occurs since the context was not protected, + * despite the buffer being protected. However, the teardown + * is simulated using the pxp termination debugfs which will + * fail if PXP arb session is not active. Coincidentially + * this will likely not happen when running all the subtests + * together but if we execute this specific subtest on its own + * and we didn't previously create an ARB session or if runtime + * power management forced the arb session into invalid state, + * we will not have active ARB session and thus the termination debugfs + * will fail and cause an assertion. That said, we need to + * create a background protected context (uninvolved with + * the intent of the subtest) to ensure ARB session is alive. + */ + ret = create_ctx_with_params(i915, true, true, true, false, &tmpctx); + igt_assert(ret == 0); /* * Use a normal context for testing opt-out behavior @@ -948,6 +969,7 @@ static void test_pxp_stale_buf_optout_execution(int i915) igt_assert_f((ret == 0), "Opt-out-execution with stale pxp buffer didn't succeed\n"); free_exec_assets(i915, &data); + gem_context_destroy(i915, tmpctx); } static void test_pxp_pwrcycle_staleasset_execution(int i915, struct powermgt_data *pm) -- 2.39.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) 2023-02-14 18:11 [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn @ 2023-02-14 18:59 ` Patchwork 2023-02-15 4:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2023-03-02 16:48 ` [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Ceraolo Spurio, Daniele 2 siblings, 0 replies; 4+ messages in thread From: Patchwork @ 2023-02-14 18:59 UTC (permalink / raw) To: Teres Alexis, Alan Previn; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 8887 bytes --] == Series Details == Series: tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) URL : https://patchwork.freedesktop.org/series/113760/ State : success == Summary == CI Bug Log - changes from CI_DRM_12738 -> IGTPW_8495 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/index.html Participating hosts (38 -> 37) ------------------------------ Additional (2): fi-rkl-11600 fi-elk-e7500 Missing (3): bat-kbl-2 bat-atsm-1 fi-snb-2520m Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_8495: ### IGT changes ### #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * igt@i915_selftest@live@hangcheck: - {bat-dg2-8}: [PASS][1] -> [ABORT][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/bat-dg2-8/igt@i915_selftest@live@hangcheck.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/bat-dg2-8/igt@i915_selftest@live@hangcheck.html Known issues ------------ Here are the changes found in IGTPW_8495 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@debugfs_test@basic-hwmon: - fi-rkl-11600: NOTRUN -> [SKIP][3] ([i915#7456]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@debugfs_test@basic-hwmon.html * igt@gem_huc_copy@huc-copy: - fi-rkl-11600: NOTRUN -> [SKIP][4] ([i915#2190]) [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@gem_huc_copy@huc-copy.html * igt@gem_lmem_swapping@parallel-random-engines: - fi-rkl-11600: NOTRUN -> [SKIP][5] ([i915#4613]) +3 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@gem_lmem_swapping@parallel-random-engines.html * igt@gem_tiled_pread_basic: - fi-rkl-11600: NOTRUN -> [SKIP][6] ([i915#3282]) [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@gem_tiled_pread_basic.html * igt@i915_pm_backlight@basic-brightness: - fi-rkl-11600: NOTRUN -> [SKIP][7] ([i915#7561]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@i915_pm_backlight@basic-brightness.html * igt@i915_pm_rpm@basic-pci-d3-state: - fi-elk-e7500: NOTRUN -> [SKIP][8] ([fdo#109271]) +30 similar issues [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-elk-e7500/igt@i915_pm_rpm@basic-pci-d3-state.html * igt@i915_selftest@live@hangcheck: - fi-skl-guc: [PASS][9] -> [DMESG-WARN][10] ([i915#8073]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/fi-skl-guc/igt@i915_selftest@live@hangcheck.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-skl-guc/igt@i915_selftest@live@hangcheck.html * igt@kms_chamelium_hpd@dp-hpd-fast: - fi-rkl-11600: NOTRUN -> [SKIP][11] ([i915#7828]) +8 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@kms_chamelium_hpd@dp-hpd-fast.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor: - fi-rkl-11600: NOTRUN -> [SKIP][12] ([i915#4103]) [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@kms_cursor_legacy@basic-busy-flip-before-cursor.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size: - fi-blb-e6850: NOTRUN -> [SKIP][13] ([fdo#109271]) +9 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-blb-e6850/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html * igt@kms_force_connector_basic@force-load-detect: - fi-rkl-11600: NOTRUN -> [SKIP][14] ([fdo#109285] / [i915#4098]) [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@kms_force_connector_basic@force-load-detect.html * igt@kms_psr@sprite_plane_onoff: - fi-rkl-11600: NOTRUN -> [SKIP][15] ([i915#1072]) +3 similar issues [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@kms_psr@sprite_plane_onoff.html * igt@kms_setmode@basic-clone-single-crtc: - fi-rkl-11600: NOTRUN -> [SKIP][16] ([i915#3555] / [i915#4098]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@kms_setmode@basic-clone-single-crtc.html * igt@prime_vgem@basic-read: - fi-rkl-11600: NOTRUN -> [SKIP][17] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@prime_vgem@basic-read.html * igt@prime_vgem@basic-userptr: - fi-rkl-11600: NOTRUN -> [SKIP][18] ([fdo#109295] / [i915#3301] / [i915#3708]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-rkl-11600/igt@prime_vgem@basic-userptr.html #### Possible fixes #### * igt@fbdev@write: - fi-blb-e6850: [SKIP][19] ([fdo#109271]) -> [PASS][20] +5 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/fi-blb-e6850/igt@fbdev@write.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/fi-blb-e6850/igt@fbdev@write.html - {bat-rpls-1}: [SKIP][21] ([i915#2582]) -> [PASS][22] +4 similar issues [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/bat-rpls-1/igt@fbdev@write.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/bat-rpls-1/igt@fbdev@write.html * igt@gem_exec_suspend@basic-s3@lmem0: - {bat-dg1-7}: [FAIL][23] ([fdo#103375]) -> [PASS][24] [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/bat-dg1-7/igt@gem_exec_suspend@basic-s3@lmem0.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/bat-dg1-7/igt@gem_exec_suspend@basic-s3@lmem0.html * igt@kms_frontbuffer_tracking@basic: - {bat-rpls-1}: [SKIP][25] ([i915#1849]) -> [PASS][26] [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/bat-rpls-1/igt@kms_frontbuffer_tracking@basic.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/bat-rpls-1/igt@kms_frontbuffer_tracking@basic.html * igt@prime_vgem@basic-fence-flip: - {bat-rpls-1}: [SKIP][27] ([fdo#109295] / [i915#1845] / [i915#3708]) -> [PASS][28] [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/bat-rpls-1/igt@prime_vgem@basic-fence-flip.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/bat-rpls-1/igt@prime_vgem@basic-fence-flip.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375 [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 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849 [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190 [i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582 [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#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983 [i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456 [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561 [i915#7677]: https://gitlab.freedesktop.org/drm/intel/issues/7677 [i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#8073]: https://gitlab.freedesktop.org/drm/intel/issues/8073 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7160 -> IGTPW_8495 CI-20190529: 20190529 CI_DRM_12738: aad037693df25f8c83ba6cef9facc8e47c7937c3 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_8495: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/index.html IGT_7160: 45da871dd2684227e93a2fc002b87dfc58bd5fd9 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/index.html [-- Attachment #2: Type: text/html, Size: 10268 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) 2023-02-14 18:11 [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn 2023-02-14 18:59 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) Patchwork @ 2023-02-15 4:08 ` Patchwork 2023-03-02 16:48 ` [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Ceraolo Spurio, Daniele 2 siblings, 0 replies; 4+ messages in thread From: Patchwork @ 2023-02-15 4:08 UTC (permalink / raw) To: Alan Previn; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 21112 bytes --] == Series Details == Series: tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) URL : https://patchwork.freedesktop.org/series/113760/ State : success == Summary == CI Bug Log - changes from CI_DRM_12738_full -> IGTPW_8495_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/index.html Participating hosts (9 -> 10) ------------------------------ Additional (1): shard-rkl0 Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_8495_full: ### IGT changes ### #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * igt@gem_lmem_swapping@random-engines@lmem0: - {shard-dg1}: NOTRUN -> [DMESG-WARN][1] +1 similar issue [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-dg1-18/igt@gem_lmem_swapping@random-engines@lmem0.html New tests --------- New tests have been introduced between CI_DRM_12738_full and IGTPW_8495_full: ### New IGT tests (1) ### * igt@kms_cursor_edge_walk@64x64-left-edge@pipe-b-edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s Known issues ------------ Here are the changes found in IGTPW_8495_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip: - shard-apl: NOTRUN -> [SKIP][2] ([fdo#109271]) +3 similar issues [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-apl1/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip.html * igt@kms_flip@2x-plain-flip-fb-recreate: - shard-snb: NOTRUN -> [SKIP][3] ([fdo#109271]) +24 similar issues [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-snb4/igt@kms_flip@2x-plain-flip-fb-recreate.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-mmap-gtt: - shard-glk: NOTRUN -> [SKIP][4] ([fdo#109271]) +4 similar issues [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-glk6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-mmap-gtt.html #### Possible fixes #### * igt@drm_read@short-buffer-block: - {shard-rkl}: [SKIP][5] ([i915#4098]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-3/igt@drm_read@short-buffer-block.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@drm_read@short-buffer-block.html * igt@fbdev@nullptr: - {shard-rkl}: [SKIP][7] ([i915#2582]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-4/igt@fbdev@nullptr.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@fbdev@nullptr.html * igt@fbdev@unaligned-read: - {shard-tglu}: [SKIP][9] ([i915#2582]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-tglu-6/igt@fbdev@unaligned-read.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-tglu-8/igt@fbdev@unaligned-read.html * igt@gem_ctx_persistence@engines-hang@bcs0: - {shard-rkl}: [SKIP][11] ([i915#6252]) -> [PASS][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-5/igt@gem_ctx_persistence@engines-hang@bcs0.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-2/igt@gem_ctx_persistence@engines-hang@bcs0.html * igt@gem_exec_fair@basic-deadline: - shard-glk: [FAIL][13] ([i915#2846]) -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-glk6/igt@gem_exec_fair@basic-deadline.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-glk9/igt@gem_exec_fair@basic-deadline.html * igt@gem_exec_fair@basic-none-share@rcs0: - shard-glk: [FAIL][15] ([i915#2842]) -> [PASS][16] [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-glk9/igt@gem_exec_fair@basic-none-share@rcs0.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-glk6/igt@gem_exec_fair@basic-none-share@rcs0.html * igt@gem_exec_fair@basic-pace-solo@rcs0: - shard-apl: [FAIL][17] ([i915#2842]) -> [PASS][18] +1 similar issue [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-apl7/igt@gem_exec_fair@basic-pace-solo@rcs0.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-apl2/igt@gem_exec_fair@basic-pace-solo@rcs0.html * igt@gem_exec_reloc@basic-gtt-wc-noreloc: - {shard-rkl}: [SKIP][19] ([i915#3281]) -> [PASS][20] +1 similar issue [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-1/igt@gem_exec_reloc@basic-gtt-wc-noreloc.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-5/igt@gem_exec_reloc@basic-gtt-wc-noreloc.html * igt@gem_userptr_blits@forbidden-operations: - {shard-rkl}: [SKIP][21] ([i915#3282]) -> [PASS][22] +1 similar issue [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-1/igt@gem_userptr_blits@forbidden-operations.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-5/igt@gem_userptr_blits@forbidden-operations.html * igt@gen9_exec_parse@allowed-single: - shard-apl: [ABORT][23] ([i915#5566]) -> [PASS][24] [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-apl3/igt@gen9_exec_parse@allowed-single.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-apl7/igt@gen9_exec_parse@allowed-single.html * igt@gen9_exec_parse@unaligned-jump: - {shard-rkl}: [SKIP][25] ([i915#2527]) -> [PASS][26] [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-2/igt@gen9_exec_parse@unaligned-jump.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-5/igt@gen9_exec_parse@unaligned-jump.html * igt@i915_pm_dc@dc5-psr: - {shard-rkl}: [SKIP][27] ([i915#658]) -> [PASS][28] [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-3/igt@i915_pm_dc@dc5-psr.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@i915_pm_dc@dc5-psr.html * igt@i915_pm_rpm@dpms-lpsp: - {shard-rkl}: [SKIP][29] ([i915#1397]) -> [PASS][30] +1 similar issue [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-4/igt@i915_pm_rpm@dpms-lpsp.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@i915_pm_rpm@dpms-lpsp.html * igt@i915_pm_rpm@i2c: - {shard-rkl}: [SKIP][31] ([fdo#109308]) -> [PASS][32] [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-3/igt@i915_pm_rpm@i2c.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@i915_pm_rpm@i2c.html * igt@kms_flip@flip-vs-expired-vblank@c-hdmi-a1: - shard-glk: [FAIL][33] ([i915#79]) -> [PASS][34] [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-glk6/igt@kms_flip@flip-vs-expired-vblank@c-hdmi-a1.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-glk2/igt@kms_flip@flip-vs-expired-vblank@c-hdmi-a1.html * igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw: - {shard-rkl}: [SKIP][35] ([i915#1849] / [i915#4098]) -> [PASS][36] +16 similar issues [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-2/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc: - {shard-tglu}: [SKIP][37] ([i915#1849]) -> [PASS][38] +1 similar issue [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-tglu-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-tglu-8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-wc.html * igt@kms_psr@sprite_plane_onoff: - {shard-rkl}: [SKIP][39] ([i915#1072]) -> [PASS][40] +2 similar issues [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-5/igt@kms_psr@sprite_plane_onoff.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@kms_psr@sprite_plane_onoff.html * igt@kms_pwrite_crc: - {shard-rkl}: [SKIP][41] ([i915#1845] / [i915#4098]) -> [PASS][42] +23 similar issues [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-3/igt@kms_pwrite_crc.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-6/igt@kms_pwrite_crc.html * igt@kms_vblank@pipe-c-ts-continuation-suspend: - {shard-tglu}: [SKIP][43] ([i915#1845] / [i915#7651]) -> [PASS][44] +4 similar issues [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-tglu-6/igt@kms_vblank@pipe-c-ts-continuation-suspend.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-tglu-8/igt@kms_vblank@pipe-c-ts-continuation-suspend.html * igt@perf@gen12-oa-tlb-invalidate: - {shard-rkl}: [SKIP][45] ([fdo#109289]) -> [PASS][46] [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-5/igt@perf@gen12-oa-tlb-invalidate.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-4/igt@perf@gen12-oa-tlb-invalidate.html * igt@perf@polling-small-buf: - {shard-rkl}: [FAIL][47] ([i915#1722]) -> [PASS][48] [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12738/shard-rkl-1/igt@perf@polling-small-buf.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/shard-rkl-5/igt@perf@polling-small-buf.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274 [fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279 [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280 [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289 [fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291 [fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295 [fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302 [fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307 [fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308 [fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309 [fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312 [fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313 [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315 [fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506 [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189 [fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614 [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615 [fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656 [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825 [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827 [fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054 [fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132 [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397 [i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722 [i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769 [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825 [i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849 [i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902 [i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937 [i915#2232]: https://gitlab.freedesktop.org/drm/intel/issues/2232 [i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433 [i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437 [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527 [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575 [i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582 [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587 [i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658 [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672 [i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681 [i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705 [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280 [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842 [i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846 [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856 [i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920 [i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116 [i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315 [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281 [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282 [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297 [i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299 [i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301 [i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318 [i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359 [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458 [i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469 [i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528 [i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536 [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591 [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637 [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638 [i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689 [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708 [i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734 [i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742 [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886 [i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989 [i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212 [i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426 [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270 [i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433 [i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387 [i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391 [i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525 [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538 [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454 [i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565 [i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613 [i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767 [i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771 [i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812 [i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818 [i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833 [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852 [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860 [i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880 [i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885 [i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958 [i915#5115]: https://gitlab.freedesktop.org/drm/intel/issues/5115 [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176 [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235 [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286 [i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288 [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289 [i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325 [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533 [i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431 [i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439 [i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461 [i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563 [i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566 [i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723 [i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784 [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095 [i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227 [i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230 [i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245 [i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248 [i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252 [i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301 [i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334 [i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335 [i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344 [i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433 [i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497 [i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524 [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658 [i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621 [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768 [i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944 [i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946 [i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037 [i915#7052]: https://gitlab.freedesktop.org/drm/intel/issues/7052 [i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116 [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118 [i915#7178]: https://gitlab.freedesktop.org/drm/intel/issues/7178 [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561 [i915#7582]: https://gitlab.freedesktop.org/drm/intel/issues/7582 [i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651 [i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697 [i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701 [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711 [i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79 [i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949 [i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957 [i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975 [i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7160 -> IGTPW_8495 CI-20190529: 20190529 CI_DRM_12738: aad037693df25f8c83ba6cef9facc8e47c7937c3 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_8495: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/index.html IGT_7160: 45da871dd2684227e93a2fc002b87dfc58bd5fd9 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8495/index.html [-- Attachment #2: Type: text/html, Size: 13697 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session 2023-02-14 18:11 [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn 2023-02-14 18:59 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) Patchwork 2023-02-15 4:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork @ 2023-03-02 16:48 ` Ceraolo Spurio, Daniele 2 siblings, 0 replies; 4+ messages in thread From: Ceraolo Spurio, Daniele @ 2023-03-02 16:48 UTC (permalink / raw) To: Alan Previn, igt-dev On 2/14/2023 10:11 AM, Alan Previn wrote: > Subtest 'test_pxp_stale_buf_optout_execution' when run on its own, > could be executing without the PXP Arb session being alive. This > would result in the termination trigger to fail (when writing to > the pxp termination debugfs). > > Create a background protected context to start the Arb session so > the simulated termination will succeed. > > v2: - use create_ctx_with_params instead of prepare_exec_assets > for the background pxp context (Daniele) > > Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Daniele > --- > tests/i915/gem_pxp.c | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/tests/i915/gem_pxp.c b/tests/i915/gem_pxp.c > index 8c141ddd..0c422448 100644 > --- a/tests/i915/gem_pxp.c > +++ b/tests/i915/gem_pxp.c > @@ -933,6 +933,27 @@ static void test_pxp_stale_buf_optout_execution(int i915) > { > int ret; > struct simple_exec_assets data = {0}; > + uint32_t tmpctx; > + > + /* > + * NOTE: this subtest creates a non-protected context > + * for submissions that uses a protected buffer. The UAPI > + * requirement dictates that gem_exec_buf will not fail > + * if a teardown occurs since the context was not protected, > + * despite the buffer being protected. However, the teardown > + * is simulated using the pxp termination debugfs which will > + * fail if PXP arb session is not active. Coincidentially > + * this will likely not happen when running all the subtests > + * together but if we execute this specific subtest on its own > + * and we didn't previously create an ARB session or if runtime > + * power management forced the arb session into invalid state, > + * we will not have active ARB session and thus the termination debugfs > + * will fail and cause an assertion. That said, we need to > + * create a background protected context (uninvolved with > + * the intent of the subtest) to ensure ARB session is alive. > + */ > + ret = create_ctx_with_params(i915, true, true, true, false, &tmpctx); > + igt_assert(ret == 0); > > /* > * Use a normal context for testing opt-out behavior > @@ -948,6 +969,7 @@ static void test_pxp_stale_buf_optout_execution(int i915) > igt_assert_f((ret == 0), "Opt-out-execution with stale pxp buffer didn't succeed\n"); > > free_exec_assets(i915, &data); > + gem_context_destroy(i915, tmpctx); > } > > static void test_pxp_pwrcycle_staleasset_execution(int i915, struct powermgt_data *pm) ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-02 16:48 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-02-14 18:11 [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn 2023-02-14 18:59 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session (rev2) Patchwork 2023-02-15 4:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2023-03-02 16:48 ` [igt-dev] [PATCH i-g-t v2] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Ceraolo Spurio, Daniele
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.