tests/i915: Exercise coherency of mmapped frame buffers
PATCH v2 1/1 tests/i915: Exercise coherency of mmapped frame buffers
Visible glitches have been observed when running graphics applications on Linux under Xen hypervisor. Those observations have been confirmed with failures from kms_pwrite_crc IGT test that verifies data coherency of DRM frame buffer objects using hardware CRC checksums calculated by display controllers, exposed to userspace via debugfs. Since not all applications exhibit the issue, we need to exercise more methods than just pwrite in order to identify all affected processing paths.
Create a new test focused on exercising coherency of future scanout buffers populated over mmap. Cover all available mmap methods and caching modes expected to be device coherent.
v2: Drop unused functions -- left-overs from unsuccessful negative subtest
attempts requiring consistent crc mismatches in non-coherent modes,
- since all subtests now call igt_assert_crc_equal(), move it from subtest bodies to an updated and renamed helper,
- drop "derived from ..." info from copyrights comment (Kamil),
- fix order of includes (Kamil),
- fix whitespace (Kamil),
- Cc: Bhanuprakash (Kamil).
--- tests/i915/kms_fb_coherency.c | 305 ++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 2 files changed, 306 insertions(+) create mode 100644 tests/i915/kms_fb_coherency.c
tests/i915/kms_fb_coherency.c new file +305 -0
@@ -0,0 +1,305 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2023 Intel Corporation +*/ + +/** +* TEST: kms_fb_coherency +* Description: Exercise coherency of future scanout buffer objects +*/ + +#include <errno.h> +#include <limits.h> +#include <stdbool.h> +#include <stdio.h> +#include <string.h> + +#include "igt.h" + +typedef struct { +int drm_fd; +igt_display_t display; +struct igt_fb fb[2 ]; +igt_output_t *output; +igt_plane_t *primary; +enum pipe pipe; +igt_crc_t ref_crc; +igt_pipe_crc_t *pipe_crc; +uint32_t devid; +}data_t ; + +static void prepare_crtc (data_t *data) +{ +igt_display_t *display = &data->display; +igt_output_t *output = data->output; +drmModeModeInfo *mode; + +igt_display_reset (display); +/* select the pipe we want to use */ +igt_output_set_pipe (output, data->pipe); + + mode =igt_output_get_mode (output); + +/* create a white reference fb and flip to it */ +igt_create_color_fb (data->drm_fd, mode->hdisplay, mode->vdisplay, +DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , +1.0 ,1.0 ,1.0 , &data->fb[0 ]); + + data->primary =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); + +igt_plane_set_fb (data->primary, &data->fb[0 ]); +igt_display_commit (display); + +if (data->pipe_crc) +igt_pipe_crc_free (data->pipe_crc); + + data->pipe_crc =igt_pipe_crc_new (data->drm_fd, data->pipe, +IGT_PIPE_CRC_SOURCE_AUTO ); + +/* get reference crc for the white fb */ +igt_pipe_crc_collect_crc (data->pipe_crc, &data->ref_crc); +} + +static struct igt_fb *prepare_fb (data_t *data) +{ +igt_output_t *output = data->output; +struct igt_fb *fb = &data->fb[1 ]; +drmModeModeInfo *mode; + +prepare_crtc (data); + + mode =igt_output_get_mode (output); + +/* create a non-white fb we can overwrite later */ +igt_create_pattern_fb (data->drm_fd, mode->hdisplay, mode->vdisplay, +DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , fb); + +/* flip to it to make it UC/WC and fully flushed */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + output->config.crtc->crtc_id, + fb->fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +/* flip back the original white buffer */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + output->config.crtc->crtc_id, + data->fb[0 ].fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +if (!gem_has_lmem (data->drm_fd)) { +uint32_t caching; + +/* make sure caching mode has become UC/WT */ + caching =gem_get_caching (data->drm_fd, fb->gem_handle); +igt_assert (caching ==I915_CACHING_NONE || + caching ==I915_CACHING_DISPLAY ); + } + +return fb; +} + +static void check_buf_crc (data_t *data,void *buf,igt_fb_t *fb) +{ +igt_crc_t crc; + +/* use memset to make the mmapped fb all white */ +memset (buf,0xff , fb->size); +munmap (buf, fb->size); + +/* and flip to it */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + data->output->config.crtc->crtc_id, + fb->fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +/* check that the crc is as expected, which requires that caches got flushed */ +igt_pipe_crc_collect_crc (data->pipe_crc, &crc); +igt_assert_crc_equal (&crc, &data->ref_crc); +} + +static void cleanup_crtc (data_t *data) +{ +igt_display_t *display = &data->display; +igt_output_t *output = data->output; + +igt_pipe_crc_free (data->pipe_crc); + data->pipe_crc =NULL ; + +igt_plane_set_fb (data->primary,NULL ); + +igt_output_set_pipe (output,PIPE_ANY ); +igt_display_commit (display); + +igt_remove_fb (data->drm_fd, &data->fb[0 ]); +igt_remove_fb (data->drm_fd, &data->fb[1 ]); +} + +static void test_mmap_gtt (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +gem_require_mappable_ggtt (data->drm_fd); + + fb =prepare_fb (data); + + buf =gem_mmap__gtt (data->drm_fd, fb->gem_handle, fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_wc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_mmap_offset__has_wc (data->drm_fd)); + + fb =prepare_fb (data); + + buf =gem_mmap_offset__wc (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_uc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_mmap_offset (data->drm_fd)); +igt_skip_on (gem_has_lmem (data->drm_fd)); + + fb =prepare_fb (data); + +/* mmap the fb */ + buf =__gem_mmap_offset (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE , +I915_MMAP_OFFSET_UC ); +igt_assert (buf); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_fixed (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_lmem (data->drm_fd)); + + fb =prepare_fb (data); + +/* mmap the fb */ + buf =gem_mmap_offset__fixed (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_legacy_mmap_wc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_legacy_mmap (data->drm_fd)); +igt_require (gem_mmap__has_wc (data->drm_fd)); + + fb =prepare_fb (data); + +/* mmap the fb */ + buf =gem_mmap__wc (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void select_valid_pipe_output_combo (data_t *data) +{ +igt_display_t *display = &data->display; + +for_each_pipe_with_valid_output (display, data->pipe, data->output) { +igt_display_reset (display); + +igt_output_set_pipe (data->output, data->pipe); +if (!i915_pipe_output_combo_valid (display)) +continue ; + +/* one is enough */ +return ; + } + +igt_skip ("no valid crtc/connector combinations found\n" ); +} + +igt_main +{ +data_t data; + + igt_fixture { + data.drm_fd =drm_open_driver_master (DRIVER_INTEL ); + + data.devid =intel_get_drm_devid (data.drm_fd); + +kmstest_set_vt_graphics_mode (); + +igt_require_pipe_crc (data.drm_fd); + +igt_display_require (&data.display, data.drm_fd); + +select_valid_pipe_output_combo (&data); + } + +/** +* SUBTEST: memset-crc +* Description: Use display controller CRC hardware to validate (non)coherency +* of memset operations on future scanout buffer objects +* mmapped with different mmap methods and different caching modes. +*/ + igt_subtest_with_dynamic("memset-crc") { +if (gem_has_mappable_ggtt (data.drm_fd)) { + igt_dynamic("mmap-gtt") +test_mmap_gtt (&data); + +cleanup_crtc (&data); + } + +if (gem_mmap_offset__has_wc (data.drm_fd)) { + igt_dynamic("mmap-offset-wc") +test_mmap_offset_wc (&data); + +cleanup_crtc (&data); + } + +if (gem_has_mmap_offset (data.drm_fd)) { +if (gem_has_lmem (data.drm_fd)) { + igt_dynamic("mmap-offset-fixed") +test_mmap_offset_fixed (&data); + +cleanup_crtc (&data); + + }else { + igt_dynamic("mmap-offset-uc") +test_mmap_offset_uc (&data); + +cleanup_crtc (&data); + } + } + +if (gem_has_legacy_mmap (data.drm_fd) && +gem_mmap__has_wc (data.drm_fd)) { + igt_dynamic("mmap-legacy-wc") +test_legacy_mmap_wc (&data); + +cleanup_crtc (&data); + } + } + + igt_fixture { +igt_display_fini (&data.display); +close (data.drm_fd); + } +}
tests/meson.build +1 -0
@@ -224,6 +224,7 @@ i915_progs = [ 'kms_ccs', 'kms_cdclk', 'kms_draw_crc', + 'kms_fb_coherency', 'kms_fbcon_fbt', 'kms_fence_pin_leak', 'kms_flip_scaled_crc',
Signature · 1 line
2.40.1
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/i915: Exercise coherency of mmapped frame buffers (rev3)
== Series Details ==
== Series Details ==
Series: tests/i915: Exercise coherency of mmapped frame buffers (rev3)
URL : https://patchwork.freedesktop.org/series/117751/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13151 -> IGTPW_8972
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/index.html
Participating hosts (38 -> 37)
------------------------------
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in IGTPW_8972 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@mman:
- bat-rpls-2: [PASS][1] -> [TIMEOUT][2] ([i915#6794] / [i915#7392])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/bat-rpls-2/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@slpc:
- bat-dg2-11: [PASS][3] -> [DMESG-WARN][4] ([i915#7953])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/bat-dg2-11/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-dg2-11/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s2idle-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][5] ([i915#6687])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-rpls-2/igt@[email protected]
- fi-rkl-11600: [PASS][6] -> [FAIL][7] ([fdo#103375])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/fi-rkl-11600/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/fi-rkl-11600/igt@[email protected]
- bat-adls-5: [PASS][8] -> [ABORT][9] ([i915#4391])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/bat-adls-5/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-adls-5/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc:
- bat-adlp-9: NOTRUN -> [SKIP][10] ([i915#3546]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-adlp-9/igt@[email protected]
#### Possible fixes ####
* igt@i915_pm_rpm@basic-rte:
- {bat-mtlp-8}: [TIMEOUT][11] -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/bat-mtlp-8/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-mtlp-8/igt@[email protected]
* igt@i915_selftest@live@requests:
- {bat-mtlp-8}: [ABORT][13] ([i915#4983] / [i915#7920] / [i915#7953]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/bat-mtlp-8/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-mtlp-8/igt@i915_selftest@[email protected]
- {bat-mtlp-6}: [ABORT][15] ([i915#4983] / [i915#7920] / [i915#7953]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/bat-mtlp-6/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-mtlp-6/igt@i915_selftest@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck@pipe-d-dp-1:
- bat-dg2-8: [FAIL][17] ([i915#7932]) -> [PASS][18] +2 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7392]: https://gitlab.freedesktop.org/drm/intel/issues/7392
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7920]: https://gitlab.freedesktop.org/drm/intel/issues/7920
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7953]: https://gitlab.freedesktop.org/drm/intel/issues/7953
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7292 -> IGTPW_8972
CI-20190529: 20190529
CI_DRM_13151: 4a28d03908b9d284f0b64a1fd9f5304761460db8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8972: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/index.html
IGT_7292: 9d9475ffd3b5ae18fd8ec120595385f6c562f249 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
+igt@kms_fb_coherency@memset-crc
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/index.html
Quoted 236 lines · Janusz Krzysztofik
Visible glitches have been observed when running graphics applications on Linux under Xen hypervisor. Those observations have been confirmed with failures from
kms_pwrite_crcIGT test that verifies data coherency of DRM frame buffer objects using hardware CRC checksums calculated by display controllers, exposed to userspace via debugfs. Since not all applications exhibit the issue, we need to exercise more methods than just pwrite in order to identify all affected processing paths.Create a new test focused on exercising coherency of future scanout buffers populated over mmap. Cover all available mmap methods and caching modes expected to be device coherent.
v2: Drop unused functions -- left-overs from unsuccessful negative subtest
attempts requiring consistent crc mismatches in non-coherent modes,
- since all subtests now calligt_assert_crc_equal(), move it from subtest bodies to an updated and renamed helper,
- drop "derived from ..." info from copyrights comment (Kamil),
- fix order of includes (Kamil),
- fix whitespace (Kamil),
- Cc: Bhanuprakash (Kamil).Signed-off-by Janusz Krzysztofik <[email protected]>Cc Bhanuprakash Modem <[email protected]>--- tests/i915/kms_fb_coherency.c | 305 ++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 2 files changed, 306 insertions(+)create mode 100644
tests/i915/kms_fb_coherency.ctests/i915/kms_fb_coherency.c new file +200
-0@@ -0,0 +1,305 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2023 Intel Corporation +*/ + +/** +* TEST: kms_fb_coherency +* Description: Exercise coherency of future scanout buffer objects +*/ + +#include <errno.h> +#include <limits.h> +#include <stdbool.h> +#include <stdio.h> +#include <string.h> + +#include "igt.h" + +typedef struct { +int drm_fd; +igt_display_t display; +struct igt_fb fb[2 ]; +igt_output_t *output; +igt_plane_t *primary; +enum pipe pipe; +igt_crc_t ref_crc; +igt_pipe_crc_t *pipe_crc; +uint32_t devid; +}data_t ; + +static void prepare_crtc (data_t *data) +{ +igt_display_t *display = &data->display; +igt_output_t *output = data->output; +drmModeModeInfo *mode; + +igt_display_reset (display); +/* select the pipe we want to use */ +igt_output_set_pipe (output, data->pipe); + + mode =igt_output_get_mode (output); + +/* create a white reference fb and flip to it */ +igt_create_color_fb (data->drm_fd, mode->hdisplay, mode->vdisplay, +DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , +1.0 ,1.0 ,1.0 , &data->fb[0 ]); + + data->primary =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); + +igt_plane_set_fb (data->primary, &data->fb[0 ]); +igt_display_commit (display); + +if (data->pipe_crc) +igt_pipe_crc_free (data->pipe_crc); + + data->pipe_crc =igt_pipe_crc_new (data->drm_fd, data->pipe, +IGT_PIPE_CRC_SOURCE_AUTO ); + +/* get reference crc for the white fb */ +igt_pipe_crc_collect_crc (data->pipe_crc, &data->ref_crc); +} + +static struct igt_fb *prepare_fb (data_t *data) +{ +igt_output_t *output = data->output; +struct igt_fb *fb = &data->fb[1 ]; +drmModeModeInfo *mode; + +prepare_crtc (data); + + mode =igt_output_get_mode (output); + +/* create a non-white fb we can overwrite later */ +igt_create_pattern_fb (data->drm_fd, mode->hdisplay, mode->vdisplay, +DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , fb); + +/* flip to it to make it UC/WC and fully flushed */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + output->config.crtc->crtc_id, + fb->fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +/* flip back the original white buffer */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + output->config.crtc->crtc_id, + data->fb[0 ].fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +if (!gem_has_lmem (data->drm_fd)) { +uint32_t caching; + +/* make sure caching mode has become UC/WT */ + caching =gem_get_caching (data->drm_fd, fb->gem_handle); +igt_assert (caching ==I915_CACHING_NONE || + caching ==I915_CACHING_DISPLAY ); + } + +return fb; +} + +static void check_buf_crc (data_t *data,void *buf,igt_fb_t *fb) +{ +igt_crc_t crc; + +/* use memset to make the mmapped fb all white */ +memset (buf,0xff , fb->size); +munmap (buf, fb->size); + +/* and flip to it */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + data->output->config.crtc->crtc_id, + fb->fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +/* check that the crc is as expected, which requires that caches got flushed */ +igt_pipe_crc_collect_crc (data->pipe_crc, &crc); +igt_assert_crc_equal (&crc, &data->ref_crc); +} + +static void cleanup_crtc (data_t *data) +{ +igt_display_t *display = &data->display; +igt_output_t *output = data->output; + +igt_pipe_crc_free (data->pipe_crc); + data->pipe_crc =NULL ; + +igt_plane_set_fb (data->primary,NULL ); + +igt_output_set_pipe (output,PIPE_ANY ); +igt_display_commit (display); + +igt_remove_fb (data->drm_fd, &data->fb[0 ]); +igt_remove_fb (data->drm_fd, &data->fb[1 ]); +} + +static void test_mmap_gtt (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +gem_require_mappable_ggtt (data->drm_fd); + + fb =prepare_fb (data); + + buf =gem_mmap__gtt (data->drm_fd, fb->gem_handle, fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_wc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_mmap_offset__has_wc (data->drm_fd)); + + fb =prepare_fb (data); + + buf =gem_mmap_offset__wc (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_uc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_mmap_offset (data->drm_fd)); +igt_skip_on (gem_has_lmem (data->drm_fd)); + + fb =prepare_fb (data); + +/* mmap the fb */ + buf =__gem_mmap_offset (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE , +I915_MMAP_OFFSET_UC ); +igt_assert (buf); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_fixed (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_lmem (data->drm_fd)); + + fb =prepare_fb (data); + +/* mmap the fb */ + buf =gem_mmap_offset__fixed (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); +
tests/i915/kms_fb_coherency.c line 210
Quoted 10 lines
tests/i915/kms_fb_coherency.c new file +10
-0+check_buf_crc (data, buf, fb); +} + +static void test_legacy_mmap_wc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_legacy_mmap (data->drm_fd)); +igt_require (gem_mmap__has_wc (data->drm_fd));
Do we need these check if they are already performed below? Just asking :)
Quoted 12 lines
tests/i915/kms_fb_coherency.c new file +12
-0+ + fb =prepare_fb (data); + +/* mmap the fb */ + buf =gem_mmap__wc (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void select_valid_pipe_output_combo (data_t *data) +{ +igt_display_t *display = &data->display;
tests/i915/kms_fb_coherency.c line 232
Quoted 10 lines
tests/i915/kms_fb_coherency.c new file +10
-0+ +for_each_pipe_with_valid_output (display, data->pipe, data->output) { +igt_display_reset (display); + +igt_output_set_pipe (data->output, data->pipe); +if (!i915_pipe_output_combo_valid (display)) +continue ; + +/* one is enough */ +return ;
if (i915_pipe_output_combo_valid(display))
return;
is shorter
Quoted 28 lines
tests/i915/kms_fb_coherency.c new file +28
-0+ } + +igt_skip ("no valid crtc/connector combinations found\n" ); +} + +igt_main +{ +data_t data; + + igt_fixture { + data.drm_fd =drm_open_driver_master (DRIVER_INTEL ); + + data.devid =intel_get_drm_devid (data.drm_fd); + +kmstest_set_vt_graphics_mode (); + +igt_require_pipe_crc (data.drm_fd); + +igt_display_require (&data.display, data.drm_fd); + +select_valid_pipe_output_combo (&data); + } + +/** +* SUBTEST: memset-crc +* Description: Use display controller CRC hardware to validate (non)coherency +* of memset operations on future scanout buffer objects +* mmapped with different mmap methods and different caching modes.
tests/i915/kms_fb_coherency.c line 270
Quoted 10 lines
tests/i915/kms_fb_coherency.c new file +10
-0+*/ + igt_subtest_with_dynamic("memset-crc") { +if (gem_has_mappable_ggtt (data.drm_fd)) { + igt_dynamic("mmap-gtt") +test_mmap_gtt (&data); + +cleanup_crtc (&data); + } + +if (gem_mmap_offset__has_wc (data.drm_fd)) {
I wonder how these checks will work with static .testlist?
Regards
Andrzej
Quoted 47 lines
tests/i915/kms_fb_coherency.c new file +35
-0+ igt_dynamic("mmap-offset-wc") +test_mmap_offset_wc (&data); + +cleanup_crtc (&data); + } + +if (gem_has_mmap_offset (data.drm_fd)) { +if (gem_has_lmem (data.drm_fd)) { + igt_dynamic("mmap-offset-fixed") +test_mmap_offset_fixed (&data); + +cleanup_crtc (&data); + + }else { + igt_dynamic("mmap-offset-uc") +test_mmap_offset_uc (&data); + +cleanup_crtc (&data); + } + } + +if (gem_has_legacy_mmap (data.drm_fd) && +gem_mmap__has_wc (data.drm_fd)) { + igt_dynamic("mmap-legacy-wc") +test_legacy_mmap_wc (&data); + +cleanup_crtc (&data); + } + } + + igt_fixture { +igt_display_fini (&data.display); +close (data.drm_fd); + } +}tests/meson.build +1
-0@@ -224,6 +224,7 @@ i915_progs = [ 'kms_ccs', 'kms_cdclk', 'kms_draw_crc', + 'kms_fb_coherency', 'kms_fbcon_fbt', 'kms_fence_pin_leak', 'kms_flip_scaled_crc',
Hi Andrzej,
Thanks for review.
Quoted 242 lines · On Tuesday, 16 May 2023 16:08:26 CEST Andrzej Hajda wrote:
Quoted 241 lines · Janusz Krzysztofik
Visible glitches have been observed when running graphics applications on Linux under Xen hypervisor. Those observations have been confirmed with failures from
kms_pwrite_crcIGT test that verifies data coherency of DRM frame buffer objects using hardware CRC checksums calculated by display controllers, exposed to userspace via debugfs. Since not all applications exhibit the issue, we need to exercise more methods than just pwrite in order to identify all affected processing paths.Create a new test focused on exercising coherency of future scanout buffers populated over mmap. Cover all available mmap methods and caching modes expected to be device coherent.
v2: Drop unused functions -- left-overs from unsuccessful negative subtest
attempts requiring consistent crc mismatches in non-coherent modes,
- since all subtests now calligt_assert_crc_equal(), move it from subtest bodies to an updated and renamed helper,
- drop "derived from ..." info from copyrights comment (Kamil),
- fix order of includes (Kamil),
- fix whitespace (Kamil),
- Cc: Bhanuprakash (Kamil).Signed-off-by Janusz Krzysztofik <[email protected]>Cc Bhanuprakash Modem <[email protected]>--- tests/i915/kms_fb_coherency.c | 305 ++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 2 files changed, 306 insertions(+)create mode 100644
tests/i915/kms_fb_coherency.ctests/i915/kms_fb_coherency.c new file +205
-0@@ -0,0 +1,305 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2023 Intel Corporation +*/ + +/** +* TEST: kms_fb_coherency +* Description: Exercise coherency of future scanout buffer objects +*/ + +#include <errno.h> +#include <limits.h> +#include <stdbool.h> +#include <stdio.h> +#include <string.h> + +#include "igt.h" + +typedef struct { +int drm_fd; +igt_display_t display; +struct igt_fb fb[2 ]; +igt_output_t *output; +igt_plane_t *primary; +enum pipe pipe; +igt_crc_t ref_crc; +igt_pipe_crc_t *pipe_crc; +uint32_t devid; +}data_t ; + +static void prepare_crtc (data_t *data) +{ +igt_display_t *display = &data->display; +igt_output_t *output = data->output; +drmModeModeInfo *mode; + +igt_display_reset (display); +/* select the pipe we want to use */ +igt_output_set_pipe (output, data->pipe); + + mode =igt_output_get_mode (output); + +/* create a white reference fb and flip to it */ +igt_create_color_fb (data->drm_fd, mode->hdisplay, mode->vdisplay, +DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , +1.0 ,1.0 ,1.0 , &data->fb[0 ]); + + data->primary =igt_output_get_plane_type (output,DRM_PLANE_TYPE_PRIMARY ); + +igt_plane_set_fb (data->primary, &data->fb[0 ]); +igt_display_commit (display); + +if (data->pipe_crc) +igt_pipe_crc_free (data->pipe_crc); + + data->pipe_crc =igt_pipe_crc_new (data->drm_fd, data->pipe, +IGT_PIPE_CRC_SOURCE_AUTO ); + +/* get reference crc for the white fb */ +igt_pipe_crc_collect_crc (data->pipe_crc, &data->ref_crc); +} + +static struct igt_fb *prepare_fb (data_t *data) +{ +igt_output_t *output = data->output; +struct igt_fb *fb = &data->fb[1 ]; +drmModeModeInfo *mode; + +prepare_crtc (data); + + mode =igt_output_get_mode (output); + +/* create a non-white fb we can overwrite later */ +igt_create_pattern_fb (data->drm_fd, mode->hdisplay, mode->vdisplay, +DRM_FORMAT_XRGB8888 ,DRM_FORMAT_MOD_LINEAR , fb); + +/* flip to it to make it UC/WC and fully flushed */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + output->config.crtc->crtc_id, + fb->fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +/* flip back the original white buffer */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + output->config.crtc->crtc_id, + data->fb[0 ].fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +if (!gem_has_lmem (data->drm_fd)) { +uint32_t caching; + +/* make sure caching mode has become UC/WT */ + caching =gem_get_caching (data->drm_fd, fb->gem_handle); +igt_assert (caching ==I915_CACHING_NONE || + caching ==I915_CACHING_DISPLAY ); + } + +return fb; +} + +static void check_buf_crc (data_t *data,void *buf,igt_fb_t *fb) +{ +igt_crc_t crc; + +/* use memset to make the mmapped fb all white */ +memset (buf,0xff , fb->size); +munmap (buf, fb->size); + +/* and flip to it */ +drmModeSetPlane (data->drm_fd, + data->primary->drm_plane->plane_id, + data->output->config.crtc->crtc_id, + fb->fb_id,0 , +0 ,0 , fb->width, fb->height, +0 ,0 , fb->width <<16 , fb->height <<16 ); + +/* check that the crc is as expected, which requires that caches got flushed */ +igt_pipe_crc_collect_crc (data->pipe_crc, &crc); +igt_assert_crc_equal (&crc, &data->ref_crc); +} + +static void cleanup_crtc (data_t *data) +{ +igt_display_t *display = &data->display; +igt_output_t *output = data->output; + +igt_pipe_crc_free (data->pipe_crc); + data->pipe_crc =NULL ; + +igt_plane_set_fb (data->primary,NULL ); + +igt_output_set_pipe (output,PIPE_ANY ); +igt_display_commit (display); + +igt_remove_fb (data->drm_fd, &data->fb[0 ]); +igt_remove_fb (data->drm_fd, &data->fb[1 ]); +} + +static void test_mmap_gtt (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +gem_require_mappable_ggtt (data->drm_fd); + + fb =prepare_fb (data); + + buf =gem_mmap__gtt (data->drm_fd, fb->gem_handle, fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_wc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_mmap_offset__has_wc (data->drm_fd)); + + fb =prepare_fb (data); + + buf =gem_mmap_offset__wc (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_uc (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_mmap_offset (data->drm_fd)); +igt_skip_on (gem_has_lmem (data->drm_fd)); + + fb =prepare_fb (data); + +/* mmap the fb */ + buf =__gem_mmap_offset (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE , +I915_MMAP_OFFSET_UC ); +igt_assert (buf); + +check_buf_crc (data, buf, fb); +} + +static void test_mmap_offset_fixed (data_t *data) +{ +igt_fb_t *fb; +void *buf; + +igt_require (gem_has_lmem (data->drm_fd)); + + fb =prepare_fb (data); + +/* mmap the fb */ + buf =gem_mmap_offset__fixed (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void test_legacy_mmap_wc (data_t *data) +{
Quoted 8 lines
tests/i915/kms_fb_coherency.c line 210
Quoted 5 lines
tests/i915/kms_fb_coherency.c new file +5
-0+igt_fb_t *fb; +void *buf; + +igt_require (gem_has_legacy_mmap (data->drm_fd)); +igt_require (gem_mmap__has_wc (data->drm_fd));Do we need these check if they are already performed below? Just asking :)
No, not really :)
Quoted 25 lines
Quoted 13 lines
tests/i915/kms_fb_coherency.c new file +12
-0+ + fb =prepare_fb (data); + +/* mmap the fb */ + buf =gem_mmap__wc (data->drm_fd, fb->gem_handle,0 , fb->size,PROT_WRITE ); + +check_buf_crc (data, buf, fb); +} + +static void select_valid_pipe_output_combo (data_t *data) +{ +igt_display_t *display = &data->display;tests/i915/kms_fb_coherency.c line 232
Quoted 10 lines
tests/i915/kms_fb_coherency.c new file +10
-0+ +for_each_pipe_with_valid_output (display, data->pipe, data->output) { +igt_display_reset (display); + +igt_output_set_pipe (data->output, data->pipe); +if (!i915_pipe_output_combo_valid (display)) +continue ; + +/* one is enough */ +return ;if (
i915_pipe_output_combo_valid(display))
Quoted 3 lines
return;is shorter
Indeed.
Quoted 33 lines
Quoted 33 lines
tests/i915/kms_fb_coherency.c new file +32
-0+ } + +igt_skip ("no valid crtc/connector combinations found\n" ); +} + +igt_main +{ +data_t data; + + igt_fixture { + data.drm_fd =drm_open_driver_master (DRIVER_INTEL ); + + data.devid =intel_get_drm_devid (data.drm_fd); + +kmstest_set_vt_graphics_mode (); + +igt_require_pipe_crc (data.drm_fd); + +igt_display_require (&data.display, data.drm_fd); + +select_valid_pipe_output_combo (&data); + } + +/** +* SUBTEST: memset-crc +* Description: Use display controller CRC hardware to validate (non)coherency +* of memset operations on future scanout buffer objects +* mmapped with different mmap methods and different caching modes. +*/ + igt_subtest_with_dynamic("memset-crc") { +if (gem_has_mappable_ggtt (data.drm_fd)) { +igt_dynamic ("mmap-gtt" )
Quoted 8 lines
tests/i915/kms_fb_coherency.c line 270
Quoted 6 lines
tests/i915/kms_fb_coherency.c new file +6
-0+test_mmap_gtt (&data); + +cleanup_crtc (&data); + } + +if (gem_mmap_offset__has_wc (data.drm_fd)) {I wonder how these checks will work with static .testlist?
There were two options:
a) a static list of subtests, always executed and skipping if not supported,
b) a dynamically generated list of dynamic sub-subtests, based on platform capabilities.
I think that b) will work with static .testlists just as other dynamic tests that iterate over e.g. engines or memomry regions do -- here we "iterate" over available mmap methods / caching modes. I've chosen b) because I think that it produces less noise in CI, however I'm open to switching to a static list of subtests.
Quoted 3 lines
Reviewed-by Andrzej Hajda <[email protected]>
If there are no requests for switching to a static list of subtests, nor any other comments, I'll drop the above pointed out redundant checks from subtest bodies, apply your continue -> return simplification, and use your R-b.
Thanks,
Janusz
Quoted 53 lines
Regards
AndrzejQuoted 47 lines
tests/i915/kms_fb_coherency.c new file +35
-0+ igt_dynamic("mmap-offset-wc") +test_mmap_offset_wc (&data); + +cleanup_crtc (&data); + } + +if (gem_has_mmap_offset (data.drm_fd)) { +if (gem_has_lmem (data.drm_fd)) { + igt_dynamic("mmap-offset-fixed") +test_mmap_offset_fixed (&data); + +cleanup_crtc (&data); + + }else { + igt_dynamic("mmap-offset-uc") +test_mmap_offset_uc (&data); + +cleanup_crtc (&data); + } + } + +if (gem_has_legacy_mmap (data.drm_fd) && +gem_mmap__has_wc (data.drm_fd)) { + igt_dynamic("mmap-legacy-wc") +test_legacy_mmap_wc (&data); + +cleanup_crtc (&data); + } + } + + igt_fixture { +igt_display_fini (&data.display); +close (data.drm_fd); + } +}tests/meson.build +1
-0@@ -224,6 +224,7 @@ i915_progs = [ 'kms_ccs', 'kms_cdclk', 'kms_draw_crc', + 'kms_fb_coherency', 'kms_fbcon_fbt', 'kms_fence_pin_leak', 'kms_flip_scaled_crc',
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for tests/i915: Exercise coherency of mmapped frame buffers (rev3)
In reply to Janusz Krzysztofik== Series Details ==
== Series Details ==
Series: tests/i915: Exercise coherency of mmapped frame buffers (rev3)
URL : https://patchwork.freedesktop.org/series/117751/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13151_full -> IGTPW_8972_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/index.html
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8972_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@api_intel_allocator@two-level-inception:
- {shard-dg1}: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-dg1-14/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-dg1-13/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_13151_full and IGTPW_8972_full:
### New IGT tests (6) ###
* igt@kms_fb_coherency@memset-crc:
- Statuses :
- Exec time: [None] s
* igt@kms_fb_coherency@memset-crc@mmap-gtt:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@kms_fb_coherency@memset-crc@mmap-legacy-wc:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@kms_fb_coherency@memset-crc@mmap-offset-fixed:
- Statuses : 1 pass(s)
- Exec time: [0.0] s
* igt@kms_fb_coherency@memset-crc@mmap-offset-uc:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@kms_fb_coherency@memset-crc@mmap-offset-wc:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_8972_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_barrier_race@remote-request@rcs0:
- shard-glk: [PASS][3] -> [ABORT][4] ([i915#7461] / [i915#8211])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-glk7/igt@gem_barrier_race@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-glk8/igt@gem_barrier_race@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-glk1/igt@gem_exec_fair@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_ppgtt@blt-vs-render-ctxn:
- shard-snb: [PASS][7] -> [DMESG-FAIL][8] ([i915#8295])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-snb7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-snb6/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][9] -> [ABORT][10] ([i915#5566])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-glk4/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-glk6/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-snb: [PASS][11] -> [ABORT][12] ([i915#4528])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-snb2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-snb4/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- shard-apl: [PASS][13] -> [DMESG-FAIL][14] ([i915#5334])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-apl6/igt@i915_selftest@live@gt_heartbeat.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-apl1/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_cursor_crc@cursor-suspend@pipe-b-vga-1:
- shard-snb: [PASS][15] -> [DMESG-WARN][16] ([i915#5090])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-snb2/igt@kms_cursor_crc@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-snb7/igt@kms_cursor_crc@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][17] -> [FAIL][18] ([i915#2346])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-glk4/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-glk8/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [PASS][19] -> [FAIL][20] ([i915#2346])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-apl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-apl6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_frontbuffer_tracking@psr-rgb565-draw-render:
- shard-apl: NOTRUN -> [SKIP][21] ([fdo#109271]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-apl2/igt@[email protected]
- shard-snb: NOTRUN -> [SKIP][22] ([fdo#109271]) +7 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-snb6/igt@[email protected]
#### Possible fixes ####
* igt@device_reset@unbind-reset-rebind:
- {shard-rkl}: [ABORT][23] ([i915#5507]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-rkl-2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-rkl-2/igt@[email protected]
- shard-apl: [ABORT][25] ([i915#5507]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-apl6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-apl7/igt@[email protected]
- {shard-tglu}: [ABORT][27] ([i915#5507]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-tglu-7/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-tglu-10/igt@[email protected]
* igt@gem_exec_fair@basic-none@bcs0:
- {shard-rkl}: [FAIL][29] ([i915#2842]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-rkl-7/igt@gem_exec_fair@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-rkl-1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][31] ([i915#2842]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-glk9/igt@gem_exec_fair@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-glk9/igt@gem_exec_fair@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- {shard-tglu}: [FAIL][33] ([i915#3989] / [i915#454]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-tglu-10/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-tglu-2/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle@vcs0:
- {shard-dg1}: [FAIL][35] ([i915#3591]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-dg1-14/igt@i915_pm_rc6_residency@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-dg1-14/igt@i915_pm_rc6_residency@[email protected]
* igt@i915_selftest@perf@engine_cs:
- shard-snb: [ABORT][37] ([i915#4528] / [i915#4579]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-snb6/igt@i915_selftest@perf@engine_cs.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-snb2/igt@i915_selftest@perf@engine_cs.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-apl: [FAIL][39] ([i915#2346]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-apl4/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-apl4/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-glk: [FAIL][41] ([i915#2346]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-glk1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-glk7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-hdmi-a1:
- shard-glk: [FAIL][43] ([i915#79]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-glk2/igt@kms_flip@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-glk2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp1:
- shard-apl: [FAIL][45] ([i915#79]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13151/shard-apl1/igt@kms_flip@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/shard-apl1/igt@kms_flip@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2436]: https://gitlab.freedesktop.org/drm/intel/issues/2436
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#5090]: https://gitlab.freedesktop.org/drm/intel/issues/5090
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5507]: https://gitlab.freedesktop.org/drm/intel/issues/5507
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8295]: https://gitlab.freedesktop.org/drm/intel/issues/8295
[i915#8304]: https://gitlab.freedesktop.org/drm/intel/issues/8304
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7292 -> IGTPW_8972
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_13151: 4a28d03908b9d284f0b64a1fd9f5304761460db8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8972: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/index.html
IGT_7292: 9d9475ffd3b5ae18fd8ec120595385f6c562f249 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8972/index.html