* [PATCH i-g-t v2 0/2] Add create-contexts subtest
@ 2023-12-12 17:48 Lukasz Laguna
2023-12-12 17:48 ` [PATCH i-g-t v2 1/2] lib/xe/xe_ioctl: add __xe_exec_sync() helper Lukasz Laguna
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Lukasz Laguna @ 2023-12-12 17:48 UTC (permalink / raw)
To: igt-dev
Validate the creation of significant number of HW contexts.
Lukasz Laguna (2):
lib/xe/xe_ioctl: add __xe_exec_sync() helper
tests/intel/xe_create: create-contexts subtest
lib/xe/xe_ioctl.c | 12 ++++--
lib/xe/xe_ioctl.h | 2 +
tests/intel/xe_create.c | 81 ++++++++++++++++++++++++++++++++++-------
3 files changed, 78 insertions(+), 17 deletions(-)
--
2.40.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH i-g-t v2 1/2] lib/xe/xe_ioctl: add __xe_exec_sync() helper
2023-12-12 17:48 [PATCH i-g-t v2 0/2] Add create-contexts subtest Lukasz Laguna
@ 2023-12-12 17:48 ` Lukasz Laguna
2023-12-13 12:00 ` Bernatowicz, Marcin
2023-12-12 17:48 ` [PATCH i-g-t v2 2/2] tests/intel/xe_create: create-contexts subtest Lukasz Laguna
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Lukasz Laguna @ 2023-12-12 17:48 UTC (permalink / raw)
To: igt-dev
Add non-asserting variant of xe_exec_sync().
Signed-off-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
lib/xe/xe_ioctl.c | 12 +++++++++---
lib/xe/xe_ioctl.h | 2 ++
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/lib/xe/xe_ioctl.c b/lib/xe/xe_ioctl.c
index cdad3d7e2..b5cd3ae35 100644
--- a/lib/xe/xe_ioctl.c
+++ b/lib/xe/xe_ioctl.c
@@ -448,8 +448,8 @@ void xe_exec(int fd, struct drm_xe_exec *exec)
igt_assert_eq(__xe_exec(fd, exec), 0);
}
-void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
- struct drm_xe_sync *sync, uint32_t num_syncs)
+int __xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
+ struct drm_xe_sync *sync, uint32_t num_syncs)
{
struct drm_xe_exec exec = {
.exec_queue_id = exec_queue,
@@ -459,7 +459,13 @@ void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
.num_batch_buffer = 1,
};
- igt_assert_eq(__xe_exec(fd, &exec), 0);
+ return __xe_exec(fd, &exec);
+}
+
+void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
+ struct drm_xe_sync *sync, uint32_t num_syncs)
+{
+ igt_assert_eq(__xe_exec_sync(fd, exec_queue, addr, sync, num_syncs), 0);
}
void xe_exec_wait(int fd, uint32_t exec_queue, uint64_t addr)
diff --git a/lib/xe/xe_ioctl.h b/lib/xe/xe_ioctl.h
index c8d46fb29..3679ce66b 100644
--- a/lib/xe/xe_ioctl.h
+++ b/lib/xe/xe_ioctl.h
@@ -88,6 +88,8 @@ void *xe_bo_map(int fd, uint32_t bo, size_t size);
void *xe_bo_mmap_ext(int fd, uint32_t bo, size_t size, int prot);
int __xe_exec(int fd, struct drm_xe_exec *exec);
void xe_exec(int fd, struct drm_xe_exec *exec);
+int __xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
+ struct drm_xe_sync *sync, uint32_t num_syncs);
void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
struct drm_xe_sync *sync, uint32_t num_syncs);
void xe_exec_wait(int fd, uint32_t exec_queue, uint64_t addr);
--
2.40.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH i-g-t v2 2/2] tests/intel/xe_create: create-contexts subtest
2023-12-12 17:48 [PATCH i-g-t v2 0/2] Add create-contexts subtest Lukasz Laguna
2023-12-12 17:48 ` [PATCH i-g-t v2 1/2] lib/xe/xe_ioctl: add __xe_exec_sync() helper Lukasz Laguna
@ 2023-12-12 17:48 ` Lukasz Laguna
2023-12-12 19:15 ` ✗ Fi.CI.BAT: failure for Add " Patchwork
2023-12-12 20:26 ` ✓ CI.xeBAT: success " Patchwork
3 siblings, 0 replies; 6+ messages in thread
From: Lukasz Laguna @ 2023-12-12 17:48 UTC (permalink / raw)
To: igt-dev
Validates the creation of significant number of HW contexts (4096 as
default). The number of contexts to create can be adjusted using command
line '-Q' parameter representing resource quantity.
v2: print iteration number in case of an error (Marcin)
Signed-off-by: Lukasz Laguna <lukasz.laguna@intel.com>
---
tests/intel/xe_create.c | 81 ++++++++++++++++++++++++++++++++++-------
1 file changed, 67 insertions(+), 14 deletions(-)
diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
index 1ed48a5d3..f3cb1b7f3 100644
--- a/tests/intel/xe_create.c
+++ b/tests/intel/xe_create.c
@@ -12,6 +12,7 @@
#include <string.h>
#include "igt.h"
+#include "igt_syncobj.h"
#include "xe_drm.h"
#include "xe/xe_ioctl.h"
#include "xe/xe_query.h"
@@ -19,11 +20,11 @@
#define PAGE_SIZE 0x1000
static struct param {
- unsigned int size_mb;
- unsigned int vram_percent;
+ unsigned int quantity;
+ unsigned int percent;
} params = {
- .size_mb = 0,
- .vram_percent = 100,
+ .quantity = 0,
+ .percent = 100,
};
static int __create_bo(int fd, uint32_t vm, uint64_t size, uint32_t placement,
@@ -218,8 +219,8 @@ static void create_big_vram(int fd, int gt)
visible_avail_size = xe_visible_available_vram_size(fd, gt);
igt_require(visible_avail_size);
- bo_size = params.size_mb ? params.size_mb * 1024ULL * 1024ULL
- : ALIGN_DOWN(visible_avail_size * params.vram_percent / 100, alignment);
+ bo_size = params.quantity ? params.quantity * 1024ULL * 1024ULL
+ : ALIGN_DOWN(visible_avail_size * params.percent / 100, alignment);
igt_require(bo_size);
igt_info("gt%u bo_size=%lu visible_available_vram_size=%lu\n",
gt, bo_size, visible_avail_size);
@@ -242,16 +243,64 @@ static void create_big_vram(int fd, int gt)
xe_vm_destroy(fd, vm);
}
+/**
+ * SUBTEST: create-contexts
+ * Functionality: contexts creation
+ * Test category: functionality test
+ * Description: Verifies the creation of substantial number of HW contexts
+ * (4096 as default).
+ */
+static void create_contexts(int fd)
+{
+ unsigned int i, n = params.quantity ? params.quantity : 4096;
+ uint64_t bo_size = xe_get_default_alignment(fd), bo_addr = 0x1a0000;
+ uint32_t vm, bo, *batch, exec_queues[n];
+ struct drm_xe_sync sync = {
+ .type = DRM_XE_SYNC_TYPE_SYNCOBJ,
+ .flags = DRM_XE_SYNC_FLAG_SIGNAL,
+ .handle = syncobj_create(fd, 0),
+ };
+
+ vm = xe_vm_create(fd, DRM_XE_VM_CREATE_FLAG_SCRATCH_PAGE, 0);
+ bo = xe_bo_create(fd, vm, bo_size, system_memory(fd), 0);
+
+ batch = xe_bo_map(fd, bo, bo_size);
+ *batch = MI_BATCH_BUFFER_END;
+ munmap(batch, bo_size);
+
+ xe_vm_bind_sync(fd, vm, bo, 0, bo_addr, bo_size);
+
+ for (i = 0; i < n; i++) {
+ int err = __xe_exec_queue_create(fd, vm, &xe_engine(fd, 0)->instance, 0,
+ &exec_queues[i]);
+ igt_assert_f(!err, "Failed to create exec queue (%d), iteration: %d\n", err,
+ i + 1);
+
+ err = __xe_exec_sync(fd, exec_queues[i], bo_addr, &sync, 1);
+ igt_assert_f(!err, "Failed to execute batch (%d), iteration: %d\n", err, i + 1);
+
+ err = syncobj_wait(fd, &sync.handle, 1, INT64_MAX, 0, NULL);
+ igt_assert_f(err, "Timeout while waiting for syncobj signal, iteration: %d\n",
+ i + 1);
+ }
+
+ for (i = 0; i < n; i++)
+ xe_exec_queue_destroy(fd, exec_queues[i]);
+ gem_close(fd, bo);
+ xe_vm_destroy(fd, vm);
+ syncobj_destroy(fd, sync.handle);
+}
+
static int opt_handler(int opt, int opt_index, void *data)
{
switch (opt) {
- case 'S':
- params.size_mb = atoi(optarg);
- igt_debug("Size MB: %d\n", params.size_mb);
+ case 'Q':
+ params.quantity = atoi(optarg);
+ igt_debug("Resource quantity (memory in MB): %d\n", params.quantity);
break;
case 'p':
- params.vram_percent = atoi(optarg);
- igt_debug("Percent of VRAM: %d\n", params.vram_percent);
+ params.percent = atoi(optarg);
+ igt_debug("Percent of available resource: %d\n", params.percent);
break;
default:
return IGT_OPT_HANDLER_ERROR;
@@ -261,11 +310,11 @@ static int opt_handler(int opt, int opt_index, void *data)
}
const char *help_str =
- " -S\tBO size in MB\n"
- " -p\tPercent of VRAM for BO\n"
+ " -Q\tresource quantity (memory in MB)\n"
+ " -p\tpercent of available resource\n"
;
-igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
+igt_main_args("Q:p:", NULL, help_str, opt_handler, NULL)
{
int xe;
@@ -296,6 +345,10 @@ igt_main_args("S:p:", NULL, help_str, opt_handler, NULL)
create_big_vram(xe, gt);
}
+ igt_subtest("create-contexts") {
+ create_contexts(xe);
+ }
+
igt_subtest("multigpu-create-massive-size") {
int gpu_count = drm_prepare_filtered_multigpu(DRIVER_XE);
--
2.40.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* ✗ Fi.CI.BAT: failure for Add create-contexts subtest
2023-12-12 17:48 [PATCH i-g-t v2 0/2] Add create-contexts subtest Lukasz Laguna
2023-12-12 17:48 ` [PATCH i-g-t v2 1/2] lib/xe/xe_ioctl: add __xe_exec_sync() helper Lukasz Laguna
2023-12-12 17:48 ` [PATCH i-g-t v2 2/2] tests/intel/xe_create: create-contexts subtest Lukasz Laguna
@ 2023-12-12 19:15 ` Patchwork
2023-12-12 20:26 ` ✓ CI.xeBAT: success " Patchwork
3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2023-12-12 19:15 UTC (permalink / raw)
To: Lukasz Laguna; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 9087 bytes --]
== Series Details ==
Series: Add create-contexts subtest
URL : https://patchwork.freedesktop.org/series/127705/
State : failure
== Summary ==
CI Bug Log - changes from IGT_7636 -> IGTPW_10406
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_10406 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10406, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/index.html
Participating hosts (36 -> 33)
------------------------------
Additional (1): bat-kbl-2
Missing (4): bat-dg2-8 bat-mtlp-8 fi-snb-2520m fi-bsw-n3050
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_10406:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- bat-adlp-9: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-9/igt@i915_selftest@live@hangcheck.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-9/igt@i915_selftest@live@hangcheck.html
* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- bat-adlp-11: [PASS][3] -> [SKIP][4] +5 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-11/igt@kms_cursor_legacy@basic-flip-after-cursor-atomic.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_cursor_legacy@basic-flip-after-cursor-atomic.html
* igt@kms_pipe_crc_basic@read-crc:
- bat-adlp-11: NOTRUN -> [SKIP][5] +8 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_pipe_crc_basic@read-crc.html
#### Warnings ####
* igt@kms_dsc@dsc-basic:
- bat-adlp-11: [SKIP][6] ([i915#3555] / [i915#3840]) -> [SKIP][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-11/igt@kms_dsc@dsc-basic.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_dsc@dsc-basic.html
Known issues
------------
Here are the changes found in IGTPW_10406 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@info:
- bat-adlp-11: [PASS][8] -> [SKIP][9] ([i915#1849] / [i915#2582])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-11/igt@fbdev@info.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@fbdev@info.html
- bat-kbl-2: NOTRUN -> [SKIP][10] ([fdo#109271] / [i915#1849])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-kbl-2/igt@fbdev@info.html
* igt@fbdev@nullptr:
- bat-adlp-11: [PASS][11] -> [SKIP][12] ([i915#2582]) +3 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-11/igt@fbdev@nullptr.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@fbdev@nullptr.html
* igt@gem_lmem_swapping@basic:
- fi-pnv-d510: NOTRUN -> [SKIP][13] ([fdo#109271]) +28 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/fi-pnv-d510/igt@gem_lmem_swapping@basic.html
* igt@gem_lmem_swapping@parallel-random-engines:
- bat-kbl-2: NOTRUN -> [SKIP][14] ([fdo#109271]) +36 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-kbl-2/igt@gem_lmem_swapping@parallel-random-engines.html
* igt@gem_lmem_swapping@verify-random:
- bat-adlp-11: NOTRUN -> [SKIP][15] ([i915#4613]) +3 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@gem_lmem_swapping@verify-random.html
* igt@i915_pm_rps@basic-api:
- bat-adlp-11: NOTRUN -> [SKIP][16] ([i915#6621])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@i915_pm_rps@basic-api.html
* igt@kms_flip@basic-flip-vs-dpms:
- bat-adlp-11: NOTRUN -> [SKIP][17] ([i915#3637]) +3 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_flip@basic-flip-vs-dpms.html
* igt@kms_frontbuffer_tracking@basic:
- bat-adlp-11: [PASS][18] -> [SKIP][19] ([i915#4342] / [i915#5354])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-11/igt@kms_frontbuffer_tracking@basic.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_frontbuffer_tracking@basic.html
* igt@kms_pm_backlight@basic-brightness@edp-1:
- bat-rplp-1: NOTRUN -> [ABORT][20] ([i915#8668])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-rplp-1/igt@kms_pm_backlight@basic-brightness@edp-1.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-adlp-11: NOTRUN -> [SKIP][21] ([i915#3555])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_setmode@basic-clone-single-crtc.html
* igt@prime_vgem@basic-fence-flip:
- bat-adlp-11: NOTRUN -> [SKIP][22] ([fdo#109295] / [i915#3708])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@prime_vgem@basic-fence-flip.html
* igt@prime_vgem@basic-fence-read:
- bat-adlp-11: NOTRUN -> [SKIP][23] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@prime_vgem@basic-fence-read.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0@lmem0:
- bat-dg2-9: [INCOMPLETE][24] ([i915#9275]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-dg2-9/igt@gem_exec_suspend@basic-s0@lmem0.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-dg2-9/igt@gem_exec_suspend@basic-s0@lmem0.html
* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1:
- bat-rplp-1: [ABORT][26] ([i915#8668]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html
* igt@kms_pm_rpm@basic-pci-d3-state:
- bat-adlp-11: [ABORT][28] ([i915#8668]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-11/igt@kms_pm_rpm@basic-pci-d3-state.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_pm_rpm@basic-pci-d3-state.html
#### Warnings ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-adlp-11: [SKIP][30] ([i915#4103] / [i915#5608]) -> [SKIP][31] ([i915#5608]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7636/bat-adlp-11/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/bat-adlp-11/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html
{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#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4342]: https://gitlab.freedesktop.org/drm/intel/issues/4342
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5608]: https://gitlab.freedesktop.org/drm/intel/issues/5608
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
[i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275
[i915#9673]: https://gitlab.freedesktop.org/drm/intel/issues/9673
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7636 -> IGTPW_10406
CI-20190529: 20190529
CI_DRM_14010: b4182ec1538e8cebf630083ec4296bed0061d594 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10406: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/index.html
IGT_7636: 7636
Testlist changes
----------------
+igt@xe_create@create-contexts
-igt@xe_waitfence@exec_queue-reset-wait
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/index.html
[-- Attachment #2: Type: text/html, Size: 10827 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* ✓ CI.xeBAT: success for Add create-contexts subtest
2023-12-12 17:48 [PATCH i-g-t v2 0/2] Add create-contexts subtest Lukasz Laguna
` (2 preceding siblings ...)
2023-12-12 19:15 ` ✗ Fi.CI.BAT: failure for Add " Patchwork
@ 2023-12-12 20:26 ` Patchwork
3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2023-12-12 20:26 UTC (permalink / raw)
To: Lukasz Laguna; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 14341 bytes --]
== Series Details ==
Series: Add create-contexts subtest
URL : https://patchwork.freedesktop.org/series/127705/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7636_BAT -> XEIGTPW_10406_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (1 -> 4)
------------------------------
Additional (3): bat-pvc-2 bat-dg2-oem2 bat-atsm-2
Known issues
------------
Here are the changes found in XEIGTPW_10406_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-pvc-2: NOTRUN -> [SKIP][1] ([i915#6077]) +30 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_addfb_basic@addfb25-x-tiled-legacy.html
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-oem2: NOTRUN -> [SKIP][2] ([Intel XE#623])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@kms_addfb_basic@addfb25-y-tiled-small-legacy.html
* igt@kms_addfb_basic@invalid-set-prop-any:
- bat-atsm-2: NOTRUN -> [SKIP][3] ([i915#6077]) +30 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_addfb_basic@invalid-set-prop-any.html
* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- bat-pvc-2: NOTRUN -> [SKIP][4] ([Intel XE#1024] / [Intel XE#782]) +5 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_cursor_legacy@basic-flip-after-cursor-atomic.html
* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- bat-atsm-2: NOTRUN -> [SKIP][5] ([Intel XE#1024] / [Intel XE#782]) +5 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_cursor_legacy@basic-flip-before-cursor-legacy.html
* igt@kms_dsc@dsc-basic:
- bat-atsm-2: NOTRUN -> [SKIP][6] ([Intel XE#1024] / [Intel XE#784])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_dsc@dsc-basic.html
- bat-pvc-2: NOTRUN -> [SKIP][7] ([Intel XE#1024] / [Intel XE#784])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_dsc@dsc-basic.html
- bat-dg2-oem2: NOTRUN -> [SKIP][8] ([Intel XE#423])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@kms_dsc@dsc-basic.html
* igt@kms_flip@basic-flip-vs-dpms:
- bat-pvc-2: NOTRUN -> [SKIP][9] ([Intel XE#1024] / [Intel XE#947]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_flip@basic-flip-vs-dpms.html
* igt@kms_flip@basic-flip-vs-modeset:
- bat-atsm-2: NOTRUN -> [SKIP][10] ([Intel XE#1024] / [Intel XE#947]) +3 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_flip@basic-flip-vs-modeset.html
* igt@kms_force_connector_basic@force-connector-state:
- bat-pvc-2: NOTRUN -> [SKIP][11] ([Intel XE#540]) +3 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_force_connector_basic@force-connector-state.html
- bat-atsm-2: NOTRUN -> [SKIP][12] ([Intel XE#540]) +3 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_force_connector_basic@force-connector-state.html
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-oem2: NOTRUN -> [SKIP][13] ([i915#5274])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@kms_force_connector_basic@prune-stale-modes.html
* igt@kms_frontbuffer_tracking@basic:
- bat-pvc-2: NOTRUN -> [SKIP][14] ([Intel XE#1024] / [Intel XE#783])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_frontbuffer_tracking@basic.html
- bat-dg2-oem2: NOTRUN -> [FAIL][15] ([Intel XE#608])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@kms_frontbuffer_tracking@basic.html
- bat-atsm-2: NOTRUN -> [SKIP][16] ([Intel XE#1024] / [Intel XE#783])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_frontbuffer_tracking@basic.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12:
- bat-dg2-oem2: NOTRUN -> [FAIL][17] ([Intel XE#400] / [Intel XE#616]) +2 other tests fail
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-xr24:
- bat-atsm-2: NOTRUN -> [SKIP][18] ([i915#1836]) +6 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-xr24.html
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-pvc-2: NOTRUN -> [SKIP][19] ([Intel XE#829]) +6 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html
* igt@kms_prop_blob@basic:
- bat-pvc-2: NOTRUN -> [SKIP][20] ([Intel XE#780])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@kms_prop_blob@basic.html
- bat-atsm-2: NOTRUN -> [SKIP][21] ([Intel XE#780])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@kms_prop_blob@basic.html
* igt@xe_compute@compute-square:
- bat-atsm-2: NOTRUN -> [SKIP][22] ([Intel XE#672])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@xe_compute@compute-square.html
- bat-dg2-oem2: NOTRUN -> [SKIP][23] ([Intel XE#672])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@xe_compute@compute-square.html
* igt@xe_create@create-execqueues-leak:
- bat-atsm-2: NOTRUN -> [FAIL][24] ([Intel XE#524]) +1 other test fail
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@xe_create@create-execqueues-leak.html
* igt@xe_evict@evict-beng-small-external:
- bat-pvc-2: NOTRUN -> [FAIL][25] ([Intel XE#1000]) +3 other tests fail
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_evict@evict-beng-small-external.html
* igt@xe_evict@evict-small-cm:
- bat-pvc-2: NOTRUN -> [DMESG-FAIL][26] ([Intel XE#482]) +3 other tests dmesg-fail
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_evict@evict-small-cm.html
* igt@xe_evict_ccs@evict-overcommit-parallel-nofree-samefd:
- bat-pvc-2: NOTRUN -> [INCOMPLETE][27] ([Intel XE#392])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_evict_ccs@evict-overcommit-parallel-nofree-samefd.html
* igt@xe_exec_fault_mode@many-basic:
- bat-dg2-oem2: NOTRUN -> [SKIP][28] ([Intel XE#288]) +32 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@xe_exec_fault_mode@many-basic.html
* igt@xe_exec_fault_mode@twice-userptr-invalidate-imm:
- bat-atsm-2: NOTRUN -> [SKIP][29] ([Intel XE#288]) +32 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@xe_exec_fault_mode@twice-userptr-invalidate-imm.html
* igt@xe_huc_copy@huc_copy:
- bat-pvc-2: NOTRUN -> [SKIP][30] ([Intel XE#255])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_huc_copy@huc_copy.html
- bat-dg2-oem2: NOTRUN -> [SKIP][31] ([Intel XE#255])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@xe_huc_copy@huc_copy.html
- bat-atsm-2: NOTRUN -> [SKIP][32] ([Intel XE#255])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@xe_huc_copy@huc_copy.html
* igt@xe_intel_bb@render:
- bat-pvc-2: NOTRUN -> [SKIP][33] ([Intel XE#532])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_intel_bb@render.html
* igt@xe_module_load@load:
- bat-pvc-2: NOTRUN -> [SKIP][34] ([Intel XE#378])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_module_load@load.html
* igt@xe_pat@pat-index-xe2:
- bat-pvc-2: NOTRUN -> [SKIP][35] ([Intel XE#977]) +1 other test skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_pat@pat-index-xe2.html
- bat-atsm-2: NOTRUN -> [SKIP][36] ([Intel XE#977])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@xe_pat@pat-index-xe2.html
- bat-dg2-oem2: NOTRUN -> [SKIP][37] ([Intel XE#977])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@xe_pat@pat-index-xe2.html
* igt@xe_pat@pat-index-xehpc:
- bat-dg2-oem2: NOTRUN -> [SKIP][38] ([Intel XE#979]) +1 other test skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-dg2-oem2/igt@xe_pat@pat-index-xehpc.html
* igt@xe_pat@pat-index-xelpg:
- bat-atsm-2: NOTRUN -> [SKIP][39] ([Intel XE#979]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@xe_pat@pat-index-xelpg.html
- bat-pvc-2: NOTRUN -> [SKIP][40] ([Intel XE#979])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_pat@pat-index-xelpg.html
* igt@xe_pm_residency@gt-c6-on-idle:
- bat-pvc-2: NOTRUN -> [SKIP][41] ([Intel XE#531])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_pm_residency@gt-c6-on-idle.html
* igt@xe_prime_self_import@basic-with_one_bo:
- bat-atsm-2: NOTRUN -> [FAIL][42] ([Intel XE#999])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-atsm-2/igt@xe_prime_self_import@basic-with_one_bo.html
- bat-pvc-2: NOTRUN -> [FAIL][43] ([Intel XE#999]) +1 other test fail
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-pvc-2/igt@xe_prime_self_import@basic-with_one_bo.html
#### Possible fixes ####
* igt@kms_flip@basic-flip-vs-wf_vblank@a-edp1:
- bat-adlp-7: [FAIL][44] ([Intel XE#480]) -> [PASS][45] +1 other test pass
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7636/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@a-edp1.html
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-adlp-7/igt@kms_flip@basic-flip-vs-wf_vblank@a-edp1.html
#### Warnings ####
* igt@kms_frontbuffer_tracking@basic:
- bat-adlp-7: [DMESG-WARN][46] ([Intel XE#282] / [i915#2017]) -> [DMESG-FAIL][47] ([Intel XE#1033] / [i915#2017])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7636/bat-adlp-7/igt@kms_frontbuffer_tracking@basic.html
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/bat-adlp-7/igt@kms_frontbuffer_tracking@basic.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1000]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1000
[Intel XE#1021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1021
[Intel XE#1024]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1024
[Intel XE#1033]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1033
[Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
[Intel XE#282]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/282
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/378
[Intel XE#392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/392
[Intel XE#400]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/400
[Intel XE#423]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/423
[Intel XE#480]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/480
[Intel XE#482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/482
[Intel XE#524]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/524
[Intel XE#531]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/531
[Intel XE#532]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/532
[Intel XE#540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/540
[Intel XE#608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/608
[Intel XE#616]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/616
[Intel XE#623]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/623
[Intel XE#672]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/672
[Intel XE#780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/780
[Intel XE#782]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/782
[Intel XE#783]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/783
[Intel XE#784]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/784
[Intel XE#829]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/829
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#947]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/947
[Intel XE#976]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/976
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979
[Intel XE#999]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/999
[i915#1836]: https://gitlab.freedesktop.org/drm/intel/issues/1836
[i915#2017]: https://gitlab.freedesktop.org/drm/intel/issues/2017
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
Build changes
-------------
* IGT: IGT_7636 -> IGTPW_10406
* Linux: xe-570-0c30a1b58ce6096e5d6a6c9ba32961c345fab7c8 -> xe-572-7cebdf49fe98ed47972e2c20ef3ef7d04fdd8ec8
IGTPW_10406: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10406/index.html
IGT_7636: 7636
xe-570-0c30a1b58ce6096e5d6a6c9ba32961c345fab7c8: 0c30a1b58ce6096e5d6a6c9ba32961c345fab7c8
xe-572-7cebdf49fe98ed47972e2c20ef3ef7d04fdd8ec8: 7cebdf49fe98ed47972e2c20ef3ef7d04fdd8ec8
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10406/index.html
[-- Attachment #2: Type: text/html, Size: 17332 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH i-g-t v2 1/2] lib/xe/xe_ioctl: add __xe_exec_sync() helper
2023-12-12 17:48 ` [PATCH i-g-t v2 1/2] lib/xe/xe_ioctl: add __xe_exec_sync() helper Lukasz Laguna
@ 2023-12-13 12:00 ` Bernatowicz, Marcin
0 siblings, 0 replies; 6+ messages in thread
From: Bernatowicz, Marcin @ 2023-12-13 12:00 UTC (permalink / raw)
To: Lukasz Laguna, igt-dev
Hi,
On 12/12/2023 6:48 PM, Lukasz Laguna wrote:
> Add non-asserting variant of xe_exec_sync().
>
> Signed-off-by: Lukasz Laguna <lukasz.laguna@intel.com>
> ---
> lib/xe/xe_ioctl.c | 12 +++++++++---
> lib/xe/xe_ioctl.h | 2 ++
> 2 files changed, 11 insertions(+), 3 deletions(-)
>
> diff --git a/lib/xe/xe_ioctl.c b/lib/xe/xe_ioctl.c
> index cdad3d7e2..b5cd3ae35 100644
> --- a/lib/xe/xe_ioctl.c
> +++ b/lib/xe/xe_ioctl.c
> @@ -448,8 +448,8 @@ void xe_exec(int fd, struct drm_xe_exec *exec)
> igt_assert_eq(__xe_exec(fd, exec), 0);
> }
>
> -void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
> - struct drm_xe_sync *sync, uint32_t num_syncs)
> +int __xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
> + struct drm_xe_sync *sync, uint32_t num_syncs)
> {
> struct drm_xe_exec exec = {
> .exec_queue_id = exec_queue,
> @@ -459,7 +459,13 @@ void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
> .num_batch_buffer = 1,
> };
>
> - igt_assert_eq(__xe_exec(fd, &exec), 0);
> + return __xe_exec(fd, &exec);
> +}
> +
> +void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
> + struct drm_xe_sync *sync, uint32_t num_syncs)
> +{
> + igt_assert_eq(__xe_exec_sync(fd, exec_queue, addr, sync, num_syncs), 0);
> }
To be honest, I'm a bit confused with the xe_exec_sync naming.
sync typically refers to synchronous operations, which are operations
that block further execution until they have finished, so I would
actually expect the xe_exec_wait behavior.
>
> void xe_exec_wait(int fd, uint32_t exec_queue, uint64_t addr)
> diff --git a/lib/xe/xe_ioctl.h b/lib/xe/xe_ioctl.h
> index c8d46fb29..3679ce66b 100644
> --- a/lib/xe/xe_ioctl.h
> +++ b/lib/xe/xe_ioctl.h
> @@ -88,6 +88,8 @@ void *xe_bo_map(int fd, uint32_t bo, size_t size);
> void *xe_bo_mmap_ext(int fd, uint32_t bo, size_t size, int prot);
> int __xe_exec(int fd, struct drm_xe_exec *exec);
> void xe_exec(int fd, struct drm_xe_exec *exec);
> +int __xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
> + struct drm_xe_sync *sync, uint32_t num_syncs);
> void xe_exec_sync(int fd, uint32_t exec_queue, uint64_t addr,
> struct drm_xe_sync *sync, uint32_t num_syncs);
> void xe_exec_wait(int fd, uint32_t exec_queue, uint64_t addr);
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-13 12:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 17:48 [PATCH i-g-t v2 0/2] Add create-contexts subtest Lukasz Laguna
2023-12-12 17:48 ` [PATCH i-g-t v2 1/2] lib/xe/xe_ioctl: add __xe_exec_sync() helper Lukasz Laguna
2023-12-13 12:00 ` Bernatowicz, Marcin
2023-12-12 17:48 ` [PATCH i-g-t v2 2/2] tests/intel/xe_create: create-contexts subtest Lukasz Laguna
2023-12-12 19:15 ` ✗ Fi.CI.BAT: failure for Add " Patchwork
2023-12-12 20:26 ` ✓ CI.xeBAT: success " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox