* [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-13 19:28 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-13 19:28 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
I broke fb_mmap() proving that we need a test in CI!
References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/Makefile.sources | 1 +
tests/fbdev.c | 69 +++++++++++++++++++++++++++
tests/intel-ci/fast-feedback.testlist | 1 +
tests/meson.build | 1 +
4 files changed, 72 insertions(+)
create mode 100644 tests/fbdev.c
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index abf1e2fc1..6b1d4cb22 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -24,6 +24,7 @@ TESTS_progs = \
drm_import_export \
drm_mm \
drm_read \
+ fbdev \
kms_3d \
kms_addfb_basic \
kms_atomic \
diff --git a/tests/fbdev.c b/tests/fbdev.c
new file mode 100644
index 000000000..170f5dd52
--- /dev/null
+++ b/tests/fbdev.c
@@ -0,0 +1,69 @@
+/*
+ * Copyright © 2019 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
+ * 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.
+ */
+
+#include "config.h"
+
+#include "igt.h"
+
+#include <fcntl.h>
+#include <string.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <linux/fb.h>
+
+#include "igt.h"
+
+igt_main
+{
+ struct fb_var_screeninfo var_info;
+ struct fb_fix_screeninfo fix_info;
+ int fd = -1;
+
+ igt_fixture {
+ fd = open("/dev/fb0", O_RDWR);
+ igt_require_f(fd != -1, "/dev/fb0\n");
+
+ igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
+ igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
+ }
+
+ igt_subtest("mmap") {
+ unsigned long size;
+ void *map;
+
+ size = var_info.yres * fix_info.line_length;
+ map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
+ igt_assert(map != MAP_FAILED);
+
+ memset(map, 0, size);
+ munmap(map, size);
+ }
+
+ igt_fixture {
+ close(fd);
+ }
+}
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 9dd27b42e..dec6fdda1 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -2,6 +2,7 @@
igt@core_auth@basic-auth
igt@debugfs_test@read_all_entries
+igt@fbdev@mmap
igt@gem_basic@bad-close
igt@gem_basic@create-close
igt@gem_basic@create-fd-close
diff --git a/tests/meson.build b/tests/meson.build
index 98f2db555..44bddd027 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,6 +9,7 @@ test_progs = [
'drm_import_export',
'drm_mm',
'drm_read',
+ 'fbdev',
'kms_3d',
'kms_addfb_basic',
'kms_atomic',
--
2.24.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [Intel-gfx] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-13 19:28 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-13 19:28 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
I broke fb_mmap() proving that we need a test in CI!
References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/Makefile.sources | 1 +
tests/fbdev.c | 69 +++++++++++++++++++++++++++
tests/intel-ci/fast-feedback.testlist | 1 +
tests/meson.build | 1 +
4 files changed, 72 insertions(+)
create mode 100644 tests/fbdev.c
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index abf1e2fc1..6b1d4cb22 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -24,6 +24,7 @@ TESTS_progs = \
drm_import_export \
drm_mm \
drm_read \
+ fbdev \
kms_3d \
kms_addfb_basic \
kms_atomic \
diff --git a/tests/fbdev.c b/tests/fbdev.c
new file mode 100644
index 000000000..170f5dd52
--- /dev/null
+++ b/tests/fbdev.c
@@ -0,0 +1,69 @@
+/*
+ * Copyright © 2019 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
+ * 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.
+ */
+
+#include "config.h"
+
+#include "igt.h"
+
+#include <fcntl.h>
+#include <string.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <linux/fb.h>
+
+#include "igt.h"
+
+igt_main
+{
+ struct fb_var_screeninfo var_info;
+ struct fb_fix_screeninfo fix_info;
+ int fd = -1;
+
+ igt_fixture {
+ fd = open("/dev/fb0", O_RDWR);
+ igt_require_f(fd != -1, "/dev/fb0\n");
+
+ igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
+ igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
+ }
+
+ igt_subtest("mmap") {
+ unsigned long size;
+ void *map;
+
+ size = var_info.yres * fix_info.line_length;
+ map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
+ igt_assert(map != MAP_FAILED);
+
+ memset(map, 0, size);
+ munmap(map, size);
+ }
+
+ igt_fixture {
+ close(fd);
+ }
+}
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 9dd27b42e..dec6fdda1 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -2,6 +2,7 @@
igt@core_auth@basic-auth
igt@debugfs_test@read_all_entries
+igt@fbdev@mmap
igt@gem_basic@bad-close
igt@gem_basic@create-close
igt@gem_basic@create-fd-close
diff --git a/tests/meson.build b/tests/meson.build
index 98f2db555..44bddd027 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,6 +9,7 @@ test_progs = [
'drm_import_export',
'drm_mm',
'drm_read',
+ 'fbdev',
'kms_3d',
'kms_addfb_basic',
'kms_atomic',
--
2.24.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [igt-dev] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-13 19:28 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-13 19:28 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
I broke fb_mmap() proving that we need a test in CI!
References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/Makefile.sources | 1 +
tests/fbdev.c | 69 +++++++++++++++++++++++++++
tests/intel-ci/fast-feedback.testlist | 1 +
tests/meson.build | 1 +
4 files changed, 72 insertions(+)
create mode 100644 tests/fbdev.c
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index abf1e2fc1..6b1d4cb22 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -24,6 +24,7 @@ TESTS_progs = \
drm_import_export \
drm_mm \
drm_read \
+ fbdev \
kms_3d \
kms_addfb_basic \
kms_atomic \
diff --git a/tests/fbdev.c b/tests/fbdev.c
new file mode 100644
index 000000000..170f5dd52
--- /dev/null
+++ b/tests/fbdev.c
@@ -0,0 +1,69 @@
+/*
+ * Copyright © 2019 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
+ * 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.
+ */
+
+#include "config.h"
+
+#include "igt.h"
+
+#include <fcntl.h>
+#include <string.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <linux/fb.h>
+
+#include "igt.h"
+
+igt_main
+{
+ struct fb_var_screeninfo var_info;
+ struct fb_fix_screeninfo fix_info;
+ int fd = -1;
+
+ igt_fixture {
+ fd = open("/dev/fb0", O_RDWR);
+ igt_require_f(fd != -1, "/dev/fb0\n");
+
+ igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
+ igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
+ }
+
+ igt_subtest("mmap") {
+ unsigned long size;
+ void *map;
+
+ size = var_info.yres * fix_info.line_length;
+ map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
+ igt_assert(map != MAP_FAILED);
+
+ memset(map, 0, size);
+ munmap(map, size);
+ }
+
+ igt_fixture {
+ close(fd);
+ }
+}
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 9dd27b42e..dec6fdda1 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -2,6 +2,7 @@
igt@core_auth@basic-auth
igt@debugfs_test@read_all_entries
+igt@fbdev@mmap
igt@gem_basic@bad-close
igt@gem_basic@create-close
igt@gem_basic@create-fd-close
diff --git a/tests/meson.build b/tests/meson.build
index 98f2db555..44bddd027 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,6 +9,7 @@ test_progs = [
'drm_import_export',
'drm_mm',
'drm_read',
+ 'fbdev',
'kms_3d',
'kms_addfb_basic',
'kms_atomic',
--
2.24.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for tests: Add exercise for fbdev
2019-11-13 19:28 ` [Intel-gfx] " Chris Wilson
(?)
(?)
@ 2019-11-13 20:24 ` Patchwork
2019-11-13 20:26 ` Chris Wilson
-1 siblings, 1 reply; 18+ messages in thread
From: Patchwork @ 2019-11-13 20:24 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests: Add exercise for fbdev
URL : https://patchwork.freedesktop.org/series/69421/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7333 -> IGTPW_3696
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_3696 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_3696, 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_3696/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3696:
### IGT changes ###
#### Possible regressions ####
* {igt@fbdev@mmap} (NEW):
- fi-ivb-3770: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-ivb-3770/igt@fbdev@mmap.html
- fi-ilk-650: NOTRUN -> [INCOMPLETE][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-ilk-650/igt@fbdev@mmap.html
- fi-bsw-n3050: NOTRUN -> [INCOMPLETE][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bsw-n3050/igt@fbdev@mmap.html
- fi-kbl-x1275: NOTRUN -> [INCOMPLETE][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-x1275/igt@fbdev@mmap.html
- fi-hsw-peppy: NOTRUN -> [INCOMPLETE][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-hsw-peppy/igt@fbdev@mmap.html
- fi-blb-e6850: NOTRUN -> [INCOMPLETE][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-blb-e6850/igt@fbdev@mmap.html
- fi-kbl-7500u: NOTRUN -> [INCOMPLETE][7]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-7500u/igt@fbdev@mmap.html
- fi-hsw-4770r: NOTRUN -> [INCOMPLETE][8]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-hsw-4770r/igt@fbdev@mmap.html
- fi-skl-guc: NOTRUN -> [INCOMPLETE][9]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-skl-guc/igt@fbdev@mmap.html
- fi-skl-6600u: NOTRUN -> [INCOMPLETE][10]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-skl-6600u/igt@fbdev@mmap.html
- {fi-kbl-7560u}: NOTRUN -> [INCOMPLETE][11]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-7560u/igt@fbdev@mmap.html
- fi-bdw-5557u: NOTRUN -> [INCOMPLETE][12]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bdw-5557u/igt@fbdev@mmap.html
- fi-cfl-8700k: NOTRUN -> [INCOMPLETE][13]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-cfl-8700k/igt@fbdev@mmap.html
- fi-skl-6700k2: NOTRUN -> [INCOMPLETE][14]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-skl-6700k2/igt@fbdev@mmap.html
- fi-skl-lmem: NOTRUN -> [INCOMPLETE][15]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-skl-lmem/igt@fbdev@mmap.html
- fi-cfl-guc: NOTRUN -> [INCOMPLETE][16]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-cfl-guc/igt@fbdev@mmap.html
- fi-skl-6770hq: NOTRUN -> [INCOMPLETE][17]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-skl-6770hq/igt@fbdev@mmap.html
- fi-kbl-soraka: NOTRUN -> [INCOMPLETE][18]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-soraka/igt@fbdev@mmap.html
- fi-bsw-kefka: NOTRUN -> [INCOMPLETE][19]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bsw-kefka/igt@fbdev@mmap.html
- fi-kbl-r: NOTRUN -> [INCOMPLETE][20]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-r/igt@fbdev@mmap.html
- fi-bwr-2160: NOTRUN -> [INCOMPLETE][21]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bwr-2160/igt@fbdev@mmap.html
- fi-whl-u: NOTRUN -> [INCOMPLETE][22]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-whl-u/igt@fbdev@mmap.html
- fi-snb-2520m: NOTRUN -> [INCOMPLETE][23]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-snb-2520m/igt@fbdev@mmap.html
- fi-hsw-4770: NOTRUN -> [INCOMPLETE][24]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-hsw-4770/igt@fbdev@mmap.html
* igt@runner@aborted:
- fi-pnv-d510: NOTRUN -> [FAIL][25]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-pnv-d510/igt@runner@aborted.html
- fi-hsw-peppy: NOTRUN -> [FAIL][26]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-hsw-peppy/igt@runner@aborted.html
- fi-gdg-551: NOTRUN -> [FAIL][27]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-gdg-551/igt@runner@aborted.html
- fi-snb-2520m: NOTRUN -> [FAIL][28]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-snb-2520m/igt@runner@aborted.html
- fi-kbl-soraka: NOTRUN -> [FAIL][29]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-soraka/igt@runner@aborted.html
- fi-hsw-4770: NOTRUN -> [FAIL][30]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-hsw-4770/igt@runner@aborted.html
- fi-kbl-7500u: NOTRUN -> [FAIL][31]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-7500u/igt@runner@aborted.html
- fi-whl-u: NOTRUN -> [FAIL][32]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-whl-u/igt@runner@aborted.html
- fi-ivb-3770: NOTRUN -> [FAIL][33]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-ivb-3770/igt@runner@aborted.html
- fi-bxt-dsi: NOTRUN -> [FAIL][34]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bxt-dsi/igt@runner@aborted.html
- fi-byt-j1900: NOTRUN -> [FAIL][35]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-byt-j1900/igt@runner@aborted.html
- fi-cfl-guc: NOTRUN -> [FAIL][36]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-cfl-guc/igt@runner@aborted.html
- fi-bsw-n3050: NOTRUN -> [FAIL][37]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bsw-n3050/igt@runner@aborted.html
- fi-blb-e6850: NOTRUN -> [FAIL][38]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-blb-e6850/igt@runner@aborted.html
- fi-kbl-x1275: NOTRUN -> [FAIL][39]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-x1275/igt@runner@aborted.html
- fi-bsw-kefka: NOTRUN -> [FAIL][40]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bsw-kefka/igt@runner@aborted.html
- fi-cfl-8700k: NOTRUN -> [FAIL][41]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-cfl-8700k/igt@runner@aborted.html
- fi-hsw-4770r: NOTRUN -> [FAIL][42]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-hsw-4770r/igt@runner@aborted.html
- fi-apl-guc: NOTRUN -> [FAIL][43]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-apl-guc/igt@runner@aborted.html
- fi-kbl-r: NOTRUN -> [FAIL][44]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-r/igt@runner@aborted.html
- fi-byt-n2820: NOTRUN -> [FAIL][45]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-byt-n2820/igt@runner@aborted.html
- fi-snb-2600: NOTRUN -> [FAIL][46]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-snb-2600/igt@runner@aborted.html
- fi-elk-e7500: NOTRUN -> [FAIL][47]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-elk-e7500/igt@runner@aborted.html
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@runner@aborted:
- {fi-kbl-7560u}: NOTRUN -> [FAIL][48]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-kbl-7560u/igt@runner@aborted.html
New tests
---------
New tests have been introduced between CI_DRM_7333 and IGTPW_3696:
### New IGT tests (1) ###
* igt@fbdev@mmap:
- Statuses : 40 incomplete(s) 1 pass(s) 2 skip(s)
- Exec time: [0.0, 0.01] s
Known issues
------------
Here are the changes found in IGTPW_3696 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live_gem_contexts:
- fi-bsw-nick: [PASS][49] -> [INCOMPLETE][50] ([fdo# 111542])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7333/fi-bsw-nick/igt@i915_selftest@live_gem_contexts.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-bsw-nick/igt@i915_selftest@live_gem_contexts.html
#### Warnings ####
* igt@runner@aborted:
- fi-icl-guc: [FAIL][51] ([fdo#110943] / [fdo#111093]) -> [FAIL][52] ([fdo#111093])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7333/fi-icl-guc/igt@runner@aborted.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-icl-guc/igt@runner@aborted.html
- fi-cml-s: [FAIL][53] ([fdo#111764]) -> [FAIL][54] ([fdo#111893])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7333/fi-cml-s/igt@runner@aborted.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/fi-cml-s/igt@runner@aborted.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo# 111542]: https://bugs.freedesktop.org/show_bug.cgi?id= 111542
[fdo#110943]: https://bugs.freedesktop.org/show_bug.cgi?id=110943
[fdo#111093]: https://bugs.freedesktop.org/show_bug.cgi?id=111093
[fdo#111764]: https://bugs.freedesktop.org/show_bug.cgi?id=111764
[fdo#111893]: https://bugs.freedesktop.org/show_bug.cgi?id=111893
Participating hosts (52 -> 45)
------------------------------
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5276 -> IGTPW_3696
CI-20190529: 20190529
CI_DRM_7333: 98f339e8114c2a8655da1e3bcfa95db3631e2f64 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3696: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/index.html
IGT_5276: 868d38c2bc075b6756ebed486db6e7152ed2c5be @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@fbdev@mmap
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3696/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [igt-dev] ✗ Fi.CI.BAT: failure for tests: Add exercise for fbdev
2019-11-13 20:24 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2019-11-13 20:26 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-13 20:26 UTC (permalink / raw)
To: Patchwork, igt-dev
Quoting Patchwork (2019-11-13 20:24:03)
> New tests
> ---------
>
> New tests have been introduced between CI_DRM_7333 and IGTPW_3696:
>
> ### New IGT tests (1) ###
>
> * igt@fbdev@mmap:
> - Statuses : 40 incomplete(s) 1 pass(s) 2 skip(s)
> - Exec time: [0.0, 0.01] s
Who passed! And which 2 didn't have an /dev/fb0?
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: failure for tests: Add exercise for fbdev
2019-11-13 19:28 ` [Intel-gfx] " Chris Wilson
` (2 preceding siblings ...)
(?)
@ 2019-11-13 20:32 ` Patchwork
-1 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2019-11-13 20:32 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests: Add exercise for fbdev
URL : https://patchwork.freedesktop.org/series/69421/
State : failure
== Summary ==
ERROR! This series introduces new undocumented tests:
fbdev
fbdev@mmap
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/78795 for the overview.
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/78795
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:18 ` Ville Syrjälä
0 siblings, 0 replies; 18+ messages in thread
From: Ville Syrjälä @ 2019-11-14 12:18 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev, intel-gfx
On Wed, Nov 13, 2019 at 07:28:54PM +0000, Chris Wilson wrote:
> I broke fb_mmap() proving that we need a test in CI!
>
> References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
> tests/Makefile.sources | 1 +
> tests/fbdev.c | 69 +++++++++++++++++++++++++++
> tests/intel-ci/fast-feedback.testlist | 1 +
> tests/meson.build | 1 +
> 4 files changed, 72 insertions(+)
> create mode 100644 tests/fbdev.c
>
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index abf1e2fc1..6b1d4cb22 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -24,6 +24,7 @@ TESTS_progs = \
> drm_import_export \
> drm_mm \
> drm_read \
> + fbdev \
> kms_3d \
> kms_addfb_basic \
> kms_atomic \
> diff --git a/tests/fbdev.c b/tests/fbdev.c
> new file mode 100644
> index 000000000..170f5dd52
> --- /dev/null
> +++ b/tests/fbdev.c
> @@ -0,0 +1,69 @@
> +/*
> + * Copyright © 2019 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
> + * 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.
> + */
> +
> +#include "config.h"
> +
> +#include "igt.h"
> +
> +#include <fcntl.h>
> +#include <string.h>
> +#include <sys/ioctl.h>
> +#include <sys/mman.h>
> +#include <sys/stat.h>
> +#include <sys/types.h>
> +#include <unistd.h>
> +
> +#include <linux/fb.h>
> +
> +#include "igt.h"
> +
> +igt_main
> +{
> + struct fb_var_screeninfo var_info;
> + struct fb_fix_screeninfo fix_info;
> + int fd = -1;
> +
> + igt_fixture {
> + fd = open("/dev/fb0", O_RDWR);
> + igt_require_f(fd != -1, "/dev/fb0\n");
I suppose we may want to iterate over all the devices eventually.
> +
> + igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
> + igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
> + }
> +
> + igt_subtest("mmap") {
> + unsigned long size;
> + void *map;
> +
> + size = var_info.yres * fix_info.line_length;
Or maybe just fix.smem_len?
Either way
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> + map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
> + igt_assert(map != MAP_FAILED);
> +
> + memset(map, 0, size);
> + munmap(map, size);
Another future idea would be to do a crc check to make sure we're
actually affecting the screen contents when we poke at the thing.
> + }
> +
> + igt_fixture {
> + close(fd);
> + }
> +}
> diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
> index 9dd27b42e..dec6fdda1 100644
> --- a/tests/intel-ci/fast-feedback.testlist
> +++ b/tests/intel-ci/fast-feedback.testlist
> @@ -2,6 +2,7 @@
>
> igt@core_auth@basic-auth
> igt@debugfs_test@read_all_entries
> +igt@fbdev@mmap
> igt@gem_basic@bad-close
> igt@gem_basic@create-close
> igt@gem_basic@create-fd-close
> diff --git a/tests/meson.build b/tests/meson.build
> index 98f2db555..44bddd027 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -9,6 +9,7 @@ test_progs = [
> 'drm_import_export',
> 'drm_mm',
> 'drm_read',
> + 'fbdev',
> 'kms_3d',
> 'kms_addfb_basic',
> 'kms_atomic',
> --
> 2.24.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Intel-gfx] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:18 ` Ville Syrjälä
0 siblings, 0 replies; 18+ messages in thread
From: Ville Syrjälä @ 2019-11-14 12:18 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev, intel-gfx
On Wed, Nov 13, 2019 at 07:28:54PM +0000, Chris Wilson wrote:
> I broke fb_mmap() proving that we need a test in CI!
>
> References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
> tests/Makefile.sources | 1 +
> tests/fbdev.c | 69 +++++++++++++++++++++++++++
> tests/intel-ci/fast-feedback.testlist | 1 +
> tests/meson.build | 1 +
> 4 files changed, 72 insertions(+)
> create mode 100644 tests/fbdev.c
>
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index abf1e2fc1..6b1d4cb22 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -24,6 +24,7 @@ TESTS_progs = \
> drm_import_export \
> drm_mm \
> drm_read \
> + fbdev \
> kms_3d \
> kms_addfb_basic \
> kms_atomic \
> diff --git a/tests/fbdev.c b/tests/fbdev.c
> new file mode 100644
> index 000000000..170f5dd52
> --- /dev/null
> +++ b/tests/fbdev.c
> @@ -0,0 +1,69 @@
> +/*
> + * Copyright © 2019 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
> + * 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.
> + */
> +
> +#include "config.h"
> +
> +#include "igt.h"
> +
> +#include <fcntl.h>
> +#include <string.h>
> +#include <sys/ioctl.h>
> +#include <sys/mman.h>
> +#include <sys/stat.h>
> +#include <sys/types.h>
> +#include <unistd.h>
> +
> +#include <linux/fb.h>
> +
> +#include "igt.h"
> +
> +igt_main
> +{
> + struct fb_var_screeninfo var_info;
> + struct fb_fix_screeninfo fix_info;
> + int fd = -1;
> +
> + igt_fixture {
> + fd = open("/dev/fb0", O_RDWR);
> + igt_require_f(fd != -1, "/dev/fb0\n");
I suppose we may want to iterate over all the devices eventually.
> +
> + igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
> + igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
> + }
> +
> + igt_subtest("mmap") {
> + unsigned long size;
> + void *map;
> +
> + size = var_info.yres * fix_info.line_length;
Or maybe just fix.smem_len?
Either way
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> + map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
> + igt_assert(map != MAP_FAILED);
> +
> + memset(map, 0, size);
> + munmap(map, size);
Another future idea would be to do a crc check to make sure we're
actually affecting the screen contents when we poke at the thing.
> + }
> +
> + igt_fixture {
> + close(fd);
> + }
> +}
> diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
> index 9dd27b42e..dec6fdda1 100644
> --- a/tests/intel-ci/fast-feedback.testlist
> +++ b/tests/intel-ci/fast-feedback.testlist
> @@ -2,6 +2,7 @@
>
> igt@core_auth@basic-auth
> igt@debugfs_test@read_all_entries
> +igt@fbdev@mmap
> igt@gem_basic@bad-close
> igt@gem_basic@create-close
> igt@gem_basic@create-fd-close
> diff --git a/tests/meson.build b/tests/meson.build
> index 98f2db555..44bddd027 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -9,6 +9,7 @@ test_progs = [
> 'drm_import_export',
> 'drm_mm',
> 'drm_read',
> + 'fbdev',
> 'kms_3d',
> 'kms_addfb_basic',
> 'kms_atomic',
> --
> 2.24.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [igt-dev] [Intel-gfx] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:18 ` Ville Syrjälä
0 siblings, 0 replies; 18+ messages in thread
From: Ville Syrjälä @ 2019-11-14 12:18 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev, intel-gfx
On Wed, Nov 13, 2019 at 07:28:54PM +0000, Chris Wilson wrote:
> I broke fb_mmap() proving that we need a test in CI!
>
> References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
> tests/Makefile.sources | 1 +
> tests/fbdev.c | 69 +++++++++++++++++++++++++++
> tests/intel-ci/fast-feedback.testlist | 1 +
> tests/meson.build | 1 +
> 4 files changed, 72 insertions(+)
> create mode 100644 tests/fbdev.c
>
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index abf1e2fc1..6b1d4cb22 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -24,6 +24,7 @@ TESTS_progs = \
> drm_import_export \
> drm_mm \
> drm_read \
> + fbdev \
> kms_3d \
> kms_addfb_basic \
> kms_atomic \
> diff --git a/tests/fbdev.c b/tests/fbdev.c
> new file mode 100644
> index 000000000..170f5dd52
> --- /dev/null
> +++ b/tests/fbdev.c
> @@ -0,0 +1,69 @@
> +/*
> + * Copyright © 2019 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
> + * 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.
> + */
> +
> +#include "config.h"
> +
> +#include "igt.h"
> +
> +#include <fcntl.h>
> +#include <string.h>
> +#include <sys/ioctl.h>
> +#include <sys/mman.h>
> +#include <sys/stat.h>
> +#include <sys/types.h>
> +#include <unistd.h>
> +
> +#include <linux/fb.h>
> +
> +#include "igt.h"
> +
> +igt_main
> +{
> + struct fb_var_screeninfo var_info;
> + struct fb_fix_screeninfo fix_info;
> + int fd = -1;
> +
> + igt_fixture {
> + fd = open("/dev/fb0", O_RDWR);
> + igt_require_f(fd != -1, "/dev/fb0\n");
I suppose we may want to iterate over all the devices eventually.
> +
> + igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
> + igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
> + }
> +
> + igt_subtest("mmap") {
> + unsigned long size;
> + void *map;
> +
> + size = var_info.yres * fix_info.line_length;
Or maybe just fix.smem_len?
Either way
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> + map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
> + igt_assert(map != MAP_FAILED);
> +
> + memset(map, 0, size);
> + munmap(map, size);
Another future idea would be to do a crc check to make sure we're
actually affecting the screen contents when we poke at the thing.
> + }
> +
> + igt_fixture {
> + close(fd);
> + }
> +}
> diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
> index 9dd27b42e..dec6fdda1 100644
> --- a/tests/intel-ci/fast-feedback.testlist
> +++ b/tests/intel-ci/fast-feedback.testlist
> @@ -2,6 +2,7 @@
>
> igt@core_auth@basic-auth
> igt@debugfs_test@read_all_entries
> +igt@fbdev@mmap
> igt@gem_basic@bad-close
> igt@gem_basic@create-close
> igt@gem_basic@create-fd-close
> diff --git a/tests/meson.build b/tests/meson.build
> index 98f2db555..44bddd027 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -9,6 +9,7 @@ test_progs = [
> 'drm_import_export',
> 'drm_mm',
> 'drm_read',
> + 'fbdev',
> 'kms_3d',
> 'kms_addfb_basic',
> 'kms_atomic',
> --
> 2.24.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:23 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-14 12:23 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: igt-dev, intel-gfx
Quoting Ville Syrjälä (2019-11-14 12:18:01)
> On Wed, Nov 13, 2019 at 07:28:54PM +0000, Chris Wilson wrote:
> > I broke fb_mmap() proving that we need a test in CI!
> >
> > References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > ---
> > tests/Makefile.sources | 1 +
> > tests/fbdev.c | 69 +++++++++++++++++++++++++++
> > tests/intel-ci/fast-feedback.testlist | 1 +
> > tests/meson.build | 1 +
> > 4 files changed, 72 insertions(+)
> > create mode 100644 tests/fbdev.c
> >
> > diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> > index abf1e2fc1..6b1d4cb22 100644
> > --- a/tests/Makefile.sources
> > +++ b/tests/Makefile.sources
> > @@ -24,6 +24,7 @@ TESTS_progs = \
> > drm_import_export \
> > drm_mm \
> > drm_read \
> > + fbdev \
> > kms_3d \
> > kms_addfb_basic \
> > kms_atomic \
> > diff --git a/tests/fbdev.c b/tests/fbdev.c
> > new file mode 100644
> > index 000000000..170f5dd52
> > --- /dev/null
> > +++ b/tests/fbdev.c
> > @@ -0,0 +1,69 @@
> > +/*
> > + * Copyright © 2019 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
> > + * 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.
> > + */
> > +
> > +#include "config.h"
> > +
> > +#include "igt.h"
> > +
> > +#include <fcntl.h>
> > +#include <string.h>
> > +#include <sys/ioctl.h>
> > +#include <sys/mman.h>
> > +#include <sys/stat.h>
> > +#include <sys/types.h>
> > +#include <unistd.h>
> > +
> > +#include <linux/fb.h>
> > +
> > +#include "igt.h"
> > +
> > +igt_main
> > +{
> > + struct fb_var_screeninfo var_info;
> > + struct fb_fix_screeninfo fix_info;
> > + int fd = -1;
> > +
> > + igt_fixture {
> > + fd = open("/dev/fb0", O_RDWR);
> > + igt_require_f(fd != -1, "/dev/fb0\n");
>
> I suppose we may want to iterate over all the devices eventually.
Yup, pencil that in after multi-device support for igt lands :)
Or at least dynamic subtests.
> > +
> > + igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
> > + igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
> > + }
> > +
> > + igt_subtest("mmap") {
> > + unsigned long size;
> > + void *map;
> > +
> > + size = var_info.yres * fix_info.line_length;
>
> Or maybe just fix.smem_len?
That sounds sensible, as that is the limit of the mappable area and not
just the screen. I cheated and just copied what ply-image was doing,
which had the desired effect of exploding.
> Either way
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> > + map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
> > + igt_assert(map != MAP_FAILED);
> > +
> > + memset(map, 0, size);
> > + munmap(map, size);
>
> Another future idea would be to do a crc check to make sure we're
> actually affecting the screen contents when we poke at the thing.
And we probably want to check all the other bits and bobs of the fbdev
API -- at least the bare minimum as we must keep working for plymouth.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [Intel-gfx] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:23 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-14 12:23 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: igt-dev, intel-gfx
Quoting Ville Syrjälä (2019-11-14 12:18:01)
> On Wed, Nov 13, 2019 at 07:28:54PM +0000, Chris Wilson wrote:
> > I broke fb_mmap() proving that we need a test in CI!
> >
> > References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > ---
> > tests/Makefile.sources | 1 +
> > tests/fbdev.c | 69 +++++++++++++++++++++++++++
> > tests/intel-ci/fast-feedback.testlist | 1 +
> > tests/meson.build | 1 +
> > 4 files changed, 72 insertions(+)
> > create mode 100644 tests/fbdev.c
> >
> > diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> > index abf1e2fc1..6b1d4cb22 100644
> > --- a/tests/Makefile.sources
> > +++ b/tests/Makefile.sources
> > @@ -24,6 +24,7 @@ TESTS_progs = \
> > drm_import_export \
> > drm_mm \
> > drm_read \
> > + fbdev \
> > kms_3d \
> > kms_addfb_basic \
> > kms_atomic \
> > diff --git a/tests/fbdev.c b/tests/fbdev.c
> > new file mode 100644
> > index 000000000..170f5dd52
> > --- /dev/null
> > +++ b/tests/fbdev.c
> > @@ -0,0 +1,69 @@
> > +/*
> > + * Copyright © 2019 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
> > + * 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.
> > + */
> > +
> > +#include "config.h"
> > +
> > +#include "igt.h"
> > +
> > +#include <fcntl.h>
> > +#include <string.h>
> > +#include <sys/ioctl.h>
> > +#include <sys/mman.h>
> > +#include <sys/stat.h>
> > +#include <sys/types.h>
> > +#include <unistd.h>
> > +
> > +#include <linux/fb.h>
> > +
> > +#include "igt.h"
> > +
> > +igt_main
> > +{
> > + struct fb_var_screeninfo var_info;
> > + struct fb_fix_screeninfo fix_info;
> > + int fd = -1;
> > +
> > + igt_fixture {
> > + fd = open("/dev/fb0", O_RDWR);
> > + igt_require_f(fd != -1, "/dev/fb0\n");
>
> I suppose we may want to iterate over all the devices eventually.
Yup, pencil that in after multi-device support for igt lands :)
Or at least dynamic subtests.
> > +
> > + igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
> > + igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
> > + }
> > +
> > + igt_subtest("mmap") {
> > + unsigned long size;
> > + void *map;
> > +
> > + size = var_info.yres * fix_info.line_length;
>
> Or maybe just fix.smem_len?
That sounds sensible, as that is the limit of the mappable area and not
just the screen. I cheated and just copied what ply-image was doing,
which had the desired effect of exploding.
> Either way
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> > + map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
> > + igt_assert(map != MAP_FAILED);
> > +
> > + memset(map, 0, size);
> > + munmap(map, size);
>
> Another future idea would be to do a crc check to make sure we're
> actually affecting the screen contents when we poke at the thing.
And we probably want to check all the other bits and bobs of the fbdev
API -- at least the bare minimum as we must keep working for plymouth.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [igt-dev] [Intel-gfx] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:23 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-14 12:23 UTC (permalink / raw)
To: Ville Syrjälä; +Cc: igt-dev, intel-gfx
Quoting Ville Syrjälä (2019-11-14 12:18:01)
> On Wed, Nov 13, 2019 at 07:28:54PM +0000, Chris Wilson wrote:
> > I broke fb_mmap() proving that we need a test in CI!
> >
> > References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > ---
> > tests/Makefile.sources | 1 +
> > tests/fbdev.c | 69 +++++++++++++++++++++++++++
> > tests/intel-ci/fast-feedback.testlist | 1 +
> > tests/meson.build | 1 +
> > 4 files changed, 72 insertions(+)
> > create mode 100644 tests/fbdev.c
> >
> > diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> > index abf1e2fc1..6b1d4cb22 100644
> > --- a/tests/Makefile.sources
> > +++ b/tests/Makefile.sources
> > @@ -24,6 +24,7 @@ TESTS_progs = \
> > drm_import_export \
> > drm_mm \
> > drm_read \
> > + fbdev \
> > kms_3d \
> > kms_addfb_basic \
> > kms_atomic \
> > diff --git a/tests/fbdev.c b/tests/fbdev.c
> > new file mode 100644
> > index 000000000..170f5dd52
> > --- /dev/null
> > +++ b/tests/fbdev.c
> > @@ -0,0 +1,69 @@
> > +/*
> > + * Copyright © 2019 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
> > + * 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.
> > + */
> > +
> > +#include "config.h"
> > +
> > +#include "igt.h"
> > +
> > +#include <fcntl.h>
> > +#include <string.h>
> > +#include <sys/ioctl.h>
> > +#include <sys/mman.h>
> > +#include <sys/stat.h>
> > +#include <sys/types.h>
> > +#include <unistd.h>
> > +
> > +#include <linux/fb.h>
> > +
> > +#include "igt.h"
> > +
> > +igt_main
> > +{
> > + struct fb_var_screeninfo var_info;
> > + struct fb_fix_screeninfo fix_info;
> > + int fd = -1;
> > +
> > + igt_fixture {
> > + fd = open("/dev/fb0", O_RDWR);
> > + igt_require_f(fd != -1, "/dev/fb0\n");
>
> I suppose we may want to iterate over all the devices eventually.
Yup, pencil that in after multi-device support for igt lands :)
Or at least dynamic subtests.
> > +
> > + igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
> > + igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
> > + }
> > +
> > + igt_subtest("mmap") {
> > + unsigned long size;
> > + void *map;
> > +
> > + size = var_info.yres * fix_info.line_length;
>
> Or maybe just fix.smem_len?
That sounds sensible, as that is the limit of the mappable area and not
just the screen. I cheated and just copied what ply-image was doing,
which had the desired effect of exploding.
> Either way
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> > + map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, 0);
> > + igt_assert(map != MAP_FAILED);
> > +
> > + memset(map, 0, size);
> > + munmap(map, size);
>
> Another future idea would be to do a crc check to make sure we're
> actually affecting the screen contents when we poke at the thing.
And we probably want to check all the other bits and bobs of the fbdev
API -- at least the bare minimum as we must keep working for plymouth.
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:33 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-14 12:33 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
I broke fb_mmap() proving that we need a test in CI!
References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/Makefile.sources | 1 +
tests/fbdev.c | 81 +++++++++++++++++++++++++++
tests/intel-ci/fast-feedback.testlist | 1 +
tests/meson.build | 1 +
4 files changed, 84 insertions(+)
create mode 100644 tests/fbdev.c
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index abf1e2fc1..6b1d4cb22 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -24,6 +24,7 @@ TESTS_progs = \
drm_import_export \
drm_mm \
drm_read \
+ fbdev \
kms_3d \
kms_addfb_basic \
kms_atomic \
diff --git a/tests/fbdev.c b/tests/fbdev.c
new file mode 100644
index 000000000..fe320b14f
--- /dev/null
+++ b/tests/fbdev.c
@@ -0,0 +1,81 @@
+/*
+ * Copyright © 2019 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
+ * 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.
+ */
+
+#include "config.h"
+
+#include "igt.h"
+
+#include <fcntl.h>
+#include <string.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <linux/fb.h>
+
+#include "igt.h"
+
+igt_main
+{
+ struct fb_var_screeninfo var_info;
+ struct fb_fix_screeninfo fix_info;
+ int fd = -1;
+
+ igt_fixture {
+ fd = open("/dev/fb0", O_RDWR);
+ igt_require_f(fd != -1, "/dev/fb0\n");
+
+ igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
+ igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
+ }
+
+ igt_subtest("info") {
+ unsigned long size;
+
+ size = var_info.yres * fix_info.line_length;
+ igt_assert_f(size <= fix_info.smem_len,
+ "screen size (%d x %d) of pitch %d does not fit within mappable area of size %u\n",
+ var_info.xres, var_info.yres,
+ fix_info.line_length,
+ fix_info.smem_len);
+ }
+
+ igt_subtest("mmap") {
+ void *map;
+
+ igt_require(fix_info.smem_len);
+
+ map = mmap(NULL, fix_info.smem_len,
+ PROT_WRITE, MAP_SHARED, fd, 0);
+ igt_assert(map != MAP_FAILED);
+
+ memset(map, 0, fix_info.smem_len);
+ munmap(map, fix_info.smem_len);
+ }
+
+ igt_fixture {
+ close(fd);
+ }
+}
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 9dd27b42e..dec6fdda1 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -2,6 +2,7 @@
igt@core_auth@basic-auth
igt@debugfs_test@read_all_entries
+igt@fbdev@mmap
igt@gem_basic@bad-close
igt@gem_basic@create-close
igt@gem_basic@create-fd-close
diff --git a/tests/meson.build b/tests/meson.build
index 98f2db555..44bddd027 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,6 +9,7 @@ test_progs = [
'drm_import_export',
'drm_mm',
'drm_read',
+ 'fbdev',
'kms_3d',
'kms_addfb_basic',
'kms_atomic',
--
2.24.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [Intel-gfx] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:33 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-14 12:33 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
I broke fb_mmap() proving that we need a test in CI!
References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/Makefile.sources | 1 +
tests/fbdev.c | 81 +++++++++++++++++++++++++++
tests/intel-ci/fast-feedback.testlist | 1 +
tests/meson.build | 1 +
4 files changed, 84 insertions(+)
create mode 100644 tests/fbdev.c
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index abf1e2fc1..6b1d4cb22 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -24,6 +24,7 @@ TESTS_progs = \
drm_import_export \
drm_mm \
drm_read \
+ fbdev \
kms_3d \
kms_addfb_basic \
kms_atomic \
diff --git a/tests/fbdev.c b/tests/fbdev.c
new file mode 100644
index 000000000..fe320b14f
--- /dev/null
+++ b/tests/fbdev.c
@@ -0,0 +1,81 @@
+/*
+ * Copyright © 2019 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
+ * 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.
+ */
+
+#include "config.h"
+
+#include "igt.h"
+
+#include <fcntl.h>
+#include <string.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <linux/fb.h>
+
+#include "igt.h"
+
+igt_main
+{
+ struct fb_var_screeninfo var_info;
+ struct fb_fix_screeninfo fix_info;
+ int fd = -1;
+
+ igt_fixture {
+ fd = open("/dev/fb0", O_RDWR);
+ igt_require_f(fd != -1, "/dev/fb0\n");
+
+ igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
+ igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
+ }
+
+ igt_subtest("info") {
+ unsigned long size;
+
+ size = var_info.yres * fix_info.line_length;
+ igt_assert_f(size <= fix_info.smem_len,
+ "screen size (%d x %d) of pitch %d does not fit within mappable area of size %u\n",
+ var_info.xres, var_info.yres,
+ fix_info.line_length,
+ fix_info.smem_len);
+ }
+
+ igt_subtest("mmap") {
+ void *map;
+
+ igt_require(fix_info.smem_len);
+
+ map = mmap(NULL, fix_info.smem_len,
+ PROT_WRITE, MAP_SHARED, fd, 0);
+ igt_assert(map != MAP_FAILED);
+
+ memset(map, 0, fix_info.smem_len);
+ munmap(map, fix_info.smem_len);
+ }
+
+ igt_fixture {
+ close(fd);
+ }
+}
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 9dd27b42e..dec6fdda1 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -2,6 +2,7 @@
igt@core_auth@basic-auth
igt@debugfs_test@read_all_entries
+igt@fbdev@mmap
igt@gem_basic@bad-close
igt@gem_basic@create-close
igt@gem_basic@create-fd-close
diff --git a/tests/meson.build b/tests/meson.build
index 98f2db555..44bddd027 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,6 +9,7 @@ test_progs = [
'drm_import_export',
'drm_mm',
'drm_read',
+ 'fbdev',
'kms_3d',
'kms_addfb_basic',
'kms_atomic',
--
2.24.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [igt-dev] [PATCH i-g-t] tests: Add exercise for fbdev
@ 2019-11-14 12:33 ` Chris Wilson
0 siblings, 0 replies; 18+ messages in thread
From: Chris Wilson @ 2019-11-14 12:33 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
I broke fb_mmap() proving that we need a test in CI!
References: https://bugs.freedesktop.org/show_bug.cgi?id=112256
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/Makefile.sources | 1 +
tests/fbdev.c | 81 +++++++++++++++++++++++++++
tests/intel-ci/fast-feedback.testlist | 1 +
tests/meson.build | 1 +
4 files changed, 84 insertions(+)
create mode 100644 tests/fbdev.c
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index abf1e2fc1..6b1d4cb22 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -24,6 +24,7 @@ TESTS_progs = \
drm_import_export \
drm_mm \
drm_read \
+ fbdev \
kms_3d \
kms_addfb_basic \
kms_atomic \
diff --git a/tests/fbdev.c b/tests/fbdev.c
new file mode 100644
index 000000000..fe320b14f
--- /dev/null
+++ b/tests/fbdev.c
@@ -0,0 +1,81 @@
+/*
+ * Copyright © 2019 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
+ * 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.
+ */
+
+#include "config.h"
+
+#include "igt.h"
+
+#include <fcntl.h>
+#include <string.h>
+#include <sys/ioctl.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+#include <linux/fb.h>
+
+#include "igt.h"
+
+igt_main
+{
+ struct fb_var_screeninfo var_info;
+ struct fb_fix_screeninfo fix_info;
+ int fd = -1;
+
+ igt_fixture {
+ fd = open("/dev/fb0", O_RDWR);
+ igt_require_f(fd != -1, "/dev/fb0\n");
+
+ igt_require(ioctl(fd, FBIOGET_VSCREENINFO, &var_info) == 0);
+ igt_require(ioctl(fd, FBIOGET_FSCREENINFO, &fix_info) == 0);
+ }
+
+ igt_subtest("info") {
+ unsigned long size;
+
+ size = var_info.yres * fix_info.line_length;
+ igt_assert_f(size <= fix_info.smem_len,
+ "screen size (%d x %d) of pitch %d does not fit within mappable area of size %u\n",
+ var_info.xres, var_info.yres,
+ fix_info.line_length,
+ fix_info.smem_len);
+ }
+
+ igt_subtest("mmap") {
+ void *map;
+
+ igt_require(fix_info.smem_len);
+
+ map = mmap(NULL, fix_info.smem_len,
+ PROT_WRITE, MAP_SHARED, fd, 0);
+ igt_assert(map != MAP_FAILED);
+
+ memset(map, 0, fix_info.smem_len);
+ munmap(map, fix_info.smem_len);
+ }
+
+ igt_fixture {
+ close(fd);
+ }
+}
diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist
index 9dd27b42e..dec6fdda1 100644
--- a/tests/intel-ci/fast-feedback.testlist
+++ b/tests/intel-ci/fast-feedback.testlist
@@ -2,6 +2,7 @@
igt@core_auth@basic-auth
igt@debugfs_test@read_all_entries
+igt@fbdev@mmap
igt@gem_basic@bad-close
igt@gem_basic@create-close
igt@gem_basic@create-fd-close
diff --git a/tests/meson.build b/tests/meson.build
index 98f2db555..44bddd027 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -9,6 +9,7 @@ test_progs = [
'drm_import_export',
'drm_mm',
'drm_read',
+ 'fbdev',
'kms_3d',
'kms_addfb_basic',
'kms_atomic',
--
2.24.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: failure for tests: Add exercise for fbdev (rev2)
2019-11-13 19:28 ` [Intel-gfx] " Chris Wilson
` (5 preceding siblings ...)
(?)
@ 2019-11-14 13:44 ` Patchwork
-1 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2019-11-14 13:44 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests: Add exercise for fbdev (rev2)
URL : https://patchwork.freedesktop.org/series/69421/
State : failure
== Summary ==
ERROR! This series introduces new undocumented tests:
fbdev
fbdev@info
fbdev@mmap
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/79038 for the overview.
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/79038
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests: Add exercise for fbdev (rev2)
2019-11-13 19:28 ` [Intel-gfx] " Chris Wilson
` (6 preceding siblings ...)
(?)
@ 2019-11-14 14:02 ` Patchwork
-1 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2019-11-14 14:02 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests: Add exercise for fbdev (rev2)
URL : https://patchwork.freedesktop.org/series/69421/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7344 -> IGTPW_3703
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/index.html
New tests
---------
New tests have been introduced between CI_DRM_7344 and IGTPW_3703:
### New IGT tests (1) ###
* igt@fbdev@mmap:
- Statuses : 41 pass(s) 2 skip(s)
- Exec time: [0.0, 0.01] s
Known issues
------------
Here are the changes found in IGTPW_3703 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_busy@basic-flip-pipe-b:
- fi-skl-6770hq: [PASS][1] -> [DMESG-WARN][2] ([fdo#105541])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/fi-skl-6770hq/igt@kms_busy@basic-flip-pipe-b.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/fi-skl-6770hq/igt@kms_busy@basic-flip-pipe-b.html
#### Possible fixes ####
* igt@i915_selftest@live_gem_contexts:
- fi-bsw-nick: [INCOMPLETE][3] ([fdo# 111542]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/fi-bsw-nick/igt@i915_selftest@live_gem_contexts.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/fi-bsw-nick/igt@i915_selftest@live_gem_contexts.html
* igt@kms_flip@basic-flip-vs-modeset:
- fi-skl-6770hq: [FAIL][5] -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-modeset.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/fi-skl-6770hq/igt@kms_flip@basic-flip-vs-modeset.html
* igt@kms_flip@basic-plain-flip:
- fi-skl-6770hq: [DMESG-WARN][7] ([fdo#105541]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/fi-skl-6770hq/igt@kms_flip@basic-plain-flip.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/fi-skl-6770hq/igt@kms_flip@basic-plain-flip.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo# 111542]: https://bugs.freedesktop.org/show_bug.cgi?id= 111542
[fdo#105541]: https://bugs.freedesktop.org/show_bug.cgi?id=105541
[fdo#109964]: https://bugs.freedesktop.org/show_bug.cgi?id=109964
[fdo#110343]: https://bugs.freedesktop.org/show_bug.cgi?id=110343
Participating hosts (50 -> 45)
------------------------------
Missing (5): fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5280 -> IGTPW_3703
CI-20190529: 20190529
CI_DRM_7344: f1908e34ae20deabec070a88efaa495aa8e051f1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3703: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/index.html
IGT_5280: d053b819673dda567faca00ccbd7e826f66da586 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@fbdev@info
+igt@fbdev@mmap
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for tests: Add exercise for fbdev (rev2)
2019-11-13 19:28 ` [Intel-gfx] " Chris Wilson
` (7 preceding siblings ...)
(?)
@ 2019-11-15 8:52 ` Patchwork
-1 siblings, 0 replies; 18+ messages in thread
From: Patchwork @ 2019-11-15 8:52 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: tests: Add exercise for fbdev (rev2)
URL : https://patchwork.freedesktop.org/series/69421/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7344_full -> IGTPW_3703_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_3703_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_3703_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_3703/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3703_full:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live_execlists:
- shard-tglb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb7/igt@i915_selftest@live_execlists.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb6/igt@i915_selftest@live_execlists.html
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite:
- shard-snb: NOTRUN -> [DMESG-WARN][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-snb7/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite.html
* igt@kms_vblank@pipe-c-wait-forked-hang:
- shard-hsw: [PASS][4] -> [DMESG-WARN][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-hsw5/igt@kms_vblank@pipe-c-wait-forked-hang.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-hsw4/igt@kms_vblank@pipe-c-wait-forked-hang.html
New tests
---------
New tests have been introduced between CI_DRM_7344_full and IGTPW_3703_full:
### New IGT tests (1) ###
* igt@fbdev@info:
- Statuses : 7 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_3703_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@vcs1-dirty-create:
- shard-iclb: [PASS][6] -> [SKIP][7] ([fdo#109276] / [fdo#112080]) +3 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb4/igt@gem_ctx_isolation@vcs1-dirty-create.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb6/igt@gem_ctx_isolation@vcs1-dirty-create.html
* igt@gem_ctx_switch@vcs1-heavy:
- shard-iclb: [PASS][8] -> [SKIP][9] ([fdo#112080]) +8 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb1/igt@gem_ctx_switch@vcs1-heavy.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb7/igt@gem_ctx_switch@vcs1-heavy.html
* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][10] -> [SKIP][11] ([fdo#110854])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb1/igt@gem_exec_balancer@smoke.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb6/igt@gem_exec_balancer@smoke.html
* igt@gem_exec_schedule@independent-bsd2:
- shard-iclb: [PASS][12] -> [SKIP][13] ([fdo#109276]) +13 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb2/igt@gem_exec_schedule@independent-bsd2.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb5/igt@gem_exec_schedule@independent-bsd2.html
* igt@gem_exec_schedule@preempt-queue-chain-render:
- shard-tglb: [PASS][14] -> [INCOMPLETE][15] ([fdo#111606] / [fdo#111677])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb3/igt@gem_exec_schedule@preempt-queue-chain-render.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb6/igt@gem_exec_schedule@preempt-queue-chain-render.html
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [PASS][16] -> [SKIP][17] ([fdo#112146]) +2 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb6/igt@gem_exec_schedule@preemptive-hang-bsd.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb4/igt@gem_exec_schedule@preemptive-hang-bsd.html
* igt@gem_exec_schedule@smoketest-all:
- shard-tglb: [PASS][18] -> [INCOMPLETE][19] ([fdo#111855])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb7/igt@gem_exec_schedule@smoketest-all.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb4/igt@gem_exec_schedule@smoketest-all.html
* igt@gem_exec_whisper@normal:
- shard-tglb: [PASS][20] -> [INCOMPLETE][21] ([fdo#111747])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb4/igt@gem_exec_whisper@normal.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb6/igt@gem_exec_whisper@normal.html
* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-hsw: [PASS][22] -> [DMESG-WARN][23] ([fdo#111870]) +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-hsw1/igt@gem_userptr_blits@sync-unmap-after-close.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-hsw5/igt@gem_userptr_blits@sync-unmap-after-close.html
- shard-snb: [PASS][24] -> [DMESG-WARN][25] ([fdo#111870])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-snb5/igt@gem_userptr_blits@sync-unmap-after-close.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-snb5/igt@gem_userptr_blits@sync-unmap-after-close.html
* igt@gem_workarounds@suspend-resume-context:
- shard-kbl: [PASS][26] -> [INCOMPLETE][27] ([fdo#103665])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-kbl7/igt@gem_workarounds@suspend-resume-context.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-kbl1/igt@gem_workarounds@suspend-resume-context.html
* igt@i915_pm_backlight@fade_with_suspend:
- shard-tglb: [PASS][28] -> [INCOMPLETE][29] ([fdo#111832] / [fdo#111850]) +3 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb5/igt@i915_pm_backlight@fade_with_suspend.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb3/igt@i915_pm_backlight@fade_with_suspend.html
* igt@i915_pm_rpm@system-suspend:
- shard-tglb: [PASS][30] -> [INCOMPLETE][31] ([fdo#111747] / [fdo#111850])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb8/igt@i915_pm_rpm@system-suspend.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb3/igt@i915_pm_rpm@system-suspend.html
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-hsw: [PASS][32] -> [INCOMPLETE][33] ([fdo#103540])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-hsw4/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-hsw4/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
- shard-glk: [PASS][34] -> [FAIL][35] ([fdo#105363])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-glk5/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-glk7/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html
* igt@kms_flip@flip-vs-suspend:
- shard-apl: [PASS][36] -> [DMESG-WARN][37] ([fdo#108566])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-apl7/igt@kms_flip@flip-vs-suspend.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-apl4/igt@kms_flip@flip-vs-suspend.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-cpu:
- shard-tglb: [PASS][38] -> [FAIL][39] ([fdo#103167]) +2 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-cpu.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render:
- shard-iclb: [PASS][40] -> [FAIL][41] ([fdo#103167]) +3 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-tglb: [PASS][42] -> [INCOMPLETE][43] ([fdo#111850])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb7/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-kbl: [PASS][44] -> [DMESG-WARN][45] ([fdo#108566]) +4 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-kbl4/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-kbl2/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes.html
* igt@kms_psr@no_drrs:
- shard-iclb: [PASS][46] -> [FAIL][47] ([fdo#108341])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb7/igt@kms_psr@no_drrs.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb1/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_cursor_plane_onoff:
- shard-iclb: [PASS][48] -> [SKIP][49] ([fdo#109441]) +1 similar issue
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb2/igt@kms_psr@psr2_cursor_plane_onoff.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb3/igt@kms_psr@psr2_cursor_plane_onoff.html
#### Possible fixes ####
* igt@gem_ctx_isolation@vcs1-clean:
- shard-iclb: [SKIP][50] ([fdo#109276] / [fdo#112080]) -> [PASS][51] +3 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb8/igt@gem_ctx_isolation@vcs1-clean.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb4/igt@gem_ctx_isolation@vcs1-clean.html
* igt@gem_exec_create@forked:
- shard-tglb: [INCOMPLETE][52] ([fdo#108838] / [fdo#111747]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb6/igt@gem_exec_create@forked.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb2/igt@gem_exec_create@forked.html
* igt@gem_exec_schedule@reorder-wide-bsd:
- shard-iclb: [SKIP][54] ([fdo#112146]) -> [PASS][55] +4 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb4/igt@gem_exec_schedule@reorder-wide-bsd.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb7/igt@gem_exec_schedule@reorder-wide-bsd.html
* igt@gem_persistent_relocs@forked-faulting-reloc-thrashing:
- shard-iclb: [TIMEOUT][56] ([fdo#112068 ]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb6/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb4/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html
* igt@gem_persistent_relocs@forked-thrash-inactive:
- shard-hsw: [INCOMPLETE][58] ([fdo#103540] / [fdo#112068 ]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-hsw5/igt@gem_persistent_relocs@forked-thrash-inactive.html
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-hsw4/igt@gem_persistent_relocs@forked-thrash-inactive.html
* igt@gem_userptr_blits@dmabuf-sync:
- shard-snb: [DMESG-WARN][60] ([fdo#111870]) -> [PASS][61] +2 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-snb2/igt@gem_userptr_blits@dmabuf-sync.html
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-snb7/igt@gem_userptr_blits@dmabuf-sync.html
* igt@gem_userptr_blits@map-fixed-invalidate-busy-gup:
- shard-hsw: [DMESG-WARN][62] ([fdo#111870]) -> [PASS][63] +2 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-hsw1/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-hsw4/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][64] ([fdo#108566]) -> [PASS][65] +2 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-apl6/igt@i915_suspend@fence-restore-tiled2untiled.html
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-apl2/igt@i915_suspend@fence-restore-tiled2untiled.html
* igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding:
- shard-apl: [FAIL][66] ([fdo#103232]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-apl2/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-apl4/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html
- shard-kbl: [FAIL][68] ([fdo#103232]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-kbl3/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-kbl2/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-hsw: [FAIL][70] ([fdo#105767]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-hsw4/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-hsw4/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html
* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [FAIL][72] ([fdo#105363]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-glk3/igt@kms_flip@flip-vs-expired-vblank.html
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-glk5/igt@kms_flip@flip-vs-expired-vblank.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render:
- shard-kbl: [FAIL][74] ([fdo#103167]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
- shard-apl: [FAIL][76] ([fdo#103167]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-apl3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-apl3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-gtt:
- shard-tglb: [FAIL][78] ([fdo#103167]) -> [PASS][79] +5 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb5/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-gtt.html
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb4/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite:
- shard-iclb: [FAIL][80] ([fdo#103167]) -> [PASS][81] +4 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-tglb: [INCOMPLETE][82] ([fdo#111832] / [fdo#111850]) -> [PASS][83] +1 similar issue
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb3/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb9/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
* igt@kms_psr@psr2_basic:
- shard-iclb: [SKIP][84] ([fdo#109441]) -> [PASS][85] +2 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb1/igt@kms_psr@psr2_basic.html
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb2/igt@kms_psr@psr2_basic.html
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][86] ([fdo#108566]) -> [PASS][87] +2 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-kbl3/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-kbl2/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
* igt@kms_vblank@pipe-d-ts-continuation-suspend:
- shard-tglb: [INCOMPLETE][88] ([fdo#111850]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb5/igt@kms_vblank@pipe-d-ts-continuation-suspend.html
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb4/igt@kms_vblank@pipe-d-ts-continuation-suspend.html
* igt@perf_pmu@busy-no-semaphores-vcs1:
- shard-iclb: [SKIP][90] ([fdo#112080]) -> [PASS][91] +12 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb8/igt@perf_pmu@busy-no-semaphores-vcs1.html
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb4/igt@perf_pmu@busy-no-semaphores-vcs1.html
* igt@prime_busy@hang-bsd2:
- shard-iclb: [SKIP][92] ([fdo#109276]) -> [PASS][93] +12 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb6/igt@prime_busy@hang-bsd2.html
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb1/igt@prime_busy@hang-bsd2.html
* igt@prime_vgem@wait-blt:
- shard-kbl: [FAIL][94] ([fdo#112292]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-kbl4/igt@prime_vgem@wait-blt.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-kbl1/igt@prime_vgem@wait-blt.html
- shard-apl: [FAIL][96] ([fdo#112292]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-apl4/igt@prime_vgem@wait-blt.html
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-apl6/igt@prime_vgem@wait-blt.html
- shard-glk: [FAIL][98] ([fdo#112292]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-glk9/igt@prime_vgem@wait-blt.html
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-glk4/igt@prime_vgem@wait-blt.html
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv-switch:
- shard-iclb: [SKIP][100] ([fdo#109276] / [fdo#112080]) -> [FAIL][101] ([fdo#111329])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-iclb8/igt@gem_ctx_isolation@vcs1-nonpriv-switch.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-iclb1/igt@gem_ctx_isolation@vcs1-nonpriv-switch.html
* igt@gem_ctx_isolation@vcs2-s3:
- shard-tglb: [SKIP][102] ([fdo#112080]) -> [SKIP][103] ([fdo#111912] / [fdo#112080])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7344/shard-tglb9/igt@gem_ctx_isolation@vcs2-s3.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/shard-tglb4/igt@gem_ctx_isolation@vcs2-s3.html
* igt@kms_atomic_transition@6x-modeset-transitions:
- shard-tglb
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3703/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2019-11-15 8:52 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13 19:28 [PATCH i-g-t] tests: Add exercise for fbdev Chris Wilson
2019-11-13 19:28 ` [igt-dev] " Chris Wilson
2019-11-13 19:28 ` [Intel-gfx] " Chris Wilson
2019-11-13 20:24 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2019-11-13 20:26 ` Chris Wilson
2019-11-13 20:32 ` [igt-dev] ✗ GitLab.Pipeline: " Patchwork
2019-11-14 12:18 ` [PATCH i-g-t] " Ville Syrjälä
2019-11-14 12:18 ` [igt-dev] [Intel-gfx] " Ville Syrjälä
2019-11-14 12:18 ` Ville Syrjälä
2019-11-14 12:23 ` Chris Wilson
2019-11-14 12:23 ` [igt-dev] [Intel-gfx] " Chris Wilson
2019-11-14 12:23 ` Chris Wilson
2019-11-14 12:33 ` Chris Wilson
2019-11-14 12:33 ` [igt-dev] " Chris Wilson
2019-11-14 12:33 ` [Intel-gfx] " Chris Wilson
2019-11-14 13:44 ` [igt-dev] ✗ GitLab.Pipeline: failure for tests: Add exercise for fbdev (rev2) Patchwork
2019-11-14 14:02 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2019-11-15 8:52 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.