* [igt-dev] [PATCH] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session
@ 2023-02-08 6:24 Alan Previn
2023-02-08 17:47 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Alan Previn @ 2023-02-08 6:24 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.
Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
---
tests/i915/gem_pxp.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/tests/i915/gem_pxp.c b/tests/i915/gem_pxp.c
index 8c141ddd..5fbfe6b2 100644
--- a/tests/i915/gem_pxp.c
+++ b/tests/i915/gem_pxp.c
@@ -933,6 +933,25 @@ static void test_pxp_stale_buf_optout_execution(int i915)
{
int ret;
struct simple_exec_assets data = {0};
+ struct simple_exec_assets data2 = {0};
+
+ /*
+ * 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 if the system has no display enabled, it will likely
+ * 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.
+ */
+ prepare_exec_assets(i915, &data2, true, true);
/*
* Use a normal context for testing opt-out behavior
@@ -948,6 +967,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);
+ free_exec_assets(i915, &data2);
}
static void test_pxp_pwrcycle_staleasset_execution(int i915, struct powermgt_data *pm)
--
2.39.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session
2023-02-08 6:24 [igt-dev] [PATCH] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn
@ 2023-02-08 17:47 ` Patchwork
2023-02-08 19:01 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-02-13 23:30 ` [igt-dev] [PATCH] " Ceraolo Spurio, Daniele
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2023-02-08 17:47 UTC (permalink / raw)
To: Alan Previn; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 3716 bytes --]
== Series Details ==
Series: tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session
URL : https://patchwork.freedesktop.org/series/113760/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12712 -> IGTPW_8461
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/index.html
Participating hosts (38 -> 36)
------------------------------
Missing (2): bat-atsm-1 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8461:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@i915_selftest@live@reset:
- {bat-dg2-11}: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/bat-dg2-11/igt@i915_selftest@live@reset.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/bat-dg2-11/igt@i915_selftest@live@reset.html
New tests
---------
New tests have been introduced between CI_DRM_12712 and IGTPW_8461:
### New IGT tests (1) ###
* igt@i915_pm_rpm@module-reload:
- Statuses : 31 pass(s) 5 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_8461 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][3] ([i915#7229]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/fi-pnv-d510/igt@gem_exec_gttfill@basic.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/fi-pnv-d510/igt@gem_exec_gttfill@basic.html
* igt@i915_selftest@live@reset:
- {bat-rpls-2}: [ABORT][5] ([i915#4983]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/bat-rpls-2/igt@i915_selftest@live@reset.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/bat-rpls-2/igt@i915_selftest@live@reset.html
- {bat-rpls-1}: [ABORT][7] ([i915#4983]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/bat-rpls-1/igt@i915_selftest@live@reset.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/bat-rpls-1/igt@i915_selftest@live@reset.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5251]: https://gitlab.freedesktop.org/drm/intel/issues/5251
[i915#6311]: https://gitlab.freedesktop.org/drm/intel/issues/6311
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7872]: https://gitlab.freedesktop.org/drm/intel/issues/7872
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7153 -> IGTPW_8461
CI-20190529: 20190529
CI_DRM_12712: 579f8b992ea3f5cd11bd803dd0585a7ddb006a13 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8461: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/index.html
IGT_7153: f47f859f13376958a2bd199423b1f0ff53dddbe0 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/index.html
[-- Attachment #2: Type: text/html, Size: 3958 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session
2023-02-08 6:24 [igt-dev] [PATCH] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn
2023-02-08 17:47 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2023-02-08 19:01 ` Patchwork
2023-02-13 23:30 ` [igt-dev] [PATCH] " Ceraolo Spurio, Daniele
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2023-02-08 19:01 UTC (permalink / raw)
To: Alan Previn; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 24132 bytes --]
== Series Details ==
Series: tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session
URL : https://patchwork.freedesktop.org/series/113760/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12712_full -> IGTPW_8461_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/index.html
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8461_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-pgflip-blt:
- {shard-dg1}: NOTRUN -> [DMESG-WARN][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-dg1-13/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-pgflip-blt.html
New tests
---------
New tests have been introduced between CI_DRM_12712_full and IGTPW_8461_full:
### New IGT tests (18) ###
* igt@gem_create@create-clear:
- Statuses :
- Exec time: [None] s
* igt@gem_exec_parallel@basic:
- Statuses :
- Exec time: [None] s
* igt@gem_exec_suspend@basic:
- Statuses :
- Exec time: [None] s
* igt@i915_selftest@live:
- Statuses :
- Exec time: [None] s
* igt@i915_selftest@mock:
- Statuses :
- Exec time: [None] s
* igt@kms_display_modes@extended-mode-basic@pipe-bc:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_plane_scaling@invalid-num-scalers@pipe-d-hdmi-a-1-invalid-num-scalers:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@basic@pipe-a-hdmi-a-1-pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@basic@pipe-b-hdmi-a-1-pipe-a-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@clone-exclusive-crtc@pipe-a-hdmi-a-1-pipe-b-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@clone-exclusive-crtc@pipe-b-hdmi-a-1-pipe-a-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@invalid-clone-single-crtc-stealing@pipe-a-hdmi-a-1-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@invalid-clone-single-crtc-stealing@pipe-b-hdmi-a-1-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@invalid-clone-single-crtc@pipe-a-hdmi-a-1-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_setmode@invalid-clone-single-crtc@pipe-b-hdmi-a-1-hdmi-a-2:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@prime_mmap@test_aperture_limit:
- Statuses :
- Exec time: [None] s
* igt@prime_mmap@test_correct_cpu_write:
- Statuses :
- Exec time: [None] s
* igt@prime_mmap@test_map_unmap:
- Statuses :
- Exec time: [None] s
Known issues
------------
Here are the changes found in IGTPW_8461_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [PASS][2] -> [FAIL][3] ([i915#2846])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-glk1/igt@gem_exec_fair@basic-deadline.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-glk2/igt@gem_exec_fair@basic-deadline.html
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [PASS][4] -> [FAIL][5] ([i915#2842]) +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-glk6/igt@gem_exec_fair@basic-pace@vcs0.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-glk2/igt@gem_exec_fair@basic-pace@vcs0.html
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][6] -> [FAIL][7] ([i915#79])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-glk4/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-glk1/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2.html
* igt@perf@stress-open-close:
- shard-glk: [PASS][8] -> [ABORT][9] ([i915#5213])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-glk5/igt@perf@stress-open-close.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-glk5/igt@perf@stress-open-close.html
#### Possible fixes ####
* igt@drm_fdinfo@virtual-idle:
- {shard-rkl}: [FAIL][10] ([i915#7742]) -> [PASS][11] +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-2/igt@drm_fdinfo@virtual-idle.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-1/igt@drm_fdinfo@virtual-idle.html
* igt@fbdev@info:
- {shard-rkl}: [SKIP][12] ([i915#2582]) -> [PASS][13] +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-5/igt@fbdev@info.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@fbdev@info.html
* igt@gem_ctx_persistence@legacy-engines-hang@blt:
- {shard-rkl}: [SKIP][14] ([i915#6252]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-5/igt@gem_ctx_persistence@legacy-engines-hang@blt.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-1/igt@gem_ctx_persistence@legacy-engines-hang@blt.html
* igt@gem_eio@in-flight-external:
- {shard-rkl}: [ABORT][16] ([i915#7811]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-2/igt@gem_eio@in-flight-external.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-1/igt@gem_eio@in-flight-external.html
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][18] ([i915#2842]) -> [PASS][19] +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-glk4/igt@gem_exec_fair@basic-pace-share@rcs0.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-glk2/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gem_exec_reloc@basic-write-read:
- {shard-rkl}: [SKIP][20] ([i915#3281]) -> [PASS][21] +9 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-4/igt@gem_exec_reloc@basic-write-read.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-5/igt@gem_exec_reloc@basic-write-read.html
* igt@gem_mmap_gtt@coherency:
- {shard-rkl}: [SKIP][22] ([fdo#111656]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-3/igt@gem_mmap_gtt@coherency.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-5/igt@gem_mmap_gtt@coherency.html
* igt@gem_pread@bench:
- {shard-rkl}: [SKIP][24] ([i915#3282]) -> [PASS][25] +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-2/igt@gem_pread@bench.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-5/igt@gem_pread@bench.html
* igt@gen9_exec_parse@shadow-peek:
- {shard-rkl}: [SKIP][26] ([i915#2527]) -> [PASS][27] +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-4/igt@gen9_exec_parse@shadow-peek.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-5/igt@gen9_exec_parse@shadow-peek.html
* igt@i915_hangman@engine-engine-error@bcs0:
- {shard-rkl}: [SKIP][28] ([i915#6258]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-5/igt@i915_hangman@engine-engine-error@bcs0.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@i915_hangman@engine-engine-error@bcs0.html
* igt@i915_pm_dc@dc5-dpms:
- {shard-rkl}: [FAIL][30] ([i915#7330]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-5/igt@i915_pm_dc@dc5-dpms.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-3/igt@i915_pm_dc@dc5-dpms.html
* igt@i915_pm_rc6_residency@rc6-idle@vcs0:
- {shard-rkl}: [WARN][32] ([i915#2681]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-5/igt@i915_pm_rc6_residency@rc6-idle@vcs0.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-1/igt@i915_pm_rc6_residency@rc6-idle@vcs0.html
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- {shard-rkl}: [SKIP][34] ([i915#1845] / [i915#4098]) -> [PASS][35] +20 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-3/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_cursor_edge_walk@left-edge@pipe-a-hdmi-a-1-64x64:
- shard-glk: [DMESG-FAIL][36] ([i915#118]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-glk6/igt@kms_cursor_edge_walk@left-edge@pipe-a-hdmi-a-1-64x64.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-glk8/igt@kms_cursor_edge_walk@left-edge@pipe-a-hdmi-a-1-64x64.html
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [FAIL][38] ([i915#2346]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-glk9/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-glk7/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html
* igt@kms_fbcon_fbt@psr-suspend:
- {shard-rkl}: [SKIP][40] ([i915#3955]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-3/igt@kms_fbcon_fbt@psr-suspend.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@kms_fbcon_fbt@psr-suspend.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-plflip-blt:
- {shard-rkl}: [SKIP][42] ([i915#1849] / [i915#4098]) -> [PASS][43] +17 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-plflip-blt.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-plflip-blt.html
* igt@kms_plane@pixel-format@pipe-b-planes:
- {shard-rkl}: [SKIP][44] ([i915#1849]) -> [PASS][45] +3 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-2/igt@kms_plane@pixel-format@pipe-b-planes.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@kms_plane@pixel-format@pipe-b-planes.html
* igt@kms_psr@cursor_mmap_cpu:
- {shard-rkl}: [SKIP][46] ([i915#1072]) -> [PASS][47] +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-4/igt@kms_psr@cursor_mmap_cpu.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@kms_psr@cursor_mmap_cpu.html
* igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-a:
- {shard-rkl}: [SKIP][48] ([i915#4070] / [i915#4098]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-2/igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-a.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@kms_universal_plane@universal-plane-pageflip-windowed-pipe-a.html
* igt@perf@polling-small-buf:
- {shard-rkl}: [FAIL][50] ([i915#1722]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-3/igt@perf@polling-small-buf.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-6/igt@perf@polling-small-buf.html
* igt@perf_pmu@idle@rcs0:
- {shard-rkl}: [FAIL][52] ([i915#4349]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12712/shard-rkl-3/igt@perf_pmu@idle@rcs0.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/shard-rkl-1/igt@perf_pmu@idle@rcs0.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[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#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[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#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[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#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[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#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[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#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[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#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[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#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[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#3063]: https://gitlab.freedesktop.org/drm/intel/issues/3063
[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#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[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#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[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#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[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#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[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#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5115]: https://gitlab.freedesktop.org/drm/intel/issues/5115
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213
[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#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#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[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#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6493]: https://gitlab.freedesktop.org/drm/intel/issues/6493
[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#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[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#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[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#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7330]: https://gitlab.freedesktop.org/drm/intel/issues/7330
[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#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7811]: https://gitlab.freedesktop.org/drm/intel/issues/7811
[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#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
[i915#7984]: https://gitlab.freedesktop.org/drm/intel/issues/7984
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7153 -> IGTPW_8461
CI-20190529: 20190529
CI_DRM_12712: 579f8b992ea3f5cd11bd803dd0585a7ddb006a13 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8461: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/index.html
IGT_7153: f47f859f13376958a2bd199423b1f0ff53dddbe0 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8461/index.html
[-- Attachment #2: Type: text/html, Size: 16923 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session
2023-02-08 6:24 [igt-dev] [PATCH] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn
2023-02-08 17:47 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-02-08 19:01 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2023-02-13 23:30 ` Ceraolo Spurio, Daniele
2023-02-14 16:45 ` Teres Alexis, Alan Previn
2 siblings, 1 reply; 5+ messages in thread
From: Ceraolo Spurio, Daniele @ 2023-02-13 23:30 UTC (permalink / raw)
To: Alan Previn, igt-dev
On 2/7/2023 10:24 PM, 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.
>
> Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
> ---
> tests/i915/gem_pxp.c | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/tests/i915/gem_pxp.c b/tests/i915/gem_pxp.c
> index 8c141ddd..5fbfe6b2 100644
> --- a/tests/i915/gem_pxp.c
> +++ b/tests/i915/gem_pxp.c
> @@ -933,6 +933,25 @@ static void test_pxp_stale_buf_optout_execution(int i915)
> {
> int ret;
> struct simple_exec_assets data = {0};
> + struct simple_exec_assets data2 = {0};
> +
> + /*
> + * 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 if the system has no display enabled, it will likely
> + * 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.
> + */
> + prepare_exec_assets(i915, &data2, true, true);
Since you only need the context, wouldn't a call to
create_ctx_with_params be more appropriate here? that way we don't have
to allocate all the extra stuff.
Daniele
>
> /*
> * Use a normal context for testing opt-out behavior
> @@ -948,6 +967,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);
> + free_exec_assets(i915, &data2);
> }
>
> static void test_pxp_pwrcycle_staleasset_execution(int i915, struct powermgt_data *pm)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session
2023-02-13 23:30 ` [igt-dev] [PATCH] " Ceraolo Spurio, Daniele
@ 2023-02-14 16:45 ` Teres Alexis, Alan Previn
0 siblings, 0 replies; 5+ messages in thread
From: Teres Alexis, Alan Previn @ 2023-02-14 16:45 UTC (permalink / raw)
To: igt-dev@lists.freedesktop.org, Ceraolo Spurio, Daniele
On Mon, 2023-02-13 at 15:30 -0800, Ceraolo Spurio, Daniele wrote:
>
> On 2/7/2023 10:24 PM, 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.
> >
> > Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
> > + prepare_exec_assets(i915, &data2, true, true);
>
alan:snip
> Since you only need the context, wouldn't a call to
> create_ctx_with_params be more appropriate here? that way we don't have
> to allocate all the extra stuff.
>
> Daniele
>
good point - yes we can use that - will re-rev.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-02-14 16:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08 6:24 [igt-dev] [PATCH] tests/i915/pxp: test_pxp_stale_buf_optout_execution requires arb session Alan Previn
2023-02-08 17:47 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-02-08 19:01 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-02-13 23:30 ` [igt-dev] [PATCH] " Ceraolo Spurio, Daniele
2023-02-14 16:45 ` Teres Alexis, Alan Previn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox