* [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests
@ 2020-03-19 7:38 Dominik Grzegorzek
2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek
` (5 more replies)
0 siblings, 6 replies; 9+ messages in thread
From: Dominik Grzegorzek @ 2020-03-19 7:38 UTC (permalink / raw)
To: igt-dev
Changes modify many subtest, and implement priority inversion test
case. Splited into three patches due to code sections shared between
pi and many subtest. "PATCH i-g-t 1/3 tests/gem_exec_alignment.c: Timeout
alarm wrappers" has no sense without at least one of next patches.
Dominik Grzegorzek (3):
tests/gem_exec_alignment.c: Timeout alarm wrappers
tests/gem_exec_alignment.c: Update subtest many
tests/gem_exec_alignment.c: Add priority inversion
Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
tests/i915/gem_exec_alignment.c | 299 +++++++++++++++++++++++++++++---
1 file changed, 275 insertions(+), 24 deletions(-)
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 9+ messages in thread* [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers 2020-03-19 7:38 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek @ 2020-03-19 7:38 ` Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 2/3] tests/gem_exec_alignment.c: Update subtest many Dominik Grzegorzek ` (4 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: Dominik Grzegorzek @ 2020-03-19 7:38 UTC (permalink / raw) To: igt-dev Implementation of timeout functions in gem_exec_alignment.c. Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> --- tests/i915/gem_exec_alignment.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignment.c index a10571c9..b7c11947 100644 --- a/tests/i915/gem_exec_alignment.c +++ b/tests/i915/gem_exec_alignment.c @@ -36,6 +36,7 @@ #include <errno.h> #include <sys/stat.h> #include <sys/time.h> +#include <signal.h> #include "drm.h" IGT_TEST_DESCRIPTION("Exercises the basic execbuffer using object alignments"); @@ -65,6 +66,37 @@ static uint32_t file_max(void) return max; } +static bool timed_out; +static void alignment_alarm_handler(int signal) +{ + igt_debug("alignment test timed out!\n"); + timed_out = true; +} + +static void alignment_set_timeout(unsigned int sec, unsigned int usec) +{ + struct sigaction sa = {}; + struct itimerval itv = {}; + + sa.sa_handler = alignment_alarm_handler; + sigemptyset(&sa.sa_mask); + sa.sa_flags = 0; + sigaction(SIGALRM, &sa, NULL); + + timed_out = false; + itv.it_value.tv_sec = sec; + itv.it_value.tv_usec = usec; + setitimer(ITIMER_REAL, &itv, NULL); +} + +static inline void alignment_reset_timeout(void) +{ + struct itimerval itv = {}; + + sigaction(SIGALRM, NULL, NULL); + setitimer(ITIMER_REAL, &itv, NULL); +} + static void many(int fd) { uint32_t bbe = MI_BATCH_BUFFER_END; -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 2/3] tests/gem_exec_alignment.c: Update subtest many 2020-03-19 7:38 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek @ 2020-03-19 7:38 ` Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 3/3] tests/gem_exec_alignment.c: Add priority inversion Dominik Grzegorzek ` (3 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: Dominik Grzegorzek @ 2020-03-19 7:38 UTC (permalink / raw) To: igt-dev Updated subtest many, that was unusable due to the long time of execution. For that purpose global timeout was added. Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> --- tests/i915/gem_exec_alignment.c | 73 ++++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 23 deletions(-) diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignment.c index b7c11947..44ee137a 100644 --- a/tests/i915/gem_exec_alignment.c +++ b/tests/i915/gem_exec_alignment.c @@ -36,9 +36,12 @@ #include <errno.h> #include <sys/stat.h> #include <sys/time.h> +#include <sys/ioctl.h> #include <signal.h> #include "drm.h" +#define MANY_TIMEOUT 10 + IGT_TEST_DESCRIPTION("Exercises the basic execbuffer using object alignments"); static uint32_t find_last_bit(uint64_t x) @@ -97,13 +100,22 @@ static inline void alignment_reset_timeout(void) setitimer(ITIMER_REAL, &itv, NULL); } +static int __execbuf(int fd, struct drm_i915_gem_execbuffer2 *execbuf) +{ + int err = 0; + if (ioctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, execbuf)) + err = -errno; + return err; +} + static void many(int fd) { uint32_t bbe = MI_BATCH_BUFFER_END; struct drm_i915_gem_exec_object2 *execobj; struct drm_i915_gem_execbuffer2 execbuf; - uint64_t gtt_size, ram_size; - uint64_t alignment, max_alignment, count, i; + uint64_t gtt_size, ram_size, flags; + uint64_t alignment, max_alignment, count, max_count, curr_count, i; + int ret; gtt_size = gem_aperture_size(fd); if (!gem_uses_full_ppgtt(fd)) @@ -118,7 +130,9 @@ static void many(int fd) max_alignment = 4096; else max_alignment = 1ull << (max_alignment - 1); - count = gtt_size / max_alignment / 2; + max_count = count = gtt_size / max_alignment / 2; + + flags = (gtt_size-1) >> 32 ? 1<<3 : 0; /* EXEC_OBJECT_SUPPORTS_48B_ADDRESS */ igt_info("gtt_size=%lld MiB, max-alignment=%lld, count=%lld\n", (long long)gtt_size/1024/1024, @@ -131,40 +145,53 @@ static void many(int fd) for (i = 0; i < count; i++) { execobj[i].handle = gem_create(fd, 4096); - if ((gtt_size-1) >> 32) - execobj[i].flags = 1<<3; /* EXEC_OBJECT_SUPPORTS_48B_ADDRESS */ + execobj[i].flags = flags; } execobj[i].handle = gem_create(fd, 4096); - if ((gtt_size-1) >> 32) - execobj[i].flags = 1<<3; /* EXEC_OBJECT_SUPPORTS_48B_ADDRESS */ + execobj[i].flags = flags; gem_write(fd, execobj[i].handle, 0, &bbe, sizeof(bbe)); + memset(&execbuf, 0, sizeof(execbuf)); execbuf.buffers_ptr = to_user_pointer(execobj); execbuf.buffer_count = count + 1; - igt_require(__gem_execbuf(fd, &execbuf) == 0); + igt_require(__execbuf(fd, &execbuf) == 0); - for (alignment = 4096; alignment < gtt_size; alignment <<= 1) { - for (i = 0; i < count; i++) - execobj[i].alignment = alignment; + alignment_set_timeout(MANY_TIMEOUT, 0); + + for (alignment = 4096; alignment < gtt_size && !timed_out; alignment <<= 1) { if (alignment > max_alignment) { uint64_t factor = alignment / max_alignment; - execbuf.buffer_count = 2*count / factor; - execbuf.buffers_ptr = - to_user_pointer(execobj + count - execbuf.buffer_count + 1); + max_count = 2 * count / factor; } - igt_debug("testing %lld x alignment=%#llx [%db]\n", - (long long)execbuf.buffer_count - 1, - (long long)alignment, - find_last_bit(alignment)-1); - gem_execbuf(fd, &execbuf); - for(i = count - execbuf.buffer_count + 1; i < count; i++) { - igt_assert_eq_u64(execobj[i].alignment, alignment); - igt_assert_eq_u64(execobj[i].offset % alignment, 0); + for (i = 0; i < count; i++) + execobj[i].alignment = alignment; + + for (curr_count = 1; curr_count < max_count; curr_count <<= 1) { + + execbuf.buffer_count = curr_count; + execbuf.buffers_ptr = + to_user_pointer(execobj + count - execbuf.buffer_count + 1); + + igt_debug("testing %lld x alignment=%#llx [%db]\n", + (long long)execbuf.buffer_count, + (long long)alignment, + find_last_bit(alignment)-1); + ret = __execbuf(fd, &execbuf); + + if (timed_out) + break; + + igt_assert_eq(ret, 0); + + for (i = count - execbuf.buffer_count + 1; i < count; i++) { + igt_assert_eq_u64(execobj[i].alignment, alignment); + igt_assert_eq_u64(execobj[i].offset % alignment, 0); + } } } - + alignment_reset_timeout(); for (i = 0; i < count; i++) gem_close(fd, execobj[i].handle); gem_close(fd, execobj[i].handle); -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 3/3] tests/gem_exec_alignment.c: Add priority inversion 2020-03-19 7:38 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 2/3] tests/gem_exec_alignment.c: Update subtest many Dominik Grzegorzek @ 2020-03-19 7:38 ` Dominik Grzegorzek 2020-03-19 8:10 ` [igt-dev] ✗ GitLab.Pipeline: failure for tests/gem_exec_alignment.c: Update subtests (rev3) Patchwork ` (2 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: Dominik Grzegorzek @ 2020-03-19 7:38 UTC (permalink / raw) To: igt-dev Priority inversion test case was implemented, which can point out that a low priority client causes a delay of a high priority client. Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> --- tests/i915/gem_exec_alignment.c | 194 +++++++++++++++++++++++++++++++- 1 file changed, 193 insertions(+), 1 deletion(-) diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignment.c index 44ee137a..a5f50d2f 100644 --- a/tests/i915/gem_exec_alignment.c +++ b/tests/i915/gem_exec_alignment.c @@ -38,7 +38,9 @@ #include <sys/time.h> #include <sys/ioctl.h> #include <signal.h> +#include <sched.h> #include "drm.h" +#include "semaphore.h" #define MANY_TIMEOUT 10 @@ -108,6 +110,195 @@ static int __execbuf(int fd, struct drm_i915_gem_execbuffer2 *execbuf) return err; } +static void prio_inversion(int fd) +{ + uint32_t bbe = MI_BATCH_BUFFER_END; + struct drm_i915_gem_exec_object2 *execobj, *execobj_hp; + struct drm_i915_gem_execbuffer2 execbuf; + struct timespec begin, now, timeout; + uint64_t gtt_size, ram_size, flags; + uint64_t alignment, max_alignment, count, max_count, curr_count, i; + uint32_t lp, hp, zero = 0, *res, ret; + volatile uint32_t *result; + double time, time_lp; + sem_t *sem; + + /* + * First low priority client create mass of holes in their + * own address space, then launch a batch with oodles of object with + * alignment that doesn't match previous one. While lp execbufer + * is performing we want to start high priority task + * and we expect it will not be blocked. + */ + + igt_require(gem_uses_full_ppgtt(fd)); + igt_require(gem_scheduler_enabled(fd)); + igt_require(gem_scheduler_has_ctx_priority(fd)); + + /* Using two pointers to avoid warnings about volatile discarding. */ + result = res = mmap(NULL, 4096, PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); + memset(res, 0, 4096); + igt_assert(result != MAP_FAILED); + + memset(&execbuf, 0, sizeof(execbuf)); + + /* Calc number of objects */ + gtt_size = gem_aperture_size(fd); /* We have to *share* our GTT! */ + ram_size = intel_get_total_ram_mb(); + ram_size *= 1024 * 1024; + count = ram_size / 4096; + + if (count > file_max()) /* vfs cap */ + count = file_max(); + max_alignment = find_last_bit(gtt_size / count); + if (max_alignment <= 13) + max_alignment = 4096; + else + max_alignment = 1ull << (max_alignment - 1); + max_count = count = gtt_size / max_alignment / 2; + + flags = (gtt_size-1) >> 32 ? 1<<3 : 0; /* EXEC_OBJECT_SUPPORTS_48B_ADDRESS */ + + execobj = calloc(sizeof(*execobj), count + 1); + igt_assert(execobj); + + execobj_hp = calloc(sizeof(*execobj_hp), 1); + igt_assert(execobj_hp); + + /* Fill the low-priority address space */ + for (i = 0; i < count; i++) { + execobj[i].handle = gem_create(fd, 4096); + gem_write(fd, execobj[i].handle, 0, &zero, sizeof(zero)); + execobj[i].flags = flags; + execobj[i].alignment = 4096; + } + execobj[i].handle = gem_create(fd, 4096); + execobj[i].alignment = 4096; + execobj[i].flags = flags; + + gem_write(fd, execobj[i].handle, 0, &bbe, sizeof(bbe)); + memset(&execbuf, 0, sizeof(execbuf)); + execbuf.buffers_ptr = to_user_pointer(execobj + count); + execbuf.buffer_count = 1; + + /* Warm up both (hi/lo) contexts */ + hp = execbuf.rsvd1 = gem_context_create(fd); + gem_context_set_priority(fd, execbuf.rsvd1, + I915_CONTEXT_MAX_USER_PRIORITY); + gem_execbuf(fd, &execbuf); + gem_sync(fd, execobj[i].handle); + + /* + * Creating a mess in address space using slow fragmentation loop + * to consume 5s. LP task uses the same objects with next alignment up. + */ + + lp = execbuf.rsvd1 = gem_context_create(fd); + gem_context_set_priority(fd, execbuf.rsvd1, + I915_CONTEXT_MIN_USER_PRIORITY); + + memset(&timeout, 0, sizeof(struct timespec)); + for (alignment = 8192; alignment < gtt_size && igt_seconds_elapsed(&timeout) < 5; alignment <<= 1) { + if (alignment > max_alignment) { + uint64_t factor = alignment / max_alignment; + max_count = 2 * count / factor; + } + + for (i = 0; i < count; i++) + execobj[i].alignment = alignment; + + for (curr_count = 1; curr_count < max_count; curr_count <<= 1) { + execbuf.buffer_count = curr_count; + execbuf.buffers_ptr = + to_user_pointer(execobj + count - execbuf.buffer_count + 1); + + gem_execbuf(fd, &execbuf); + gem_sync(fd, execobj[count].handle); + if (igt_seconds_elapsed(&timeout) >= 5) + break; + } + } + igt_debug("Low priority address space fragmentation done.\n"); + + igt_debug("Starting quiescent\n"); + gem_quiescent_gpu(fd); + igt_debug("Ending quiescent\n"); + + for (i = 0; i <= count; i++) + execobj[i].alignment = alignment; + + sem = sem_open("test_semaphore", O_CREAT|O_EXCL, 0, 1); + sem_unlink("test_semaphore"); + sem_wait(sem); + + igt_fork(child, 1) { + igt_debug("[H] In fork\n"); + memset(&execbuf, 0, sizeof(execbuf)); + execobj_hp[0].handle = gem_create(fd, 4096); + igt_debug("[H] After create\n"); + + gem_write(fd, execobj_hp[0].handle, 0, &bbe, sizeof(bbe)); + result[0] = hp != execbuf.rsvd1; + + execbuf.rsvd1 = hp; + execbuf.buffer_count = 1; + execbuf.buffers_ptr = + to_user_pointer(execobj_hp); + + /* Child sleeps waiting for hp task to start. */ + sem_wait(sem); + sched_yield(); + sem_post(sem); + + usleep(50000); + clock_gettime(CLOCK_MONOTONIC, &begin); + igt_debug("[H] HP child executing\n"); + gem_execbuf(fd, &execbuf); + igt_debug("[H] HP exec submitted\n"); + gem_sync(fd, execobj_hp[0].handle); + clock_gettime(CLOCK_MONOTONIC, &now); + igt_debug("[H] HP sync\n"); + + time = igt_time_elapsed(&begin, &now); + igt_debug("[H] HP exec performed in %.6fs\n", time); + result[1] = time < 0.001; + gem_close(fd, execobj_hp[0].handle); + } + + /* Relinquish CPU just to allow child to create a context */ + sleep(1); + igt_assert_f(result[0], "HP context (child) not created\n"); + + execbuf.rsvd1 = lp; + execbuf.buffer_count = curr_count; + execbuf.buffers_ptr = + to_user_pointer(execobj + count - execbuf.buffer_count + 1); + + igt_debug("[L] LP parent executing\n"); + clock_gettime(CLOCK_MONOTONIC, &begin); + + alignment_set_timeout(0, 100000); + sem_post(sem); + gem_execbuf(fd, &execbuf); + gem_sync(fd, execobj[count].handle); + alignment_reset_timeout(); + + clock_gettime(CLOCK_MONOTONIC, &now); + time_lp = igt_time_elapsed(&begin, &now); + igt_debug("[L] LP exec performed in %.6fs\n", time_lp); + + igt_waitchildren(); + igt_assert_f(result[1], "HP child unable to submit within 10ms\n"); + + gem_context_destroy(fd, lp); + gem_context_destroy(fd, hp); + + for (i = 0; i <= count; i++) + gem_close(fd, execobj[i].handle); + + munmap(res, 4096); +} + static void many(int fd) { uint32_t bbe = MI_BATCH_BUFFER_END; @@ -267,5 +458,6 @@ igt_main single(fd); igt_subtest("many") many(fd); - + igt_subtest("pi") + prio_inversion(fd); } -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: failure for tests/gem_exec_alignment.c: Update subtests (rev3) 2020-03-19 7:38 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek ` (2 preceding siblings ...) 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 3/3] tests/gem_exec_alignment.c: Add priority inversion Dominik Grzegorzek @ 2020-03-19 8:10 ` Patchwork 2020-03-19 8:23 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork 2020-03-19 9:31 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 5 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2020-03-19 8:10 UTC (permalink / raw) To: Dominik Grzegorzek; +Cc: igt-dev == Series Details == Series: tests/gem_exec_alignment.c: Update subtests (rev3) URL : https://patchwork.freedesktop.org/series/74633/ State : failure == Summary == ERROR! This series introduces new undocumented tests: gem_exec_alignment@pi Can you document them as per the requirement in the [CONTRIBUTING.md]? [Documentation] has more details on how to do this. Here are few examples: https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/0316695d03aa46108296b27f3982ec93200c7a6e https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/443cc658e1e6b492ee17bf4f4d891029eb7a205d Thanks in advance! [CONTRIBUTING.md]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/CONTRIBUTING.md#L19 [Documentation]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe Other than that, pipeline status: SUCCESS. see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/121586 for the overview. == Logs == For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/121586 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/gem_exec_alignment.c: Update subtests (rev3) 2020-03-19 7:38 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek ` (3 preceding siblings ...) 2020-03-19 8:10 ` [igt-dev] ✗ GitLab.Pipeline: failure for tests/gem_exec_alignment.c: Update subtests (rev3) Patchwork @ 2020-03-19 8:23 ` Patchwork 2020-03-19 9:31 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 5 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2020-03-19 8:23 UTC (permalink / raw) To: Dominik Grzegorzek; +Cc: igt-dev == Series Details == Series: tests/gem_exec_alignment.c: Update subtests (rev3) URL : https://patchwork.freedesktop.org/series/74633/ State : success == Summary == CI Bug Log - changes from CI_DRM_8157 -> IGTPW_4323 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/index.html Known issues ------------ Here are the changes found in IGTPW_4323 that come from known issues: ### IGT changes ### #### Possible fixes #### * igt@i915_pm_rpm@module-reload: - fi-icl-dsi: [INCOMPLETE][1] ([i915#189]) -> [PASS][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/fi-icl-dsi/igt@i915_pm_rpm@module-reload.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/fi-icl-dsi/igt@i915_pm_rpm@module-reload.html * igt@kms_chamelium@hdmi-hpd-fast: - fi-kbl-7500u: [FAIL][3] ([i915#323]) -> [PASS][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html * igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size: - fi-kbl-soraka: [FAIL][5] ([IGT#5]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/fi-kbl-soraka/igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/fi-kbl-soraka/igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size.html [IGT#5]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/5 [i915#189]: https://gitlab.freedesktop.org/drm/intel/issues/189 [i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323 Participating hosts (41 -> 39) ------------------------------ Additional (3): fi-skl-lmem fi-kbl-7560u fi-bwr-2160 Missing (5): fi-byt-squawks fi-bsw-cyan fi-gdg-551 fi-elk-e7500 fi-bsw-nick Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5522 -> IGTPW_4323 CI-20190529: 20190529 CI_DRM_8157: 4f297a639d15ec6c293b74ff0904de6146b18e4f @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4323: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/index.html IGT_5522: bd2b01af69c9720d54e68a8702a23e4ff3637746 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Testlist changes == +igt@gem_exec_alignment@pi == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/gem_exec_alignment.c: Update subtests (rev3) 2020-03-19 7:38 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek ` (4 preceding siblings ...) 2020-03-19 8:23 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork @ 2020-03-19 9:31 ` Patchwork 5 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2020-03-19 9:31 UTC (permalink / raw) To: Dominik Grzegorzek; +Cc: igt-dev == Series Details == Series: tests/gem_exec_alignment.c: Update subtests (rev3) URL : https://patchwork.freedesktop.org/series/74633/ State : success == Summary == CI Bug Log - changes from CI_DRM_8157_full -> IGTPW_4323_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/index.html Known issues ------------ Here are the changes found in IGTPW_4323_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_isolation@vcs0-s3: - shard-apl: [PASS][1] -> [INCOMPLETE][2] ([fdo#103927]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-apl1/igt@gem_ctx_isolation@vcs0-s3.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl8/igt@gem_ctx_isolation@vcs0-s3.html * igt@gem_ctx_persistence@close-replace-race: - shard-tglb: [PASS][3] -> [INCOMPLETE][4] ([i915#1402]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-tglb6/igt@gem_ctx_persistence@close-replace-race.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-tglb8/igt@gem_ctx_persistence@close-replace-race.html - shard-iclb: [PASS][5] -> [INCOMPLETE][6] ([i915#1402]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb2/igt@gem_ctx_persistence@close-replace-race.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb1/igt@gem_ctx_persistence@close-replace-race.html - shard-apl: [PASS][7] -> [INCOMPLETE][8] ([fdo#103927] / [i915#1402]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-apl6/igt@gem_ctx_persistence@close-replace-race.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl6/igt@gem_ctx_persistence@close-replace-race.html * igt@gem_ctx_shared@exec-single-timeline-bsd: - shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#110841]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb3/igt@gem_ctx_shared@exec-single-timeline-bsd.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb4/igt@gem_ctx_shared@exec-single-timeline-bsd.html * igt@gem_exec_schedule@implicit-write-read-bsd1: - shard-iclb: [PASS][11] -> [SKIP][12] ([fdo#109276] / [i915#677]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb2/igt@gem_exec_schedule@implicit-write-read-bsd1.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb8/igt@gem_exec_schedule@implicit-write-read-bsd1.html * igt@gem_exec_schedule@pi-distinct-iova-bsd: - shard-iclb: [PASS][13] -> [SKIP][14] ([i915#677]) +2 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb6/igt@gem_exec_schedule@pi-distinct-iova-bsd.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb4/igt@gem_exec_schedule@pi-distinct-iova-bsd.html * igt@gem_exec_schedule@promotion-bsd: - shard-iclb: [PASS][15] -> [SKIP][16] ([fdo#112146]) +3 similar issues [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb5/igt@gem_exec_schedule@promotion-bsd.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb4/igt@gem_exec_schedule@promotion-bsd.html * igt@i915_pm_dc@dc6-dpms: - shard-iclb: [PASS][17] -> [FAIL][18] ([i915#454]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb5/igt@i915_pm_dc@dc6-dpms.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb3/igt@i915_pm_dc@dc6-dpms.html * igt@i915_pm_rps@reset: - shard-iclb: [PASS][19] -> [FAIL][20] ([i915#413]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb3/igt@i915_pm_rps@reset.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb4/igt@i915_pm_rps@reset.html * igt@i915_selftest@live@execlists: - shard-apl: [PASS][21] -> [INCOMPLETE][22] ([fdo#103927] / [i915#656]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-apl6/igt@i915_selftest@live@execlists.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl1/igt@i915_selftest@live@execlists.html * igt@i915_suspend@fence-restore-tiled2untiled: - shard-apl: [PASS][23] -> [DMESG-WARN][24] ([i915#180]) +1 similar issue [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-apl1/igt@i915_suspend@fence-restore-tiled2untiled.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl4/igt@i915_suspend@fence-restore-tiled2untiled.html * igt@kms_cursor_legacy@flip-vs-cursor-legacy: - shard-hsw: [PASS][25] -> [FAIL][26] ([IGT#5]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw6/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw6/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html * igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset: - shard-kbl: [PASS][27] -> [INCOMPLETE][28] ([i915#1297]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-kbl2/igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-kbl4/igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset.html - shard-apl: [PASS][29] -> [INCOMPLETE][30] ([fdo#103927] / [i915#1297]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-apl3/igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl6/igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset.html * igt@kms_frontbuffer_tracking@fbc-suspend: - shard-kbl: [PASS][31] -> [DMESG-WARN][32] ([i915#180]) +6 similar issues [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-suspend.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-suspend.html * igt@kms_hdmi_inject@inject-audio: - shard-tglb: [PASS][33] -> [SKIP][34] ([i915#433]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-tglb1/igt@kms_hdmi_inject@inject-audio.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-tglb1/igt@kms_hdmi_inject@inject-audio.html * igt@kms_psr2_su@frontbuffer: - shard-iclb: [PASS][35] -> [SKIP][36] ([fdo#109642] / [fdo#111068]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb2/igt@kms_psr2_su@frontbuffer.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb3/igt@kms_psr2_su@frontbuffer.html * igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm: - shard-tglb: [PASS][37] -> [SKIP][38] ([fdo#112015]) [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-tglb6/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-tglb1/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html - shard-hsw: [PASS][39] -> [SKIP][40] ([fdo#109271]) [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw1/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw5/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html - shard-iclb: [PASS][41] -> [SKIP][42] ([fdo#109278]) [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb2/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb2/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html - shard-glk: [PASS][43] -> [SKIP][44] ([fdo#109271]) [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-glk6/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-glk1/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html * igt@perf_pmu@busy-no-semaphores-vcs1: - shard-iclb: [PASS][45] -> [SKIP][46] ([fdo#112080]) +10 similar issues [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb2/igt@perf_pmu@busy-no-semaphores-vcs1.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb5/igt@perf_pmu@busy-no-semaphores-vcs1.html * igt@prime_vgem@fence-wait-bsd2: - shard-iclb: [PASS][47] -> [SKIP][48] ([fdo#109276]) +20 similar issues [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb1/igt@prime_vgem@fence-wait-bsd2.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb8/igt@prime_vgem@fence-wait-bsd2.html #### Possible fixes #### * igt@gem_ctx_persistence@close-replace-race: - shard-kbl: [INCOMPLETE][49] ([i915#1402]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-kbl4/igt@gem_ctx_persistence@close-replace-race.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-kbl6/igt@gem_ctx_persistence@close-replace-race.html * igt@gem_exec_parallel@vcs1-fds: - shard-iclb: [SKIP][51] ([fdo#112080]) -> [PASS][52] +10 similar issues [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb6/igt@gem_exec_parallel@vcs1-fds.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb4/igt@gem_exec_parallel@vcs1-fds.html * igt@gem_exec_schedule@implicit-read-write-bsd1: - shard-iclb: [SKIP][53] ([fdo#109276] / [i915#677]) -> [PASS][54] +2 similar issues [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb7/igt@gem_exec_schedule@implicit-read-write-bsd1.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb2/igt@gem_exec_schedule@implicit-read-write-bsd1.html * igt@gem_exec_schedule@pi-common-bsd: - shard-iclb: [SKIP][55] ([i915#677]) -> [PASS][56] +1 similar issue [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb1/igt@gem_exec_schedule@pi-common-bsd.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb8/igt@gem_exec_schedule@pi-common-bsd.html * igt@gem_exec_schedule@pi-ringfull-bsd: - shard-iclb: [SKIP][57] ([fdo#112146]) -> [PASS][58] +3 similar issues [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb2/igt@gem_exec_schedule@pi-ringfull-bsd.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb5/igt@gem_exec_schedule@pi-ringfull-bsd.html * igt@gem_exec_schedule@preempt-contexts-bsd2: - shard-iclb: [SKIP][59] ([fdo#109276]) -> [PASS][60] +17 similar issues [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb3/igt@gem_exec_schedule@preempt-contexts-bsd2.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb2/igt@gem_exec_schedule@preempt-contexts-bsd2.html * igt@gem_ppgtt@flink-and-close-vma-leak: - shard-glk: [FAIL][61] ([i915#644]) -> [PASS][62] [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-glk7/igt@gem_ppgtt@flink-and-close-vma-leak.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-glk9/igt@gem_ppgtt@flink-and-close-vma-leak.html * igt@kms_flip@flip-vs-suspend: - shard-apl: [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +1 similar issue [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-apl4/igt@kms_flip@flip-vs-suspend.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl2/igt@kms_flip@flip-vs-suspend.html - shard-iclb: [INCOMPLETE][65] ([i915#1185] / [i915#221]) -> [PASS][66] [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb3/igt@kms_flip@flip-vs-suspend.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb4/igt@kms_flip@flip-vs-suspend.html * igt@kms_hdr@bpc-switch-suspend: - shard-kbl: [DMESG-WARN][67] ([i915#180]) -> [PASS][68] +10 similar issues [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-kbl4/igt@kms_hdr@bpc-switch-suspend.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-kbl7/igt@kms_hdr@bpc-switch-suspend.html * igt@kms_plane_lowres@pipe-a-tiling-x: - shard-glk: [FAIL][69] ([i915#899]) -> [PASS][70] +1 similar issue [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-glk9/igt@kms_plane_lowres@pipe-a-tiling-x.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-glk2/igt@kms_plane_lowres@pipe-a-tiling-x.html * igt@kms_psr@psr2_cursor_render: - shard-iclb: [SKIP][71] ([fdo#109441]) -> [PASS][72] +2 similar issues [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb8/igt@kms_psr@psr2_cursor_render.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb2/igt@kms_psr@psr2_cursor_render.html * igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm: - shard-tglb: [SKIP][73] ([fdo#112015]) -> [PASS][74] [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-tglb3/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-tglb5/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html - shard-hsw: [SKIP][75] ([fdo#109271]) -> [PASS][76] [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw1/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw1/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html - shard-iclb: [SKIP][77] ([fdo#109278]) -> [PASS][78] [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-iclb7/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-iclb6/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html - shard-glk: [SKIP][79] ([fdo#109271]) -> [PASS][80] [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-glk5/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-glk9/igt@kms_vblank@pipe-a-ts-continuation-modeset-rpm.html #### Warnings #### * igt@i915_pm_rpm@fences: - shard-snb: [SKIP][81] ([fdo#109271]) -> [INCOMPLETE][82] ([i915#82]) [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb4/igt@i915_pm_rpm@fences.html [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb5/igt@i915_pm_rpm@fences.html * igt@runner@aborted: - shard-hsw: ([FAIL][83], [FAIL][84], [FAIL][85], [FAIL][86], [FAIL][87], [FAIL][88], [FAIL][89], [FAIL][90]) ([fdo#111870]) -> ([FAIL][91], [FAIL][92], [FAIL][93], [FAIL][94], [FAIL][95], [FAIL][96], [FAIL][97], [FAIL][98], [FAIL][99]) ([fdo#111870] / [i915#1485]) [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw6/igt@runner@aborted.html [84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw2/igt@runner@aborted.html [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw6/igt@runner@aborted.html [86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw6/igt@runner@aborted.html [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw4/igt@runner@aborted.html [88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw4/igt@runner@aborted.html [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw1/igt@runner@aborted.html [90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-hsw7/igt@runner@aborted.html [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw4/igt@runner@aborted.html [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw7/igt@runner@aborted.html [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw7/igt@runner@aborted.html [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw1/igt@runner@aborted.html [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw2/igt@runner@aborted.html [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw6/igt@runner@aborted.html [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw5/igt@runner@aborted.html [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw2/igt@runner@aborted.html [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-hsw2/igt@runner@aborted.html - shard-kbl: ([FAIL][100], [FAIL][101]) ([i915#1389] / [i915#1402] / [i915#92]) -> [FAIL][102] ([i915#92]) [100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-kbl7/igt@runner@aborted.html [101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-kbl4/igt@runner@aborted.html [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-kbl3/igt@runner@aborted.html - shard-apl: [FAIL][103] ([fdo#103927]) -> ([FAIL][104], [FAIL][105], [FAIL][106]) ([fdo#103927] / [i915#1402] / [i915#529]) [103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-apl4/igt@runner@aborted.html [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl3/igt@runner@aborted.html [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl1/igt@runner@aborted.html [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-apl6/igt@runner@aborted.html - shard-snb: ([FAIL][107], [FAIL][108], [FAIL][109], [FAIL][110], [FAIL][111], [FAIL][112], [FAIL][113], [FAIL][114]) ([fdo#111870] / [i915#1077]) -> ([FAIL][115], [FAIL][116], [FAIL][117], [FAIL][118], [FAIL][119], [FAIL][120], [FAIL][121], [FAIL][122]) ([fdo#111870] / [i915#1077] / [i915#1485]) [107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb5/igt@runner@aborted.html [108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb5/igt@runner@aborted.html [109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb5/igt@runner@aborted.html [110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb4/igt@runner@aborted.html [111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb4/igt@runner@aborted.html [112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb6/igt@runner@aborted.html [113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb5/igt@runner@aborted.html [114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8157/shard-snb2/igt@runner@aborted.html [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb6/igt@runner@aborted.html [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb2/igt@runner@aborted.html [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb5/igt@runner@aborted.html [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb6/igt@runner@aborted.html [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb4/igt@runner@aborted.html [120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb4/igt@runner@aborted.html [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb4/igt@runner@aborted.html [122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/shard-snb6/igt@runner@aborted.html [IGT#5]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/5 [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927 [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#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870 [fdo#112015]: https://bugs.freedesktop.org/show_bug.cgi?id=112015 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146 [i915#1077]: https://gitlab.freedesktop.org/drm/intel/issues/1077 [i915#1185]: https://gitlab.freedesktop.org/drm/intel/issues/1185 [i915#1297]: https://gitlab.freedesktop.org/drm/intel/issues/1297 [i915#1389]: https://gitlab.freedesktop.org/drm/intel/issues/1389 [i915#1402]: https://gitlab.freedesktop.org/drm/intel/issues/1402 [i915#1485]: https://gitlab.freedesktop.org/drm/intel/issues/1485 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#221]: https://gitlab.freedesktop.org/drm/intel/issues/221 [i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413 [i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433 [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454 [i915#529]: https://gitlab.freedesktop.org/drm/intel/issues/529 [i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644 [i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656 [i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677 [i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82 [i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899 [i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92 Participating hosts (10 -> 8) ------------------------------ Missing (2): pig-skl-6260u pig-glk-j5005 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5522 -> IGTPW_4323 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_8157: 4f297a639d15ec6c293b74ff0904de6146b18e4f @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4323: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4323/index.html IGT_5522: bd2b01af69c9720d54e68a8702a23e4ff3637746 @ 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_4323/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests @ 2020-03-16 12:03 Dominik Grzegorzek 2020-03-16 12:03 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek 0 siblings, 1 reply; 9+ messages in thread From: Dominik Grzegorzek @ 2020-03-16 12:03 UTC (permalink / raw) To: igt-dev Changes modify many subtest, and implement priority inversion test case. Splited into three patches due to code sections shared between pi and many subtest. "PATCH i-g-t 1/3 tests/gem_exec_alignment.c: Timeout alarm wrappers" has no sense without at least one of next patches. Dominik Grzegorzek (3): tests/gem_exec_alignment.c: Timeout alarm wrappers tests/gem_exec_alignment.c: Update subtest many tests/gem_exec_alignment.c: Add priority inversion Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> tests/i915/gem_exec_alignment.c | 299 +++++++++++++++++++++++++++++--- 1 file changed, 275 insertions(+), 24 deletions(-) -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers 2020-03-16 12:03 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek @ 2020-03-16 12:03 ` Dominik Grzegorzek 0 siblings, 0 replies; 9+ messages in thread From: Dominik Grzegorzek @ 2020-03-16 12:03 UTC (permalink / raw) To: igt-dev Implementation of timeout functions in gem_exec_alignment.c. Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> --- tests/i915/gem_exec_alignment.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignment.c index a10571c9..b7c11947 100644 --- a/tests/i915/gem_exec_alignment.c +++ b/tests/i915/gem_exec_alignment.c @@ -36,6 +36,7 @@ #include <errno.h> #include <sys/stat.h> #include <sys/time.h> +#include <signal.h> #include "drm.h" IGT_TEST_DESCRIPTION("Exercises the basic execbuffer using object alignments"); @@ -65,6 +66,37 @@ static uint32_t file_max(void) return max; } +static bool timed_out; +static void alignment_alarm_handler(int signal) +{ + igt_debug("alignment test timed out!\n"); + timed_out = true; +} + +static void alignment_set_timeout(unsigned int sec, unsigned int usec) +{ + struct sigaction sa = {}; + struct itimerval itv = {}; + + sa.sa_handler = alignment_alarm_handler; + sigemptyset(&sa.sa_mask); + sa.sa_flags = 0; + sigaction(SIGALRM, &sa, NULL); + + timed_out = false; + itv.it_value.tv_sec = sec; + itv.it_value.tv_usec = usec; + setitimer(ITIMER_REAL, &itv, NULL); +} + +static inline void alignment_reset_timeout(void) +{ + struct itimerval itv = {}; + + sigaction(SIGALRM, NULL, NULL); + setitimer(ITIMER_REAL, &itv, NULL); +} + static void many(int fd) { uint32_t bbe = MI_BATCH_BUFFER_END; -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests @ 2020-03-12 9:09 Dominik Grzegorzek 2020-03-12 9:09 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek 0 siblings, 1 reply; 9+ messages in thread From: Dominik Grzegorzek @ 2020-03-12 9:09 UTC (permalink / raw) To: igt-dev Changes modify many subtest, and implement priority inversion test case. Splited into three patches due to code sections shared between pi and many subtest. "PATCH i-g-t 1/3 tests/gem_exec_alignment.c: Timeout alarm wrappers" has no sense without at least one of next patches. Dominik Grzegorzek (3): tests/gem_exec_alignment.c: Timeout alarm wrappers tests/gem_exec_alignment.c: Update subtest many tests/gem_exec_alignment.c: Add priority inversion test tests/i915/gem_exec_alignment.c | 283 +++++++++++++++++++++++++++++--- 1 file changed, 260 insertions(+), 23 deletions(-) -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers 2020-03-12 9:09 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek @ 2020-03-12 9:09 ` Dominik Grzegorzek 0 siblings, 0 replies; 9+ messages in thread From: Dominik Grzegorzek @ 2020-03-12 9:09 UTC (permalink / raw) To: igt-dev Implementation of timeout functions in gem_exec_alignment.c. Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> --- tests/i915/gem_exec_alignment.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/i915/gem_exec_alignment.c b/tests/i915/gem_exec_alignment.c index a10571c9..b7c11947 100644 --- a/tests/i915/gem_exec_alignment.c +++ b/tests/i915/gem_exec_alignment.c @@ -36,6 +36,7 @@ #include <errno.h> #include <sys/stat.h> #include <sys/time.h> +#include <signal.h> #include "drm.h" IGT_TEST_DESCRIPTION("Exercises the basic execbuffer using object alignments"); @@ -65,6 +66,37 @@ static uint32_t file_max(void) return max; } +static bool timed_out; +static void alignment_alarm_handler(int signal) +{ + igt_debug("alignment test timed out!\n"); + timed_out = true; +} + +static void alignment_set_timeout(unsigned int sec, unsigned int usec) +{ + struct sigaction sa = {}; + struct itimerval itv = {}; + + sa.sa_handler = alignment_alarm_handler; + sigemptyset(&sa.sa_mask); + sa.sa_flags = 0; + sigaction(SIGALRM, &sa, NULL); + + timed_out = false; + itv.it_value.tv_sec = sec; + itv.it_value.tv_usec = usec; + setitimer(ITIMER_REAL, &itv, NULL); +} + +static inline void alignment_reset_timeout(void) +{ + struct itimerval itv = {}; + + sigaction(SIGALRM, NULL, NULL); + setitimer(ITIMER_REAL, &itv, NULL); +} + static void many(int fd) { uint32_t bbe = MI_BATCH_BUFFER_END; -- 2.20.1 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-03-19 9:31 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-03-19 7:38 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 2/3] tests/gem_exec_alignment.c: Update subtest many Dominik Grzegorzek 2020-03-19 7:38 ` [igt-dev] [PATCH i-g-t 3/3] tests/gem_exec_alignment.c: Add priority inversion Dominik Grzegorzek 2020-03-19 8:10 ` [igt-dev] ✗ GitLab.Pipeline: failure for tests/gem_exec_alignment.c: Update subtests (rev3) Patchwork 2020-03-19 8:23 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork 2020-03-19 9:31 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork -- strict thread matches above, loose matches on Subject: below -- 2020-03-16 12:03 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek 2020-03-16 12:03 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek 2020-03-12 9:09 [igt-dev] [PATCH i-g-t 0/3] tests/gem_exec_alignment.c: Update subtests Dominik Grzegorzek 2020-03-12 9:09 ` [igt-dev] [PATCH i-g-t 1/3] tests/gem_exec_alignment.c: Timeout alarm wrappers Dominik Grzegorzek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox