tests/kms_async: Add test to validate asynchronous flips
PATCH 1/1 tests/kms_async: Add test to validate asynchronous flips
Asynchronous flips are issued using the page flip IOCTL. The test consists of two subtests. The first subtest waits for the page flip event to be recevied before giving the next flip, and the second subtest doesn't wait for page flip events.
The test passes if the IOCTL is succesful.
--- tests/Makefile.sources | 1 + tests/kms_async.c | 206 +++++++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 3 files changed, 208 insertions(+) create mode 100644 tests/kms_async.c
tests/Makefile.sources +1 -0
@@ -29,6 +29,7 @@ TESTS_progs = \ fbdev \ kms_3d \ kms_addfb_basic \ + kms_async \ kms_atomic \ kms_atomic_interruptible \ kms_atomic_transition \
tests/kms_async.c new file +206 -0
206 lines not on this page · raw message
tests/meson.build +1 -0
@@ -13,6 +13,7 @@ test_progs = [ 'fbdev', 'kms_3d', 'kms_addfb_basic', + 'kms_async', 'kms_atomic', 'kms_atomic_interruptible', 'kms_atomic_transition',
Signature · 6 lines
2.22.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ GitLab.Pipeline: failure for tests/kms_async: Add test to validate asynchronous flips
== Series Details ==
== Series Details ==
Series: tests/kms_async: Add test to validate asynchronous flips
URL : https://patchwork.freedesktop.org/series/75453/
State : failure
== Summary ==
ERROR! This series introduces new undocumented tests:
kms_async
kms_async@async-flip-with-page-flip-events
kms_async@async-flip-without-page-flip-events
Can you document them as per the requirement in the [CONTRIBUTING.md]?
[Documentation] has more details on how to do this.
Here are few examples:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/0316695d03aa46108296b27f3982ec93200c7a6e
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/443cc658e1e6b492ee17bf4f4d891029eb7a205d
Thanks in advance!
[CONTRIBUTING.md]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/CONTRIBUTING.md#L19
[Documentation]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe
Other than that, pipeline status: SUCCESS.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/127990 for the overview.
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/127990
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_async: Add test to validate asynchronous flips
In reply to Karthik B S== Series Details ==
== Series Details ==
Series: tests/kms_async: Add test to validate asynchronous flips
URL : https://patchwork.freedesktop.org/series/75453/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8243 -> IGTPW_4400
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/index.html
Known issues
------------
Here are the changes found in IGTPW_4400 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_tiled_fence_blits@basic:
- fi-blb-e6850: [PASS][1] -> [DMESG-WARN][2] ([i915#1612])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/fi-blb-e6850/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/fi-blb-e6850/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [PASS][3] -> [FAIL][4] ([i915#262])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/fi-cml-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/fi-cml-u2/igt@[email protected]
#### Possible fixes ####
* igt@i915_pm_rpm@module-reload:
- fi-icl-dsi: [INCOMPLETE][5] ([i915#189]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/fi-icl-dsi/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/fi-icl-dsi/igt@[email protected]
* igt@i915_selftest@live@execlists:
- fi-bxt-dsi: [INCOMPLETE][7] ([i915#656]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/fi-bxt-dsi/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/fi-bxt-dsi/igt@i915_selftest@[email protected]
[i915#1612]: https://gitlab.freedesktop.org/drm/intel/issues/1612
[i915#189]: https://gitlab.freedesktop.org/drm/intel/issues/189
[i915#262]: https://gitlab.freedesktop.org/drm/intel/issues/262
[i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656
Participating hosts (41 -> 43)
------------------------------
Additional (8): fi-skl-6770hq fi-bwr-2160 fi-snb-2520m fi-ivb-3770 fi-cfl-8109u fi-skl-lmem fi-byt-n2820 fi-skl-6600u
Missing (6): fi-tgl-dsi fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5560 -> IGTPW_4400
CI-20190529: 20190529
CI_DRM_8243: 45ccb1b8606b6ba1a5d4f8a8b4dda27bd8dbb04c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4400: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/index.html
IGT_5560: 213062c7dcf0cbc8069cbb5f91acbc494def33fd @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@kms_async@async-flip-without-page-flip-events +igt@kms_async@async-flip-with-page-flip-events
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Em sex, 2020-04-03 às 14:47 +0530, Karthik B S escreveu:
Quoted 9 lines
Asynchronous flips are issued using the page flip IOCTL. The test consists of two subtests. The first subtest waits for the page flip event to be recevied before giving the next flip, and the second subtest doesn't wait for page flip events.
The test passes if the IOCTL is succesful.
Signed-off-by Karthik B S <[email protected]>Suggested-by Paulo Zanoni <[email protected]>
I feel I deserve a little more credit than just a Suggested-by since this still has a lot of code I wrote :).
Quoted 37 lines
--- tests/Makefile.sources | 1 + tests/kms_async.c | 206 +++++++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 3 files changed, 208 insertions(+) create mode 100644 tests/kms_async.ctests/Makefile.sources +1
-0@@ -29,6 +29,7 @@ TESTS_progs = \ fbdev \ kms_3d \ kms_addfb_basic \ + kms_async \ kms_atomic \ kms_atomic_interruptible \ kms_atomic_transition \tests/kms_async.c new file +12
-0@@ -0,0 +1,206 @@ +/* +* Copyright © 2020 Intel Corporation +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice (including the next +* paragraph) shall be included in all copies or substantial portions of the
tests/kms_async.c line 22
Quoted 10 lines
tests/kms_async.c new file +10
-0+* Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +* IN THE SOFTWARE. +*
* Authors: Paulo Zanoni <email>
* Karthik B S <email>
tests/kms_async.c line 31
Quoted 9 lines
tests/kms_async.c new file +9
-0+*/ + +#include "igt.h" +#include "igt_aux.h" +#include <poll.h> + +#define BUFS 4 +#define WARM_UP_TIME 2 +#define RUN_TIME 10
Each subtest takes 12 seconds to run, by definition (sans timeouts). Maybe for IGT we want to make this a little faster? When I wrote this code I needed very precise FPS values, IGT only needs to assert things are working as expected.
1s WARM_UP_TIME and 4s RUN_TIME are probably very fine, and even less than that is also probably fine for IGT. Please play with the tunables.
IGT needs to be as fast as it can while still achieving 100% reliability.
Quoted 29 lines
tests/kms_async.c new file +29
-0+ +typedef struct { +int drm_fd; +igt_display_t display; +}data_t ; + +static drmModeConnectorPtr find_connector_for_modeset (data_t *data) +{ +igt_output_t *output; +drmModeConnectorPtr ret =NULL ; + +for_each_connected_output (&data->display, output) { +if (output->config.connector->count_modes >0 ) { + ret = output->config.connector; +break ; + } + } + +igt_assert_f (ret,"Connector NOT found\n" ); +return ret; +} + +static void flip_handler (int fd_,unsigned int sequence,unsigned int tv_sec, +unsigned int tv_usec,void *_data) +{ +static unsigned int last_ms; +unsigned int cur_ms; + +igt_assert (_data ==NULL );
tests/kms_async.c line 70
Quoted 10 lines
tests/kms_async.c new file +10
-0+ + cur_ms = tv_sec *1000 + tv_usec /1000 ; + +igt_debug ("Flip interval: %dms\n" , cur_ms - last_ms); + + last_ms = cur_ms; + +igt_debug ("Flip event received, fd:%d seq:%u tv_sec:%u, " +"tv_usec:%u data:%p\n" , + fd_, sequence, tv_sec, tv_usec, _data);
In my original implementation these messages were under if (0) because they significantly affected FPS.
I think we should probably have some kind of igt_assert() here instead of printing stuff. This program is supposed to achieve thousands of frames per second even on slow hardware (I think I got 2500 on a slow GLK?). Any intervals that resemble the monitor refresh rate by a 10x error rate are probably failures.
Quoted 8 lines
tests/kms_async.c new file +8
-0+} + +static void wait_flip_event (data_t *data) +{ +int ret; +drmEventContext evctx; +struct pollfd pfd; +static int timeouts =0 ;
tests/kms_async.c line 88
Quoted 10 lines
tests/kms_async.c new file +10
-0+ + evctx.version =2 ; + evctx.vblank_handler =NULL ; + evctx.page_flip_handler = flip_handler; + + pfd.fd = data->drm_fd; + pfd.events =POLLIN ; + pfd.revents =0 ; + + ret =poll (&pfd,1 ,10000 );
10s timeouts are not igt-friendly. I used a giant number because I wanted to read the logs. IGT doesn't need nor want 10s timeouts.
tests/kms_async.c line 93
Quoted 5 lines
tests/kms_async.c new file +5
-0+ +switch (ret) { +case 0 : + timeouts++; +igt_debug ("Poll timeout %d!\n" , timeouts);
I don't remember exactly, but I think a timeout was a failure? Maybe igt_assert() here?
Quoted 18 lines
tests/kms_async.c new file +18
-0+break ; +case 1 : + ret =drmHandleEvent (data->drm_fd, &evctx); +igt_assert (ret ==0 ); +break ; +default : +/* unexpected */ +igt_assert (0 ); + } +} + +static void make_fb (data_t *data,struct igt_fb *fb, +drmModeConnectorPtr connector,int index) +{ +uint32_t width, height; +int rec_width; + + width = connector->modes[0 ].hdisplay;
tests/kms_async.c line 121
Quoted 10 lines
tests/kms_async.c new file +10
-0+ height = connector->modes[0 ].vdisplay; + + rec_width = width / (BUFS *2 ); + +igt_create_fb (data->drm_fd, width, height,DRM_FORMAT_ARGB8888 , +LOCAL_I915_FORMAT_MOD_X_TILED , fb); +igt_draw_fill_fb (data->drm_fd, fb,0x88 ); +igt_draw_rect_fb (data->drm_fd,NULL ,NULL , fb,IGT_DRAW_MMAP_CPU , + rec_width*2 +rec_width*index, height/4 , + rec_width, height/2 ,rand ());
Please follow the IGT coding style regarding spaces.
tests/kms_async.c line 134
Quoted 13 lines
tests/kms_async.c new file +13
-0+} + +static void test_async_flip (data_t *data,bool wait_for_flips) +{ +struct igt_fb bufs[BUFS ]; +drmModeResPtr res; +drmModeConnectorPtr connector; +uint32_t crtc_id; +int i, ret, frame, warm_end_frame; +long long int fps; +struct timeval start, end, diff; +bool warming_up = true; +
From here...
Quoted 5 lines
tests/kms_async.c new file +5
-0+ res =drmModeGetResources (data->drm_fd); +igt_assert (res); + +kmstest_unset_all_crtcs (data->drm_fd, res); +
tests/kms_async.c line 149
Quoted 10 lines
tests/kms_async.c new file +10
-0+ connector =find_connector_for_modeset (data); + crtc_id =kmstest_find_crtc_for_connector (data->drm_fd, + res, connector,0 ); + +for (i =0 ; i <BUFS ; i++) +make_fb (data, &bufs[i], connector, i); + + ret =drmModeSetCrtc (data->drm_fd, crtc_id, bufs[0 ].fb_id,0 ,0 , + &connector->connector_id,1 , &connector->modes[0 ]); +igt_assert (ret ==0 );
... to here we probably don't want to repeat for every subtest, especially if we add more in the future. Make them part of the fixture and adjust the subtests to deal with it.
Quoted 23 lines
tests/kms_async.c new file +23
-0+ +gettimeofday (&start,NULL ); + frame =1 ; + do { + int flags = DRM_MODE_PAGE_FLIP_ASYNC; + + if (wait_for_flips) + flags |= DRM_MODE_PAGE_FLIP_EVENT; + + ret = drmModePageFlip(data->drm_fd, crtc_id, + bufs[frame % 4].fb_id, + flags, NULL); + + igt_assert(ret == 0 || ret == -EBUSY); + + if (wait_for_flips) + wait_flip_event(data); + + gettimeofday(&end, NULL); + timersub(&end, &start, &diff); + + /* 2s of warm-up time for the freq to stabilize */ + if (warming_up && diff.tv_sec >= WARM_UP_TIME) {
tests/kms_async.c line 182
Quoted 10 lines
tests/kms_async.c new file +10
-0+ warming_up = false; + warm_end_frame = frame; + start = end; + } + + frame++; + }while (diff.tv_sec <RUN_TIME ); + + fps = (frame - warm_end_frame) *1000 /RUN_TIME ; +igt_info ("fps: %lld.%03lld\n" , fps /1000 , fps %1000 );
We have to igt_assert() that FPS is a value significantly bigger than the mode refresh rate.
Quoted 4 lines
tests/kms_async.c new file +4
-0+ +for (i =0 ; i <BUFS ; i++) +igt_remove_fb (data->drm_fd, &bufs[i]); +}
tests/kms_async.c line 196
Quoted 10 lines
tests/kms_async.c new file +10
-0+ +igt_main +{ +data_t data; + + igt_fixture { + data.drm_fd =drm_open_driver_master (DRIVER_INTEL ); +kmstest_set_vt_graphics_mode (); +igt_display_require (&data.display, data.drm_fd); +igt_display_require_output (&data.display);
We have to SKIP in case async flips are not supported by the Kernel.
Thanks,
Paulo
Quoted 15 lines
tests/kms_async.c new file +10
-0+ } + + igt_subtest("async-flip-with-page-flip-events") +test_async_flip (&data, true); + igt_subtest("async-flip-without-page-flip-events") +test_async_flip (&data, false); + + igt_fixture + igt_display_fini(&data.display); +}tests/meson.build +0
-0
tests/meson.build test_progs = [ · line 19
Quoted 7 lines
tests/meson.build +1
-0@@ -13,6 +13,7 @@ test_progs = [ 'fbdev', 'kms_3d', 'kms_addfb_basic', + 'kms_async', 'kms_atomic', 'kms_atomic_interruptible', 'kms_atomic_transition',
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Thanks a lot for the review.
Quoted 6 lines · Paulo Zanoni
Em sex, 2020-04-03 às 14:47 +0530, Karthik B S escreveu:
Quoted 5 lines
Asynchronous flips are issued using the page flip IOCTL. The test consists of two subtests. The first subtest waits for the page flip event to be recevied before giving the next flip, and the second subtest doesn't wait for page flip events.
Quoted 8 lines
Quoted 4 lines
The test passes if the IOCTL is succesful.
Signed-off-by Karthik B S <[email protected]>Suggested-by Paulo Zanoni <[email protected]>I feel I deserve a little more credit than just a Suggested-by since this still has a lot of code I wrote :).
Sorry for that. I'll update in rev2. :)
Quoted 43 lines
Quoted 43 lines
--- tests/Makefile.sources | 1 + tests/kms_async.c | 206 +++++++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 3 files changed, 208 insertions(+)create mode 100644
tests/kms_async.ctests/Makefile.sources +1
-0@@ -29,6 +29,7 @@ TESTS_progs = \ fbdev \ kms_3d \ kms_addfb_basic \ + kms_async \ kms_atomic \ kms_atomic_interruptible \ kms_atomic_transition \tests/kms_async.c new file +17
-0@@ -0,0 +1,206 @@ +/* +* Copyright © 2020 Intel Corporation +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice (including the next +* paragraph) shall be included in all copies or substantial portions of the +* Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
Quoted 9 lines
tests/kms_async.c line 22
Quoted 5 lines
tests/kms_async.c new file +5
-0+* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +* IN THE SOFTWARE. +* * Authors: Paulo Zanoni <email>
* Karthik B S <email>
Noted.
Quoted 15 lines
tests/kms_async.c line 31
Quoted 9 lines
tests/kms_async.c new file +9
-0+*/ + +#include "igt.h" +#include "igt_aux.h" +#include <poll.h> + +#define BUFS 4 +#define WARM_UP_TIME 2 +#define RUN_TIME 10Each subtest takes 12 seconds to run, by definition (sans timeouts). Maybe for IGT we want to make this a little faster? When I wrote this code I needed very precise FPS values, IGT only needs to assert things are working as expected.
Quoted 6 lines
1s
WARM_UP_TIMEand 4sRUN_TIMEare probably very fine, and even less than that is also probably fine for IGT. Please play with the tunables.IGT needs to be as fast as it can while still achieving 100% reliability.
Will update this.
Quoted 43 lines
Quoted 29 lines
tests/kms_async.c new file +29
-0+ +typedef struct { +int drm_fd; +igt_display_t display; +}data_t ; + +static drmModeConnectorPtr find_connector_for_modeset (data_t *data) +{ +igt_output_t *output; +drmModeConnectorPtr ret =NULL ; + +for_each_connected_output (&data->display, output) { +if (output->config.connector->count_modes >0 ) { + ret = output->config.connector; +break ; + } + } + +igt_assert_f (ret,"Connector NOT found\n" ); +return ret; +} + +static void flip_handler (int fd_,unsigned int sequence,unsigned int tv_sec, +unsigned int tv_usec,void *_data) +{ +static unsigned int last_ms; +unsigned int cur_ms; + +igt_assert (_data ==NULL );tests/kms_async.c line 70
Quoted 10 lines
tests/kms_async.c new file +10
-0+ + cur_ms = tv_sec *1000 + tv_usec /1000 ; + +igt_debug ("Flip interval: %dms\n" , cur_ms - last_ms); + + last_ms = cur_ms; + +igt_debug ("Flip event received, fd:%d seq:%u tv_sec:%u, " +"tv_usec:%u data:%p\n" , + fd_, sequence, tv_sec, tv_usec, _data);In my original implementation these messages were under if (0) because they significantly affected FPS.
Quoted 6 lines
I think we should probably have some kind of
igt_assert()here instead of printing stuff. This program is supposed to achieve thousands of frames per second even on slow hardware (I think I got 2500 on a slow GLK?). Any intervals that resemble the monitor refresh rate by a 10x error rate are probably failures.
Does this mean if vblank interval is 16ms, then intervals of
Quoted 15 lines
1.6ms is a failure? Did I understand this right or Am I missing something here.
Quoted 13 lines
tests/kms_async.c new file +13
-0+} + +static void wait_flip_event (data_t *data) +{ +int ret; +drmEventContext evctx; +struct pollfd pfd; +static int timeouts =0 ; + + evctx.version =2 ; + evctx.vblank_handler =NULL ; + evctx.page_flip_handler = flip_handler; +
Quoted 9 lines
tests/kms_async.c line 88
Quoted 5 lines
tests/kms_async.c new file +5
-0+ pfd.fd = data->drm_fd; + pfd.events =POLLIN ; + pfd.revents =0 ; + + ret =poll (&pfd,1 ,10000 );10s timeouts are not igt-friendly. I used a giant number because I wanted to read the logs. IGT doesn't need nor want 10s timeouts.
Will update this.
Quoted 33 lines
tests/kms_async.c line 93
Quoted 6 lines
tests/kms_async.c new file +5
-0+ +switch (ret) { +case 0 : + timeouts++; +igt_debug ("Poll timeout %d!\n" , timeouts);I don't remember exactly, but I think a timeout was a failure? Maybe
igt_assert()here?Quoted 22 lines
tests/kms_async.c new file +22
-0+break ; +case 1 : + ret =drmHandleEvent (data->drm_fd, &evctx); +igt_assert (ret ==0 ); +break ; +default : +/* unexpected */ +igt_assert (0 ); + } +} + +static void make_fb (data_t *data,struct igt_fb *fb, +drmModeConnectorPtr connector,int index) +{ +uint32_t width, height; +int rec_width; + + width = connector->modes[0 ].hdisplay; + height = connector->modes[0 ].vdisplay; + + rec_width = width / (BUFS *2 ); +
Quoted 9 lines
tests/kms_async.c line 121
Quoted 6 lines
tests/kms_async.c new file +6
-0+igt_create_fb (data->drm_fd, width, height,DRM_FORMAT_ARGB8888 , +LOCAL_I915_FORMAT_MOD_X_TILED , fb); +igt_draw_fill_fb (data->drm_fd, fb,0x88 ); +igt_draw_rect_fb (data->drm_fd,NULL ,NULL , fb,IGT_DRAW_MMAP_CPU , + rec_width*2 +rec_width*index, height/4 , + rec_width, height/2 ,rand ());Please follow the IGT coding style regarding spaces.
Will update this accordingly.
Quoted 27 lines
tests/kms_async.c line 134
Quoted 13 lines
tests/kms_async.c new file +13
-0+} + +static void test_async_flip (data_t *data,bool wait_for_flips) +{ +struct igt_fb bufs[BUFS ]; +drmModeResPtr res; +drmModeConnectorPtr connector; +uint32_t crtc_id; +int i, ret, frame, warm_end_frame; +long long int fps; +struct timeval start, end, diff; +bool warming_up = true; +From here...
Quoted 11 lines
tests/kms_async.c new file +11
-0+ res =drmModeGetResources (data->drm_fd); +igt_assert (res); + +kmstest_unset_all_crtcs (data->drm_fd, res); + + connector =find_connector_for_modeset (data); + crtc_id =kmstest_find_crtc_for_connector (data->drm_fd, + res, connector,0 ); + +for (i =0 ; i <BUFS ; i++) +make_fb (data, &bufs[i], connector, i);
Quoted 9 lines
tests/kms_async.c line 149
Quoted 4 lines
tests/kms_async.c new file +4
-0+ + ret =drmModeSetCrtc (data->drm_fd, crtc_id, bufs[0 ].fb_id,0 ,0 , + &connector->connector_id,1 , &connector->modes[0 ]); +igt_assert (ret ==0 );... to here we probably don't want to repeat for every subtest, especially if we add more in the future. Make them part of the fixture and adjust the subtests to deal with it.
Sure. I'll make changes to the subtests accordingly.
Quoted 28 lines
Quoted 28 lines
tests/kms_async.c new file +28
-0+ +gettimeofday (&start,NULL ); + frame =1 ; + do { + int flags = DRM_MODE_PAGE_FLIP_ASYNC; + + if (wait_for_flips) + flags |= DRM_MODE_PAGE_FLIP_EVENT; + + ret = drmModePageFlip(data->drm_fd, crtc_id, + bufs[frame % 4].fb_id, + flags, NULL); + + igt_assert(ret == 0 || ret == -EBUSY); + + if (wait_for_flips) + wait_flip_event(data); + + gettimeofday(&end, NULL); + timersub(&end, &start, &diff); + + /* 2s of warm-up time for the freq to stabilize */ + if (warming_up && diff.tv_sec >= WARM_UP_TIME) { + warming_up = false; + warm_end_frame = frame; + start = end; + } +
Quoted 9 lines
tests/kms_async.c line 182
Quoted 5 lines
tests/kms_async.c new file +5
-0+ frame++; + }while (diff.tv_sec <RUN_TIME ); + + fps = (frame - warm_end_frame) *1000 /RUN_TIME ; +igt_info ("fps: %lld.%03lld\n" , fps /1000 , fps %1000 );We have to
igt_assert()that FPS is a value significantly bigger than the mode refresh rate.
Didn't get this? FPS is expected to be bigger than RR right? Could you please help me here, to understand what I'm missing?
Quoted 18 lines
Quoted 5 lines
tests/kms_async.c new file +4
-0+ +for (i =0 ; i <BUFS ; i++) +igt_remove_fb (data->drm_fd, &bufs[i]); +}tests/kms_async.c line 196
Quoted 10 lines
tests/kms_async.c new file +10
-0+ +igt_main +{ +data_t data; + + igt_fixture { + data.drm_fd =drm_open_driver_master (DRIVER_INTEL ); +kmstest_set_vt_graphics_mode (); +igt_display_require (&data.display, data.drm_fd); +igt_display_require_output (&data.display);We have to SKIP in case async flips are not supported by the Kernel.
Could you please let me know how I can do this? Since I can't test with a try_commit as we're using the page flip IOCTL in this test.
Any other way with which I can check this?
Thanks,
Karthik
Quoted 18 lines
Thanks,
PauloQuoted 14 lines
tests/kms_async.c new file +10
-0+ } + + igt_subtest("async-flip-with-page-flip-events") +test_async_flip (&data, true); + igt_subtest("async-flip-without-page-flip-events") +test_async_flip (&data, false); + + igt_fixture + igt_display_fini(&data.display); +}tests/meson.build +0
-0
Quoted 9 lines
tests/meson.build test_progs = [ · line 19
Quoted 8 lines
tests/meson.build +1
-0@@ -13,6 +13,7 @@ test_progs = [ 'fbdev', 'kms_3d', 'kms_addfb_basic', + 'kms_async', 'kms_atomic', 'kms_atomic_interruptible', 'kms_atomic_transition',
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Em qua, 2020-04-08 às 12:06 +0530, Karthik B S escreveu:
Quoted 148 lines
Thanks a lot for the review.
Quoted 6 lines · Paulo Zanoni
Em sex, 2020-04-03 às 14:47 +0530, Karthik B S escreveu:
Quoted 5 lines
Asynchronous flips are issued using the page flip IOCTL. The test consists of two subtests. The first subtest waits for the page flip event to be recevied before giving the next flip, and the second subtest doesn't wait for page flip events.
Quoted 8 lines
Quoted 4 lines
The test passes if the IOCTL is succesful.
Signed-off-by Karthik B S <[email protected]>Suggested-by Paulo Zanoni <[email protected]>I feel I deserve a little more credit than just a Suggested-by since this still has a lot of code I wrote :).
Sorry for that. I'll update in rev2. :)
Quoted 42 lines
Quoted 42 lines
--- tests/Makefile.sources | 1 + tests/kms_async.c | 206 +++++++++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 3 files changed, 208 insertions(+)create mode 100644
tests/kms_async.ctests/Makefile.sources +1
-0@@ -29,6 +29,7 @@ TESTS_progs = \ fbdev \ kms_3d \ kms_addfb_basic \ + kms_async \ kms_atomic \ kms_atomic_interruptible \ kms_atomic_transition \tests/kms_async.c new file +17
-0@@ -0,0 +1,206 @@ +/* +* Copyright © 2020 Intel Corporation +* +* Permission is hereby granted, free of charge, to any person obtaining a +* copy of this software and associated documentation files (the "Software"), +* to deal in the Software without restriction, including without limitation +* the rights to use, copy, modify, merge, publish, distribute, sublicense, +* and/or sell copies of the Software, and to permit persons to whom the +* Software is furnished to do so, subject to the following conditions: +* +* The above copyright notice and this permission notice (including the next +* paragraph) shall be included in all copies or substantial portions of the +* Software. +* +* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL Quoted 9 lines
tests/kms_async.c line 22
Quoted 5 lines
tests/kms_async.c new file +5
-0+* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +* IN THE SOFTWARE. +* * Authors: Paulo Zanoni <email>
* Karthik B S <email>Noted.
Quoted 15 lines
tests/kms_async.c line 31
Quoted 9 lines
tests/kms_async.c new file +9
-0+*/ + +#include "igt.h" +#include "igt_aux.h" +#include <poll.h> + +#define BUFS 4 +#define WARM_UP_TIME 2 +#define RUN_TIME 10Each subtest takes 12 seconds to run, by definition (sans timeouts). Maybe for IGT we want to make this a little faster? When I wrote this code I needed very precise FPS values, IGT only needs to assert things are working as expected.
Quoted 6 lines
1s
WARM_UP_TIMEand 4sRUN_TIMEare probably very fine, and even less than that is also probably fine for IGT. Please play with the tunables.IGT needs to be as fast as it can while still achieving 100% reliability.
Will update this.
Quoted 43 lines
Quoted 29 lines
tests/kms_async.c new file +29
-0+ +typedef struct { +int drm_fd; +igt_display_t display; +}data_t ; + +static drmModeConnectorPtr find_connector_for_modeset (data_t *data) +{ +igt_output_t *output; +drmModeConnectorPtr ret =NULL ; + +for_each_connected_output (&data->display, output) { +if (output->config.connector->count_modes >0 ) { + ret = output->config.connector; +break ; + } + } + +igt_assert_f (ret,"Connector NOT found\n" ); +return ret; +} + +static void flip_handler (int fd_,unsigned int sequence,unsigned int tv_sec, +unsigned int tv_usec,void *_data) +{ +static unsigned int last_ms; +unsigned int cur_ms; + +igt_assert (_data ==NULL );tests/kms_async.c line 70
Quoted 10 lines
tests/kms_async.c new file +10
-0+ + cur_ms = tv_sec *1000 + tv_usec /1000 ; + +igt_debug ("Flip interval: %dms\n" , cur_ms - last_ms); + + last_ms = cur_ms; + +igt_debug ("Flip event received, fd:%d seq:%u tv_sec:%u, " +"tv_usec:%u data:%p\n" , + fd_, sequence, tv_sec, tv_usec, _data);In my original implementation these messages were under if (0) because they significantly affected FPS.
Quoted 6 lines
I think we should probably have some kind of
igt_assert()here instead of printing stuff. This program is supposed to achieve thousands of frames per second even on slow hardware (I think I got 2500 on a slow GLK?). Any intervals that resemble the monitor refresh rate by a 10x error rate are probably failures.
Quoted 3 lines
Does this mean if vblank interval is 16ms, then intervals of
Quoted 1 line
1.6ms is a failure? Did I understand this right or Am I missing
something here.
This test is supposed to flip waaaaay faster than the monitor refresh rate. So if the refresh rate is 60hz, we should be getting events much faster than once per 16ms. We need to define a threshold where we can be confident that issues are detected (no false positives and no false negatives). I just came up with the 10x thing because I feel it's safe, but maybe I'm wrong and 10x is not the best value, I only ever tested one machine. This is the kind of thing we may have to tune after the test is in production by CI.
Quoted 147 lines
Quoted 14 lines
Quoted 14 lines
tests/kms_async.c new file +13
-0+} + +static void wait_flip_event (data_t *data) +{ +int ret; +drmEventContext evctx; +struct pollfd pfd; +static int timeouts =0 ; + + evctx.version =2 ; + evctx.vblank_handler =NULL ; + evctx.page_flip_handler = flip_handler; +Quoted 9 lines
tests/kms_async.c line 88
Quoted 5 lines
tests/kms_async.c new file +5
-0+ pfd.fd = data->drm_fd; + pfd.events =POLLIN ; + pfd.revents =0 ; + + ret =poll (&pfd,1 ,10000 );10s timeouts are not igt-friendly. I used a giant number because I wanted to read the logs. IGT doesn't need nor want 10s timeouts.
Will update this.
Quoted 32 lines
tests/kms_async.c line 93
Quoted 5 lines
tests/kms_async.c new file +5
-0+ +switch (ret) { +case 0 : + timeouts++; +igt_debug ("Poll timeout %d!\n" , timeouts);I don't remember exactly, but I think a timeout was a failure? Maybe
igt_assert()here?Quoted 22 lines
tests/kms_async.c new file +22
-0+break ; +case 1 : + ret =drmHandleEvent (data->drm_fd, &evctx); +igt_assert (ret ==0 ); +break ; +default : +/* unexpected */ +igt_assert (0 ); + } +} + +static void make_fb (data_t *data,struct igt_fb *fb, +drmModeConnectorPtr connector,int index) +{ +uint32_t width, height; +int rec_width; + + width = connector->modes[0 ].hdisplay; + height = connector->modes[0 ].vdisplay; + + rec_width = width / (BUFS *2 ); +Quoted 9 lines
tests/kms_async.c line 121
Quoted 6 lines
tests/kms_async.c new file +6
-0+igt_create_fb (data->drm_fd, width, height,DRM_FORMAT_ARGB8888 , +LOCAL_I915_FORMAT_MOD_X_TILED , fb); +igt_draw_fill_fb (data->drm_fd, fb,0x88 ); +igt_draw_rect_fb (data->drm_fd,NULL ,NULL , fb,IGT_DRAW_MMAP_CPU , + rec_width*2 +rec_width*index, height/4 , + rec_width, height/2 ,rand ());Please follow the IGT coding style regarding spaces.
Will update this accordingly.
Quoted 27 lines
tests/kms_async.c line 134
Quoted 13 lines
tests/kms_async.c new file +13
-0+} + +static void test_async_flip (data_t *data,bool wait_for_flips) +{ +struct igt_fb bufs[BUFS ]; +drmModeResPtr res; +drmModeConnectorPtr connector; +uint32_t crtc_id; +int i, ret, frame, warm_end_frame; +long long int fps; +struct timeval start, end, diff; +bool warming_up = true; +From here...
Quoted 11 lines
tests/kms_async.c new file +11
-0+ res =drmModeGetResources (data->drm_fd); +igt_assert (res); + +kmstest_unset_all_crtcs (data->drm_fd, res); + + connector =find_connector_for_modeset (data); + crtc_id =kmstest_find_crtc_for_connector (data->drm_fd, + res, connector,0 ); + +for (i =0 ; i <BUFS ; i++) +make_fb (data, &bufs[i], connector, i);Quoted 9 lines
tests/kms_async.c line 149
Quoted 4 lines
tests/kms_async.c new file +4
-0+ + ret =drmModeSetCrtc (data->drm_fd, crtc_id, bufs[0 ].fb_id,0 ,0 , + &connector->connector_id,1 , &connector->modes[0 ]); +igt_assert (ret ==0 );... to here we probably don't want to repeat for every subtest, especially if we add more in the future. Make them part of the fixture and adjust the subtests to deal with it.
Sure. I'll make changes to the subtests accordingly.
Quoted 28 lines
Quoted 28 lines
tests/kms_async.c new file +28
-0+ +gettimeofday (&start,NULL ); + frame =1 ; + do { + int flags = DRM_MODE_PAGE_FLIP_ASYNC; + + if (wait_for_flips) + flags |= DRM_MODE_PAGE_FLIP_EVENT; + + ret = drmModePageFlip(data->drm_fd, crtc_id, + bufs[frame % 4].fb_id, + flags, NULL); + + igt_assert(ret == 0 || ret == -EBUSY); + + if (wait_for_flips) + wait_flip_event(data); + + gettimeofday(&end, NULL); + timersub(&end, &start, &diff); + + /* 2s of warm-up time for the freq to stabilize */ + if (warming_up && diff.tv_sec >= WARM_UP_TIME) { + warming_up = false; + warm_end_frame = frame; + start = end; + } +Quoted 9 lines
tests/kms_async.c line 182
Quoted 5 lines
tests/kms_async.c new file +5
-0+ frame++; + }while (diff.tv_sec <RUN_TIME ); + + fps = (frame - warm_end_frame) *1000 /RUN_TIME ; +igt_info ("fps: %lld.%03lld\n" , fps /1000 , fps %1000 );We have to
igt_assert()that FPS is a value significantly bigger than the mode refresh rate.
Quoted 1 line
Didn't get this?
Printing the value is not enough, humans are not monitoring the IGT output. We need assertions.
Quoted 1 line
FPS is expected to be bigger than RR right?
Right, like waaay bigger.
Quoted 1 line
Could you please help me here, to understand what I'm missing?
Something like:
int threshold = 10; /* TODO: may need tuning */ igt_assert(fps / 1000 > refresh_rate * threshold);
Quoted 19 lines
Quoted 18 lines
Quoted 5 lines
tests/kms_async.c new file +4
-0+ +for (i =0 ; i <BUFS ; i++) +igt_remove_fb (data->drm_fd, &bufs[i]); +}tests/kms_async.c line 196
Quoted 10 lines
tests/kms_async.c new file +10
-0+ +igt_main +{ +data_t data; + + igt_fixture { + data.drm_fd =drm_open_driver_master (DRIVER_INTEL ); +kmstest_set_vt_graphics_mode (); +igt_display_require (&data.display, data.drm_fd); +igt_display_require_output (&data.display);We have to SKIP in case async flips are not supported by the Kernel.
Quoted 4 lines
Could you please let me know how I can do this? Since I can't test with a
try_commitas we're using the page flip IOCTL in this test.Any other way with which I can check this?
A quick check on the libdrm headers shows me DRM_CAP_ASYNC_PAGE_FLIP. Maybe that's enough? Otherwise go with whatever error drmModePageFlip() returns.
Quoted 22 lines
Thanks,
KarthikQuoted 18 lines
Thanks,
PauloQuoted 14 lines
tests/kms_async.c new file +10
-0+ } + + igt_subtest("async-flip-with-page-flip-events") +test_async_flip (&data, true); + igt_subtest("async-flip-without-page-flip-events") +test_async_flip (&data, false); + + igt_fixture + igt_display_fini(&data.display); +}tests/meson.build +0
-0
Quoted 8 lines
Quoted 8 lines
tests/meson.build test_progs = [ · line 19
Quoted 8 lines
tests/meson.build +1
-0@@ -13,6 +13,7 @@ test_progs = [ 'fbdev', 'kms_3d', 'kms_addfb_basic', + 'kms_async', 'kms_atomic', 'kms_atomic_interruptible', 'kms_atomic_transition',
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_async: Add test to validate asynchronous flips
In reply to Karthik B S== Series Details ==
== Series Details ==
Series: tests/kms_async: Add test to validate asynchronous flips
URL : https://patchwork.freedesktop.org/series/75453/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_8243_full -> IGTPW_4400_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4400_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_4400_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_4400/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4400_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_mmap_gtt@cpuset-medium-copy-xy:
- shard-iclb: [PASS][1] -> [FAIL][2] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-iclb6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb1/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [PASS][3] -> [FAIL][4] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-glk7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk8/igt@[email protected]
* {igt@kms_async@async-flip-with-page-flip-events} (NEW):
- shard-snb: NOTRUN -> [FAIL][5] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-snb2/igt@[email protected]
- shard-iclb: NOTRUN -> [FAIL][6] +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb5/igt@[email protected]
- shard-hsw: NOTRUN -> [FAIL][7] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-hsw4/igt@[email protected]
* {igt@kms_async@async-flip-without-page-flip-events} (NEW):
- shard-glk: NOTRUN -> [FAIL][8] +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk4/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][9] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl6/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][10] +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-tglb6/igt@[email protected]
- shard-kbl: NOTRUN -> [FAIL][11] +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl4/igt@[email protected]
#### Warnings ####
* igt@gem_tiled_swapping@non-threaded:
- shard-kbl: [FAIL][12] ([i915#93] / [i915#95]) -> [FAIL][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl3/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl6/igt@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_8243_full and IGTPW_4400_full:
### New IGT tests (3) ###
* igt@kms_async@async-flip-with-page-flip-events:
- Statuses : 7 fail(s)
- Exec time: [0.10, 1.29] s
* igt@kms_async@async-flip-without-page-flip-events:
- Statuses : 7 fail(s)
- Exec time: [0.12, 1.27] s
* igt@perf_pmu@faulting-read:
- Statuses :
- Exec time: [None] s
Known issues
------------
Here are the changes found in IGTPW_4400_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_pm_rpm@pm-caching:
- shard-tglb: [PASS][14] -> [SKIP][15] ([i915#1316] / [i915#579])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-tglb5/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-tglb8/igt@[email protected]
- shard-glk: [PASS][16] -> [SKIP][17] ([fdo#109271])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-glk1/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk7/igt@[email protected]
- shard-iclb: [PASS][18] -> [SKIP][19] ([i915#1316] / [i915#579])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-iclb6/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb8/igt@[email protected]
- shard-hsw: [PASS][20] -> [SKIP][21] ([fdo#109271])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-hsw6/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-hsw2/igt@[email protected]
* igt@i915_selftest@live@execlists:
- shard-apl: [PASS][22] -> [INCOMPLETE][23] ([i915#656])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl2/igt@i915_selftest@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl7/igt@i915_selftest@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-apl: [PASS][24] -> [DMESG-WARN][25] ([i915#180]) +2 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl4/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-alpha-opaque:
- shard-glk: [PASS][26] -> [FAIL][27] ([i915#54])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-glk9/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk9/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-dpms:
- shard-apl: [PASS][28] -> [FAIL][29] ([i915#54]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl3/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl4/igt@[email protected]
- shard-kbl: [PASS][30] -> [FAIL][31] ([i915#54]) +1 similar issue
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl7/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl6/igt@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-blt-ytiled:
- shard-glk: [PASS][32] -> [FAIL][33] ([i915#52] / [i915#54]) +2 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-glk9/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk9/igt@[email protected]
* igt@kms_draw_crc@fill-fb:
- shard-apl: [PASS][34] -> [FAIL][35] ([i915#95])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl2/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl3/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][36] -> [FAIL][37] ([i915#1525] / [i915#95])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl3/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl6/igt@[email protected]
- shard-kbl: [PASS][38] -> [FAIL][39] ([i915#64] / [i915#93] / [i915#95])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl6/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-snb: [PASS][40] -> [DMESG-WARN][41] ([i915#42])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-snb4/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-snb2/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-kbl: [PASS][42] -> [DMESG-WARN][43] ([i915#180])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl4/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl2/igt@[email protected]
* igt@kms_prime@basic-crc:
- shard-apl: [PASS][44] -> [FAIL][45] ([i915#1031] / [i915#95])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl8/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl2/igt@[email protected]
- shard-kbl: [PASS][46] -> [FAIL][47] ([i915#1031] / [i915#93] / [i915#95])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl4/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl1/igt@[email protected]
* igt@kms_psr@cursor_plane_move:
- shard-tglb: [PASS][48] -> [SKIP][49] ([i915#668]) +4 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-tglb8/igt@kms_psr@cursor_plane_move.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-tglb6/igt@kms_psr@cursor_plane_move.html
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [PASS][50] -> [SKIP][51] ([fdo#109441]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb3/igt@kms_psr@psr2_sprite_blt.html
* igt@prime_vgem@wait-bsd2:
- shard-iclb: [PASS][52] -> [SKIP][53] ([fdo#109276]) +4 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-iclb2/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb5/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_persistence@legacy-engines-mixed-process@blt:
- shard-apl: [FAIL][54] ([i915#1528]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl6/igt@gem_ctx_persistence@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl2/igt@gem_ctx_persistence@[email protected]
* igt@gem_exec_params@invalid-bsd-ring:
- shard-iclb: [SKIP][56] ([fdo#109276]) -> [PASS][57] +1 similar issue
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-iclb5/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb4/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-tglb: [FAIL][58] -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-tglb2/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-tglb8/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [FAIL][60] ([i915#454]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-iclb6/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb7/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-hsw: [FAIL][62] ([i915#1066]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-hsw6/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-hsw2/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x64-onscreen:
- shard-kbl: [FAIL][64] ([i915#54] / [i915#93] / [i915#95]) -> [PASS][65] +2 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl4/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl6/igt@[email protected]
- shard-apl: [FAIL][66] ([i915#54] / [i915#95]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl8/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy:
- shard-kbl: [FAIL][68] ([i915#93] / [i915#95]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl4/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl4/igt@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled:
- shard-glk: [FAIL][70] ([i915#177] / [i915#52] / [i915#54]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-glk2/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk3/igt@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-pwrite-ytiled:
- shard-glk: [FAIL][72] ([i915#52] / [i915#54]) -> [PASS][73] +3 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-glk5/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk2/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-wc-untiled:
- shard-kbl: [FAIL][74] ([fdo#108145] / [i915#177] / [i915#52] / [i915#54] / [i915#93] / [i915#95]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl1/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl1/igt@[email protected]
- shard-apl: [FAIL][76] ([fdo#108145] / [i915#52] / [i915#54] / [i915#95]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl6/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl2/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [INCOMPLETE][78] ([i915#61]) -> [PASS][79] +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-hsw6/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-hsw2/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-kbl: [DMESG-WARN][80] ([i915#180]) -> [PASS][81] +3 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl7/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-gtt:
- shard-glk: [FAIL][82] ([i915#49]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-glk4/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-gtt.html
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-glk9/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-gtt.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [DMESG-WARN][84] ([i915#180]) -> [PASS][85] +1 similar issue
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl1/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl1/igt@[email protected]
* igt@kms_plane_cursor@pipe-a-overlay-size-64:
- shard-apl: [FAIL][86] ([i915#1559] / [i915#95]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl1/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl3/igt@[email protected]
- shard-kbl: [FAIL][88] ([i915#1559] / [i915#93] / [i915#95]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-kbl6/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-kbl4/igt@[email protected]
* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [SKIP][90] ([fdo#109441]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-iclb8/igt@kms_psr@psr2_no_drrs.html
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
* {igt@perf@blocking-parameterized}:
- shard-hsw: [FAIL][92] ([i915#1542]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-hsw6/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-hsw4/igt@[email protected]
#### Warnings ####
* igt@kms_frontbuffer_tracking@fbcpsr-tilingchange:
- shard-tglb: [FAIL][94] ([i915#1524]) -> [SKIP][95] ([i915#668])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-tglb5/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-tglb6/igt@[email protected]
* igt@runner@aborted:
- shard-apl: [FAIL][96] ([i915#1423]) -> ([FAIL][97], [FAIL][98]) ([i915#1423] / [i915#529])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8243/shard-apl6/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl7/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/shard-apl1/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[i915#1031]: https://gitlab.freedesktop.org/drm/intel/issues/1031
[i915#1066]: https://gitlab.freedesktop.org/drm/intel/issues/1066
[i915#1316]: https://gitlab.freedesktop.org/drm/intel/issues/1316
[i915#1423]: https://gitlab.freedesktop.org/drm/intel/issues/1423
[i915#1524]: https://gitlab.freedesktop.org/drm/intel/issues/1524
[i915#1525]: https://gitlab.freedesktop.org/drm/intel/issues/1525
[i915#1528]: https://gitlab.freedesktop.org/drm/intel/issues/1528
[i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
[i915#1559]: https://gitlab.freedesktop.org/drm/intel/issues/1559
[i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#42]: https://gitlab.freedesktop.org/drm/intel/issues/42
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52
[i915#529]: https://gitlab.freedesktop.org/drm/intel/issues/529
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
[i915#64]: https://gitlab.freedesktop.org/drm/intel/issues/64
[i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656
[i915#668]: https://gitlab.freedesktop.org/drm/intel/issues/668
[i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (10 -> 8)
------------------------------
Missing (2): pig-skl-6260u pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5560 -> IGTPW_4400
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_8243: 45ccb1b8606b6ba1a5d4f8a8b4dda27bd8dbb04c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4400: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4400/index.html
IGT_5560: 213062c7dcf0cbc8069cbb5f91acbc494def33fd @ 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_4400/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev