* [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error
@ 2019-12-09 13:19 Juha-Pekka Heikkila
2019-12-09 17:22 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Juha-Pekka Heikkila @ 2019-12-09 13:19 UTC (permalink / raw)
To: igt-dev
Having crc running continuously cause this test sometime
fill crc buffer, fix this problem as well as do some generic
cleanups.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
tests/kms_cursor_crc.c | 109 +++++++++++++++++++++++++------------------------
1 file changed, 56 insertions(+), 53 deletions(-)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 6475dea..9542141 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -52,7 +52,6 @@ typedef struct {
struct igt_fb fb;
igt_output_t *output;
enum pipe pipe;
- igt_crc_t ref_crc;
int left, right, top, bottom;
int screenw, screenh;
int refresh;
@@ -60,6 +59,9 @@ typedef struct {
int cursor_max_w, cursor_max_h;
igt_pipe_crc_t *pipe_crc;
unsigned flags;
+ igt_plane_t *primary;
+ igt_plane_t *cursor;
+ cairo_surface_t *surface;
} data_t;
#define TEST_DPMS (1<<0)
@@ -89,23 +91,15 @@ static void draw_cursor(cairo_t *cr, int x, int y, int cw, int ch, double a)
static void cursor_enable(data_t *data)
{
- igt_output_t *output = data->output;
- igt_plane_t *cursor =
- igt_output_get_plane_type(output, DRM_PLANE_TYPE_CURSOR);
-
- igt_plane_set_fb(cursor, &data->fb);
- igt_plane_set_size(cursor, data->curw, data->curh);
- igt_fb_set_size(&data->fb, cursor, data->curw, data->curh);
+ igt_plane_set_fb(data->cursor, &data->fb);
+ igt_plane_set_size(data->cursor, data->curw, data->curh);
+ igt_fb_set_size(&data->fb, data->cursor, data->curw, data->curh);
}
static void cursor_disable(data_t *data)
{
- igt_output_t *output = data->output;
- igt_plane_t *cursor =
- igt_output_get_plane_type(output, DRM_PLANE_TYPE_CURSOR);
-
- igt_plane_set_fb(cursor, NULL);
- igt_plane_set_position(cursor, 0, 0);
+ igt_plane_set_fb(data->cursor, NULL);
+ igt_plane_set_position(data->cursor, 0, 0);
}
static bool chv_cursor_broken(data_t *data, int x)
@@ -144,37 +138,47 @@ static bool cursor_visible(data_t *data, int x, int y)
return true;
}
+static void restore_image(data_t *data)
+{
+ cairo_t *cr;
+
+ cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb);
+ cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
+ cairo_set_source_surface(cr, data->surface, 0, 0);
+ cairo_rectangle(cr, 0, 0, data->screenw, data->screenh);
+ cairo_fill(cr);
+ igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr);
+ igt_dirty_fb(data->drm_fd, &data->primary_fb);
+}
+
static void do_single_test(data_t *data, int x, int y)
{
igt_display_t *display = &data->display;
igt_pipe_crc_t *pipe_crc = data->pipe_crc;
igt_crc_t crc, ref_crc;
- igt_plane_t *cursor =
- igt_output_get_plane_type(data->output, DRM_PLANE_TYPE_CURSOR);
cairo_t *cr;
int ret = 0;
igt_print_activity();
/* Hardware test */
- cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb);
- igt_paint_test_pattern(cr, data->screenw, data->screenh);
- igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr);
+ restore_image(data);
+ igt_plane_set_position(data->cursor, x, y);
cursor_enable(data);
- igt_plane_set_position(cursor, x, y);
if (chv_cursor_broken(data, x) && cursor_visible(data, x, y)) {
ret = igt_display_try_commit2(display, COMMIT_LEGACY);
igt_assert_eq(ret, -EINVAL);
- igt_plane_set_position(cursor, 0, y);
+ igt_plane_set_position(data->cursor, 0, y);
return;
}
igt_display_commit(display);
- igt_wait_for_vblank(data->drm_fd, data->pipe);
+ /* Extra vblank wait is because nonblocking cursor ioctl */
+ igt_wait_for_vblank_count(data->drm_fd, data->pipe, 2);
igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &crc);
if (data->flags & (TEST_DPMS | TEST_SUSPEND)) {
@@ -211,39 +215,29 @@ static void do_single_test(data_t *data, int x, int y)
cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb);
draw_cursor(cr, x, y, data->curw, data->curh, 1.0);
igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr);
- igt_display_commit(display);
-
+ igt_dirty_fb(data->drm_fd, &data->primary_fb);
+ /* Extra vblank wait is because nonblocking cursor ioctl */
igt_wait_for_vblank(data->drm_fd, data->pipe);
- igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc);
+ igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc);
igt_assert_crc_equal(&crc, &ref_crc);
-
- /* Clear screen afterwards */
- cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb);
- igt_paint_color(cr, 0, 0, data->screenw, data->screenh, 0.0, 0.0, 0.0);
- igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr);
}
static void do_fail_test(data_t *data, int x, int y, int expect)
{
igt_display_t *display = &data->display;
- igt_plane_t *cursor =
- igt_output_get_plane_type(data->output, DRM_PLANE_TYPE_CURSOR);
- cairo_t *cr;
int ret;
igt_print_activity();
/* Hardware test */
- cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb);
- igt_paint_test_pattern(cr, data->screenw, data->screenh);
- igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr);
+ restore_image(data);
cursor_enable(data);
- igt_plane_set_position(cursor, x, y);
+ igt_plane_set_position(data->cursor, x, y);
ret = igt_display_try_commit2(display, COMMIT_LEGACY);
- igt_plane_set_position(cursor, 0, 0);
+ igt_plane_set_position(data->cursor, 0, 0);
cursor_disable(data);
igt_display_commit(display);
@@ -355,6 +349,11 @@ static void cleanup_crtc(data_t *data)
igt_pipe_crc_free(data->pipe_crc);
data->pipe_crc = NULL;
+ cairo_surface_destroy(data->surface);
+
+ igt_plane_set_fb(data->primary, NULL);
+ igt_display_commit(display);
+
igt_remove_fb(data->drm_fd, &data->primary_fb);
igt_display_reset(display);
@@ -365,7 +364,7 @@ static void prepare_crtc(data_t *data, igt_output_t *output,
{
drmModeModeInfo *mode;
igt_display_t *display = &data->display;
- igt_plane_t *primary;
+ cairo_t *cr;
/* select the pipe we want to use */
igt_output_set_pipe(output, data->pipe);
@@ -378,8 +377,10 @@ static void prepare_crtc(data_t *data, igt_output_t *output,
0.0, 0.0, 0.0,
&data->primary_fb);
- primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
- igt_plane_set_fb(primary, &data->primary_fb);
+ data->primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
+ data->cursor = igt_output_get_plane_type(output, DRM_PLANE_TYPE_CURSOR);
+
+ igt_plane_set_fb(data->primary, &data->primary_fb);
igt_display_commit(display);
@@ -398,9 +399,15 @@ static void prepare_crtc(data_t *data, igt_output_t *output,
data->curh = cursor_h;
data->refresh = mode->vrefresh;
- /* get reference crc w/o cursor */
+ /* store test image as cairo surface */
+ data->surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, data->screenw, data->screenh);
+
+ cr = cairo_create(data->surface);
+ cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
+ igt_paint_test_pattern(cr, data->screenw, data->screenh);
+ cairo_destroy(cr);
+
igt_pipe_crc_start(data->pipe_crc);
- igt_pipe_crc_get_current(data->drm_fd, data->pipe_crc, &data->ref_crc);
}
static void test_cursor_alpha(data_t *data, double a)
@@ -521,8 +528,6 @@ static void test_cursor_size(data_t *data)
uint32_t fb_id;
int i, size;
int cursor_max_size = data->cursor_max_w;
- igt_plane_t *cursor =
- igt_output_get_plane_type(data->output, DRM_PLANE_TYPE_CURSOR);
/* Create a maximum size cursor, then change the size in flight to
* smaller ones to see that the size is applied correctly
@@ -541,8 +546,8 @@ static void test_cursor_size(data_t *data)
cursor_enable(data);
for (i = 0, size = cursor_max_size; size >= 64; size /= 2, i++) {
/* Change size in flight: */
- igt_plane_set_size(cursor, size, size);
- igt_fb_set_size(&data->fb, cursor, size, size);
+ igt_plane_set_size(data->cursor, size, size);
+ igt_fb_set_size(&data->fb, data->cursor, size, size);
igt_display_commit(display);
igt_wait_for_vblank(data->drm_fd, data->pipe);
igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &crc[i]);
@@ -575,26 +580,24 @@ static void test_rapid_movement(data_t *data)
int x = 0, y = 0;
long usec;
igt_display_t *display = &data->display;
- igt_plane_t *cursor =
- igt_output_get_plane_type(data->output, DRM_PLANE_TYPE_CURSOR);
cursor_enable(data);
gettimeofday(&start, NULL);
for ( ; x < 100; x++) {
- igt_plane_set_position(cursor, x, y);
+ igt_plane_set_position(data->cursor, x, y);
igt_display_commit(display);
}
for ( ; y < 100; y++) {
- igt_plane_set_position(cursor, x, y);
+ igt_plane_set_position(data->cursor, x, y);
igt_display_commit(display);
}
for ( ; x > 0; x--) {
- igt_plane_set_position(cursor, x, y);
+ igt_plane_set_position(data->cursor, x, y);
igt_display_commit(display);
}
for ( ; y > 0; y--) {
- igt_plane_set_position(cursor, x, y);
+ igt_plane_set_position(data->cursor, x, y);
igt_display_commit(display);
}
gettimeofday(&end, NULL);
--
2.7.4
_______________________________________________
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] ✓ Fi.CI.BAT: success for tests/kms_cursor_crc: Fix user space read too slow error (rev2) 2019-12-09 13:19 [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Juha-Pekka Heikkila @ 2019-12-09 17:22 ` Patchwork 2019-12-09 19:08 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev3) Patchwork ` (2 subsequent siblings) 3 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2019-12-09 17:22 UTC (permalink / raw) To: Juha-Pekka Heikkila; +Cc: igt-dev == Series Details == Series: tests/kms_cursor_crc: Fix user space read too slow error (rev2) URL : https://patchwork.freedesktop.org/series/70218/ State : success == Summary == CI Bug Log - changes from CI_DRM_7521 -> IGTPW_3832 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html Known issues ------------ Here are the changes found in IGTPW_3832 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@i915_selftest@live_blt: - fi-hsw-4770r: [PASS][1] -> [DMESG-FAIL][2] ([i915#553] / [i915#725]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-hsw-4770r/igt@i915_selftest@live_blt.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-hsw-4770r/igt@i915_selftest@live_blt.html * igt@i915_selftest@live_gem_contexts: - fi-byt-n2820: [PASS][3] -> [DMESG-FAIL][4] ([i915#722]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-byt-n2820/igt@i915_selftest@live_gem_contexts.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-byt-n2820/igt@i915_selftest@live_gem_contexts.html * igt@kms_chamelium@hdmi-hpd-fast: - fi-kbl-7500u: [PASS][5] -> [FAIL][6] ([fdo#111096] / [i915#323]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html #### Possible fixes #### * igt@gem_ctx_create@basic-files: - {fi-tgl-guc}: [INCOMPLETE][7] ([fdo#111735]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-tgl-guc/igt@gem_ctx_create@basic-files.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-tgl-guc/igt@gem_ctx_create@basic-files.html * igt@gem_exec_suspend@basic-s4-devices: - fi-icl-guc: [INCOMPLETE][9] ([i915#140] / [i915#184]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-icl-guc/igt@gem_exec_suspend@basic-s4-devices.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-icl-guc/igt@gem_exec_suspend@basic-s4-devices.html * igt@i915_pm_rpm@module-reload: - fi-skl-6770hq: [FAIL][11] ([i915#178]) -> [PASS][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-skl-6770hq/igt@i915_pm_rpm@module-reload.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-skl-6770hq/igt@i915_pm_rpm@module-reload.html * igt@i915_selftest@live_blt: - fi-byt-j1900: [DMESG-FAIL][13] ([i915#725]) -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-byt-j1900/igt@i915_selftest@live_blt.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-byt-j1900/igt@i915_selftest@live_blt.html - fi-hsw-4770: [DMESG-FAIL][15] -> [PASS][16] [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-hsw-4770/igt@i915_selftest@live_blt.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-hsw-4770/igt@i915_selftest@live_blt.html #### Warnings #### * igt@i915_selftest@live_blt: - fi-ivb-3770: [DMESG-FAIL][17] -> [DMESG-FAIL][18] ([i915#725]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-ivb-3770/igt@i915_selftest@live_blt.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-ivb-3770/igt@i915_selftest@live_blt.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy: - fi-kbl-x1275: [DMESG-WARN][19] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][20] ([i915#62] / [i915#92]) +4 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-kbl-x1275/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-kbl-x1275/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html * igt@kms_cursor_legacy@basic-flip-after-cursor-legacy: - fi-kbl-x1275: [DMESG-WARN][21] ([i915#62] / [i915#92]) -> [DMESG-WARN][22] ([i915#62] / [i915#92] / [i915#95]) +3 similar issues [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096 [fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735 [i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140 [i915#178]: https://gitlab.freedesktop.org/drm/intel/issues/178 [i915#184]: https://gitlab.freedesktop.org/drm/intel/issues/184 [i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323 [i915#476]: https://gitlab.freedesktop.org/drm/intel/issues/476 [i915#553]: https://gitlab.freedesktop.org/drm/intel/issues/553 [i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62 [i915#722]: https://gitlab.freedesktop.org/drm/intel/issues/722 [i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725 [i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92 [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95 Participating hosts (50 -> 48) ------------------------------ Additional (2): fi-kbl-7560u fi-kbl-guc Missing (4): fi-ctg-p8600 fi-byt-clapper fi-ilk-m540 fi-bsw-cyan Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5341 -> IGTPW_3832 CI-20190529: 20190529 CI_DRM_7521: 9203f67985ebf27211aa1eabb77093302248c9fc @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3832: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html IGT_5341: 5fe683cdebde2d77d16ffc42c9fdf29a9f95bb82 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/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.BAT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev3) 2019-12-09 13:19 [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Juha-Pekka Heikkila 2019-12-09 17:22 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork @ 2019-12-09 19:08 ` Patchwork 2019-12-10 0:43 ` [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork 2019-12-10 11:53 ` [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Kahola, Mika 3 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2019-12-09 19:08 UTC (permalink / raw) To: Juha-Pekka Heikkila; +Cc: igt-dev == Series Details == Series: tests/kms_cursor_crc: Fix user space read too slow error (rev3) URL : https://patchwork.freedesktop.org/series/70218/ State : failure == Summary == CI Bug Log - changes from CI_DRM_7521 -> IGTPW_3835 ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_3835 absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_3835, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_3835: ### IGT changes ### #### Possible regressions #### * igt@i915_selftest@live_execlists: - fi-cfl-guc: [PASS][1] -> [DMESG-FAIL][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-cfl-guc/igt@i915_selftest@live_execlists.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-cfl-guc/igt@i915_selftest@live_execlists.html Known issues ------------ Here are the changes found in IGTPW_3835 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@i915_selftest@live_gem_contexts: - fi-byt-j1900: [PASS][3] -> [DMESG-FAIL][4] ([i915#722]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-byt-j1900/igt@i915_selftest@live_gem_contexts.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-byt-j1900/igt@i915_selftest@live_gem_contexts.html - fi-hsw-peppy: [PASS][5] -> [INCOMPLETE][6] ([i915#694]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-hsw-peppy/igt@i915_selftest@live_gem_contexts.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-hsw-peppy/igt@i915_selftest@live_gem_contexts.html #### Possible fixes #### * igt@gem_ctx_create@basic-files: - {fi-tgl-guc}: [INCOMPLETE][7] ([fdo#111735]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-tgl-guc/igt@gem_ctx_create@basic-files.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-tgl-guc/igt@gem_ctx_create@basic-files.html * igt@gem_exec_suspend@basic-s4-devices: - fi-icl-guc: [INCOMPLETE][9] ([i915#140] / [i915#184]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-icl-guc/igt@gem_exec_suspend@basic-s4-devices.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-icl-guc/igt@gem_exec_suspend@basic-s4-devices.html * igt@i915_pm_rpm@module-reload: - fi-skl-6770hq: [FAIL][11] ([i915#178]) -> [PASS][12] [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-skl-6770hq/igt@i915_pm_rpm@module-reload.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-skl-6770hq/igt@i915_pm_rpm@module-reload.html * igt@i915_selftest@live_blt: - fi-ivb-3770: [DMESG-FAIL][13] -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-ivb-3770/igt@i915_selftest@live_blt.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-ivb-3770/igt@i915_selftest@live_blt.html - fi-byt-j1900: [DMESG-FAIL][15] ([i915#725]) -> [PASS][16] [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-byt-j1900/igt@i915_selftest@live_blt.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-byt-j1900/igt@i915_selftest@live_blt.html #### Warnings #### * igt@gem_exec_suspend@basic-s4-devices: - fi-kbl-x1275: [DMESG-WARN][17] ([fdo#107139] / [i915#62] / [i915#92]) -> [DMESG-WARN][18] ([fdo#107139] / [i915#62] / [i915#92] / [i915#95]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-kbl-x1275/igt@gem_exec_suspend@basic-s4-devices.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-kbl-x1275/igt@gem_exec_suspend@basic-s4-devices.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy: - fi-kbl-x1275: [DMESG-WARN][19] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][20] ([i915#62] / [i915#92]) +9 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-kbl-x1275/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-kbl-x1275/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html * igt@kms_cursor_legacy@basic-flip-after-cursor-legacy: - fi-kbl-x1275: [DMESG-WARN][21] ([i915#62] / [i915#92]) -> [DMESG-WARN][22] ([i915#62] / [i915#92] / [i915#95]) +2 similar issues [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139 [fdo#111593]: https://bugs.freedesktop.org/show_bug.cgi?id=111593 [fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735 [i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140 [i915#178]: https://gitlab.freedesktop.org/drm/intel/issues/178 [i915#184]: https://gitlab.freedesktop.org/drm/intel/issues/184 [i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62 [i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694 [i915#722]: https://gitlab.freedesktop.org/drm/intel/issues/722 [i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725 [i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92 [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95 Participating hosts (50 -> 47) ------------------------------ Additional (1): fi-kbl-guc Missing (4): fi-ctg-p8600 fi-byt-clapper fi-ilk-m540 fi-bsw-cyan Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5341 -> IGTPW_3835 CI-20190529: 20190529 CI_DRM_7521: 9203f67985ebf27211aa1eabb77093302248c9fc @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3835: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/index.html IGT_5341: 5fe683cdebde2d77d16ffc42c9fdf29a9f95bb82 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3835/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: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) 2019-12-09 13:19 [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Juha-Pekka Heikkila 2019-12-09 17:22 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork 2019-12-09 19:08 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev3) Patchwork @ 2019-12-10 0:43 ` Patchwork 2019-12-10 8:43 ` Lisovskiy, Stanislav 2019-12-10 11:53 ` [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Kahola, Mika 3 siblings, 1 reply; 9+ messages in thread From: Patchwork @ 2019-12-10 0:43 UTC (permalink / raw) To: Juha-Pekka Heikkila; +Cc: igt-dev == Series Details == Series: tests/kms_cursor_crc: Fix user space read too slow error (rev2) URL : https://patchwork.freedesktop.org/series/70218/ State : failure == Summary == CI Bug Log - changes from CI_DRM_7521_full -> IGTPW_3832_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_3832_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_3832_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_3832_full: ### IGT changes ### #### Possible regressions #### * igt@perf@gen8-unprivileged-single-ctx-counters: - shard-tglb: NOTRUN -> [SKIP][1] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@perf@gen8-unprivileged-single-ctx-counters.html #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * {igt@gem_render_copy@y-tiled-to-vebox-yf-tiled}: - shard-iclb: NOTRUN -> [SKIP][2] [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_render_copy@y-tiled-to-vebox-yf-tiled.html Known issues ------------ Here are the changes found in IGTPW_3832_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_shared@exec-single-timeline-bsd: - shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110841]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb3/igt@gem_ctx_shared@exec-single-timeline-bsd.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_ctx_shared@exec-single-timeline-bsd.html * igt@gem_ctx_shared@q-smoketest-bsd: - shard-tglb: [PASS][5] -> [INCOMPLETE][6] ([i915#461]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb8/igt@gem_ctx_shared@q-smoketest-bsd.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb9/igt@gem_ctx_shared@q-smoketest-bsd.html * igt@gem_ctx_shared@q-smoketest-bsd2: - shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#109276]) +3 similar issues [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@gem_ctx_shared@q-smoketest-bsd2.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb3/igt@gem_ctx_shared@q-smoketest-bsd2.html * igt@gem_persistent_relocs@forked-interruptible-thrashing: - shard-tglb: [PASS][9] -> [TIMEOUT][10] ([fdo#112126] / [i915#530]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb5/igt@gem_persistent_relocs@forked-interruptible-thrashing.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb7/igt@gem_persistent_relocs@forked-interruptible-thrashing.html * igt@gem_sync@basic-all: - shard-tglb: [PASS][11] -> [INCOMPLETE][12] ([i915#470] / [i915#472]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb2/igt@gem_sync@basic-all.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb6/igt@gem_sync@basic-all.html * igt@gem_userptr_blits@sync-unmap: - shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb2/igt@gem_userptr_blits@sync-unmap.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb7/igt@gem_userptr_blits@sync-unmap.html * igt@i915_pm_dc@dc6-dpms: - shard-iclb: [PASS][15] -> [INCOMPLETE][16] ([i915#140]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb8/igt@i915_pm_dc@dc6-dpms.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb2/igt@i915_pm_dc@dc6-dpms.html * igt@i915_selftest@live_requests: - shard-tglb: [PASS][17] -> [INCOMPLETE][18] ([fdo#112057]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@i915_selftest@live_requests.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb5/igt@i915_selftest@live_requests.html * igt@kms_cursor_crc@pipe-a-cursor-suspend: - shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +4 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl3/igt@kms_cursor_crc@pipe-a-cursor-suspend.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-suspend.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt: - shard-kbl: [PASS][21] -> [INCOMPLETE][22] ([fdo#103665]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render: - shard-glk: [PASS][23] -> [FAIL][24] ([i915#49]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-glk5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-glk2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render.html * igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu: - shard-snb: [PASS][25] -> [SKIP][26] ([fdo#109271]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb4/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb4/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@fbc-tilingchange: - shard-apl: [PASS][27] -> [FAIL][28] ([i915#49]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl4/igt@kms_frontbuffer_tracking@fbc-tilingchange.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl3/igt@kms_frontbuffer_tracking@fbc-tilingchange.html - shard-kbl: [PASS][29] -> [FAIL][30] ([i915#49]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-tilingchange.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-tilingchange.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite: - shard-tglb: [PASS][31] -> [INCOMPLETE][32] ([i915#435] / [i915#474] / [i915#667]) [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite.html * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c: - shard-apl: [PASS][33] -> [DMESG-WARN][34] ([i915#180]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl7/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html * igt@kms_psr2_su@page_flip: - shard-iclb: [PASS][35] -> [SKIP][36] ([fdo#109642] / [fdo#111068]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@kms_psr2_su@page_flip.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb6/igt@kms_psr2_su@page_flip.html * igt@kms_psr@psr2_no_drrs: - shard-iclb: [PASS][37] -> [SKIP][38] ([fdo#109441]) +1 similar issue [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@kms_psr@psr2_no_drrs.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@kms_psr@psr2_no_drrs.html * igt@kms_psr@psr2_suspend: - shard-tglb: [PASS][39] -> [INCOMPLETE][40] ([i915#456] / [i915#460]) +1 similar issue [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb9/igt@kms_psr@psr2_suspend.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb8/igt@kms_psr@psr2_suspend.html * igt@kms_universal_plane@universal-plane-pipe-a-functional: - shard-kbl: [PASS][41] -> [FAIL][42] ([i915#331]) +1 similar issue [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-a-functional.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-a-functional.html * igt@kms_universal_plane@universal-plane-pipe-c-functional: - shard-apl: [PASS][43] -> [FAIL][44] ([i915#331]) [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl1/igt@kms_universal_plane@universal-plane-pipe-c-functional.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_universal_plane@universal-plane-pipe-c-functional.html * igt@perf_pmu@busy-no-semaphores-vcs1: - shard-iclb: [PASS][45] -> [SKIP][46] ([fdo#112080]) [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@perf_pmu@busy-no-semaphores-vcs1.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@perf_pmu@busy-no-semaphores-vcs1.html #### Possible fixes #### * igt@gem_ctx_persistence@vcs1-queued: - shard-iclb: [SKIP][47] ([fdo#109276] / [fdo#112080]) -> [PASS][48] +1 similar issue [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb8/igt@gem_ctx_persistence@vcs1-queued.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_ctx_persistence@vcs1-queued.html * igt@gem_ctx_shared@q-smoketest-bsd1: - shard-tglb: [INCOMPLETE][49] ([fdo#111735]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb9/igt@gem_ctx_shared@q-smoketest-bsd1.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@gem_ctx_shared@q-smoketest-bsd1.html * igt@gem_exec_parallel@fds: - shard-tglb: [INCOMPLETE][51] ([i915#470]) -> [PASS][52] [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb6/igt@gem_exec_parallel@fds.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb3/igt@gem_exec_parallel@fds.html * igt@gem_exec_schedule@fifo-bsd: - shard-iclb: [SKIP][53] ([fdo#112146]) -> [PASS][54] [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@gem_exec_schedule@fifo-bsd.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@gem_exec_schedule@fifo-bsd.html * igt@gem_exec_schedule@preempt-queue-bsd1: - shard-iclb: [SKIP][55] ([fdo#109276]) -> [PASS][56] +6 similar issues [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb6/igt@gem_exec_schedule@preempt-queue-bsd1.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_exec_schedule@preempt-queue-bsd1.html * igt@gem_ppgtt@flink-and-close-vma-leak: - shard-apl: [FAIL][57] ([i915#644]) -> [PASS][58] [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl2/igt@gem_ppgtt@flink-and-close-vma-leak.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl8/igt@gem_ppgtt@flink-and-close-vma-leak.html * igt@gem_sync@basic-store-each: - shard-tglb: [INCOMPLETE][59] ([i915#435] / [i915#472]) -> [PASS][60] [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb6/igt@gem_sync@basic-store-each.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@gem_sync@basic-store-each.html * igt@gem_userptr_blits@map-fixed-invalidate-busy: - shard-snb: [DMESG-WARN][61] ([fdo#111870]) -> [PASS][62] +2 similar issues [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-busy.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb7/igt@gem_userptr_blits@map-fixed-invalidate-busy.html * igt@gem_workarounds@suspend-resume-fd: - shard-kbl: [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +5 similar issues [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@gem_workarounds@suspend-resume-fd.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@gem_workarounds@suspend-resume-fd.html * igt@i915_selftest@mock_sanitycheck: - shard-kbl: [DMESG-WARN][65] ([i915#747]) -> [PASS][66] [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl1/igt@i915_selftest@mock_sanitycheck.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@i915_selftest@mock_sanitycheck.html * igt@kms_cursor_crc@pipe-c-cursor-64x21-random: - shard-kbl: [FAIL][67] ([i915#54]) -> [PASS][68] [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl6/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html - shard-apl: [FAIL][69] ([i915#54]) -> [PASS][70] [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl4/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl6/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html * igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy: - shard-glk: [FAIL][71] ([i915#72]) -> [PASS][72] [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-glk3/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-glk2/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html * igt@kms_flip@flip-vs-suspend-interruptible: - shard-apl: [DMESG-WARN][73] ([i915#180]) -> [PASS][74] +1 similar issue [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl8/igt@kms_flip@flip-vs-suspend-interruptible.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_flip@flip-vs-suspend-interruptible.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff: - shard-tglb: [FAIL][75] ([i915#49]) -> [PASS][76] +1 similar issue [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff.html * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b: - shard-tglb: [INCOMPLETE][77] ([i915#456] / [i915#460]) -> [PASS][78] +1 similar issue [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b.html * igt@kms_plane@pixel-format-pipe-a-planes-source-clamping: - shard-kbl: [INCOMPLETE][79] ([fdo#103665]) -> [PASS][80] [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl4/igt@kms_plane@pixel-format-pipe-a-planes-source-clamping.html [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl6/igt@kms_plane@pixel-format-pipe-a-planes-source-clamping.html * igt@kms_psr2_su@frontbuffer: - shard-tglb: [FAIL][81] ([fdo#111842]) -> [PASS][82] [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb8/igt@kms_psr2_su@frontbuffer.html [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb2/igt@kms_psr2_su@frontbuffer.html * igt@kms_vblank@pipe-d-ts-continuation-suspend: - shard-tglb: [INCOMPLETE][83] ([i915#460]) -> [PASS][84] [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@kms_vblank@pipe-d-ts-continuation-suspend.html [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_vblank@pipe-d-ts-continuation-suspend.html * igt@perf_pmu@init-sema-vcs1: - shard-iclb: [SKIP][85] ([fdo#112080]) -> [PASS][86] +1 similar issue [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb6/igt@perf_pmu@init-sema-vcs1.html [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@perf_pmu@init-sema-vcs1.html #### Warnings #### * igt@gem_userptr_blits@sync-unmap-cycles: - shard-snb: [DMESG-WARN][87] ([fdo#111870]) -> [DMESG-WARN][88] ([fdo#110789] / [fdo#111870]) [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb6/igt@gem_userptr_blits@sync-unmap-cycles.html [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb1/igt@gem_userptr_blits@sync-unmap-cycles.html * igt@kms_content_protection@lic: - shard-kbl: [INCOMPLETE][89] ([fdo#103665]) -> [FAIL][90] ([fdo#110321]) [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl7/igt@kms_content_protection@lic.html [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl1/igt@kms_content_protection@lic.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 [fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321 [fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789 [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735 [fdo#111842]: https://bugs.freedesktop.org/show_bug.cgi?id=111842 [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870 [fdo#112057]: https://bugs.freedesktop.org/show_bug.cgi?id=112057 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [fdo#112126]: https://bugs.freedesktop.org/show_bug.cgi?id=112126 [fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146 [i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#331]: https://gitlab.freedesktop.org/drm/intel/issues/331 [i915#435]: https://gitlab.freedesktop.org/drm/intel/issues/435 [i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456 [i915#460]: https://gitlab.freedesktop.org/drm/intel/issues/460 [i915#461]: https://gitlab.freedesktop.org/drm/intel/issues/461 [i915#470]: https://gitlab.freedesktop.org/drm/intel/issues/470 [i915#472]: https://gitlab.freedesktop.org/drm/intel/issues/472 [i915#474]: https://gitlab.freedesktop.org/drm/intel/issues/474 [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49 [i915#530]: https://gitlab.freedesktop.org/drm/intel/issues/530 [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 [i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644 [i915#667]: https://gitlab.freedesktop.org/drm/intel/issues/667 [i915#669]: https://gitlab.freedesktop.org/drm/intel/issues/669 [i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72 [i915#747]: https://gitlab.freedesktop.org/drm/intel/issues/747 Participating hosts (11 -> 8) ------------------------------ Missing (3): pig-skl-6260u pig-glk-j5005 pig-hsw-4770r Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5341 -> IGTPW_3832 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_7521: 9203f67985ebf27211aa1eabb77093302248c9fc @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3832: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html IGT_5341: 5fe683cdebde2d77d16ffc42c9fdf29a9f95bb82 @ 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_3832/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
* Re: [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) 2019-12-10 0:43 ` [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork @ 2019-12-10 8:43 ` Lisovskiy, Stanislav 2019-12-10 9:29 ` Martin Peres 0 siblings, 1 reply; 9+ messages in thread From: Lisovskiy, Stanislav @ 2019-12-10 8:43 UTC (permalink / raw) To: igt-dev@lists.freedesktop.org, Juha-Pekka Heikkila Cc: Peres, Martin, Vudum, Lakshminarayana >### IGT changes ### >#### Possible regressions #### >* igt@perf@gen8-unprivileged-single-ctx-counters: > - shard-tglb: NOTRUN -> [SKIP][1] > [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@perf@gen8-unprivileged-single-ctx-counters.html Same here. There seems to be a huge white noise coming from gem/perf/selftests, which makes this "possible regression" thing occur almost on every patch nowadays. Best Regards, Lisovskiy Stanislav Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo ________________________________________ From: igt-dev [igt-dev-bounces@lists.freedesktop.org] on behalf of Patchwork [patchwork@emeril.freedesktop.org] Sent: Tuesday, December 10, 2019 2:43 AM To: Juha-Pekka Heikkila Cc: igt-dev@lists.freedesktop.org Subject: [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) == Series Details == Series: tests/kms_cursor_crc: Fix user space read too slow error (rev2) URL : https://patchwork.freedesktop.org/series/70218/ State : failure == Summary == CI Bug Log - changes from CI_DRM_7521_full -> IGTPW_3832_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_3832_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_3832_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_3832_full: ### IGT changes ### #### Possible regressions #### * igt@perf@gen8-unprivileged-single-ctx-counters: - shard-tglb: NOTRUN -> [SKIP][1] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@perf@gen8-unprivileged-single-ctx-counters.html #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * {igt@gem_render_copy@y-tiled-to-vebox-yf-tiled}: - shard-iclb: NOTRUN -> [SKIP][2] [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_render_copy@y-tiled-to-vebox-yf-tiled.html Known issues ------------ Here are the changes found in IGTPW_3832_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_shared@exec-single-timeline-bsd: - shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110841]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb3/igt@gem_ctx_shared@exec-single-timeline-bsd.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_ctx_shared@exec-single-timeline-bsd.html * igt@gem_ctx_shared@q-smoketest-bsd: - shard-tglb: [PASS][5] -> [INCOMPLETE][6] ([i915#461]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb8/igt@gem_ctx_shared@q-smoketest-bsd.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb9/igt@gem_ctx_shared@q-smoketest-bsd.html * igt@gem_ctx_shared@q-smoketest-bsd2: - shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#109276]) +3 similar issues [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@gem_ctx_shared@q-smoketest-bsd2.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb3/igt@gem_ctx_shared@q-smoketest-bsd2.html * igt@gem_persistent_relocs@forked-interruptible-thrashing: - shard-tglb: [PASS][9] -> [TIMEOUT][10] ([fdo#112126] / [i915#530]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb5/igt@gem_persistent_relocs@forked-interruptible-thrashing.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb7/igt@gem_persistent_relocs@forked-interruptible-thrashing.html * igt@gem_sync@basic-all: - shard-tglb: [PASS][11] -> [INCOMPLETE][12] ([i915#470] / [i915#472]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb2/igt@gem_sync@basic-all.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb6/igt@gem_sync@basic-all.html * igt@gem_userptr_blits@sync-unmap: - shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb2/igt@gem_userptr_blits@sync-unmap.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb7/igt@gem_userptr_blits@sync-unmap.html * igt@i915_pm_dc@dc6-dpms: - shard-iclb: [PASS][15] -> [INCOMPLETE][16] ([i915#140]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb8/igt@i915_pm_dc@dc6-dpms.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb2/igt@i915_pm_dc@dc6-dpms.html * igt@i915_selftest@live_requests: - shard-tglb: [PASS][17] -> [INCOMPLETE][18] ([fdo#112057]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@i915_selftest@live_requests.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb5/igt@i915_selftest@live_requests.html * igt@kms_cursor_crc@pipe-a-cursor-suspend: - shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +4 similar issues [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl3/igt@kms_cursor_crc@pipe-a-cursor-suspend.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-suspend.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt: - shard-kbl: [PASS][21] -> [INCOMPLETE][22] ([fdo#103665]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render: - shard-glk: [PASS][23] -> [FAIL][24] ([i915#49]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-glk5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-glk2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render.html * igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu: - shard-snb: [PASS][25] -> [SKIP][26] ([fdo#109271]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb4/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb4/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@fbc-tilingchange: - shard-apl: [PASS][27] -> [FAIL][28] ([i915#49]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl4/igt@kms_frontbuffer_tracking@fbc-tilingchange.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl3/igt@kms_frontbuffer_tracking@fbc-tilingchange.html - shard-kbl: [PASS][29] -> [FAIL][30] ([i915#49]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-tilingchange.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-tilingchange.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite: - shard-tglb: [PASS][31] -> [INCOMPLETE][32] ([i915#435] / [i915#474] / [i915#667]) [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite.html * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c: - shard-apl: [PASS][33] -> [DMESG-WARN][34] ([i915#180]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl7/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html * igt@kms_psr2_su@page_flip: - shard-iclb: [PASS][35] -> [SKIP][36] ([fdo#109642] / [fdo#111068]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@kms_psr2_su@page_flip.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb6/igt@kms_psr2_su@page_flip.html * igt@kms_psr@psr2_no_drrs: - shard-iclb: [PASS][37] -> [SKIP][38] ([fdo#109441]) +1 similar issue [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@kms_psr@psr2_no_drrs.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@kms_psr@psr2_no_drrs.html * igt@kms_psr@psr2_suspend: - shard-tglb: [PASS][39] -> [INCOMPLETE][40] ([i915#456] / [i915#460]) +1 similar issue [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb9/igt@kms_psr@psr2_suspend.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb8/igt@kms_psr@psr2_suspend.html * igt@kms_universal_plane@universal-plane-pipe-a-functional: - shard-kbl: [PASS][41] -> [FAIL][42] ([i915#331]) +1 similar issue [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-a-functional.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-a-functional.html * igt@kms_universal_plane@universal-plane-pipe-c-functional: - shard-apl: [PASS][43] -> [FAIL][44] ([i915#331]) [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl1/igt@kms_universal_plane@universal-plane-pipe-c-functional.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_universal_plane@universal-plane-pipe-c-functional.html * igt@perf_pmu@busy-no-semaphores-vcs1: - shard-iclb: [PASS][45] -> [SKIP][46] ([fdo#112080]) [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@perf_pmu@busy-no-semaphores-vcs1.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@perf_pmu@busy-no-semaphores-vcs1.html #### Possible fixes #### * igt@gem_ctx_persistence@vcs1-queued: - shard-iclb: [SKIP][47] ([fdo#109276] / [fdo#112080]) -> [PASS][48] +1 similar issue [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb8/igt@gem_ctx_persistence@vcs1-queued.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_ctx_persistence@vcs1-queued.html * igt@gem_ctx_shared@q-smoketest-bsd1: - shard-tglb: [INCOMPLETE][49] ([fdo#111735]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb9/igt@gem_ctx_shared@q-smoketest-bsd1.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@gem_ctx_shared@q-smoketest-bsd1.html * igt@gem_exec_parallel@fds: - shard-tglb: [INCOMPLETE][51] ([i915#470]) -> [PASS][52] [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb6/igt@gem_exec_parallel@fds.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb3/igt@gem_exec_parallel@fds.html * igt@gem_exec_schedule@fifo-bsd: - shard-iclb: [SKIP][53] ([fdo#112146]) -> [PASS][54] [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@gem_exec_schedule@fifo-bsd.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@gem_exec_schedule@fifo-bsd.html * igt@gem_exec_schedule@preempt-queue-bsd1: - shard-iclb: [SKIP][55] ([fdo#109276]) -> [PASS][56] +6 similar issues [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb6/igt@gem_exec_schedule@preempt-queue-bsd1.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_exec_schedule@preempt-queue-bsd1.html * igt@gem_ppgtt@flink-and-close-vma-leak: - shard-apl: [FAIL][57] ([i915#644]) -> [PASS][58] [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl2/igt@gem_ppgtt@flink-and-close-vma-leak.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl8/igt@gem_ppgtt@flink-and-close-vma-leak.html * igt@gem_sync@basic-store-each: - shard-tglb: [INCOMPLETE][59] ([i915#435] / [i915#472]) -> [PASS][60] [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb6/igt@gem_sync@basic-store-each.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@gem_sync@basic-store-each.html * igt@gem_userptr_blits@map-fixed-invalidate-busy: - shard-snb: [DMESG-WARN][61] ([fdo#111870]) -> [PASS][62] +2 similar issues [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-busy.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb7/igt@gem_userptr_blits@map-fixed-invalidate-busy.html * igt@gem_workarounds@suspend-resume-fd: - shard-kbl: [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +5 similar issues [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@gem_workarounds@suspend-resume-fd.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@gem_workarounds@suspend-resume-fd.html * igt@i915_selftest@mock_sanitycheck: - shard-kbl: [DMESG-WARN][65] ([i915#747]) -> [PASS][66] [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl1/igt@i915_selftest@mock_sanitycheck.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@i915_selftest@mock_sanitycheck.html * igt@kms_cursor_crc@pipe-c-cursor-64x21-random: - shard-kbl: [FAIL][67] ([i915#54]) -> [PASS][68] [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl6/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html - shard-apl: [FAIL][69] ([i915#54]) -> [PASS][70] [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl4/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl6/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html * igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy: - shard-glk: [FAIL][71] ([i915#72]) -> [PASS][72] [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-glk3/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-glk2/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html * igt@kms_flip@flip-vs-suspend-interruptible: - shard-apl: [DMESG-WARN][73] ([i915#180]) -> [PASS][74] +1 similar issue [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl8/igt@kms_flip@flip-vs-suspend-interruptible.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_flip@flip-vs-suspend-interruptible.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff: - shard-tglb: [FAIL][75] ([i915#49]) -> [PASS][76] +1 similar issue [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff.html * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b: - shard-tglb: [INCOMPLETE][77] ([i915#456] / [i915#460]) -> [PASS][78] +1 similar issue [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b.html * igt@kms_plane@pixel-format-pipe-a-planes-source-clamping: - shard-kbl: [INCOMPLETE][79] ([fdo#103665]) -> [PASS][80] [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl4/igt@kms_plane@pixel-format-pipe-a-planes-source-clamping.html [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl6/igt@kms_plane@pixel-format-pipe-a-planes-source-clamping.html * igt@kms_psr2_su@frontbuffer: - shard-tglb: [FAIL][81] ([fdo#111842]) -> [PASS][82] [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb8/igt@kms_psr2_su@frontbuffer.html [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb2/igt@kms_psr2_su@frontbuffer.html * igt@kms_vblank@pipe-d-ts-continuation-suspend: - shard-tglb: [INCOMPLETE][83] ([i915#460]) -> [PASS][84] [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@kms_vblank@pipe-d-ts-continuation-suspend.html [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_vblank@pipe-d-ts-continuation-suspend.html * igt@perf_pmu@init-sema-vcs1: - shard-iclb: [SKIP][85] ([fdo#112080]) -> [PASS][86] +1 similar issue [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb6/igt@perf_pmu@init-sema-vcs1.html [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@perf_pmu@init-sema-vcs1.html #### Warnings #### * igt@gem_userptr_blits@sync-unmap-cycles: - shard-snb: [DMESG-WARN][87] ([fdo#111870]) -> [DMESG-WARN][88] ([fdo#110789] / [fdo#111870]) [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb6/igt@gem_userptr_blits@sync-unmap-cycles.html [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb1/igt@gem_userptr_blits@sync-unmap-cycles.html * igt@kms_content_protection@lic: - shard-kbl: [INCOMPLETE][89] ([fdo#103665]) -> [FAIL][90] ([fdo#110321]) [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl7/igt@kms_content_protection@lic.html [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl1/igt@kms_content_protection@lic.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 [fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321 [fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789 [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735 [fdo#111842]: https://bugs.freedesktop.org/show_bug.cgi?id=111842 [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870 [fdo#112057]: https://bugs.freedesktop.org/show_bug.cgi?id=112057 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [fdo#112126]: https://bugs.freedesktop.org/show_bug.cgi?id=112126 [fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146 [i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#331]: https://gitlab.freedesktop.org/drm/intel/issues/331 [i915#435]: https://gitlab.freedesktop.org/drm/intel/issues/435 [i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456 [i915#460]: https://gitlab.freedesktop.org/drm/intel/issues/460 [i915#461]: https://gitlab.freedesktop.org/drm/intel/issues/461 [i915#470]: https://gitlab.freedesktop.org/drm/intel/issues/470 [i915#472]: https://gitlab.freedesktop.org/drm/intel/issues/472 [i915#474]: https://gitlab.freedesktop.org/drm/intel/issues/474 [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49 [i915#530]: https://gitlab.freedesktop.org/drm/intel/issues/530 [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 [i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644 [i915#667]: https://gitlab.freedesktop.org/drm/intel/issues/667 [i915#669]: https://gitlab.freedesktop.org/drm/intel/issues/669 [i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72 [i915#747]: https://gitlab.freedesktop.org/drm/intel/issues/747 Participating hosts (11 -> 8) ------------------------------ Missing (3): pig-skl-6260u pig-glk-j5005 pig-hsw-4770r Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5341 -> IGTPW_3832 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_7521: 9203f67985ebf27211aa1eabb77093302248c9fc @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3832: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html IGT_5341: 5fe683cdebde2d77d16ffc42c9fdf29a9f95bb82 @ 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_3832/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev _______________________________________________ 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
* Re: [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) 2019-12-10 8:43 ` Lisovskiy, Stanislav @ 2019-12-10 9:29 ` Martin Peres 0 siblings, 0 replies; 9+ messages in thread From: Martin Peres @ 2019-12-10 9:29 UTC (permalink / raw) To: Lisovskiy, Stanislav, igt-dev@lists.freedesktop.org, Juha-Pekka Heikkila Cc: Vudum, Lakshminarayana On 10/12/2019 10:43, Lisovskiy, Stanislav wrote: >> ### IGT changes ### > >> #### Possible regressions #### > >> * igt@perf@gen8-unprivileged-single-ctx-counters: >> - shard-tglb: NOTRUN -> [SKIP][1] >> [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@perf@gen8-unprivileged-single-ctx-counters.html > > Same here. There seems to be a huge white noise coming from gem/perf/selftests, which makes this "possible > regression" thing occur almost on every patch nowadays. Thanks, I filed the bugs and re-reported the run. I will go through the others you sent me and we'll re-report what we can. Sorry about this... Martin > > > Best Regards, > > Lisovskiy Stanislav > > Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo > > ________________________________________ > From: igt-dev [igt-dev-bounces@lists.freedesktop.org] on behalf of Patchwork [patchwork@emeril.freedesktop.org] > Sent: Tuesday, December 10, 2019 2:43 AM > To: Juha-Pekka Heikkila > Cc: igt-dev@lists.freedesktop.org > Subject: [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) > > == Series Details == > > Series: tests/kms_cursor_crc: Fix user space read too slow error (rev2) > URL : https://patchwork.freedesktop.org/series/70218/ > State : failure > > == Summary == > > CI Bug Log - changes from CI_DRM_7521_full -> IGTPW_3832_full > ==================================================== > > Summary > ------- > > **FAILURE** > > Serious unknown changes coming with IGTPW_3832_full absolutely need to be > verified manually. > > If you think the reported changes have nothing to do with the changes > introduced in IGTPW_3832_full, please notify your bug team to allow them > to document this new failure mode, which will reduce false positives in CI. > > External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html > > Possible new issues > ------------------- > > Here are the unknown changes that may have been introduced in IGTPW_3832_full: > > ### IGT changes ### > > #### Possible regressions #### > > * igt@perf@gen8-unprivileged-single-ctx-counters: > - shard-tglb: NOTRUN -> [SKIP][1] > [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@perf@gen8-unprivileged-single-ctx-counters.html > > > #### Suppressed #### > > The following results come from untrusted machines, tests, or statuses. > They do not affect the overall result. > > * {igt@gem_render_copy@y-tiled-to-vebox-yf-tiled}: > - shard-iclb: NOTRUN -> [SKIP][2] > [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_render_copy@y-tiled-to-vebox-yf-tiled.html > > > Known issues > ------------ > > Here are the changes found in IGTPW_3832_full that come from known issues: > > ### IGT changes ### > > #### Issues hit #### > > * igt@gem_ctx_shared@exec-single-timeline-bsd: > - shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110841]) > [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb3/igt@gem_ctx_shared@exec-single-timeline-bsd.html > [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_ctx_shared@exec-single-timeline-bsd.html > > * igt@gem_ctx_shared@q-smoketest-bsd: > - shard-tglb: [PASS][5] -> [INCOMPLETE][6] ([i915#461]) > [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb8/igt@gem_ctx_shared@q-smoketest-bsd.html > [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb9/igt@gem_ctx_shared@q-smoketest-bsd.html > > * igt@gem_ctx_shared@q-smoketest-bsd2: > - shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#109276]) +3 similar issues > [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@gem_ctx_shared@q-smoketest-bsd2.html > [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb3/igt@gem_ctx_shared@q-smoketest-bsd2.html > > * igt@gem_persistent_relocs@forked-interruptible-thrashing: > - shard-tglb: [PASS][9] -> [TIMEOUT][10] ([fdo#112126] / [i915#530]) > [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb5/igt@gem_persistent_relocs@forked-interruptible-thrashing.html > [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb7/igt@gem_persistent_relocs@forked-interruptible-thrashing.html > > * igt@gem_sync@basic-all: > - shard-tglb: [PASS][11] -> [INCOMPLETE][12] ([i915#470] / [i915#472]) > [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb2/igt@gem_sync@basic-all.html > [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb6/igt@gem_sync@basic-all.html > > * igt@gem_userptr_blits@sync-unmap: > - shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870]) > [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb2/igt@gem_userptr_blits@sync-unmap.html > [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb7/igt@gem_userptr_blits@sync-unmap.html > > * igt@i915_pm_dc@dc6-dpms: > - shard-iclb: [PASS][15] -> [INCOMPLETE][16] ([i915#140]) > [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb8/igt@i915_pm_dc@dc6-dpms.html > [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb2/igt@i915_pm_dc@dc6-dpms.html > > * igt@i915_selftest@live_requests: > - shard-tglb: [PASS][17] -> [INCOMPLETE][18] ([fdo#112057]) > [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@i915_selftest@live_requests.html > [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb5/igt@i915_selftest@live_requests.html > > * igt@kms_cursor_crc@pipe-a-cursor-suspend: > - shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +4 similar issues > [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl3/igt@kms_cursor_crc@pipe-a-cursor-suspend.html > [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-suspend.html > > * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt: > - shard-kbl: [PASS][21] -> [INCOMPLETE][22] ([fdo#103665]) > [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html > [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-mmap-gtt.html > > * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render: > - shard-glk: [PASS][23] -> [FAIL][24] ([i915#49]) > [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-glk5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render.html > [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-glk2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render.html > > * igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu: > - shard-snb: [PASS][25] -> [SKIP][26] ([fdo#109271]) > [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb4/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu.html > [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb4/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-cpu.html > > * igt@kms_frontbuffer_tracking@fbc-tilingchange: > - shard-apl: [PASS][27] -> [FAIL][28] ([i915#49]) > [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl4/igt@kms_frontbuffer_tracking@fbc-tilingchange.html > [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl3/igt@kms_frontbuffer_tracking@fbc-tilingchange.html > - shard-kbl: [PASS][29] -> [FAIL][30] ([i915#49]) > [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-tilingchange.html > [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-tilingchange.html > > * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite: > - shard-tglb: [PASS][31] -> [INCOMPLETE][32] ([i915#435] / [i915#474] / [i915#667]) > [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite.html > [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-pwrite.html > > * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c: > - shard-apl: [PASS][33] -> [DMESG-WARN][34] ([i915#180]) > [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl7/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html > [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html > > * igt@kms_psr2_su@page_flip: > - shard-iclb: [PASS][35] -> [SKIP][36] ([fdo#109642] / [fdo#111068]) > [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@kms_psr2_su@page_flip.html > [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb6/igt@kms_psr2_su@page_flip.html > > * igt@kms_psr@psr2_no_drrs: > - shard-iclb: [PASS][37] -> [SKIP][38] ([fdo#109441]) +1 similar issue > [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@kms_psr@psr2_no_drrs.html > [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@kms_psr@psr2_no_drrs.html > > * igt@kms_psr@psr2_suspend: > - shard-tglb: [PASS][39] -> [INCOMPLETE][40] ([i915#456] / [i915#460]) +1 similar issue > [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb9/igt@kms_psr@psr2_suspend.html > [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb8/igt@kms_psr@psr2_suspend.html > > * igt@kms_universal_plane@universal-plane-pipe-a-functional: > - shard-kbl: [PASS][41] -> [FAIL][42] ([i915#331]) +1 similar issue > [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-a-functional.html > [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl2/igt@kms_universal_plane@universal-plane-pipe-a-functional.html > > * igt@kms_universal_plane@universal-plane-pipe-c-functional: > - shard-apl: [PASS][43] -> [FAIL][44] ([i915#331]) > [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl1/igt@kms_universal_plane@universal-plane-pipe-c-functional.html > [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_universal_plane@universal-plane-pipe-c-functional.html > > * igt@perf_pmu@busy-no-semaphores-vcs1: > - shard-iclb: [PASS][45] -> [SKIP][46] ([fdo#112080]) > [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@perf_pmu@busy-no-semaphores-vcs1.html > [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@perf_pmu@busy-no-semaphores-vcs1.html > > > #### Possible fixes #### > > * igt@gem_ctx_persistence@vcs1-queued: > - shard-iclb: [SKIP][47] ([fdo#109276] / [fdo#112080]) -> [PASS][48] +1 similar issue > [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb8/igt@gem_ctx_persistence@vcs1-queued.html > [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_ctx_persistence@vcs1-queued.html > > * igt@gem_ctx_shared@q-smoketest-bsd1: > - shard-tglb: [INCOMPLETE][49] ([fdo#111735]) -> [PASS][50] > [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb9/igt@gem_ctx_shared@q-smoketest-bsd1.html > [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@gem_ctx_shared@q-smoketest-bsd1.html > > * igt@gem_exec_parallel@fds: > - shard-tglb: [INCOMPLETE][51] ([i915#470]) -> [PASS][52] > [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb6/igt@gem_exec_parallel@fds.html > [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb3/igt@gem_exec_parallel@fds.html > > * igt@gem_exec_schedule@fifo-bsd: > - shard-iclb: [SKIP][53] ([fdo#112146]) -> [PASS][54] > [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb2/igt@gem_exec_schedule@fifo-bsd.html > [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb5/igt@gem_exec_schedule@fifo-bsd.html > > * igt@gem_exec_schedule@preempt-queue-bsd1: > - shard-iclb: [SKIP][55] ([fdo#109276]) -> [PASS][56] +6 similar issues > [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb6/igt@gem_exec_schedule@preempt-queue-bsd1.html > [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@gem_exec_schedule@preempt-queue-bsd1.html > > * igt@gem_ppgtt@flink-and-close-vma-leak: > - shard-apl: [FAIL][57] ([i915#644]) -> [PASS][58] > [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl2/igt@gem_ppgtt@flink-and-close-vma-leak.html > [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl8/igt@gem_ppgtt@flink-and-close-vma-leak.html > > * igt@gem_sync@basic-store-each: > - shard-tglb: [INCOMPLETE][59] ([i915#435] / [i915#472]) -> [PASS][60] > [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb6/igt@gem_sync@basic-store-each.html > [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@gem_sync@basic-store-each.html > > * igt@gem_userptr_blits@map-fixed-invalidate-busy: > - shard-snb: [DMESG-WARN][61] ([fdo#111870]) -> [PASS][62] +2 similar issues > [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-busy.html > [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb7/igt@gem_userptr_blits@map-fixed-invalidate-busy.html > > * igt@gem_workarounds@suspend-resume-fd: > - shard-kbl: [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +5 similar issues > [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl2/igt@gem_workarounds@suspend-resume-fd.html > [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@gem_workarounds@suspend-resume-fd.html > > * igt@i915_selftest@mock_sanitycheck: > - shard-kbl: [DMESG-WARN][65] ([i915#747]) -> [PASS][66] > [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl1/igt@i915_selftest@mock_sanitycheck.html > [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@i915_selftest@mock_sanitycheck.html > > * igt@kms_cursor_crc@pipe-c-cursor-64x21-random: > - shard-kbl: [FAIL][67] ([i915#54]) -> [PASS][68] > [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl6/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html > [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html > - shard-apl: [FAIL][69] ([i915#54]) -> [PASS][70] > [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl4/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html > [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl6/igt@kms_cursor_crc@pipe-c-cursor-64x21-random.html > > * igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy: > - shard-glk: [FAIL][71] ([i915#72]) -> [PASS][72] > [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-glk3/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html > [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-glk2/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html > > * igt@kms_flip@flip-vs-suspend-interruptible: > - shard-apl: [DMESG-WARN][73] ([i915#180]) -> [PASS][74] +1 similar issue > [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-apl8/igt@kms_flip@flip-vs-suspend-interruptible.html > [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-apl1/igt@kms_flip@flip-vs-suspend-interruptible.html > > * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff: > - shard-tglb: [FAIL][75] ([i915#49]) -> [PASS][76] +1 similar issue > [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff.html > [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff.html > > * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b: > - shard-tglb: [INCOMPLETE][77] ([i915#456] / [i915#460]) -> [PASS][78] +1 similar issue > [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b.html > [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b.html > > * igt@kms_plane@pixel-format-pipe-a-planes-source-clamping: > - shard-kbl: [INCOMPLETE][79] ([fdo#103665]) -> [PASS][80] > [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl4/igt@kms_plane@pixel-format-pipe-a-planes-source-clamping.html > [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl6/igt@kms_plane@pixel-format-pipe-a-planes-source-clamping.html > > * igt@kms_psr2_su@frontbuffer: > - shard-tglb: [FAIL][81] ([fdo#111842]) -> [PASS][82] > [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb8/igt@kms_psr2_su@frontbuffer.html > [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb2/igt@kms_psr2_su@frontbuffer.html > > * igt@kms_vblank@pipe-d-ts-continuation-suspend: > - shard-tglb: [INCOMPLETE][83] ([i915#460]) -> [PASS][84] > [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-tglb1/igt@kms_vblank@pipe-d-ts-continuation-suspend.html > [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-tglb4/igt@kms_vblank@pipe-d-ts-continuation-suspend.html > > * igt@perf_pmu@init-sema-vcs1: > - shard-iclb: [SKIP][85] ([fdo#112080]) -> [PASS][86] +1 similar issue > [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-iclb6/igt@perf_pmu@init-sema-vcs1.html > [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-iclb1/igt@perf_pmu@init-sema-vcs1.html > > > #### Warnings #### > > * igt@gem_userptr_blits@sync-unmap-cycles: > - shard-snb: [DMESG-WARN][87] ([fdo#111870]) -> [DMESG-WARN][88] ([fdo#110789] / [fdo#111870]) > [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-snb6/igt@gem_userptr_blits@sync-unmap-cycles.html > [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-snb1/igt@gem_userptr_blits@sync-unmap-cycles.html > > * igt@kms_content_protection@lic: > - shard-kbl: [INCOMPLETE][89] ([fdo#103665]) -> [FAIL][90] ([fdo#110321]) > [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7521/shard-kbl7/igt@kms_content_protection@lic.html > [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/shard-kbl1/igt@kms_content_protection@lic.html > > > {name}: This element is suppressed. This means it is ignored when computing > the status of the difference (SUCCESS, WARNING, or FAILURE). > > [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 > [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 > [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276 > [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 > [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 > [fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321 > [fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789 > [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841 > [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 > [fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735 > [fdo#111842]: https://bugs.freedesktop.org/show_bug.cgi?id=111842 > [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870 > [fdo#112057]: https://bugs.freedesktop.org/show_bug.cgi?id=112057 > [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 > [fdo#112126]: https://bugs.freedesktop.org/show_bug.cgi?id=112126 > [fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146 > [i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140 > [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 > [i915#331]: https://gitlab.freedesktop.org/drm/intel/issues/331 > [i915#435]: https://gitlab.freedesktop.org/drm/intel/issues/435 > [i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456 > [i915#460]: https://gitlab.freedesktop.org/drm/intel/issues/460 > [i915#461]: https://gitlab.freedesktop.org/drm/intel/issues/461 > [i915#470]: https://gitlab.freedesktop.org/drm/intel/issues/470 > [i915#472]: https://gitlab.freedesktop.org/drm/intel/issues/472 > [i915#474]: https://gitlab.freedesktop.org/drm/intel/issues/474 > [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49 > [i915#530]: https://gitlab.freedesktop.org/drm/intel/issues/530 > [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 > [i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644 > [i915#667]: https://gitlab.freedesktop.org/drm/intel/issues/667 > [i915#669]: https://gitlab.freedesktop.org/drm/intel/issues/669 > [i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72 > [i915#747]: https://gitlab.freedesktop.org/drm/intel/issues/747 > > > Participating hosts (11 -> 8) > ------------------------------ > > Missing (3): pig-skl-6260u pig-glk-j5005 pig-hsw-4770r > > > Build changes > ------------- > > * CI: CI-20190529 -> None > * IGT: IGT_5341 -> IGTPW_3832 > * Piglit: piglit_4509 -> None > > CI-20190529: 20190529 > CI_DRM_7521: 9203f67985ebf27211aa1eabb77093302248c9fc @ git://anongit.freedesktop.org/gfx-ci/linux > IGTPW_3832: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3832/index.html > IGT_5341: 5fe683cdebde2d77d16ffc42c9fdf29a9f95bb82 @ 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_3832/index.html > _______________________________________________ > igt-dev mailing list > igt-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/igt-dev > _______________________________________________ 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
* Re: [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error 2019-12-09 13:19 [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Juha-Pekka Heikkila ` (2 preceding siblings ...) 2019-12-10 0:43 ` [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork @ 2019-12-10 11:53 ` Kahola, Mika 2019-12-10 12:54 ` Juha-Pekka Heikkila 3 siblings, 1 reply; 9+ messages in thread From: Kahola, Mika @ 2019-12-10 11:53 UTC (permalink / raw) To: juhapekka.heikkila@gmail.com, igt-dev@lists.freedesktop.org On Mon, 2019-12-09 at 15:19 +0200, Juha-Pekka Heikkila wrote: > Having crc running continuously cause this test sometime > fill crc buffer, fix this problem as well as do some generic > cleanups. The difference between this and the previous one is removed gem_sync() function from restore_image()? Maybe we could add note on changes in commit message. Cheers, Mika > > Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> > --- > tests/kms_cursor_crc.c | 109 +++++++++++++++++++++++++------------ > ------------ > 1 file changed, 56 insertions(+), 53 deletions(-) > > diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c > index 6475dea..9542141 100644 > --- a/tests/kms_cursor_crc.c > +++ b/tests/kms_cursor_crc.c > @@ -52,7 +52,6 @@ typedef struct { > struct igt_fb fb; > igt_output_t *output; > enum pipe pipe; > - igt_crc_t ref_crc; > int left, right, top, bottom; > int screenw, screenh; > int refresh; > @@ -60,6 +59,9 @@ typedef struct { > int cursor_max_w, cursor_max_h; > igt_pipe_crc_t *pipe_crc; > unsigned flags; > + igt_plane_t *primary; > + igt_plane_t *cursor; > + cairo_surface_t *surface; > } data_t; > > #define TEST_DPMS (1<<0) > @@ -89,23 +91,15 @@ static void draw_cursor(cairo_t *cr, int x, int > y, int cw, int ch, double a) > > static void cursor_enable(data_t *data) > { > - igt_output_t *output = data->output; > - igt_plane_t *cursor = > - igt_output_get_plane_type(output, > DRM_PLANE_TYPE_CURSOR); > - > - igt_plane_set_fb(cursor, &data->fb); > - igt_plane_set_size(cursor, data->curw, data->curh); > - igt_fb_set_size(&data->fb, cursor, data->curw, data->curh); > + igt_plane_set_fb(data->cursor, &data->fb); > + igt_plane_set_size(data->cursor, data->curw, data->curh); > + igt_fb_set_size(&data->fb, data->cursor, data->curw, data- > >curh); > } > > static void cursor_disable(data_t *data) > { > - igt_output_t *output = data->output; > - igt_plane_t *cursor = > - igt_output_get_plane_type(output, > DRM_PLANE_TYPE_CURSOR); > - > - igt_plane_set_fb(cursor, NULL); > - igt_plane_set_position(cursor, 0, 0); > + igt_plane_set_fb(data->cursor, NULL); > + igt_plane_set_position(data->cursor, 0, 0); > } > > static bool chv_cursor_broken(data_t *data, int x) > @@ -144,37 +138,47 @@ static bool cursor_visible(data_t *data, int x, > int y) > return true; > } > > +static void restore_image(data_t *data) > +{ > + cairo_t *cr; > + > + cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > + cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); > + cairo_set_source_surface(cr, data->surface, 0, 0); > + cairo_rectangle(cr, 0, 0, data->screenw, data->screenh); > + cairo_fill(cr); > + igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > + igt_dirty_fb(data->drm_fd, &data->primary_fb); > +} > + > static void do_single_test(data_t *data, int x, int y) > { > igt_display_t *display = &data->display; > igt_pipe_crc_t *pipe_crc = data->pipe_crc; > igt_crc_t crc, ref_crc; > - igt_plane_t *cursor = > - igt_output_get_plane_type(data->output, > DRM_PLANE_TYPE_CURSOR); > cairo_t *cr; > int ret = 0; > > igt_print_activity(); > > /* Hardware test */ > - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > - igt_paint_test_pattern(cr, data->screenw, data->screenh); > - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > + restore_image(data); > > + igt_plane_set_position(data->cursor, x, y); > cursor_enable(data); > - igt_plane_set_position(cursor, x, y); > > if (chv_cursor_broken(data, x) && cursor_visible(data, x, y)) { > ret = igt_display_try_commit2(display, COMMIT_LEGACY); > igt_assert_eq(ret, -EINVAL); > - igt_plane_set_position(cursor, 0, y); > + igt_plane_set_position(data->cursor, 0, y); > > return; > } > > igt_display_commit(display); > > - igt_wait_for_vblank(data->drm_fd, data->pipe); > + /* Extra vblank wait is because nonblocking cursor ioctl */ > + igt_wait_for_vblank_count(data->drm_fd, data->pipe, 2); > igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &crc); > > if (data->flags & (TEST_DPMS | TEST_SUSPEND)) { > @@ -211,39 +215,29 @@ static void do_single_test(data_t *data, int x, > int y) > cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > draw_cursor(cr, x, y, data->curw, data->curh, 1.0); > igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > - igt_display_commit(display); > - > + igt_dirty_fb(data->drm_fd, &data->primary_fb); > + /* Extra vblank wait is because nonblocking cursor ioctl */ > igt_wait_for_vblank(data->drm_fd, data->pipe); > - igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc); > > + igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc); > igt_assert_crc_equal(&crc, &ref_crc); > - > - /* Clear screen afterwards */ > - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > - igt_paint_color(cr, 0, 0, data->screenw, data->screenh, 0.0, > 0.0, 0.0); > - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > } > > static void do_fail_test(data_t *data, int x, int y, int expect) > { > igt_display_t *display = &data->display; > - igt_plane_t *cursor = > - igt_output_get_plane_type(data->output, > DRM_PLANE_TYPE_CURSOR); > - cairo_t *cr; > int ret; > > igt_print_activity(); > > /* Hardware test */ > - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > - igt_paint_test_pattern(cr, data->screenw, data->screenh); > - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > + restore_image(data); > > cursor_enable(data); > - igt_plane_set_position(cursor, x, y); > + igt_plane_set_position(data->cursor, x, y); > ret = igt_display_try_commit2(display, COMMIT_LEGACY); > > - igt_plane_set_position(cursor, 0, 0); > + igt_plane_set_position(data->cursor, 0, 0); > cursor_disable(data); > igt_display_commit(display); > > @@ -355,6 +349,11 @@ static void cleanup_crtc(data_t *data) > igt_pipe_crc_free(data->pipe_crc); > data->pipe_crc = NULL; > > + cairo_surface_destroy(data->surface); > + > + igt_plane_set_fb(data->primary, NULL); > + igt_display_commit(display); > + > igt_remove_fb(data->drm_fd, &data->primary_fb); > > igt_display_reset(display); > @@ -365,7 +364,7 @@ static void prepare_crtc(data_t *data, > igt_output_t *output, > { > drmModeModeInfo *mode; > igt_display_t *display = &data->display; > - igt_plane_t *primary; > + cairo_t *cr; > > /* select the pipe we want to use */ > igt_output_set_pipe(output, data->pipe); > @@ -378,8 +377,10 @@ static void prepare_crtc(data_t *data, > igt_output_t *output, > 0.0, 0.0, 0.0, > &data->primary_fb); > > - primary = igt_output_get_plane_type(output, > DRM_PLANE_TYPE_PRIMARY); > - igt_plane_set_fb(primary, &data->primary_fb); > + data->primary = igt_output_get_plane_type(output, > DRM_PLANE_TYPE_PRIMARY); > + data->cursor = igt_output_get_plane_type(output, > DRM_PLANE_TYPE_CURSOR); > + > + igt_plane_set_fb(data->primary, &data->primary_fb); > > igt_display_commit(display); > > @@ -398,9 +399,15 @@ static void prepare_crtc(data_t *data, > igt_output_t *output, > data->curh = cursor_h; > data->refresh = mode->vrefresh; > > - /* get reference crc w/o cursor */ > + /* store test image as cairo surface */ > + data->surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, > data->screenw, data->screenh); > + > + cr = cairo_create(data->surface); > + cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); > + igt_paint_test_pattern(cr, data->screenw, data->screenh); > + cairo_destroy(cr); > + > igt_pipe_crc_start(data->pipe_crc); > - igt_pipe_crc_get_current(data->drm_fd, data->pipe_crc, &data- > >ref_crc); > } > > static void test_cursor_alpha(data_t *data, double a) > @@ -521,8 +528,6 @@ static void test_cursor_size(data_t *data) > uint32_t fb_id; > int i, size; > int cursor_max_size = data->cursor_max_w; > - igt_plane_t *cursor = > - igt_output_get_plane_type(data->output, > DRM_PLANE_TYPE_CURSOR); > > /* Create a maximum size cursor, then change the size in flight > to > * smaller ones to see that the size is applied correctly > @@ -541,8 +546,8 @@ static void test_cursor_size(data_t *data) > cursor_enable(data); > for (i = 0, size = cursor_max_size; size >= 64; size /= 2, i++) > { > /* Change size in flight: */ > - igt_plane_set_size(cursor, size, size); > - igt_fb_set_size(&data->fb, cursor, size, size); > + igt_plane_set_size(data->cursor, size, size); > + igt_fb_set_size(&data->fb, data->cursor, size, size); > igt_display_commit(display); > igt_wait_for_vblank(data->drm_fd, data->pipe); > igt_pipe_crc_get_current(data->drm_fd, pipe_crc, > &crc[i]); > @@ -575,26 +580,24 @@ static void test_rapid_movement(data_t *data) > int x = 0, y = 0; > long usec; > igt_display_t *display = &data->display; > - igt_plane_t *cursor = > - igt_output_get_plane_type(data->output, > DRM_PLANE_TYPE_CURSOR); > > cursor_enable(data); > > gettimeofday(&start, NULL); > for ( ; x < 100; x++) { > - igt_plane_set_position(cursor, x, y); > + igt_plane_set_position(data->cursor, x, y); > igt_display_commit(display); > } > for ( ; y < 100; y++) { > - igt_plane_set_position(cursor, x, y); > + igt_plane_set_position(data->cursor, x, y); > igt_display_commit(display); > } > for ( ; x > 0; x--) { > - igt_plane_set_position(cursor, x, y); > + igt_plane_set_position(data->cursor, x, y); > igt_display_commit(display); > } > for ( ; y > 0; y--) { > - igt_plane_set_position(cursor, x, y); > + igt_plane_set_position(data->cursor, x, y); > igt_display_commit(display); > } > gettimeofday(&end, NULL); _______________________________________________ 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
* Re: [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error 2019-12-10 11:53 ` [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Kahola, Mika @ 2019-12-10 12:54 ` Juha-Pekka Heikkila 2019-12-10 14:19 ` Kahola, Mika 0 siblings, 1 reply; 9+ messages in thread From: Juha-Pekka Heikkila @ 2019-12-10 12:54 UTC (permalink / raw) To: Kahola, Mika, igt-dev@lists.freedesktop.org On 10.12.2019 13.53, Kahola, Mika wrote: > On Mon, 2019-12-09 at 15:19 +0200, Juha-Pekka Heikkila wrote: >> Having crc running continuously cause this test sometime >> fill crc buffer, fix this problem as well as do some generic >> cleanups. > The difference between this and the previous one is removed gem_sync() > function from restore_image()? > > Maybe we could add note on changes in commit message. You mean difference between previous version that was on patchwork? Those were never committed into IGT. THB I don't know would that make a difference for anyone looking at gitlog later on? /Juha-Pekka > > Cheers, > Mika > >> >> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> >> --- >> tests/kms_cursor_crc.c | 109 +++++++++++++++++++++++++------------ >> ------------ >> 1 file changed, 56 insertions(+), 53 deletions(-) >> >> diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c >> index 6475dea..9542141 100644 >> --- a/tests/kms_cursor_crc.c >> +++ b/tests/kms_cursor_crc.c >> @@ -52,7 +52,6 @@ typedef struct { >> struct igt_fb fb; >> igt_output_t *output; >> enum pipe pipe; >> - igt_crc_t ref_crc; >> int left, right, top, bottom; >> int screenw, screenh; >> int refresh; >> @@ -60,6 +59,9 @@ typedef struct { >> int cursor_max_w, cursor_max_h; >> igt_pipe_crc_t *pipe_crc; >> unsigned flags; >> + igt_plane_t *primary; >> + igt_plane_t *cursor; >> + cairo_surface_t *surface; >> } data_t; >> >> #define TEST_DPMS (1<<0) >> @@ -89,23 +91,15 @@ static void draw_cursor(cairo_t *cr, int x, int >> y, int cw, int ch, double a) >> >> static void cursor_enable(data_t *data) >> { >> - igt_output_t *output = data->output; >> - igt_plane_t *cursor = >> - igt_output_get_plane_type(output, >> DRM_PLANE_TYPE_CURSOR); >> - >> - igt_plane_set_fb(cursor, &data->fb); >> - igt_plane_set_size(cursor, data->curw, data->curh); >> - igt_fb_set_size(&data->fb, cursor, data->curw, data->curh); >> + igt_plane_set_fb(data->cursor, &data->fb); >> + igt_plane_set_size(data->cursor, data->curw, data->curh); >> + igt_fb_set_size(&data->fb, data->cursor, data->curw, data- >>> curh); >> } >> >> static void cursor_disable(data_t *data) >> { >> - igt_output_t *output = data->output; >> - igt_plane_t *cursor = >> - igt_output_get_plane_type(output, >> DRM_PLANE_TYPE_CURSOR); >> - >> - igt_plane_set_fb(cursor, NULL); >> - igt_plane_set_position(cursor, 0, 0); >> + igt_plane_set_fb(data->cursor, NULL); >> + igt_plane_set_position(data->cursor, 0, 0); >> } >> >> static bool chv_cursor_broken(data_t *data, int x) >> @@ -144,37 +138,47 @@ static bool cursor_visible(data_t *data, int x, >> int y) >> return true; >> } >> >> +static void restore_image(data_t *data) >> +{ >> + cairo_t *cr; >> + >> + cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); >> + cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); >> + cairo_set_source_surface(cr, data->surface, 0, 0); >> + cairo_rectangle(cr, 0, 0, data->screenw, data->screenh); >> + cairo_fill(cr); >> + igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); >> + igt_dirty_fb(data->drm_fd, &data->primary_fb); >> +} >> + >> static void do_single_test(data_t *data, int x, int y) >> { >> igt_display_t *display = &data->display; >> igt_pipe_crc_t *pipe_crc = data->pipe_crc; >> igt_crc_t crc, ref_crc; >> - igt_plane_t *cursor = >> - igt_output_get_plane_type(data->output, >> DRM_PLANE_TYPE_CURSOR); >> cairo_t *cr; >> int ret = 0; >> >> igt_print_activity(); >> >> /* Hardware test */ >> - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); >> - igt_paint_test_pattern(cr, data->screenw, data->screenh); >> - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); >> + restore_image(data); >> >> + igt_plane_set_position(data->cursor, x, y); >> cursor_enable(data); >> - igt_plane_set_position(cursor, x, y); >> >> if (chv_cursor_broken(data, x) && cursor_visible(data, x, y)) { >> ret = igt_display_try_commit2(display, COMMIT_LEGACY); >> igt_assert_eq(ret, -EINVAL); >> - igt_plane_set_position(cursor, 0, y); >> + igt_plane_set_position(data->cursor, 0, y); >> >> return; >> } >> >> igt_display_commit(display); >> >> - igt_wait_for_vblank(data->drm_fd, data->pipe); >> + /* Extra vblank wait is because nonblocking cursor ioctl */ >> + igt_wait_for_vblank_count(data->drm_fd, data->pipe, 2); >> igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &crc); >> >> if (data->flags & (TEST_DPMS | TEST_SUSPEND)) { >> @@ -211,39 +215,29 @@ static void do_single_test(data_t *data, int x, >> int y) >> cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); >> draw_cursor(cr, x, y, data->curw, data->curh, 1.0); >> igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); >> - igt_display_commit(display); >> - >> + igt_dirty_fb(data->drm_fd, &data->primary_fb); >> + /* Extra vblank wait is because nonblocking cursor ioctl */ >> igt_wait_for_vblank(data->drm_fd, data->pipe); >> - igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc); >> >> + igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc); >> igt_assert_crc_equal(&crc, &ref_crc); >> - >> - /* Clear screen afterwards */ >> - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); >> - igt_paint_color(cr, 0, 0, data->screenw, data->screenh, 0.0, >> 0.0, 0.0); >> - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); >> } >> >> static void do_fail_test(data_t *data, int x, int y, int expect) >> { >> igt_display_t *display = &data->display; >> - igt_plane_t *cursor = >> - igt_output_get_plane_type(data->output, >> DRM_PLANE_TYPE_CURSOR); >> - cairo_t *cr; >> int ret; >> >> igt_print_activity(); >> >> /* Hardware test */ >> - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); >> - igt_paint_test_pattern(cr, data->screenw, data->screenh); >> - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); >> + restore_image(data); >> >> cursor_enable(data); >> - igt_plane_set_position(cursor, x, y); >> + igt_plane_set_position(data->cursor, x, y); >> ret = igt_display_try_commit2(display, COMMIT_LEGACY); >> >> - igt_plane_set_position(cursor, 0, 0); >> + igt_plane_set_position(data->cursor, 0, 0); >> cursor_disable(data); >> igt_display_commit(display); >> >> @@ -355,6 +349,11 @@ static void cleanup_crtc(data_t *data) >> igt_pipe_crc_free(data->pipe_crc); >> data->pipe_crc = NULL; >> >> + cairo_surface_destroy(data->surface); >> + >> + igt_plane_set_fb(data->primary, NULL); >> + igt_display_commit(display); >> + >> igt_remove_fb(data->drm_fd, &data->primary_fb); >> >> igt_display_reset(display); >> @@ -365,7 +364,7 @@ static void prepare_crtc(data_t *data, >> igt_output_t *output, >> { >> drmModeModeInfo *mode; >> igt_display_t *display = &data->display; >> - igt_plane_t *primary; >> + cairo_t *cr; >> >> /* select the pipe we want to use */ >> igt_output_set_pipe(output, data->pipe); >> @@ -378,8 +377,10 @@ static void prepare_crtc(data_t *data, >> igt_output_t *output, >> 0.0, 0.0, 0.0, >> &data->primary_fb); >> >> - primary = igt_output_get_plane_type(output, >> DRM_PLANE_TYPE_PRIMARY); >> - igt_plane_set_fb(primary, &data->primary_fb); >> + data->primary = igt_output_get_plane_type(output, >> DRM_PLANE_TYPE_PRIMARY); >> + data->cursor = igt_output_get_plane_type(output, >> DRM_PLANE_TYPE_CURSOR); >> + >> + igt_plane_set_fb(data->primary, &data->primary_fb); >> >> igt_display_commit(display); >> >> @@ -398,9 +399,15 @@ static void prepare_crtc(data_t *data, >> igt_output_t *output, >> data->curh = cursor_h; >> data->refresh = mode->vrefresh; >> >> - /* get reference crc w/o cursor */ >> + /* store test image as cairo surface */ >> + data->surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, >> data->screenw, data->screenh); >> + >> + cr = cairo_create(data->surface); >> + cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); >> + igt_paint_test_pattern(cr, data->screenw, data->screenh); >> + cairo_destroy(cr); >> + >> igt_pipe_crc_start(data->pipe_crc); >> - igt_pipe_crc_get_current(data->drm_fd, data->pipe_crc, &data- >>> ref_crc); >> } >> >> static void test_cursor_alpha(data_t *data, double a) >> @@ -521,8 +528,6 @@ static void test_cursor_size(data_t *data) >> uint32_t fb_id; >> int i, size; >> int cursor_max_size = data->cursor_max_w; >> - igt_plane_t *cursor = >> - igt_output_get_plane_type(data->output, >> DRM_PLANE_TYPE_CURSOR); >> >> /* Create a maximum size cursor, then change the size in flight >> to >> * smaller ones to see that the size is applied correctly >> @@ -541,8 +546,8 @@ static void test_cursor_size(data_t *data) >> cursor_enable(data); >> for (i = 0, size = cursor_max_size; size >= 64; size /= 2, i++) >> { >> /* Change size in flight: */ >> - igt_plane_set_size(cursor, size, size); >> - igt_fb_set_size(&data->fb, cursor, size, size); >> + igt_plane_set_size(data->cursor, size, size); >> + igt_fb_set_size(&data->fb, data->cursor, size, size); >> igt_display_commit(display); >> igt_wait_for_vblank(data->drm_fd, data->pipe); >> igt_pipe_crc_get_current(data->drm_fd, pipe_crc, >> &crc[i]); >> @@ -575,26 +580,24 @@ static void test_rapid_movement(data_t *data) >> int x = 0, y = 0; >> long usec; >> igt_display_t *display = &data->display; >> - igt_plane_t *cursor = >> - igt_output_get_plane_type(data->output, >> DRM_PLANE_TYPE_CURSOR); >> >> cursor_enable(data); >> >> gettimeofday(&start, NULL); >> for ( ; x < 100; x++) { >> - igt_plane_set_position(cursor, x, y); >> + igt_plane_set_position(data->cursor, x, y); >> igt_display_commit(display); >> } >> for ( ; y < 100; y++) { >> - igt_plane_set_position(cursor, x, y); >> + igt_plane_set_position(data->cursor, x, y); >> igt_display_commit(display); >> } >> for ( ; x > 0; x--) { >> - igt_plane_set_position(cursor, x, y); >> + igt_plane_set_position(data->cursor, x, y); >> igt_display_commit(display); >> } >> for ( ; y > 0; y--) { >> - igt_plane_set_position(cursor, x, y); >> + igt_plane_set_position(data->cursor, x, y); >> igt_display_commit(display); >> } >> gettimeofday(&end, NULL); _______________________________________________ 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
* Re: [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error 2019-12-10 12:54 ` Juha-Pekka Heikkila @ 2019-12-10 14:19 ` Kahola, Mika 0 siblings, 0 replies; 9+ messages in thread From: Kahola, Mika @ 2019-12-10 14:19 UTC (permalink / raw) To: juhapekka.heikkila@gmail.com, igt-dev@lists.freedesktop.org On Tue, 2019-12-10 at 14:54 +0200, Juha-Pekka Heikkila wrote: > On 10.12.2019 13.53, Kahola, Mika wrote: > > On Mon, 2019-12-09 at 15:19 +0200, Juha-Pekka Heikkila wrote: > > > Having crc running continuously cause this test sometime > > > fill crc buffer, fix this problem as well as do some generic > > > cleanups. > > > > The difference between this and the previous one is removed > > gem_sync() > > function from restore_image()? > > > > Maybe we could add note on changes in commit message. > > You mean difference between previous version that was on patchwork? > Those were never committed into IGT. THB I don't know would that make > a > difference for anyone looking at gitlog later on? Yes, that's what I meant. I thought, if this patch is an evolution of the previous one, we should make a note about the progress of the patch. Cheers, Mika > > /Juha-Pekka > > > > > Cheers, > > Mika > > > > > > > > Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> > > > --- > > > tests/kms_cursor_crc.c | 109 +++++++++++++++++++++++++--------- > > > --- > > > ------------ > > > 1 file changed, 56 insertions(+), 53 deletions(-) > > > > > > diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c > > > index 6475dea..9542141 100644 > > > --- a/tests/kms_cursor_crc.c > > > +++ b/tests/kms_cursor_crc.c > > > @@ -52,7 +52,6 @@ typedef struct { > > > struct igt_fb fb; > > > igt_output_t *output; > > > enum pipe pipe; > > > - igt_crc_t ref_crc; > > > int left, right, top, bottom; > > > int screenw, screenh; > > > int refresh; > > > @@ -60,6 +59,9 @@ typedef struct { > > > int cursor_max_w, cursor_max_h; > > > igt_pipe_crc_t *pipe_crc; > > > unsigned flags; > > > + igt_plane_t *primary; > > > + igt_plane_t *cursor; > > > + cairo_surface_t *surface; > > > } data_t; > > > > > > #define TEST_DPMS (1<<0) > > > @@ -89,23 +91,15 @@ static void draw_cursor(cairo_t *cr, int x, > > > int > > > y, int cw, int ch, double a) > > > > > > static void cursor_enable(data_t *data) > > > { > > > - igt_output_t *output = data->output; > > > - igt_plane_t *cursor = > > > - igt_output_get_plane_type(output, > > > DRM_PLANE_TYPE_CURSOR); > > > - > > > - igt_plane_set_fb(cursor, &data->fb); > > > - igt_plane_set_size(cursor, data->curw, data->curh); > > > - igt_fb_set_size(&data->fb, cursor, data->curw, data->curh); > > > + igt_plane_set_fb(data->cursor, &data->fb); > > > + igt_plane_set_size(data->cursor, data->curw, data->curh); > > > + igt_fb_set_size(&data->fb, data->cursor, data->curw, data- > > > > curh); > > > > > > } > > > > > > static void cursor_disable(data_t *data) > > > { > > > - igt_output_t *output = data->output; > > > - igt_plane_t *cursor = > > > - igt_output_get_plane_type(output, > > > DRM_PLANE_TYPE_CURSOR); > > > - > > > - igt_plane_set_fb(cursor, NULL); > > > - igt_plane_set_position(cursor, 0, 0); > > > + igt_plane_set_fb(data->cursor, NULL); > > > + igt_plane_set_position(data->cursor, 0, 0); > > > } > > > > > > static bool chv_cursor_broken(data_t *data, int x) > > > @@ -144,37 +138,47 @@ static bool cursor_visible(data_t *data, > > > int x, > > > int y) > > > return true; > > > } > > > > > > +static void restore_image(data_t *data) > > > +{ > > > + cairo_t *cr; > > > + > > > + cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > > > + cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); > > > + cairo_set_source_surface(cr, data->surface, 0, 0); > > > + cairo_rectangle(cr, 0, 0, data->screenw, data->screenh); > > > + cairo_fill(cr); > > > + igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > > > + igt_dirty_fb(data->drm_fd, &data->primary_fb); > > > +} > > > + > > > static void do_single_test(data_t *data, int x, int y) > > > { > > > igt_display_t *display = &data->display; > > > igt_pipe_crc_t *pipe_crc = data->pipe_crc; > > > igt_crc_t crc, ref_crc; > > > - igt_plane_t *cursor = > > > - igt_output_get_plane_type(data->output, > > > DRM_PLANE_TYPE_CURSOR); > > > cairo_t *cr; > > > int ret = 0; > > > > > > igt_print_activity(); > > > > > > /* Hardware test */ > > > - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > > > - igt_paint_test_pattern(cr, data->screenw, data->screenh); > > > - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > > > + restore_image(data); > > > > > > + igt_plane_set_position(data->cursor, x, y); > > > cursor_enable(data); > > > - igt_plane_set_position(cursor, x, y); > > > > > > if (chv_cursor_broken(data, x) && cursor_visible(data, > > > x, y)) { > > > ret = igt_display_try_commit2(display, > > > COMMIT_LEGACY); > > > igt_assert_eq(ret, -EINVAL); > > > - igt_plane_set_position(cursor, 0, y); > > > + igt_plane_set_position(data->cursor, 0, y); > > > > > > return; > > > } > > > > > > igt_display_commit(display); > > > > > > - igt_wait_for_vblank(data->drm_fd, data->pipe); > > > + /* Extra vblank wait is because nonblocking cursor ioctl */ > > > + igt_wait_for_vblank_count(data->drm_fd, data->pipe, 2); > > > igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &crc); > > > > > > if (data->flags & (TEST_DPMS | TEST_SUSPEND)) { > > > @@ -211,39 +215,29 @@ static void do_single_test(data_t *data, > > > int x, > > > int y) > > > cr = igt_get_cairo_ctx(data->drm_fd, &data- > > > >primary_fb); > > > draw_cursor(cr, x, y, data->curw, data->curh, 1.0); > > > igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > > > - igt_display_commit(display); > > > - > > > + igt_dirty_fb(data->drm_fd, &data->primary_fb); > > > + /* Extra vblank wait is because nonblocking cursor ioctl */ > > > igt_wait_for_vblank(data->drm_fd, data->pipe); > > > - igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc); > > > > > > + igt_pipe_crc_get_current(data->drm_fd, pipe_crc, &ref_crc); > > > igt_assert_crc_equal(&crc, &ref_crc); > > > - > > > - /* Clear screen afterwards */ > > > - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > > > - igt_paint_color(cr, 0, 0, data->screenw, data->screenh, 0.0, > > > 0.0, 0.0); > > > - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > > > } > > > > > > static void do_fail_test(data_t *data, int x, int y, int > > > expect) > > > { > > > igt_display_t *display = &data->display; > > > - igt_plane_t *cursor = > > > - igt_output_get_plane_type(data->output, > > > DRM_PLANE_TYPE_CURSOR); > > > - cairo_t *cr; > > > int ret; > > > > > > igt_print_activity(); > > > > > > /* Hardware test */ > > > - cr = igt_get_cairo_ctx(data->drm_fd, &data->primary_fb); > > > - igt_paint_test_pattern(cr, data->screenw, data->screenh); > > > - igt_put_cairo_ctx(data->drm_fd, &data->primary_fb, cr); > > > + restore_image(data); > > > > > > cursor_enable(data); > > > - igt_plane_set_position(cursor, x, y); > > > + igt_plane_set_position(data->cursor, x, y); > > > ret = igt_display_try_commit2(display, COMMIT_LEGACY); > > > > > > - igt_plane_set_position(cursor, 0, 0); > > > + igt_plane_set_position(data->cursor, 0, 0); > > > cursor_disable(data); > > > igt_display_commit(display); > > > > > > @@ -355,6 +349,11 @@ static void cleanup_crtc(data_t *data) > > > igt_pipe_crc_free(data->pipe_crc); > > > data->pipe_crc = NULL; > > > > > > + cairo_surface_destroy(data->surface); > > > + > > > + igt_plane_set_fb(data->primary, NULL); > > > + igt_display_commit(display); > > > + > > > igt_remove_fb(data->drm_fd, &data->primary_fb); > > > > > > igt_display_reset(display); > > > @@ -365,7 +364,7 @@ static void prepare_crtc(data_t *data, > > > igt_output_t *output, > > > { > > > drmModeModeInfo *mode; > > > igt_display_t *display = &data->display; > > > - igt_plane_t *primary; > > > + cairo_t *cr; > > > > > > /* select the pipe we want to use */ > > > igt_output_set_pipe(output, data->pipe); > > > @@ -378,8 +377,10 @@ static void prepare_crtc(data_t *data, > > > igt_output_t *output, > > > 0.0, 0.0, 0.0, > > > &data->primary_fb); > > > > > > - primary = igt_output_get_plane_type(output, > > > DRM_PLANE_TYPE_PRIMARY); > > > - igt_plane_set_fb(primary, &data->primary_fb); > > > + data->primary = igt_output_get_plane_type(output, > > > DRM_PLANE_TYPE_PRIMARY); > > > + data->cursor = igt_output_get_plane_type(output, > > > DRM_PLANE_TYPE_CURSOR); > > > + > > > + igt_plane_set_fb(data->primary, &data->primary_fb); > > > > > > igt_display_commit(display); > > > > > > @@ -398,9 +399,15 @@ static void prepare_crtc(data_t *data, > > > igt_output_t *output, > > > data->curh = cursor_h; > > > data->refresh = mode->vrefresh; > > > > > > - /* get reference crc w/o cursor */ > > > + /* store test image as cairo surface */ > > > + data->surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, > > > data->screenw, data->screenh); > > > + > > > + cr = cairo_create(data->surface); > > > + cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); > > > + igt_paint_test_pattern(cr, data->screenw, data->screenh); > > > + cairo_destroy(cr); > > > + > > > igt_pipe_crc_start(data->pipe_crc); > > > - igt_pipe_crc_get_current(data->drm_fd, data->pipe_crc, &data- > > > > ref_crc); > > > > > > } > > > > > > static void test_cursor_alpha(data_t *data, double a) > > > @@ -521,8 +528,6 @@ static void test_cursor_size(data_t *data) > > > uint32_t fb_id; > > > int i, size; > > > int cursor_max_size = data->cursor_max_w; > > > - igt_plane_t *cursor = > > > - igt_output_get_plane_type(data->output, > > > DRM_PLANE_TYPE_CURSOR); > > > > > > /* Create a maximum size cursor, then change the size > > > in flight > > > to > > > * smaller ones to see that the size is applied > > > correctly > > > @@ -541,8 +546,8 @@ static void test_cursor_size(data_t *data) > > > cursor_enable(data); > > > for (i = 0, size = cursor_max_size; size >= 64; size /= > > > 2, i++) > > > { > > > /* Change size in flight: */ > > > - igt_plane_set_size(cursor, size, size); > > > - igt_fb_set_size(&data->fb, cursor, size, size); > > > + igt_plane_set_size(data->cursor, size, size); > > > + igt_fb_set_size(&data->fb, data->cursor, size, size); > > > igt_display_commit(display); > > > igt_wait_for_vblank(data->drm_fd, data->pipe); > > > igt_pipe_crc_get_current(data->drm_fd, > > > pipe_crc, > > > &crc[i]); > > > @@ -575,26 +580,24 @@ static void test_rapid_movement(data_t > > > *data) > > > int x = 0, y = 0; > > > long usec; > > > igt_display_t *display = &data->display; > > > - igt_plane_t *cursor = > > > - igt_output_get_plane_type(data->output, > > > DRM_PLANE_TYPE_CURSOR); > > > > > > cursor_enable(data); > > > > > > gettimeofday(&start, NULL); > > > for ( ; x < 100; x++) { > > > - igt_plane_set_position(cursor, x, y); > > > + igt_plane_set_position(data->cursor, x, y); > > > igt_display_commit(display); > > > } > > > for ( ; y < 100; y++) { > > > - igt_plane_set_position(cursor, x, y); > > > + igt_plane_set_position(data->cursor, x, y); > > > igt_display_commit(display); > > > } > > > for ( ; x > 0; x--) { > > > - igt_plane_set_position(cursor, x, y); > > > + igt_plane_set_position(data->cursor, x, y); > > > igt_display_commit(display); > > > } > > > for ( ; y > 0; y--) { > > > - igt_plane_set_position(cursor, x, y); > > > + igt_plane_set_position(data->cursor, x, y); > > > igt_display_commit(display); > > > } > > > gettimeofday(&end, NULL); > > _______________________________________________ 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
end of thread, other threads:[~2019-12-10 14:20 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-12-09 13:19 [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Juha-Pekka Heikkila 2019-12-09 17:22 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork 2019-12-09 19:08 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev3) Patchwork 2019-12-10 0:43 ` [igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_cursor_crc: Fix user space read too slow error (rev2) Patchwork 2019-12-10 8:43 ` Lisovskiy, Stanislav 2019-12-10 9:29 ` Martin Peres 2019-12-10 11:53 ` [igt-dev] [PATCH i-g-t] tests/kms_cursor_crc: Fix user space read too slow error Kahola, Mika 2019-12-10 12:54 ` Juha-Pekka Heikkila 2019-12-10 14:19 ` Kahola, Mika
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox