* [Intel-gfx] [PATCH i-g-t v2 0/2] tests/gem_userptr_blits: Refresh still MMAP_GTT dependent subtests
@ 2020-04-06 16:32 ` Janusz Krzysztofik
0 siblings, 0 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2020-04-06 16:32 UTC (permalink / raw)
To: Arkadiusz Hiler, Petri Latvala; +Cc: igt-dev, intel-gfx
Refresh subtests which are still using pre-v4 MMAP_GTT API.
v2: Patch 2/2: clear 'map' before reuse (Zbigniew).
Janusz Krzysztofik (2):
tests/gem_userptr_blits: Refresh readonly-mmap-unsync exercise
tests/gem_userptr_blits: Refresh other still MMAP_GTT dependent
subtests
tests/i915/gem_userptr_blits.c | 132 ++++++++++++++++++++++++---------
1 file changed, 97 insertions(+), 35 deletions(-)
--
2.21.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* [igt-dev] [PATCH i-g-t v2 0/2] tests/gem_userptr_blits: Refresh still MMAP_GTT dependent subtests
@ 2020-04-06 16:32 ` Janusz Krzysztofik
0 siblings, 0 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2020-04-06 16:32 UTC (permalink / raw)
To: Arkadiusz Hiler, Petri Latvala; +Cc: igt-dev, intel-gfx
Refresh subtests which are still using pre-v4 MMAP_GTT API.
v2: Patch 2/2: clear 'map' before reuse (Zbigniew).
Janusz Krzysztofik (2):
tests/gem_userptr_blits: Refresh readonly-mmap-unsync exercise
tests/gem_userptr_blits: Refresh other still MMAP_GTT dependent
subtests
tests/i915/gem_userptr_blits.c | 132 ++++++++++++++++++++++++---------
1 file changed, 97 insertions(+), 35 deletions(-)
--
2.21.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Intel-gfx] [PATCH i-g-t 1/2] tests/gem_userptr_blits: Refresh readonly-mmap-unsync exercise
2020-04-06 16:32 ` [igt-dev] " Janusz Krzysztofik
@ 2020-04-06 16:32 ` Janusz Krzysztofik
-1 siblings, 0 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2020-04-06 16:32 UTC (permalink / raw)
To: Arkadiusz Hiler, Petri Latvala; +Cc: igt-dev, intel-gfx
Upgrade the subtest to use MMAP_GTT API v4 (aka MMAP_OFFSET),
dynamically examine each mapping type supported by i915 driver.
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
tests/i915/gem_userptr_blits.c | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c
index beced298a..975cd9dab 100644
--- a/tests/i915/gem_userptr_blits.c
+++ b/tests/i915/gem_userptr_blits.c
@@ -1277,7 +1277,7 @@ static void sigjmp_handler(int sig)
siglongjmp(sigjmp, sig);
}
-static void test_readonly_mmap(int i915)
+static void test_readonly_mmap(int i915, const struct mmap_offset *t)
{
char *original, *result;
uint32_t handle;
@@ -1294,6 +1294,14 @@ static void test_readonly_mmap(int i915)
* on the GPU as well.
*/
+ handle = gem_create(i915, PAGE_SIZE);
+ ptr = __gem_mmap_offset(i915, handle, 0, PAGE_SIZE,
+ PROT_READ | PROT_WRITE, t->type);
+ gem_close(i915, handle);
+ igt_require_f(ptr, "HW & kernel support for mmap-offset(%s)\n",
+ t->name);
+ munmap(ptr, PAGE_SIZE);
+
igt_require(igt_setup_clflush());
sz = 16 << 12;
@@ -1307,11 +1315,11 @@ static void test_readonly_mmap(int i915)
igt_clflush_range(pages, sz);
original = g_compute_checksum_for_data(G_CHECKSUM_SHA1, pages, sz);
- ptr = __gem_mmap__gtt(i915, handle, sz, PROT_WRITE);
+ ptr = __gem_mmap_offset(i915, handle, 0, sz, PROT_WRITE, t->type);
igt_assert(ptr == NULL);
/* Optional kernel support for GTT mmaps of userptr */
- ptr = __gem_mmap__gtt(i915, handle, sz, PROT_READ);
+ ptr = __gem_mmap_offset(i915, handle, 0, sz, PROT_READ, t->type);
gem_close(i915, handle);
if (ptr) { /* Check that a write into the GTT readonly map fails */
@@ -2110,8 +2118,11 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
igt_subtest("readonly-unsync")
test_readonly(fd);
- igt_subtest("readonly-mmap-unsync")
- test_readonly_mmap(fd);
+ igt_describe("Examine mmap-offset mapping to read-only userptr");
+ igt_subtest_with_dynamic("readonly-mmap-unsync")
+ for_each_mmap_offset_type(fd, t)
+ igt_dynamic(t->name)
+ test_readonly_mmap(fd, t);
igt_subtest("readonly-pwrite-unsync")
test_readonly_pwrite(fd);
--
2.21.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] [PATCH i-g-t 1/2] tests/gem_userptr_blits: Refresh readonly-mmap-unsync exercise
@ 2020-04-06 16:32 ` Janusz Krzysztofik
0 siblings, 0 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2020-04-06 16:32 UTC (permalink / raw)
To: Arkadiusz Hiler, Petri Latvala; +Cc: igt-dev, intel-gfx
Upgrade the subtest to use MMAP_GTT API v4 (aka MMAP_OFFSET),
dynamically examine each mapping type supported by i915 driver.
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
tests/i915/gem_userptr_blits.c | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c
index beced298a..975cd9dab 100644
--- a/tests/i915/gem_userptr_blits.c
+++ b/tests/i915/gem_userptr_blits.c
@@ -1277,7 +1277,7 @@ static void sigjmp_handler(int sig)
siglongjmp(sigjmp, sig);
}
-static void test_readonly_mmap(int i915)
+static void test_readonly_mmap(int i915, const struct mmap_offset *t)
{
char *original, *result;
uint32_t handle;
@@ -1294,6 +1294,14 @@ static void test_readonly_mmap(int i915)
* on the GPU as well.
*/
+ handle = gem_create(i915, PAGE_SIZE);
+ ptr = __gem_mmap_offset(i915, handle, 0, PAGE_SIZE,
+ PROT_READ | PROT_WRITE, t->type);
+ gem_close(i915, handle);
+ igt_require_f(ptr, "HW & kernel support for mmap-offset(%s)\n",
+ t->name);
+ munmap(ptr, PAGE_SIZE);
+
igt_require(igt_setup_clflush());
sz = 16 << 12;
@@ -1307,11 +1315,11 @@ static void test_readonly_mmap(int i915)
igt_clflush_range(pages, sz);
original = g_compute_checksum_for_data(G_CHECKSUM_SHA1, pages, sz);
- ptr = __gem_mmap__gtt(i915, handle, sz, PROT_WRITE);
+ ptr = __gem_mmap_offset(i915, handle, 0, sz, PROT_WRITE, t->type);
igt_assert(ptr == NULL);
/* Optional kernel support for GTT mmaps of userptr */
- ptr = __gem_mmap__gtt(i915, handle, sz, PROT_READ);
+ ptr = __gem_mmap_offset(i915, handle, 0, sz, PROT_READ, t->type);
gem_close(i915, handle);
if (ptr) { /* Check that a write into the GTT readonly map fails */
@@ -2110,8 +2118,11 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
igt_subtest("readonly-unsync")
test_readonly(fd);
- igt_subtest("readonly-mmap-unsync")
- test_readonly_mmap(fd);
+ igt_describe("Examine mmap-offset mapping to read-only userptr");
+ igt_subtest_with_dynamic("readonly-mmap-unsync")
+ for_each_mmap_offset_type(fd, t)
+ igt_dynamic(t->name)
+ test_readonly_mmap(fd, t);
igt_subtest("readonly-pwrite-unsync")
test_readonly_pwrite(fd);
--
2.21.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Intel-gfx] [PATCH i-g-t v2 2/2] tests/gem_userptr_blits: Refresh other still MMAP_GTT dependent subtests
2020-04-06 16:32 ` [igt-dev] " Janusz Krzysztofik
@ 2020-04-06 16:32 ` Janusz Krzysztofik
-1 siblings, 0 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2020-04-06 16:32 UTC (permalink / raw)
To: Arkadiusz Hiler, Petri Latvala; +Cc: igt-dev, intel-gfx
Extend initial check for support of MMAP_GTT mapping to userptr with
equivalent checks for each MMAP_OFFSET mapping type supported by i915
driver. Based on that, extend coverage of process-exit-gtt* subtests
over non-GTT mapping types. In case of dmabuf-* subtests, use first
supported mapping type if there are any.
v2: Clear 'map' before reuse (Zbigniew).
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
tests/i915/gem_userptr_blits.c | 111 ++++++++++++++++++++++++---------
1 file changed, 81 insertions(+), 30 deletions(-)
diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c
index 975cd9dab..9b80cf634 100644
--- a/tests/i915/gem_userptr_blits.c
+++ b/tests/i915/gem_userptr_blits.c
@@ -73,18 +73,31 @@
static uint32_t userptr_flags = LOCAL_I915_USERPTR_UNSYNCHRONIZED;
-static bool can_gtt_mmap;
+static bool *can_mmap;
#define WIDTH 512
#define HEIGHT 512
static uint32_t linear[WIDTH*HEIGHT];
-static bool has_gtt_mmap(int i915)
+static bool has_mmap(int i915, const struct mmap_offset *t)
{
- void *ptr, *map = NULL;
+ void *ptr, *map;
uint32_t handle;
+ handle = gem_create(i915, PAGE_SIZE);
+ map = __gem_mmap_offset(i915, handle, 0, PAGE_SIZE, PROT_WRITE,
+ t->type);
+ gem_close(i915, handle);
+ if (map) {
+ munmap(map, PAGE_SIZE);
+ } else {
+ igt_debug("no HW / kernel support for mmap-offset(%s)\n",
+ t->name);
+ return false;
+ }
+ map = NULL;
+
igt_assert(posix_memalign(&ptr, PAGE_SIZE, PAGE_SIZE) == 0);
if (__gem_userptr(i915, ptr, 4096, 0,
@@ -92,9 +105,12 @@ static bool has_gtt_mmap(int i915)
goto out_ptr;
igt_assert(handle != 0);
- map = __gem_mmap__gtt(i915, handle, 4096, PROT_WRITE);
+ map = __gem_mmap_offset(i915, handle, 0, 4096, PROT_WRITE, t->type);
if (map)
munmap(map, 4096);
+ else if (errno == ENODEV)
+ igt_debug("mmap-offset(%s) banned, lockdep loop prevention\n",
+ t->name);
gem_close(i915, handle);
out_ptr:
@@ -642,20 +658,25 @@ static int test_invalid_mapping(int fd, const struct mmap_offset *t)
return 0;
}
-#define PE_GTT_MAP 0x1
-#define PE_BUSY 0x2
-static void test_process_exit(int fd, int flags)
+#define PE_BUSY 0x1
+static void test_process_exit(int fd, const struct mmap_offset *mmo, int flags)
{
- if (flags & PE_GTT_MAP)
- igt_require(can_gtt_mmap);
+ if (mmo)
+ igt_require_f(can_mmap[mmo->type],
+ "HW & kernel support for LLC and mmap-offset(%s) over userptr\n",
+ mmo->name);
igt_fork(child, 1) {
uint32_t handle;
handle = create_userptr_bo(fd, sizeof(linear));
- if (flags & PE_GTT_MAP) {
- uint32_t *ptr = __gem_mmap__gtt(fd, handle, sizeof(linear), PROT_READ | PROT_WRITE);
+ if (mmo) {
+ uint32_t *ptr;
+
+ ptr = __gem_mmap_offset(fd, handle, 0, sizeof(linear),
+ PROT_READ | PROT_WRITE,
+ mmo->type);
if (ptr)
*ptr = 0;
}
@@ -933,13 +954,14 @@ static void (* volatile orig_sigbus)(int sig, siginfo_t *info, void *param);
static volatile unsigned long sigbus_start;
static volatile long sigbus_cnt = -1;
-static void *umap(int fd, uint32_t handle)
+static void *umap(int fd, uint32_t handle, const struct mmap_offset *mmo)
{
void *ptr;
- if (can_gtt_mmap) {
- ptr = gem_mmap__gtt(fd, handle, sizeof(linear),
- PROT_READ | PROT_WRITE);
+ if (mmo) {
+ ptr = __gem_mmap_offset(fd, handle, 0, sizeof(linear),
+ PROT_READ | PROT_WRITE, mmo->type);
+ igt_assert(ptr);
} else {
uint32_t tmp = gem_create(fd, sizeof(linear));
igt_assert_eq(copy(fd, tmp, handle), 0);
@@ -951,16 +973,17 @@ static void *umap(int fd, uint32_t handle)
}
static void
-check_bo(int fd1, uint32_t handle1, int is_userptr, int fd2, uint32_t handle2)
+check_bo(int fd1, uint32_t handle1, int is_userptr, int fd2, uint32_t handle2,
+ const struct mmap_offset *mmo)
{
unsigned char *ptr1, *ptr2;
unsigned long size = sizeof(linear);
- ptr2 = umap(fd2, handle2);
+ ptr2 = umap(fd2, handle2, mmo);
if (is_userptr)
ptr1 = is_userptr > 0 ? get_handle_ptr(handle1) : ptr2;
else
- ptr1 = umap(fd1, handle1);
+ ptr1 = umap(fd1, handle1, mmo);
igt_assert(ptr1);
igt_assert(ptr2);
@@ -968,7 +991,7 @@ check_bo(int fd1, uint32_t handle1, int is_userptr, int fd2, uint32_t handle2)
sigbus_start = (unsigned long)ptr2;
igt_assert(memcmp(ptr1, ptr2, sizeof(linear)) == 0);
- if (can_gtt_mmap) {
+ if (mmo) {
counter++;
memset(ptr1, counter, size);
memset(ptr2, counter, size);
@@ -1026,9 +1049,17 @@ static int test_dmabuf(void)
uint32_t handle, handle_import;
int dma_buf_fd = -1;
int ret;
+ const struct mmap_offset *mmo = NULL;
fd1 = drm_open_driver(DRIVER_INTEL);
+ for_each_mmap_offset_type(fd1, t)
+ if (can_mmap[t->type]) {
+ igt_debug("using mmap-offset(%s)\n", t->name);
+ mmo = t;
+ break;
+ }
+
handle = create_userptr_bo(fd1, sizeof(linear));
memset(get_handle_ptr(handle), counter, sizeof(linear));
@@ -1045,17 +1076,17 @@ static int test_dmabuf(void)
fd2 = drm_open_driver(DRIVER_INTEL);
handle_import = prime_fd_to_handle(fd2, dma_buf_fd);
- check_bo(fd1, handle, 1, fd2, handle_import);
+ check_bo(fd1, handle, 1, fd2, handle_import, mmo);
/* close dma_buf, check whether nothing disappears. */
close(dma_buf_fd);
- check_bo(fd1, handle, 1, fd2, handle_import);
+ check_bo(fd1, handle, 1, fd2, handle_import, mmo);
/* destroy userptr object and expect SIGBUS */
free_userptr_bo(fd1, handle);
close(fd1);
- if (can_gtt_mmap) {
+ if (mmo) {
struct sigaction sigact, orig_sigact;
memset(&sigact, 0, sizeof(sigact));
@@ -1067,7 +1098,7 @@ static int test_dmabuf(void)
orig_sigbus = orig_sigact.sa_sigaction;
sigbus_cnt = 0;
- check_bo(fd2, handle_import, -1, fd2, handle_import);
+ check_bo(fd2, handle_import, -1, fd2, handle_import, mmo);
igt_assert(sigbus_cnt > 0);
ret = sigaction(SIGBUS, &orig_sigact, NULL);
@@ -2030,12 +2061,23 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
int size = sizeof(linear);
igt_fixture {
+ unsigned int mmo_max = 0;
+
fd = drm_open_driver(DRIVER_INTEL);
igt_assert(fd >= 0);
igt_require_gem(fd);
gem_require_blitter(fd);
- can_gtt_mmap = has_gtt_mmap(fd) && gem_has_llc(fd);
+ for_each_mmap_offset_type(fd, t)
+ if (t->type >= mmo_max)
+ mmo_max = t->type + 1;
+ igt_assert(mmo_max);
+
+ can_mmap = calloc(mmo_max, sizeof(*can_mmap));
+ igt_assert(can_mmap);
+
+ for_each_mmap_offset_type(fd, t)
+ can_mmap[t->type] = has_mmap(fd, t) && gem_has_llc(fd);
size = sizeof(linear);
@@ -2193,16 +2235,22 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
}
igt_subtest("process-exit")
- test_process_exit(fd, 0);
+ test_process_exit(fd, NULL, 0);
- igt_subtest("process-exit-gtt")
- test_process_exit(fd, PE_GTT_MAP);
+ igt_describe("Test process exit with userptr object mmapped via mmap-offset");
+ igt_subtest_with_dynamic("process-exit-mmap")
+ for_each_mmap_offset_type(fd, t)
+ igt_dynamic(t->name)
+ test_process_exit(fd, t, 0);
igt_subtest("process-exit-busy")
- test_process_exit(fd, PE_BUSY);
+ test_process_exit(fd, NULL, PE_BUSY);
- igt_subtest("process-exit-gtt-busy")
- test_process_exit(fd, PE_GTT_MAP | PE_BUSY);
+ igt_describe("Test process exit with busy userptr object mmapped via mmap-offset");
+ igt_subtest_with_dynamic("process-exit-mmap-busy")
+ for_each_mmap_offset_type(fd, t)
+ igt_dynamic(t->name)
+ test_process_exit(fd, t, PE_BUSY);
igt_subtest("create-destroy-sync")
test_create_destroy(fd, 5);
@@ -2325,4 +2373,7 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
igt_subtest("access-control")
test_access_control(fd);
+
+ igt_fixture
+ free(can_mmap);
}
--
2.21.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] [PATCH i-g-t v2 2/2] tests/gem_userptr_blits: Refresh other still MMAP_GTT dependent subtests
@ 2020-04-06 16:32 ` Janusz Krzysztofik
0 siblings, 0 replies; 8+ messages in thread
From: Janusz Krzysztofik @ 2020-04-06 16:32 UTC (permalink / raw)
To: Arkadiusz Hiler, Petri Latvala; +Cc: igt-dev, intel-gfx
Extend initial check for support of MMAP_GTT mapping to userptr with
equivalent checks for each MMAP_OFFSET mapping type supported by i915
driver. Based on that, extend coverage of process-exit-gtt* subtests
over non-GTT mapping types. In case of dmabuf-* subtests, use first
supported mapping type if there are any.
v2: Clear 'map' before reuse (Zbigniew).
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
tests/i915/gem_userptr_blits.c | 111 ++++++++++++++++++++++++---------
1 file changed, 81 insertions(+), 30 deletions(-)
diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c
index 975cd9dab..9b80cf634 100644
--- a/tests/i915/gem_userptr_blits.c
+++ b/tests/i915/gem_userptr_blits.c
@@ -73,18 +73,31 @@
static uint32_t userptr_flags = LOCAL_I915_USERPTR_UNSYNCHRONIZED;
-static bool can_gtt_mmap;
+static bool *can_mmap;
#define WIDTH 512
#define HEIGHT 512
static uint32_t linear[WIDTH*HEIGHT];
-static bool has_gtt_mmap(int i915)
+static bool has_mmap(int i915, const struct mmap_offset *t)
{
- void *ptr, *map = NULL;
+ void *ptr, *map;
uint32_t handle;
+ handle = gem_create(i915, PAGE_SIZE);
+ map = __gem_mmap_offset(i915, handle, 0, PAGE_SIZE, PROT_WRITE,
+ t->type);
+ gem_close(i915, handle);
+ if (map) {
+ munmap(map, PAGE_SIZE);
+ } else {
+ igt_debug("no HW / kernel support for mmap-offset(%s)\n",
+ t->name);
+ return false;
+ }
+ map = NULL;
+
igt_assert(posix_memalign(&ptr, PAGE_SIZE, PAGE_SIZE) == 0);
if (__gem_userptr(i915, ptr, 4096, 0,
@@ -92,9 +105,12 @@ static bool has_gtt_mmap(int i915)
goto out_ptr;
igt_assert(handle != 0);
- map = __gem_mmap__gtt(i915, handle, 4096, PROT_WRITE);
+ map = __gem_mmap_offset(i915, handle, 0, 4096, PROT_WRITE, t->type);
if (map)
munmap(map, 4096);
+ else if (errno == ENODEV)
+ igt_debug("mmap-offset(%s) banned, lockdep loop prevention\n",
+ t->name);
gem_close(i915, handle);
out_ptr:
@@ -642,20 +658,25 @@ static int test_invalid_mapping(int fd, const struct mmap_offset *t)
return 0;
}
-#define PE_GTT_MAP 0x1
-#define PE_BUSY 0x2
-static void test_process_exit(int fd, int flags)
+#define PE_BUSY 0x1
+static void test_process_exit(int fd, const struct mmap_offset *mmo, int flags)
{
- if (flags & PE_GTT_MAP)
- igt_require(can_gtt_mmap);
+ if (mmo)
+ igt_require_f(can_mmap[mmo->type],
+ "HW & kernel support for LLC and mmap-offset(%s) over userptr\n",
+ mmo->name);
igt_fork(child, 1) {
uint32_t handle;
handle = create_userptr_bo(fd, sizeof(linear));
- if (flags & PE_GTT_MAP) {
- uint32_t *ptr = __gem_mmap__gtt(fd, handle, sizeof(linear), PROT_READ | PROT_WRITE);
+ if (mmo) {
+ uint32_t *ptr;
+
+ ptr = __gem_mmap_offset(fd, handle, 0, sizeof(linear),
+ PROT_READ | PROT_WRITE,
+ mmo->type);
if (ptr)
*ptr = 0;
}
@@ -933,13 +954,14 @@ static void (* volatile orig_sigbus)(int sig, siginfo_t *info, void *param);
static volatile unsigned long sigbus_start;
static volatile long sigbus_cnt = -1;
-static void *umap(int fd, uint32_t handle)
+static void *umap(int fd, uint32_t handle, const struct mmap_offset *mmo)
{
void *ptr;
- if (can_gtt_mmap) {
- ptr = gem_mmap__gtt(fd, handle, sizeof(linear),
- PROT_READ | PROT_WRITE);
+ if (mmo) {
+ ptr = __gem_mmap_offset(fd, handle, 0, sizeof(linear),
+ PROT_READ | PROT_WRITE, mmo->type);
+ igt_assert(ptr);
} else {
uint32_t tmp = gem_create(fd, sizeof(linear));
igt_assert_eq(copy(fd, tmp, handle), 0);
@@ -951,16 +973,17 @@ static void *umap(int fd, uint32_t handle)
}
static void
-check_bo(int fd1, uint32_t handle1, int is_userptr, int fd2, uint32_t handle2)
+check_bo(int fd1, uint32_t handle1, int is_userptr, int fd2, uint32_t handle2,
+ const struct mmap_offset *mmo)
{
unsigned char *ptr1, *ptr2;
unsigned long size = sizeof(linear);
- ptr2 = umap(fd2, handle2);
+ ptr2 = umap(fd2, handle2, mmo);
if (is_userptr)
ptr1 = is_userptr > 0 ? get_handle_ptr(handle1) : ptr2;
else
- ptr1 = umap(fd1, handle1);
+ ptr1 = umap(fd1, handle1, mmo);
igt_assert(ptr1);
igt_assert(ptr2);
@@ -968,7 +991,7 @@ check_bo(int fd1, uint32_t handle1, int is_userptr, int fd2, uint32_t handle2)
sigbus_start = (unsigned long)ptr2;
igt_assert(memcmp(ptr1, ptr2, sizeof(linear)) == 0);
- if (can_gtt_mmap) {
+ if (mmo) {
counter++;
memset(ptr1, counter, size);
memset(ptr2, counter, size);
@@ -1026,9 +1049,17 @@ static int test_dmabuf(void)
uint32_t handle, handle_import;
int dma_buf_fd = -1;
int ret;
+ const struct mmap_offset *mmo = NULL;
fd1 = drm_open_driver(DRIVER_INTEL);
+ for_each_mmap_offset_type(fd1, t)
+ if (can_mmap[t->type]) {
+ igt_debug("using mmap-offset(%s)\n", t->name);
+ mmo = t;
+ break;
+ }
+
handle = create_userptr_bo(fd1, sizeof(linear));
memset(get_handle_ptr(handle), counter, sizeof(linear));
@@ -1045,17 +1076,17 @@ static int test_dmabuf(void)
fd2 = drm_open_driver(DRIVER_INTEL);
handle_import = prime_fd_to_handle(fd2, dma_buf_fd);
- check_bo(fd1, handle, 1, fd2, handle_import);
+ check_bo(fd1, handle, 1, fd2, handle_import, mmo);
/* close dma_buf, check whether nothing disappears. */
close(dma_buf_fd);
- check_bo(fd1, handle, 1, fd2, handle_import);
+ check_bo(fd1, handle, 1, fd2, handle_import, mmo);
/* destroy userptr object and expect SIGBUS */
free_userptr_bo(fd1, handle);
close(fd1);
- if (can_gtt_mmap) {
+ if (mmo) {
struct sigaction sigact, orig_sigact;
memset(&sigact, 0, sizeof(sigact));
@@ -1067,7 +1098,7 @@ static int test_dmabuf(void)
orig_sigbus = orig_sigact.sa_sigaction;
sigbus_cnt = 0;
- check_bo(fd2, handle_import, -1, fd2, handle_import);
+ check_bo(fd2, handle_import, -1, fd2, handle_import, mmo);
igt_assert(sigbus_cnt > 0);
ret = sigaction(SIGBUS, &orig_sigact, NULL);
@@ -2030,12 +2061,23 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
int size = sizeof(linear);
igt_fixture {
+ unsigned int mmo_max = 0;
+
fd = drm_open_driver(DRIVER_INTEL);
igt_assert(fd >= 0);
igt_require_gem(fd);
gem_require_blitter(fd);
- can_gtt_mmap = has_gtt_mmap(fd) && gem_has_llc(fd);
+ for_each_mmap_offset_type(fd, t)
+ if (t->type >= mmo_max)
+ mmo_max = t->type + 1;
+ igt_assert(mmo_max);
+
+ can_mmap = calloc(mmo_max, sizeof(*can_mmap));
+ igt_assert(can_mmap);
+
+ for_each_mmap_offset_type(fd, t)
+ can_mmap[t->type] = has_mmap(fd, t) && gem_has_llc(fd);
size = sizeof(linear);
@@ -2193,16 +2235,22 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
}
igt_subtest("process-exit")
- test_process_exit(fd, 0);
+ test_process_exit(fd, NULL, 0);
- igt_subtest("process-exit-gtt")
- test_process_exit(fd, PE_GTT_MAP);
+ igt_describe("Test process exit with userptr object mmapped via mmap-offset");
+ igt_subtest_with_dynamic("process-exit-mmap")
+ for_each_mmap_offset_type(fd, t)
+ igt_dynamic(t->name)
+ test_process_exit(fd, t, 0);
igt_subtest("process-exit-busy")
- test_process_exit(fd, PE_BUSY);
+ test_process_exit(fd, NULL, PE_BUSY);
- igt_subtest("process-exit-gtt-busy")
- test_process_exit(fd, PE_GTT_MAP | PE_BUSY);
+ igt_describe("Test process exit with busy userptr object mmapped via mmap-offset");
+ igt_subtest_with_dynamic("process-exit-mmap-busy")
+ for_each_mmap_offset_type(fd, t)
+ igt_dynamic(t->name)
+ test_process_exit(fd, t, PE_BUSY);
igt_subtest("create-destroy-sync")
test_create_destroy(fd, 5);
@@ -2325,4 +2373,7 @@ igt_main_args("c:", NULL, help_str, opt_handler, NULL)
igt_subtest("access-control")
test_access_control(fd);
+
+ igt_fixture
+ free(can_mmap);
}
--
2.21.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/gem_userptr_blits: Refresh still MMAP_GTT dependent subtests
2020-04-06 16:32 ` [igt-dev] " Janusz Krzysztofik
` (2 preceding siblings ...)
(?)
@ 2020-04-06 18:06 ` Patchwork
-1 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2020-04-06 18:06 UTC (permalink / raw)
To: Janusz Krzysztofik; +Cc: igt-dev
== Series Details ==
Series: tests/gem_userptr_blits: Refresh still MMAP_GTT dependent subtests
URL : https://patchwork.freedesktop.org/series/75557/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8261 -> IGTPW_4417
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/index.html
Known issues
------------
Here are the changes found in IGTPW_4417 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_pm_rpm@basic-rte:
- fi-icl-dsi: [PASS][1] -> [INCOMPLETE][2] ([i915#189])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/fi-icl-dsi/igt@i915_pm_rpm@basic-rte.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/fi-icl-dsi/igt@i915_pm_rpm@basic-rte.html
* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [PASS][3] -> [DMESG-WARN][4] ([i915#203]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/fi-skl-6770hq/igt@i915_pm_rpm@module-reload.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/fi-skl-6770hq/igt@i915_pm_rpm@module-reload.html
* igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
- fi-skl-6770hq: [PASS][5] -> [SKIP][6] ([fdo#109271]) +5 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/fi-skl-6770hq/igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/fi-skl-6770hq/igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence.html
* igt@kms_pipe_crc_basic@read-crc-pipe-b:
- fi-skl-6770hq: [PASS][7] -> [DMESG-WARN][8] ([i915#106])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/fi-skl-6770hq/igt@kms_pipe_crc_basic@read-crc-pipe-b.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/fi-skl-6770hq/igt@kms_pipe_crc_basic@read-crc-pipe-b.html
#### Possible fixes ####
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [DMESG-WARN][9] -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/fi-cml-u2/igt@kms_chamelium@dp-crc-fast.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#106]: https://gitlab.freedesktop.org/drm/intel/issues/106
[i915#189]: https://gitlab.freedesktop.org/drm/intel/issues/189
[i915#203]: https://gitlab.freedesktop.org/drm/intel/issues/203
Participating hosts (53 -> 47)
------------------------------
Additional (1): fi-kbl-7560u
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5572 -> IGTPW_4417
CI-20190529: 20190529
CI_DRM_8261: 80b64adc6f5ffeb1c69996737dbdc5ad275d8e6c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4417: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/index.html
IGT_5572: 6c124b5c8501d900966c033ac86c3dc55c16a2da @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@gem_userptr_blits@process-exit-mmap
+igt@gem_userptr_blits@process-exit-mmap-busy
-igt@gem_userptr_blits@process-exit-gtt
-igt@gem_userptr_blits@process-exit-gtt-busy
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/gem_userptr_blits: Refresh still MMAP_GTT dependent subtests
2020-04-06 16:32 ` [igt-dev] " Janusz Krzysztofik
` (3 preceding siblings ...)
(?)
@ 2020-04-07 1:08 ` Patchwork
-1 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2020-04-07 1:08 UTC (permalink / raw)
To: Janusz Krzysztofik; +Cc: igt-dev
== Series Details ==
Series: tests/gem_userptr_blits: Refresh still MMAP_GTT dependent subtests
URL : https://patchwork.freedesktop.org/series/75557/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8261_full -> IGTPW_4417_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4417_full:
### IGT changes ###
#### Possible regressions ####
* {igt@gem_userptr_blits@process-exit-mmap-busy@gtt} (NEW):
- shard-iclb: NOTRUN -> [SKIP][1] +11 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb7/igt@gem_userptr_blits@process-exit-mmap-busy@gtt.html
* {igt@gem_userptr_blits@process-exit-mmap-busy@uc} (NEW):
- shard-tglb: NOTRUN -> [SKIP][2] +11 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-tglb3/igt@gem_userptr_blits@process-exit-mmap-busy@uc.html
New tests
---------
New tests have been introduced between CI_DRM_8261_full and IGTPW_4417_full:
### New IGT tests (14) ###
* igt@gem_userptr_blits@process-exit-mmap:
- Statuses :
- Exec time: [None] s
* igt@gem_userptr_blits@process-exit-mmap-busy:
- Statuses :
- Exec time: [None] s
* igt@gem_userptr_blits@process-exit-mmap-busy@gtt:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@process-exit-mmap-busy@uc:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@process-exit-mmap-busy@wb:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@process-exit-mmap-busy@wc:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@process-exit-mmap@gtt:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@process-exit-mmap@uc:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@process-exit-mmap@wb:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@process-exit-mmap@wc:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
* igt@gem_userptr_blits@readonly-mmap-unsync@gtt:
- Statuses : 3 pass(s) 4 skip(s)
- Exec time: [0.01] s
* igt@gem_userptr_blits@readonly-mmap-unsync@uc:
- Statuses : 3 pass(s) 4 skip(s)
- Exec time: [0.0, 0.00] s
* igt@gem_userptr_blits@readonly-mmap-unsync@wb:
- Statuses : 3 pass(s) 4 skip(s)
- Exec time: [0.0, 0.00] s
* igt@gem_userptr_blits@readonly-mmap-unsync@wc:
- Statuses : 3 pass(s) 4 skip(s)
- Exec time: [0.0, 0.00] s
Known issues
------------
Here are the changes found in IGTPW_4417_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_params@invalid-bsd-ring:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#109276])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-iclb4/igt@gem_exec_params@invalid-bsd-ring.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb7/igt@gem_exec_params@invalid-bsd-ring.html
* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [PASS][5] -> [DMESG-WARN][6] ([i915#180]) +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl4/igt@gem_exec_suspend@basic-s3.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl4/igt@gem_exec_suspend@basic-s3.html
* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- shard-hsw: [PASS][7] -> [SKIP][8] ([fdo#109271]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-hsw8/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-hsw8/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [PASS][9] -> [DMESG-WARN][10] ([i915#180]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl1/igt@i915_suspend@fence-restore-tiled2untiled.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl1/igt@i915_suspend@fence-restore-tiled2untiled.html
* igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen:
- shard-kbl: [PASS][11] -> [FAIL][12] ([i915#54] / [i915#93] / [i915#95]) +5 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl4/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-64x21-onscreen.html
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-apl: [PASS][13] -> [FAIL][14] ([i915#54])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl7/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl8/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
* igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled:
- shard-glk: [PASS][15] -> [FAIL][16] ([i915#52] / [i915#54])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-glk8/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-glk2/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html
* igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled:
- shard-kbl: [PASS][17] -> [FAIL][18] ([i915#177] / [i915#52] / [i915#54] / [i915#93] / [i915#95])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl3/igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl3/igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled.html
- shard-apl: [PASS][19] -> [FAIL][20] ([i915#52] / [i915#54] / [i915#95])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl2/igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl3/igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled.html
* igt@kms_draw_crc@fill-fb:
- shard-apl: [PASS][21] -> [FAIL][22] ([i915#95])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl4/igt@kms_draw_crc@fill-fb.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl3/igt@kms_draw_crc@fill-fb.html
* igt@kms_fbcon_fbt@fbc:
- shard-kbl: [PASS][23] -> [FAIL][24] ([i915#64])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl7/igt@kms_fbcon_fbt@fbc.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl2/igt@kms_fbcon_fbt@fbc.html
- shard-apl: [PASS][25] -> [FAIL][26] ([i915#1525])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl3/igt@kms_fbcon_fbt@fbc.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl3/igt@kms_fbcon_fbt@fbc.html
* igt@kms_flip@flip-vs-dpms-off-vs-modeset-interruptible:
- shard-kbl: [PASS][27] -> [INCOMPLETE][28] ([i915#1297] / [i915#600])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl6/igt@kms_flip@flip-vs-dpms-off-vs-modeset-interruptible.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl6/igt@kms_flip@flip-vs-dpms-off-vs-modeset-interruptible.html
- shard-apl: [PASS][29] -> [INCOMPLETE][30] ([i915#1297])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl8/igt@kms_flip@flip-vs-dpms-off-vs-modeset-interruptible.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl6/igt@kms_flip@flip-vs-dpms-off-vs-modeset-interruptible.html
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-mid:
- shard-kbl: [PASS][31] -> [FAIL][32] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl4/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-mid.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl4/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-mid.html
- shard-apl: [PASS][33] -> [FAIL][34] ([fdo#108145] / [i915#265] / [i915#95])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl7/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-mid.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl1/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-mid.html
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-glk: [PASS][35] -> [FAIL][36] ([i915#899])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-glk2/igt@kms_plane_lowres@pipe-a-tiling-x.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-glk8/igt@kms_plane_lowres@pipe-a-tiling-x.html
* igt@kms_plane_lowres@pipe-b-tiling-y:
- shard-kbl: [PASS][37] -> [DMESG-WARN][38] ([i915#165] / [i915#78])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl7/igt@kms_plane_lowres@pipe-b-tiling-y.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl2/igt@kms_plane_lowres@pipe-b-tiling-y.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][39] -> [SKIP][40] ([fdo#109441]) +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb3/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_vblank@pipe-c-ts-continuation-dpms-rpm:
- shard-glk: [PASS][41] -> [SKIP][42] ([fdo#109271]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-glk7/igt@kms_vblank@pipe-c-ts-continuation-dpms-rpm.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-glk3/igt@kms_vblank@pipe-c-ts-continuation-dpms-rpm.html
- shard-tglb: [PASS][43] -> [SKIP][44] ([fdo#112015])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-tglb2/igt@kms_vblank@pipe-c-ts-continuation-dpms-rpm.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-tglb5/igt@kms_vblank@pipe-c-ts-continuation-dpms-rpm.html
- shard-iclb: [PASS][45] -> [SKIP][46] ([fdo#109278])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-iclb8/igt@kms_vblank@pipe-c-ts-continuation-dpms-rpm.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb2/igt@kms_vblank@pipe-c-ts-continuation-dpms-rpm.html
#### Possible fixes ####
* igt@gem_softpin@noreloc-s3:
- shard-apl: [DMESG-WARN][47] ([i915#180] / [i915#95]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl4/igt@gem_softpin@noreloc-s3.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl4/igt@gem_softpin@noreloc-s3.html
* igt@i915_pm_rpm@cursor:
- shard-tglb: [SKIP][49] ([i915#1316] / [i915#579]) -> [PASS][50] +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-tglb1/igt@i915_pm_rpm@cursor.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-tglb5/igt@i915_pm_rpm@cursor.html
- shard-hsw: [SKIP][51] ([fdo#109271]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-hsw7/igt@i915_pm_rpm@cursor.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-hsw7/igt@i915_pm_rpm@cursor.html
- shard-glk: [SKIP][53] ([fdo#109271]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-glk4/igt@i915_pm_rpm@cursor.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-glk6/igt@i915_pm_rpm@cursor.html
* igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
- shard-iclb: [SKIP][55] ([i915#1316] / [i915#579]) -> [PASS][56] +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-iclb7/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb3/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html
* igt@i915_suspend@sysfs-reader:
- shard-apl: [DMESG-WARN][57] ([i915#180]) -> [PASS][58] +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl4/igt@i915_suspend@sysfs-reader.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl4/igt@i915_suspend@sysfs-reader.html
* igt@kms_busy@basic@flip:
- shard-hsw: [INCOMPLETE][59] ([i915#61]) -> [PASS][60] +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-hsw7/igt@kms_busy@basic@flip.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-hsw8/igt@kms_busy@basic@flip.html
* igt@kms_cursor_crc@pipe-a-cursor-64x21-offscreen:
- shard-kbl: [FAIL][61] ([i915#54] / [i915#93] / [i915#95]) -> [PASS][62] +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl1/igt@kms_cursor_crc@pipe-a-cursor-64x21-offscreen.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl3/igt@kms_cursor_crc@pipe-a-cursor-64x21-offscreen.html
* igt@kms_draw_crc@draw-method-rgb565-blt-ytiled:
- shard-glk: [FAIL][63] ([i915#52] / [i915#54]) -> [PASS][64] +5 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-glk9/igt@kms_draw_crc@draw-method-rgb565-blt-ytiled.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-glk9/igt@kms_draw_crc@draw-method-rgb565-blt-ytiled.html
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled:
- shard-apl: [FAIL][65] ([i915#52] / [i915#54] / [i915#95]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl4/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl2/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html
- shard-kbl: [FAIL][67] ([i915#177] / [i915#52] / [i915#54] / [i915#93] / [i915#95]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl3/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl1/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html
* igt@kms_flip@flip-vs-expired-vblank:
- shard-apl: [FAIL][69] ([i915#79]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl1/igt@kms_flip@flip-vs-expired-vblank.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl1/igt@kms_flip@flip-vs-expired-vblank.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-glk: [FAIL][71] ([i915#79]) -> [PASS][72] +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-glk9/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-glk5/igt@kms_flip@flip-vs-expired-vblank-interruptible.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render:
- shard-kbl: [FAIL][73] ([i915#49]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
- shard-apl: [FAIL][75] ([i915#49]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
- shard-glk: [FAIL][77] ([i915#49]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-glk6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-glk2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [DMESG-WARN][79] ([i915#180] / [i915#93] / [i915#95]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-suspend.html
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-suspend.html
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: [SKIP][81] ([fdo#109441]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-iclb8/igt@kms_psr@psr2_cursor_plane_move.html
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html
* {igt@perf@polling-parameterized}:
- shard-hsw: [FAIL][83] ([i915#1542]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-hsw1/igt@perf@polling-parameterized.html
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-hsw7/igt@perf@polling-parameterized.html
#### Warnings ####
* igt@gem_softpin@noreloc-s3:
- shard-kbl: [DMESG-WARN][85] ([i915#180] / [i915#93] / [i915#95]) -> [DMESG-WARN][86] ([i915#180])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl2/igt@gem_softpin@noreloc-s3.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl3/igt@gem_softpin@noreloc-s3.html
* igt@i915_pm_dc@dc6-dpms:
- shard-tglb: [FAIL][87] ([i915#454]) -> [SKIP][88] ([i915#468])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-tglb5/igt@i915_pm_dc@dc6-dpms.html
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-tglb2/igt@i915_pm_dc@dc6-dpms.html
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [FAIL][89] ([i915#1515]) -> [WARN][90] ([i915#1515])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-iclb4/igt@i915_pm_rc6_residency@rc6-idle.html
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb8/igt@i915_pm_rc6_residency@rc6-idle.html
* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- shard-tglb: [SKIP][91] ([fdo#111644] / [i915#1397]) -> [SKIP][92] ([i915#1316] / [i915#579])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-tglb7/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-tglb5/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
- shard-snb: [INCOMPLETE][93] ([i915#82]) -> [SKIP][94] ([fdo#109271])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-snb2/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-snb1/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
- shard-iclb: [SKIP][95] ([fdo#110892]) -> [SKIP][96] ([i915#1316] / [i915#579])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-iclb2/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-iclb2/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
* igt@kms_content_protection@uevent:
- shard-kbl: [FAIL][97] ([i915#357] / [i915#93] / [i915#95]) -> [FAIL][98] ([i915#357])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-kbl4/igt@kms_content_protection@uevent.html
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-kbl1/igt@kms_content_protection@uevent.html
- shard-apl: [FAIL][99] ([i915#357] / [i915#95]) -> [FAIL][100] ([i915#357])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl3/igt@kms_content_protection@uevent.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl7/igt@kms_content_protection@uevent.html
* igt@kms_plane_alpha_blend@pipe-a-alpha-basic:
- shard-apl: [FAIL][101] ([fdo#108145] / [i915#265]) -> [FAIL][102] ([fdo#108145] / [i915#265] / [i915#95])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8261/shard-apl7/igt@kms_plane_alpha_blend@pipe-a-alpha-basic.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/shard-apl8/igt@kms_plane_alpha_blend@pipe-a-alpha-basic.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110892]: https://bugs.freedesktop.org/show_bug.cgi?id=110892
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#112015]: https://bugs.freedesktop.org/show_bug.cgi?id=112015
[i915#1297]: https://gitlab.freedesktop.org/drm/intel/issues/1297
[i915#1316]: https://gitlab.freedesktop.org/drm/intel/issues/1316
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1515]: https://gitlab.freedesktop.org/drm/intel/issues/1515
[i915#1525]: https://gitlab.freedesktop.org/drm/intel/issues/1525
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#357]: https://gitlab.freedesktop.org/drm/intel/issues/357
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#600]: https://gitlab.freedesktop.org/drm/intel/issues/600
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#64]: https://gitlab.freedesktop.org/drm/intel/issues/64
[i915#78]: https://gitlab.freedesktop.org/drm/intel/issues/78
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82
[i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (10 -> 8)
------------------------------
Missing (2): pig-skl-6260u pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5572 -> IGTPW_4417
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8261: 80b64adc6f5ffeb1c69996737dbdc5ad275d8e6c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4417: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/index.html
IGT_5572: 6c124b5c8501d900966c033ac86c3dc55c16a2da @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4417/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-04-07 1:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 16:32 [Intel-gfx] [PATCH i-g-t v2 0/2] tests/gem_userptr_blits: Refresh still MMAP_GTT dependent subtests Janusz Krzysztofik
2020-04-06 16:32 ` [igt-dev] " Janusz Krzysztofik
2020-04-06 16:32 ` [Intel-gfx] [PATCH i-g-t 1/2] tests/gem_userptr_blits: Refresh readonly-mmap-unsync exercise Janusz Krzysztofik
2020-04-06 16:32 ` [igt-dev] " Janusz Krzysztofik
2020-04-06 16:32 ` [Intel-gfx] [PATCH i-g-t v2 2/2] tests/gem_userptr_blits: Refresh other still MMAP_GTT dependent subtests Janusz Krzysztofik
2020-04-06 16:32 ` [igt-dev] " Janusz Krzysztofik
2020-04-06 18:06 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/gem_userptr_blits: Refresh " Patchwork
2020-04-07 1:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.