* [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates
@ 2022-11-08 23:57 Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 1/6] include/drm-uapi: Update to the latest v3d_drm.h Maíra Canal
` (7 more replies)
0 siblings, 8 replies; 10+ messages in thread
From: Maíra Canal @ 2022-11-08 23:57 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
This series aims to update the V3D IGT tests. The first four patches contain
some janitorial duties related to the existing tests: updating the uAPI header,
creating a folder for the V3D tests, removing some unused includes, and adding
a macro with the default PAGE_SIZE. The last two patches include new tests for
the V3D driver.
Best Regards,
- Maíra Canal
Maíra Canal (6):
include/drm-uapi: Update to the latest v3d_drm.h
tests/v3d: Move V3D tests to their own folder
tests/v3d: Remove unused or redundant includes
lib/igt_v3d: Add PAGE_SIZE macro to V3D
tests/v3d_create_bo: Create test for V3D's Create BO IOCTL
tests/v3d_perfmon: Create test for V3D's Perfmon IOCTLs
include/drm-uapi/v3d_drm.h | 78 ++++++++++++++
lib/igt_v3d.c | 39 ++++++-
lib/igt_v3d.h | 6 ++
tests/meson.build | 20 +++-
tests/v3d/v3d_create_bo.c | 79 ++++++++++++++
tests/{ => v3d}/v3d_get_bo_offset.c | 16 +--
tests/{ => v3d}/v3d_get_param.c | 12 ---
tests/{ => v3d}/v3d_mmap.c | 12 ---
tests/v3d/v3d_perfmon.c | 153 ++++++++++++++++++++++++++++
tests/v3d_ci/v3d.testlist | 14 +++
10 files changed, 385 insertions(+), 44 deletions(-)
create mode 100644 tests/v3d/v3d_create_bo.c
rename tests/{ => v3d}/v3d_get_bo_offset.c (86%)
rename tests/{ => v3d}/v3d_get_param.c (89%)
rename tests/{ => v3d}/v3d_mmap.c (85%)
create mode 100644 tests/v3d/v3d_perfmon.c
--
2.38.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [igt-dev] [PATCH i-g-t 1/6] include/drm-uapi: Update to the latest v3d_drm.h
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
@ 2022-11-08 23:57 ` Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 2/6] tests/v3d: Move V3D tests to their own folder Maíra Canal
` (6 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Maíra Canal @ 2022-11-08 23:57 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
Update to the latest master version of the DRM UAPI header file from
git://anongit.freedesktop.org/drm/drm-misc:
a108772d03d8 Merge drm/drm-next into drm-misc-next
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
include/drm-uapi/v3d_drm.h | 78 ++++++++++++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
diff --git a/include/drm-uapi/v3d_drm.h b/include/drm-uapi/v3d_drm.h
index 4104f22f..3dfc0af8 100644
--- a/include/drm-uapi/v3d_drm.h
+++ b/include/drm-uapi/v3d_drm.h
@@ -58,6 +58,67 @@ extern "C" {
struct drm_v3d_perfmon_get_values)
#define DRM_V3D_SUBMIT_CL_FLUSH_CACHE 0x01
+#define DRM_V3D_SUBMIT_EXTENSION 0x02
+
+/* struct drm_v3d_extension - ioctl extensions
+ *
+ * Linked-list of generic extensions where the id identify which struct is
+ * pointed by ext_data. Therefore, DRM_V3D_EXT_ID_* is used on id to identify
+ * the extension type.
+ */
+struct drm_v3d_extension {
+ __u64 next;
+ __u32 id;
+#define DRM_V3D_EXT_ID_MULTI_SYNC 0x01
+ __u32 flags; /* mbz */
+};
+
+/* struct drm_v3d_sem - wait/signal semaphore
+ *
+ * If binary semaphore, it only takes syncobj handle and ignores flags and
+ * point fields. Point is defined for timeline syncobj feature.
+ */
+struct drm_v3d_sem {
+ __u32 handle; /* syncobj */
+ /* rsv below, for future uses */
+ __u32 flags;
+ __u64 point; /* for timeline sem support */
+ __u64 mbz[2]; /* must be zero, rsv */
+};
+
+/* Enum for each of the V3D queues. */
+enum v3d_queue {
+ V3D_BIN,
+ V3D_RENDER,
+ V3D_TFU,
+ V3D_CSD,
+ V3D_CACHE_CLEAN,
+};
+
+/**
+ * struct drm_v3d_multi_sync - ioctl extension to add support multiples
+ * syncobjs for commands submission.
+ *
+ * When an extension of DRM_V3D_EXT_ID_MULTI_SYNC id is defined, it points to
+ * this extension to define wait and signal dependencies, instead of single
+ * in/out sync entries on submitting commands. The field flags is used to
+ * determine the stage to set wait dependencies.
+ */
+struct drm_v3d_multi_sync {
+ struct drm_v3d_extension base;
+ /* Array of wait and signal semaphores */
+ __u64 in_syncs;
+ __u64 out_syncs;
+
+ /* Number of entries */
+ __u32 in_sync_count;
+ __u32 out_sync_count;
+
+ /* set the stage (v3d_queue) to sync */
+ __u32 wait_stage;
+
+ __u32 pad; /* mbz */
+};
/**
* struct drm_v3d_submit_cl - ioctl argument for submitting commands to the 3D
@@ -135,12 +196,16 @@ struct drm_v3d_submit_cl {
/* Number of BO handles passed in (size is that times 4). */
__u32 bo_handle_count;
+ /* DRM_V3D_SUBMIT_* properties */
__u32 flags;
/* ID of the perfmon to attach to this job. 0 means no perfmon. */
__u32 perfmon_id;
__u32 pad;
+
+ /* Pointer to an array of ioctl extensions*/
+ __u64 extensions;
};
/**
@@ -210,6 +275,7 @@ enum drm_v3d_param {
DRM_V3D_PARAM_SUPPORTS_CSD,
DRM_V3D_PARAM_SUPPORTS_CACHE_FLUSH,
DRM_V3D_PARAM_SUPPORTS_PERFMON,
+ DRM_V3D_PARAM_SUPPORTS_MULTISYNC_EXT,
};
struct drm_v3d_get_param {
@@ -248,6 +314,11 @@ struct drm_v3d_submit_tfu {
__u32 in_sync;
/* Sync object to signal when the TFU job is done. */
__u32 out_sync;
+
+ __u32 flags;
+
+ /* Pointer to an array of ioctl extensions*/
+ __u64 extensions;
};
/* Submits a compute shader for dispatch. This job will block on any
@@ -276,6 +347,13 @@ struct drm_v3d_submit_csd {
/* ID of the perfmon to attach to this job. 0 means no perfmon. */
__u32 perfmon_id;
+
+ /* Pointer to an array of ioctl extensions*/
+ __u64 extensions;
+
+ __u32 flags;
+
+ __u32 pad;
};
enum {
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [PATCH i-g-t 2/6] tests/v3d: Move V3D tests to their own folder
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 1/6] include/drm-uapi: Update to the latest v3d_drm.h Maíra Canal
@ 2022-11-08 23:57 ` Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 3/6] tests/v3d: Remove unused or redundant includes Maíra Canal
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Maíra Canal @ 2022-11-08 23:57 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
With the introduction of new tests to V3D, in order to avoid polluting
the main tests folder, move the V3D tests to a separate folder.
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
tests/meson.build | 18 +++++++++++++++---
tests/{ => v3d}/v3d_get_bo_offset.c | 0
tests/{ => v3d}/v3d_get_param.c | 0
tests/{ => v3d}/v3d_mmap.c | 0
4 files changed, 15 insertions(+), 3 deletions(-)
rename tests/{ => v3d}/v3d_get_bo_offset.c (100%)
rename tests/{ => v3d}/v3d_get_param.c (100%)
rename tests/{ => v3d}/v3d_mmap.c (100%)
diff --git a/tests/meson.build b/tests/meson.build
index 12e53e0b..5c9b1829 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -80,9 +80,6 @@ test_progs = [
'syncobj_timeline',
'template',
'tools_test',
- 'v3d_get_bo_offset',
- 'v3d_get_param',
- 'v3d_mmap',
'vc4_create_bo',
'vc4_dmabuf_poll',
'vc4_label_bo',
@@ -258,6 +255,12 @@ msm_progs = [
'msm_submit'
]
+v3d_progs = [
+ 'v3d_get_bo_offset',
+ 'v3d_get_param',
+ 'v3d_mmap',
+]
+
chamelium_progs = [
'kms_chamelium',
]
@@ -305,6 +308,15 @@ foreach prog : msm_progs
test_list += prog
endforeach
+foreach prog : v3d_progs
+ test_executables += executable(prog, join_paths('v3d', prog + '.c'),
+ dependencies : test_deps,
+ install_dir : libexecdir,
+ install_rpath : libexecdir_rpathdir,
+ install : true)
+ test_list += prog
+endforeach
+
if chamelium.found()
foreach prog : chamelium_progs
test_executables += executable(prog,
diff --git a/tests/v3d_get_bo_offset.c b/tests/v3d/v3d_get_bo_offset.c
similarity index 100%
rename from tests/v3d_get_bo_offset.c
rename to tests/v3d/v3d_get_bo_offset.c
diff --git a/tests/v3d_get_param.c b/tests/v3d/v3d_get_param.c
similarity index 100%
rename from tests/v3d_get_param.c
rename to tests/v3d/v3d_get_param.c
diff --git a/tests/v3d_mmap.c b/tests/v3d/v3d_mmap.c
similarity index 100%
rename from tests/v3d_mmap.c
rename to tests/v3d/v3d_mmap.c
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [PATCH i-g-t 3/6] tests/v3d: Remove unused or redundant includes
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 1/6] include/drm-uapi: Update to the latest v3d_drm.h Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 2/6] tests/v3d: Move V3D tests to their own folder Maíra Canal
@ 2022-11-08 23:57 ` Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 4/6] lib/igt_v3d: Add PAGE_SIZE macro to V3D Maíra Canal
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Maíra Canal @ 2022-11-08 23:57 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
The V3D test files contain some includes that aren't required for
compilation: some includes are simply not used and others are included
through other headers. Simplify the code by removing unused includes.
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
lib/igt_v3d.c | 3 ---
tests/v3d/v3d_get_bo_offset.c | 12 ------------
tests/v3d/v3d_get_param.c | 12 ------------
tests/v3d/v3d_mmap.c | 12 ------------
4 files changed, 39 deletions(-)
diff --git a/lib/igt_v3d.c b/lib/igt_v3d.c
index 619c072c..bd645320 100644
--- a/lib/igt_v3d.c
+++ b/lib/igt_v3d.c
@@ -36,9 +36,6 @@
#include "igt_core.h"
#include "igt_v3d.h"
#include "ioctl_wrappers.h"
-#include "intel_reg.h"
-#include "intel_chipset.h"
-#include "v3d_drm.h"
/**
* SECTION:igt_v3d
diff --git a/tests/v3d/v3d_get_bo_offset.c b/tests/v3d/v3d_get_bo_offset.c
index 0923dc85..976a28b8 100644
--- a/tests/v3d/v3d_get_bo_offset.c
+++ b/tests/v3d/v3d_get_bo_offset.c
@@ -23,18 +23,6 @@
#include "igt.h"
#include "igt_v3d.h"
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <fcntl.h>
-#include <inttypes.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <poll.h>
-#include "v3d_drm.h"
-#include "igt_v3d.h"
igt_main
{
diff --git a/tests/v3d/v3d_get_param.c b/tests/v3d/v3d_get_param.c
index 76563406..816a3c7d 100644
--- a/tests/v3d/v3d_get_param.c
+++ b/tests/v3d/v3d_get_param.c
@@ -23,18 +23,6 @@
#include "igt.h"
#include "igt_v3d.h"
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <fcntl.h>
-#include <inttypes.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <poll.h>
-#include "v3d_drm.h"
-#include "igt_v3d.h"
igt_main
{
diff --git a/tests/v3d/v3d_mmap.c b/tests/v3d/v3d_mmap.c
index a6fe7e5a..ad441607 100644
--- a/tests/v3d/v3d_mmap.c
+++ b/tests/v3d/v3d_mmap.c
@@ -23,18 +23,6 @@
#include "igt.h"
#include "igt_v3d.h"
-#include <unistd.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <fcntl.h>
-#include <inttypes.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <poll.h>
-#include "v3d_drm.h"
-#include "igt_v3d.h"
igt_main
{
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [PATCH i-g-t 4/6] lib/igt_v3d: Add PAGE_SIZE macro to V3D
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
` (2 preceding siblings ...)
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 3/6] tests/v3d: Remove unused or redundant includes Maíra Canal
@ 2022-11-08 23:57 ` Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 5/6] tests/v3d_create_bo: Create test for V3D's Create BO IOCTL Maíra Canal
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Maíra Canal @ 2022-11-08 23:57 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
Some V3D tests use the page memory size, so create a macro to define the
page size as 4096 and replace this value for the macro in the V3D tests.
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
lib/igt_v3d.h | 2 ++
tests/v3d/v3d_get_bo_offset.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/igt_v3d.h b/lib/igt_v3d.h
index 20429951..202c5e22 100644
--- a/lib/igt_v3d.h
+++ b/lib/igt_v3d.h
@@ -26,6 +26,8 @@
#include "v3d_drm.h"
+#define PAGE_SIZE 4096
+
struct v3d_bo {
int handle;
uint32_t offset;
diff --git a/tests/v3d/v3d_get_bo_offset.c b/tests/v3d/v3d_get_bo_offset.c
index 976a28b8..b2d2f186 100644
--- a/tests/v3d/v3d_get_bo_offset.c
+++ b/tests/v3d/v3d_get_bo_offset.c
@@ -33,8 +33,8 @@ igt_main
igt_subtest("create-get-offsets") {
struct v3d_bo *bos[2] = {
- igt_v3d_create_bo(fd, 4096),
- igt_v3d_create_bo(fd, 4096),
+ igt_v3d_create_bo(fd, PAGE_SIZE),
+ igt_v3d_create_bo(fd, PAGE_SIZE),
};
uint32_t offsets[2] = {
igt_v3d_get_bo_offset(fd, bos[0]->handle),
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [PATCH i-g-t 5/6] tests/v3d_create_bo: Create test for V3D's Create BO IOCTL
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
` (3 preceding siblings ...)
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 4/6] lib/igt_v3d: Add PAGE_SIZE macro to V3D Maíra Canal
@ 2022-11-08 23:57 ` Maíra Canal
2022-11-10 15:06 ` Kamil Konieczny
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 6/6] tests/v3d_perfmon: Create test for V3D's Perfmon IOCTLs Maíra Canal
` (2 subsequent siblings)
7 siblings, 1 reply; 10+ messages in thread
From: Maíra Canal @ 2022-11-08 23:57 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
Add three igt_subtests for the DRM_IOCTL_V3D_CREATE_BO, which tests the
creation of a zeroed BO and a 4096 bytes BO, and tests if the BO is
properly cleaned.
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
tests/meson.build | 1 +
tests/v3d/v3d_create_bo.c | 79 +++++++++++++++++++++++++++++++++++++++
tests/v3d_ci/v3d.testlist | 3 ++
3 files changed, 83 insertions(+)
create mode 100644 tests/v3d/v3d_create_bo.c
diff --git a/tests/meson.build b/tests/meson.build
index 5c9b1829..f1a6a9dd 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -256,6 +256,7 @@ msm_progs = [
]
v3d_progs = [
+ 'v3d_create_bo',
'v3d_get_bo_offset',
'v3d_get_param',
'v3d_mmap',
diff --git a/tests/v3d/v3d_create_bo.c b/tests/v3d/v3d_create_bo.c
new file mode 100644
index 00000000..9b13f603
--- /dev/null
+++ b/tests/v3d/v3d_create_bo.c
@@ -0,0 +1,79 @@
+/*
+ * Copyright © 2022 Igalia S.L.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ * Authors:
+ * Maíra Canal <mcanal@igalia.com>
+ */
+
+#include "igt.h"
+#include "igt_v3d.h"
+
+igt_main
+{
+ int fd;
+
+ igt_fixture {
+ fd = drm_open_driver(DRIVER_V3D);
+ }
+
+ igt_subtest("create-bo-0") {
+ struct drm_v3d_create_bo create = {
+ .size = 0,
+ };
+ do_ioctl_err(fd, DRM_IOCTL_V3D_CREATE_BO, &create, EINVAL);
+ }
+
+ igt_subtest("create-bo-4096") {
+ struct v3d_bo *bo = igt_v3d_create_bo(fd, PAGE_SIZE);
+ igt_v3d_free_bo(fd, bo);
+ }
+
+ igt_subtest("create-bo-zeroed") {
+ int fd2 = drm_open_driver(DRIVER_V3D);
+ struct v3d_bo *bo;
+ /* A size different from any used in our other tests, to try
+ * to convince it to land as the only one of its size in the
+ * kernel BO cache
+ */
+ size_t size = 3 * PAGE_SIZE, i;
+
+ /* Make a BO and free it on our main fd. */
+ bo = igt_v3d_create_bo(fd, size);
+ bo->map = igt_v3d_mmap_bo(fd, bo->handle, size, PROT_READ | PROT_WRITE);
+ memset(bo->map, 0xd0, size);
+ igt_v3d_free_bo(fd, bo);
+
+ /* Now, allocate a BO on the other fd and make sure it doesn't
+ * have the old contents.
+ */
+ bo = igt_v3d_create_bo(fd2, size);
+ bo->map = igt_v3d_mmap_bo(fd2, bo->handle, size, PROT_READ | PROT_WRITE);
+ for (i = 0; i < size / 4; i++)
+ igt_assert_eq_u32(((uint32_t *)bo->map)[i], 0x0);
+ igt_v3d_free_bo(fd2, bo);
+
+ close(fd2);
+ }
+
+ igt_fixture
+ close(fd);
+}
diff --git a/tests/v3d_ci/v3d.testlist b/tests/v3d_ci/v3d.testlist
index b55e8e57..f4355285 100644
--- a/tests/v3d_ci/v3d.testlist
+++ b/tests/v3d_ci/v3d.testlist
@@ -1,3 +1,6 @@
+igt@v3d_create_bo@create-bo-0
+igt@v3d_create_bo@create-bo-4096
+igt@v3d_create_bo@create-bo-zeroed
igt@v3d_get_bo_offset@create-get-offsets
igt@v3d_get_bo_offset@get-bad-handle
igt@v3d_get_param@base-params
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] [PATCH i-g-t 6/6] tests/v3d_perfmon: Create test for V3D's Perfmon IOCTLs
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
` (4 preceding siblings ...)
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 5/6] tests/v3d_create_bo: Create test for V3D's Create BO IOCTL Maíra Canal
@ 2022-11-08 23:57 ` Maíra Canal
2022-11-09 1:00 ` [igt-dev] ✓ Fi.CI.BAT: success for V3D IGT Tests Updates Patchwork
2022-11-09 4:23 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
7 siblings, 0 replies; 10+ messages in thread
From: Maíra Canal @ 2022-11-08 23:57 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
Add igt_subtests for the V3D's Perfmon IOCTLs:
DRM_IOCTL_V3D_PERFMON_CREATE, DRM_IOCTL_V3D_PERFMON_DESTROY and
DRM_IOCTL_V3D_PERFMON_GET_VALUES. The tests aim to make sure that the
performance monitors are being properly created and destroyed and to
ensure that improper parameters return an errno.
Signed-off-by: Maíra Canal <mcanal@igalia.com>
---
lib/igt_v3d.c | 36 +++++++++
lib/igt_v3d.h | 4 +
tests/meson.build | 1 +
tests/v3d/v3d_perfmon.c | 153 ++++++++++++++++++++++++++++++++++++++
tests/v3d_ci/v3d.testlist | 11 +++
5 files changed, 205 insertions(+)
create mode 100644 tests/v3d/v3d_perfmon.c
diff --git a/lib/igt_v3d.c b/lib/igt_v3d.c
index bd645320..5aa583da 100644
--- a/lib/igt_v3d.c
+++ b/lib/igt_v3d.c
@@ -121,3 +121,39 @@ void igt_v3d_bo_mmap(int fd, struct v3d_bo *bo)
PROT_READ | PROT_WRITE);
igt_assert(bo->map);
}
+
+uint32_t igt_v3d_perfmon_create(int fd, uint32_t ncounters, uint8_t *counters)
+{
+ struct drm_v3d_perfmon_create create = {
+ .ncounters = ncounters,
+ };
+
+ memcpy(create.counters, counters, ncounters * sizeof(*counters));
+
+ do_ioctl(fd, DRM_IOCTL_V3D_PERFMON_CREATE, &create);
+ igt_assert_neq(create.id, 0);
+
+ return create.id;
+}
+
+void igt_v3d_perfmon_get_values(int fd, uint32_t id)
+{
+ uint64_t *values = calloc(DRM_V3D_MAX_PERF_COUNTERS, sizeof(*values));
+ struct drm_v3d_perfmon_get_values get = {
+ .id = id,
+ .values_ptr = to_user_pointer(values)
+ };
+
+ do_ioctl(fd, DRM_IOCTL_V3D_PERFMON_GET_VALUES, &get);
+
+ free(values);
+}
+
+void igt_v3d_perfmon_destroy(int fd, uint32_t id)
+{
+ struct drm_v3d_perfmon_destroy destroy = {
+ .id = id,
+ };
+
+ do_ioctl(fd, DRM_IOCTL_V3D_PERFMON_DESTROY, &destroy);
+}
diff --git a/lib/igt_v3d.h b/lib/igt_v3d.h
index 202c5e22..2edb0f03 100644
--- a/lib/igt_v3d.h
+++ b/lib/igt_v3d.h
@@ -45,4 +45,8 @@ void *igt_v3d_mmap_bo(int fd, uint32_t handle, uint32_t size, unsigned prot);
void igt_v3d_bo_mmap(int fd, struct v3d_bo *bo);
+uint32_t igt_v3d_perfmon_create(int fd, uint32_t ncounters, uint8_t *counters);
+void igt_v3d_perfmon_get_values(int fd, uint32_t id);
+void igt_v3d_perfmon_destroy(int fd, uint32_t id);
+
#endif /* IGT_V3D_H */
diff --git a/tests/meson.build b/tests/meson.build
index f1a6a9dd..0efe5172 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -260,6 +260,7 @@ v3d_progs = [
'v3d_get_bo_offset',
'v3d_get_param',
'v3d_mmap',
+ 'v3d_perfmon',
]
chamelium_progs = [
diff --git a/tests/v3d/v3d_perfmon.c b/tests/v3d/v3d_perfmon.c
new file mode 100644
index 00000000..5b0a4fe2
--- /dev/null
+++ b/tests/v3d/v3d_perfmon.c
@@ -0,0 +1,153 @@
+/*
+ * Copyright © 2022 Igalia S.L.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ * Authors:
+ * Maíra Canal <mcanal@igalia.com>
+ */
+
+#include "igt.h"
+#include "igt_v3d.h"
+
+igt_main
+{
+ int fd;
+
+ igt_fixture
+ fd = drm_open_driver(DRIVER_V3D);
+
+ igt_subtest("create-perfmon-0") {
+ struct drm_v3d_perfmon_create create = {
+ .ncounters = 0,
+ };
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_CREATE, &create, EINVAL);
+ }
+
+ igt_subtest("create-perfmon-exceed") {
+ struct drm_v3d_perfmon_create create = {
+ .ncounters = DRM_V3D_MAX_PERF_COUNTERS + 1,
+ };
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_CREATE, &create, EINVAL);
+ }
+
+ igt_subtest("create-perfmon-invalid-counters") {
+ struct drm_v3d_perfmon_create create = {
+ .ncounters = 1,
+ .counters = { V3D_PERFCNT_NUM },
+ };
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_CREATE, &create, EINVAL);
+ }
+
+ igt_subtest("create-single-perfmon") {
+ uint8_t counters[] = { V3D_PERFCNT_FEP_VALID_PRIMTS_NO_PIXELS };
+ uint32_t id = igt_v3d_perfmon_create(fd, 1, counters);
+
+ igt_v3d_perfmon_destroy(fd, id);
+ }
+
+ igt_subtest("create-two-perfmon") {
+ uint8_t counters_perfmon1[] = { V3D_PERFCNT_AXI_WRITE_STALLS_WATCH_0 };
+ uint8_t counters_perfmon2[] = { V3D_PERFCNT_L2T_TMUCFG_READS, V3D_PERFCNT_CORE_MEM_WRITES };
+
+ /* Create two different performance monitors */
+ uint32_t id1 = igt_v3d_perfmon_create(fd, 1, counters_perfmon1);
+ uint32_t id2 = igt_v3d_perfmon_create(fd, 2, counters_perfmon2);
+
+ /* Make sure that the id's of the performance monitors are different */
+ igt_assert_neq(id1, id2);
+
+ igt_v3d_perfmon_destroy(fd, id1);
+
+ /* Make sure that the second perfmon it is still acessible */
+ igt_v3d_perfmon_get_values(fd, id2);
+
+ igt_v3d_perfmon_destroy(fd, id2);
+ }
+
+ igt_subtest("get-values-invalid-pad") {
+ struct drm_v3d_perfmon_get_values get = {
+ .pad = 1,
+ };
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_GET_VALUES, &get, EINVAL);
+ }
+
+ igt_subtest("get-values-invalid-perfmon") {
+ struct drm_v3d_perfmon_get_values get = {
+ .id = 1,
+ };
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_GET_VALUES, &get, EINVAL);
+ }
+
+ igt_subtest("get-values-invalid-pointer") {
+ uint8_t counters[] = { V3D_PERFCNT_TLB_QUADS_STENCIL_FAIL,
+ V3D_PERFCNT_PTB_PRIM_VIEWPOINT_DISCARD,
+ V3D_PERFCNT_QPU_UC_HIT };
+ uint32_t id = igt_v3d_perfmon_create(fd, 3, counters);
+
+ struct drm_v3d_perfmon_get_values get = {
+ .id = id,
+ .values_ptr = 0ULL
+ };
+
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_GET_VALUES, &get, EFAULT);
+
+ igt_v3d_perfmon_destroy(fd, id);
+ }
+
+ igt_subtest("get-values-valid-perfmon") {
+ uint8_t counters[] = { V3D_PERFCNT_COMPUTE_ACTIVE,
+ V3D_PERFCNT_PTB_MEM_READS,
+ V3D_PERFCNT_CLE_ACTIVE };
+ uint32_t id = igt_v3d_perfmon_create(fd, 3, counters);
+
+ igt_v3d_perfmon_get_values(fd, id);
+ igt_v3d_perfmon_destroy(fd, id);
+ }
+
+ igt_subtest("destroy-invalid-perfmon") {
+ /* Try to destroy an id that was not created */
+ struct drm_v3d_perfmon_destroy destroy = {
+ .id = 1,
+ };
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_DESTROY, &destroy, EINVAL);
+ }
+
+ igt_subtest("destroy-valid-perfmon") {
+ uint8_t counters[] = { V3D_PERFCNT_AXI_WRITE_STALLS_WATCH_1,
+ V3D_PERFCNT_TMU_CONFIG_ACCESSES,
+ V3D_PERFCNT_TLB_PARTIAL_QUADS,
+ V3D_PERFCNT_L2T_SLC0_READS };
+ uint32_t id = igt_v3d_perfmon_create(fd, 4, counters);
+ struct drm_v3d_perfmon_get_values get = {
+ .id = id,
+ };
+
+ igt_v3d_perfmon_get_values(fd, id);
+
+ igt_v3d_perfmon_destroy(fd, id);
+
+ /* Make sure that the id is no longer allocate */
+ do_ioctl_err(fd, DRM_IOCTL_V3D_PERFMON_GET_VALUES, &get, EINVAL);
+ }
+
+ igt_fixture
+ close(fd);
+}
diff --git a/tests/v3d_ci/v3d.testlist b/tests/v3d_ci/v3d.testlist
index f4355285..0b05614d 100644
--- a/tests/v3d_ci/v3d.testlist
+++ b/tests/v3d_ci/v3d.testlist
@@ -7,3 +7,14 @@ igt@v3d_get_param@base-params
igt@v3d_get_param@get-bad-param
igt@v3d_get_param@get-bad-flags
igt@v3d_mmap@mmap-bad-handle
+igt@v3d_perfmon@create-perfmon-0
+igt@v3d_perfmon@create-perfmon-exceed
+igt@v3d_perfmon@create-perfmon-invalid-counters
+igt@v3d_perfmon@create-single-perfmon
+igt@v3d_perfmon@create-two-perfmon
+igt@v3d_perfmon@get-values-invalid-pad
+igt@v3d_perfmon@get-values-invalid-perfmon
+igt@v3d_perfmon@get-values-invalid-pointer
+igt@v3d_perfmon@get-values-valid-perfmon
+igt@v3d_perfmon@destroy-invalid-perfmon
+igt@v3d_perfmon@destroy-valid-perfmon
--
2.38.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for V3D IGT Tests Updates
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
` (5 preceding siblings ...)
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 6/6] tests/v3d_perfmon: Create test for V3D's Perfmon IOCTLs Maíra Canal
@ 2022-11-09 1:00 ` Patchwork
2022-11-09 4:23 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2022-11-09 1:00 UTC (permalink / raw)
To: Maíra Canal; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 6313 bytes --]
== Series Details ==
Series: V3D IGT Tests Updates
URL : https://patchwork.freedesktop.org/series/110681/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12356 -> IGTPW_8073
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/index.html
Participating hosts (42 -> 39)
------------------------------
Additional (1): fi-tgl-dsi
Missing (4): fi-ctg-p8600 fi-ilk-m540 fi-bdw-samus bat-adlp-6
Known issues
------------
Here are the changes found in IGTPW_8073 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-bsw-nick: NOTRUN -> [SKIP][1] ([fdo#109271] / [fdo#111827])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/fi-bsw-nick/igt@kms_chamelium@common-hpd-after-suspend.html
- fi-hsw-4770: NOTRUN -> [SKIP][2] ([fdo#109271] / [fdo#111827])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/fi-hsw-4770/igt@kms_chamelium@common-hpd-after-suspend.html
* igt@kms_pipe_crc_basic@suspend-read-crc:
- fi-bsw-nick: NOTRUN -> [SKIP][3] ([fdo#109271])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/fi-bsw-nick/igt@kms_pipe_crc_basic@suspend-read-crc.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0@smem:
- {bat-rpls-2}: [DMESG-WARN][4] ([i915#6434]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/bat-rpls-2/igt@gem_exec_suspend@basic-s0@smem.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/bat-rpls-2/igt@gem_exec_suspend@basic-s0@smem.html
* igt@gem_exec_suspend@basic-s3@smem:
- {bat-rpls-1}: [DMESG-WARN][6] ([i915#6687]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][8] ([i915#5334]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [INCOMPLETE][10] ([i915#4785]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/fi-hsw-4770/igt@i915_selftest@live@hangcheck.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/fi-hsw-4770/igt@i915_selftest@live@hangcheck.html
* igt@i915_selftest@live@hugepages:
- fi-bsw-nick: [DMESG-FAIL][12] ([i915#6217]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/fi-bsw-nick/igt@i915_selftest@live@hugepages.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/fi-bsw-nick/igt@i915_selftest@live@hugepages.html
* igt@i915_selftest@live@slpc:
- {bat-adln-1}: [DMESG-FAIL][14] ([i915#6997]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/bat-adln-1/igt@i915_selftest@live@slpc.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/bat-adln-1/igt@i915_selftest@live@slpc.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#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#5278]: https://gitlab.freedesktop.org/drm/intel/issues/5278
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#6217]: https://gitlab.freedesktop.org/drm/intel/issues/6217
[i915#6434]: https://gitlab.freedesktop.org/drm/intel/issues/6434
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7125]: https://gitlab.freedesktop.org/drm/intel/issues/7125
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7048 -> IGTPW_8073
CI-20190529: 20190529
CI_DRM_12356: 1278975de8debde9eb1f5d86fd2fbe533361e456 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8073: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/index.html
IGT_7048: 5edd5c539f1fdf1c02157bf43fa1fd22d4ad2c75 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@v3d_create_bo@create-bo-0
+igt@v3d_create_bo@create-bo-4096
+igt@v3d_create_bo@create-bo-zeroed
+igt@v3d_perfmon@create-perfmon-0
+igt@v3d_perfmon@create-perfmon-exceed
+igt@v3d_perfmon@create-perfmon-invalid-counters
+igt@v3d_perfmon@create-single-perfmon
+igt@v3d_perfmon@create-two-perfmon
+igt@v3d_perfmon@destroy-invalid-perfmon
+igt@v3d_perfmon@destroy-valid-perfmon
+igt@v3d_perfmon@get-values-invalid-pad
+igt@v3d_perfmon@get-values-invalid-perfmon
+igt@v3d_perfmon@get-values-invalid-pointer
+igt@v3d_perfmon@get-values-valid-perfmon
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/index.html
[-- Attachment #2: Type: text/html, Size: 6252 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for V3D IGT Tests Updates
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
` (6 preceding siblings ...)
2022-11-09 1:00 ` [igt-dev] ✓ Fi.CI.BAT: success for V3D IGT Tests Updates Patchwork
@ 2022-11-09 4:23 ` Patchwork
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2022-11-09 4:23 UTC (permalink / raw)
To: Maíra Canal; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 34530 bytes --]
== Series Details ==
Series: V3D IGT Tests Updates
URL : https://patchwork.freedesktop.org/series/110681/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12356_full -> IGTPW_8073_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_8073_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_8073_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/index.html
Participating hosts (11 -> 6)
------------------------------
Missing (5): pig-kbl-iris pig-glk-j5005 pig-skl-6260u shard-rkl shard-dg1
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8073_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-tglb6/igt@gem_eio@unwedge-stress.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb8/igt@gem_eio@unwedge-stress.html
Known issues
------------
Here are the changes found in IGTPW_8073_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@feature_discovery@display-4x:
- shard-iclb: NOTRUN -> [SKIP][3] ([i915#1839])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@feature_discovery@display-4x.html
- shard-tglb: NOTRUN -> [SKIP][4] ([i915#1839])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@feature_discovery@display-4x.html
* igt@gem_create@create-massive:
- shard-apl: NOTRUN -> [DMESG-WARN][5] ([i915#4991])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@gem_create@create-massive.html
* igt@gem_ctx_persistence@hang:
- shard-snb: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#1099]) +2 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-snb2/igt@gem_ctx_persistence@hang.html
* igt@gem_ctx_sseu@mmap-args:
- shard-tglb: NOTRUN -> [SKIP][7] ([i915#280])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb7/igt@gem_ctx_sseu@mmap-args.html
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: NOTRUN -> [FAIL][8] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk2/igt@gem_exec_fair@basic-none-share@rcs0.html
* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][9] ([i915#2842]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb1/igt@gem_exec_fair@basic-none@vcs1.html
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][10] -> [FAIL][11] ([i915#2842]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-glk9/igt@gem_exec_fair@basic-pace-share@rcs0.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk5/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-apl: [PASS][12] -> [FAIL][13] ([i915#2842])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl6/igt@gem_exec_fair@basic-pace-solo@rcs0.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@gem_exec_fair@basic-pace-solo@rcs0.html
* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#2190])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@parallel-random:
- shard-apl: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#4613]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl3/igt@gem_lmem_swapping@parallel-random.html
* igt@gem_lmem_swapping@verify:
- shard-iclb: NOTRUN -> [SKIP][16] ([i915#4613])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@gem_lmem_swapping@verify.html
- shard-tglb: NOTRUN -> [SKIP][17] ([i915#4613])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@gem_lmem_swapping@verify.html
- shard-glk: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#4613])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk1/igt@gem_lmem_swapping@verify.html
* igt@gem_pxp@protected-raw-src-copy-not-readible:
- shard-iclb: NOTRUN -> [SKIP][19] ([i915#4270])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb6/igt@gem_pxp@protected-raw-src-copy-not-readible.html
- shard-tglb: NOTRUN -> [SKIP][20] ([i915#4270])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb6/igt@gem_pxp@protected-raw-src-copy-not-readible.html
* igt@gem_render_copy@y-tiled-mc-ccs-to-yf-tiled-ccs:
- shard-iclb: NOTRUN -> [SKIP][21] ([i915#768])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@gem_render_copy@y-tiled-mc-ccs-to-yf-tiled-ccs.html
* igt@gem_userptr_blits@coherency-sync:
- shard-iclb: NOTRUN -> [SKIP][22] ([fdo#109290])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@gem_userptr_blits@coherency-sync.html
- shard-tglb: NOTRUN -> [SKIP][23] ([fdo#110542])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb1/igt@gem_userptr_blits@coherency-sync.html
* igt@gem_userptr_blits@readonly-pwrite-unsync:
- shard-tglb: NOTRUN -> [SKIP][24] ([i915#3297])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb1/igt@gem_userptr_blits@readonly-pwrite-unsync.html
- shard-iclb: NOTRUN -> [SKIP][25] ([i915#3297])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb1/igt@gem_userptr_blits@readonly-pwrite-unsync.html
* igt@gen9_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][26] ([i915#2527] / [i915#2856]) +2 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb7/igt@gen9_exec_parse@cmd-crossing-page.html
- shard-iclb: NOTRUN -> [SKIP][27] ([i915#2856]) +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@gen9_exec_parse@cmd-crossing-page.html
* igt@i915_pipe_stress@stress-xrgb8888-untiled:
- shard-apl: NOTRUN -> [FAIL][28] ([i915#7036])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@i915_pipe_stress@stress-xrgb8888-untiled.html
* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [PASS][29] -> [SKIP][30] ([fdo#109271])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl7/igt@i915_pm_dc@dc9-dpms.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@i915_pm_dc@dc9-dpms.html
* igt@i915_pm_rc6_residency@rc6-idle@rcs0:
- shard-tglb: NOTRUN -> [WARN][31] ([i915#2681]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@i915_pm_rc6_residency@rc6-idle@rcs0.html
* igt@i915_pm_rpm@dpms-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][32] ([fdo#111644] / [i915#1397] / [i915#2411])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb8/igt@i915_pm_rpm@dpms-non-lpsp.html
- shard-iclb: NOTRUN -> [SKIP][33] ([fdo#110892])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@i915_pm_rpm@dpms-non-lpsp.html
* igt@i915_pm_sseu@full-enable:
- shard-tglb: NOTRUN -> [SKIP][34] ([i915#4387])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb1/igt@i915_pm_sseu@full-enable.html
- shard-iclb: NOTRUN -> [SKIP][35] ([i915#4387])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@i915_pm_sseu@full-enable.html
* igt@i915_suspend@forcewake:
- shard-apl: [PASS][36] -> [DMESG-WARN][37] ([i915#180])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl7/igt@i915_suspend@forcewake.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl3/igt@i915_suspend@forcewake.html
* igt@kms_big_fb@4-tiled-16bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][38] ([i915#5286])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb5/igt@kms_big_fb@4-tiled-16bpp-rotate-0.html
- shard-iclb: NOTRUN -> [SKIP][39] ([i915#5286])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb1/igt@kms_big_fb@4-tiled-16bpp-rotate-0.html
* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][40] ([fdo#110725] / [fdo#111614]) +1 similar issue
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb1/igt@kms_big_fb@linear-8bpp-rotate-90.html
* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][41] ([fdo#111614]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@kms_big_fb@x-tiled-32bpp-rotate-270.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][42] ([fdo#111615]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb8/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#110723])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
* igt@kms_ccs@pipe-a-bad-pixel-format-4_tiled_dg2_rc_ccs:
- shard-iclb: NOTRUN -> [SKIP][44] ([fdo#109278]) +10 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb8/igt@kms_ccs@pipe-a-bad-pixel-format-4_tiled_dg2_rc_ccs.html
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#3689] / [i915#6095])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb3/igt@kms_ccs@pipe-a-bad-pixel-format-4_tiled_dg2_rc_ccs.html
* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs:
- shard-tglb: NOTRUN -> [SKIP][46] ([i915#6095]) +2 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb7/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-4_tiled_dg2_rc_ccs.html
* igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][47] ([fdo#109271] / [i915#3886]) +6 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][48] ([fdo#109271] / [i915#3886]) +4 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk9/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][49] ([i915#3689] / [i915#3886])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb8/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
- shard-iclb: NOTRUN -> [SKIP][50] ([fdo#109278] / [i915#3886]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb7/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][51] ([i915#3689]) +4 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb7/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][52] ([fdo#111615] / [i915#3689]) +3 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@kms_ccs@pipe-d-random-ccs-data-yf_tiled_ccs.html
* igt@kms_chamelium@common-hpd-after-suspend:
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271] / [fdo#111827]) +9 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl2/igt@kms_chamelium@common-hpd-after-suspend.html
* igt@kms_chamelium@dp-edid-read:
- shard-glk: NOTRUN -> [SKIP][54] ([fdo#109271] / [fdo#111827]) +2 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk3/igt@kms_chamelium@dp-edid-read.html
* igt@kms_color_chamelium@ctm-0-75:
- shard-iclb: NOTRUN -> [SKIP][55] ([fdo#109284] / [fdo#111827])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb1/igt@kms_color_chamelium@ctm-0-75.html
- shard-tglb: NOTRUN -> [SKIP][56] ([fdo#109284] / [fdo#111827])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb1/igt@kms_color_chamelium@ctm-0-75.html
* igt@kms_color_chamelium@ctm-red-to-blue:
- shard-snb: NOTRUN -> [SKIP][57] ([fdo#109271] / [fdo#111827]) +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-snb6/igt@kms_color_chamelium@ctm-red-to-blue.html
* igt@kms_content_protection@atomic-dpms@pipe-a-dp-1:
- shard-apl: NOTRUN -> [INCOMPLETE][58] ([i915#7121] / [i915#7173])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl7/igt@kms_content_protection@atomic-dpms@pipe-a-dp-1.html
* igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic:
- shard-tglb: NOTRUN -> [SKIP][59] ([fdo#109274] / [fdo#111825])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb3/igt@kms_cursor_legacy@2x-long-nonblocking-modeset-vs-cursor-atomic.html
* igt@kms_fbcon_fbt@fbc:
- shard-tglb: NOTRUN -> [FAIL][60] ([i915#4767])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb6/igt@kms_fbcon_fbt@fbc.html
- shard-glk: NOTRUN -> [FAIL][61] ([i915#4767])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk8/igt@kms_fbcon_fbt@fbc.html
- shard-iclb: NOTRUN -> [FAIL][62] ([i915#4767])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb7/igt@kms_fbcon_fbt@fbc.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: NOTRUN -> [FAIL][63] ([i915#4767]) +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl2/igt@kms_fbcon_fbt@fbc-suspend.html
* igt@kms_flip@2x-modeset-vs-vblank-race:
- shard-tglb: NOTRUN -> [SKIP][64] ([fdo#109274] / [fdo#111825] / [i915#3637]) +2 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb6/igt@kms_flip@2x-modeset-vs-vblank-race.html
* igt@kms_flip@2x-wf_vblank-ts-check:
- shard-iclb: NOTRUN -> [SKIP][65] ([fdo#109274]) +3 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@kms_flip@2x-wf_vblank-ts-check.html
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1:
- shard-apl: [PASS][66] -> [FAIL][67] ([i915#2122])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl1/igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1.html
* igt@kms_flip_scaled_crc@flip-64bpp-linear-to-32bpp-linear-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][68] ([i915#3555]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-32bpp-linear-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][69] ([i915#2587] / [i915#2672]) +4 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb6/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][70] ([i915#2672] / [i915#3555])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt:
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#109280]) +7 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-move:
- shard-tglb: NOTRUN -> [SKIP][72] ([i915#6497]) +7 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-move.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-wc:
- shard-tglb: NOTRUN -> [SKIP][73] ([fdo#109280] / [fdo#111825]) +8 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-glk: NOTRUN -> [SKIP][74] ([fdo#109271]) +103 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk5/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-render:
- shard-apl: NOTRUN -> [SKIP][75] ([fdo#109271]) +190 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl7/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-render.html
* igt@kms_hdmi_inject@inject-audio:
- shard-tglb: [PASS][76] -> [SKIP][77] ([i915#433])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-tglb8/igt@kms_hdmi_inject@inject-audio.html
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb6/igt@kms_hdmi_inject@inject-audio.html
* igt@kms_hdr@bpc-switch:
- shard-tglb: NOTRUN -> [SKIP][78] ([i915#3555])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb5/igt@kms_hdr@bpc-switch.html
* igt@kms_pipe_b_c_ivb@disable-pipe-b-enable-pipe-c:
- shard-tglb: NOTRUN -> [SKIP][79] ([fdo#109289])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb7/igt@kms_pipe_b_c_ivb@disable-pipe-b-enable-pipe-c.html
* igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-a-dp-1:
- shard-apl: NOTRUN -> [FAIL][80] ([i915#4573]) +2 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl1/igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-a-dp-1.html
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-vga-1:
- shard-snb: NOTRUN -> [SKIP][81] ([fdo#109271]) +161 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-snb4/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-a-vga-1.html
* igt@kms_plane_scaling@plane-scaler-with-rotation-unity-scaling@pipe-a-edp-1:
- shard-iclb: NOTRUN -> [SKIP][82] ([i915#5176]) +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb8/igt@kms_plane_scaling@plane-scaler-with-rotation-unity-scaling@pipe-a-edp-1.html
* igt@kms_plane_scaling@plane-scaler-with-rotation-unity-scaling@pipe-b-edp-1:
- shard-tglb: NOTRUN -> [SKIP][83] ([i915#5176]) +3 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@kms_plane_scaling@plane-scaler-with-rotation-unity-scaling@pipe-b-edp-1.html
* igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-a-edp-1:
- shard-iclb: [PASS][84] -> [SKIP][85] ([i915#5235]) +5 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-iclb3/igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-a-edp-1.html
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-a-edp-1.html
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
- shard-iclb: NOTRUN -> [SKIP][86] ([i915#658])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb8/igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf.html
- shard-apl: NOTRUN -> [SKIP][87] ([fdo#109271] / [i915#658]) +1 similar issue
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl8/igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf.html
- shard-tglb: NOTRUN -> [SKIP][88] ([i915#2920])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb3/igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf.html
- shard-glk: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#658])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk7/igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf.html
* igt@kms_psr2_su@page_flip-p010:
- shard-iclb: NOTRUN -> [SKIP][90] ([fdo#109642] / [fdo#111068] / [i915#658])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb8/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [PASS][91] -> [SKIP][92] ([fdo#109441]) +1 similar issue
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb6/igt@kms_psr@psr2_no_drrs.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: NOTRUN -> [SKIP][93] ([fdo#109441])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb7/igt@kms_psr@psr2_primary_mmap_cpu.html
- shard-tglb: NOTRUN -> [FAIL][94] ([i915#132] / [i915#3467])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb6/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_setmode@basic@pipe-a-vga-1:
- shard-snb: NOTRUN -> [FAIL][95] ([i915#5465]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-snb5/igt@kms_setmode@basic@pipe-a-vga-1.html
* igt@kms_tv_load_detect@load-detect:
- shard-tglb: NOTRUN -> [SKIP][96] ([fdo#109309])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb1/igt@kms_tv_load_detect@load-detect.html
- shard-iclb: NOTRUN -> [SKIP][97] ([fdo#109309])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb3/igt@kms_tv_load_detect@load-detect.html
* igt@perf@gen12-mi-rpc:
- shard-iclb: NOTRUN -> [SKIP][98] ([fdo#109289]) +2 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb6/igt@perf@gen12-mi-rpc.html
* igt@sysfs_clients@fair-0:
- shard-glk: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#2994])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk7/igt@sysfs_clients@fair-0.html
#### Possible fixes ####
* igt@gem_ctx_isolation@preservation-s3@rcs0:
- shard-snb: [SKIP][100] ([fdo#109271]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-snb6/igt@gem_ctx_isolation@preservation-s3@rcs0.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-snb2/igt@gem_ctx_isolation@preservation-s3@rcs0.html
* igt@gem_exec_balancer@parallel-out-fence:
- shard-iclb: [SKIP][102] ([i915#4525]) -> [PASS][103] +2 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-iclb7/igt@gem_exec_balancer@parallel-out-fence.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb1/igt@gem_exec_balancer@parallel-out-fence.html
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][104] ([i915#2846]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-glk8/igt@gem_exec_fair@basic-deadline.html
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk7/igt@gem_exec_fair@basic-deadline.html
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [FAIL][106] ([i915#2842]) -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-tglb7/igt@gem_exec_fair@basic-flow@rcs0.html
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb2/igt@gem_exec_fair@basic-flow@rcs0.html
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-iclb: [FAIL][108] ([i915#2842]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-iclb6/igt@gem_exec_fair@basic-pace@vcs0.html
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@gem_exec_fair@basic-pace@vcs0.html
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][110] ([i915#2190]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-tglb7/igt@gem_huc_copy@huc-copy.html
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb8/igt@gem_huc_copy@huc-copy.html
* igt@gem_workarounds@suspend-resume:
- shard-apl: [DMESG-WARN][112] ([i915#180]) -> [PASS][113] +3 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl1/igt@gem_workarounds@suspend-resume.html
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl3/igt@gem_workarounds@suspend-resume.html
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [FAIL][114] ([i915#2346]) -> [PASS][115] +1 similar issue
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-glk6/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-glk3/igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size.html
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][116] ([fdo#109441]) -> [PASS][117] +2 similar issues
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-iclb8/igt@kms_psr@psr2_sprite_blt.html
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
#### Warnings ####
* igt@gem_pread@exhaustion:
- shard-apl: [INCOMPLETE][118] ([i915#7248]) -> [WARN][119] ([i915#2658])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl7/igt@gem_pread@exhaustion.html
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl1/igt@gem_pread@exhaustion.html
- shard-tglb: [INCOMPLETE][120] ([i915#7248]) -> [WARN][121] ([i915#2658])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-tglb8/igt@gem_pread@exhaustion.html
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-tglb1/igt@gem_pread@exhaustion.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-iclb: [SKIP][122] ([i915#2920]) -> [SKIP][123] ([fdo#111068] / [i915#658])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-iclb2/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area.html
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb1/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area.html
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
- shard-iclb: [SKIP][124] ([fdo#111068] / [i915#658]) -> [SKIP][125] ([i915#2920])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-iclb6/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area.html
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-iclb2/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area.html
* igt@runner@aborted:
- shard-apl: ([FAIL][126], [FAIL][127], [FAIL][128], [FAIL][129], [FAIL][130]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#4312]) -> ([FAIL][131], [FAIL][132], [FAIL][133]) ([i915#180] / [i915#3002] / [i915#4312])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl1/igt@runner@aborted.html
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl3/igt@runner@aborted.html
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl8/igt@runner@aborted.html
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl2/igt@runner@aborted.html
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12356/shard-apl8/igt@runner@aborted.html
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl1/igt@runner@aborted.html
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl6/igt@runner@aborted.html
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/shard-apl3/igt@runner@aborted.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109290]: https://bugs.freedesktop.org/show_bug.cgi?id=109290
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#110725]: https://bugs.freedesktop.org/show_bug.cgi?id=110725
[fdo#110892]: https://bugs.freedesktop.org/show_bug.cgi?id=110892
[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#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[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#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#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3467]: https://gitlab.freedesktop.org/drm/intel/issues/3467
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[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#5465]: https://gitlab.freedesktop.org/drm/intel/issues/5465
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#7036]: https://gitlab.freedesktop.org/drm/intel/issues/7036
[i915#7121]: https://gitlab.freedesktop.org/drm/intel/issues/7121
[i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
[i915#7248]: https://gitlab.freedesktop.org/drm/intel/issues/7248
[i915#768]: https://gitlab.freedesktop.org/drm/intel/issues/768
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7048 -> IGTPW_8073
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_12356: 1278975de8debde9eb1f5d86fd2fbe533361e456 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8073: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/index.html
IGT_7048: 5edd5c539f1fdf1c02157bf43fa1fd22d4ad2c75 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8073/index.html
[-- Attachment #2: Type: text/html, Size: 43439 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [igt-dev] [PATCH i-g-t 5/6] tests/v3d_create_bo: Create test for V3D's Create BO IOCTL
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 5/6] tests/v3d_create_bo: Create test for V3D's Create BO IOCTL Maíra Canal
@ 2022-11-10 15:06 ` Kamil Konieczny
0 siblings, 0 replies; 10+ messages in thread
From: Kamil Konieczny @ 2022-11-10 15:06 UTC (permalink / raw)
To: igt-dev; +Cc: petri.latvala, Emma Anholt
Hi Maíra,
few nits, see below.
On 2022-11-08 at 20:57:23 -0300, Maíra Canal wrote:
> Add three igt_subtests for the DRM_IOCTL_V3D_CREATE_BO, which tests the
> creation of a zeroed BO and a 4096 bytes BO, and tests if the BO is
> properly cleaned.
>
> Signed-off-by: Maíra Canal <mcanal@igalia.com>
> ---
> tests/meson.build | 1 +
> tests/v3d/v3d_create_bo.c | 79 +++++++++++++++++++++++++++++++++++++++
> tests/v3d_ci/v3d.testlist | 3 ++
> 3 files changed, 83 insertions(+)
> create mode 100644 tests/v3d/v3d_create_bo.c
>
> diff --git a/tests/meson.build b/tests/meson.build
> index 5c9b1829..f1a6a9dd 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -256,6 +256,7 @@ msm_progs = [
> ]
>
> v3d_progs = [
> + 'v3d_create_bo',
> 'v3d_get_bo_offset',
> 'v3d_get_param',
> 'v3d_mmap',
> diff --git a/tests/v3d/v3d_create_bo.c b/tests/v3d/v3d_create_bo.c
> new file mode 100644
> index 00000000..9b13f603
> --- /dev/null
> +++ b/tests/v3d/v3d_create_bo.c
> @@ -0,0 +1,79 @@
> +/*
> + * Copyright © 2022 Igalia S.L.
> + *
> + * Permission is hereby granted, free of charge, to any person obtaining a
> + * copy of this software and associated documentation files (the "Software"),
> + * to deal in the Software without restriction, including without limitation
> + * the rights to use, copy, modify, merge, publish, distribute, sublicense,
> + * and/or sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following conditions:
> + *
> + * The above copyright notice and this permission notice (including the next
> + * paragraph) shall be included in all copies or substantial portions of the
> + * Software.
> + *
> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
> + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> + * IN THE SOFTWARE.
Please use SPDX licence instead.
> + *
> + * Authors:
> + * Maíra Canal <mcanal@igalia.com>
> + */
> +
> +#include "igt.h"
> +#include "igt_v3d.h"
> +
> +igt_main
> +{
> + int fd;
> +
> + igt_fixture {
> + fd = drm_open_driver(DRIVER_V3D);
> + }
> +
Please put description to each new added test with igt_describe,
here and below. Look at lib/igt_core.h for how to do it.
You can test it with --describe option.
Regards,
Kamil
> + igt_subtest("create-bo-0") {
> + struct drm_v3d_create_bo create = {
> + .size = 0,
> + };
> + do_ioctl_err(fd, DRM_IOCTL_V3D_CREATE_BO, &create, EINVAL);
> + }
> +
> + igt_subtest("create-bo-4096") {
> + struct v3d_bo *bo = igt_v3d_create_bo(fd, PAGE_SIZE);
> + igt_v3d_free_bo(fd, bo);
> + }
> +
> + igt_subtest("create-bo-zeroed") {
> + int fd2 = drm_open_driver(DRIVER_V3D);
> + struct v3d_bo *bo;
> + /* A size different from any used in our other tests, to try
> + * to convince it to land as the only one of its size in the
> + * kernel BO cache
> + */
> + size_t size = 3 * PAGE_SIZE, i;
> +
> + /* Make a BO and free it on our main fd. */
> + bo = igt_v3d_create_bo(fd, size);
> + bo->map = igt_v3d_mmap_bo(fd, bo->handle, size, PROT_READ | PROT_WRITE);
> + memset(bo->map, 0xd0, size);
> + igt_v3d_free_bo(fd, bo);
> +
> + /* Now, allocate a BO on the other fd and make sure it doesn't
> + * have the old contents.
> + */
> + bo = igt_v3d_create_bo(fd2, size);
> + bo->map = igt_v3d_mmap_bo(fd2, bo->handle, size, PROT_READ | PROT_WRITE);
> + for (i = 0; i < size / 4; i++)
> + igt_assert_eq_u32(((uint32_t *)bo->map)[i], 0x0);
> + igt_v3d_free_bo(fd2, bo);
> +
> + close(fd2);
> + }
> +
> + igt_fixture
> + close(fd);
> +}
> diff --git a/tests/v3d_ci/v3d.testlist b/tests/v3d_ci/v3d.testlist
> index b55e8e57..f4355285 100644
> --- a/tests/v3d_ci/v3d.testlist
> +++ b/tests/v3d_ci/v3d.testlist
> @@ -1,3 +1,6 @@
> +igt@v3d_create_bo@create-bo-0
> +igt@v3d_create_bo@create-bo-4096
> +igt@v3d_create_bo@create-bo-zeroed
> igt@v3d_get_bo_offset@create-get-offsets
> igt@v3d_get_bo_offset@get-bad-handle
> igt@v3d_get_param@base-params
> --
> 2.38.1
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-11-10 15:07 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-08 23:57 [igt-dev] [PATCH i-g-t 0/6] V3D IGT Tests Updates Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 1/6] include/drm-uapi: Update to the latest v3d_drm.h Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 2/6] tests/v3d: Move V3D tests to their own folder Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 3/6] tests/v3d: Remove unused or redundant includes Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 4/6] lib/igt_v3d: Add PAGE_SIZE macro to V3D Maíra Canal
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 5/6] tests/v3d_create_bo: Create test for V3D's Create BO IOCTL Maíra Canal
2022-11-10 15:06 ` Kamil Konieczny
2022-11-08 23:57 ` [igt-dev] [PATCH i-g-t 6/6] tests/v3d_perfmon: Create test for V3D's Perfmon IOCTLs Maíra Canal
2022-11-09 1:00 ` [igt-dev] ✓ Fi.CI.BAT: success for V3D IGT Tests Updates Patchwork
2022-11-09 4:23 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox