lib/ioctl_wrappers: Handle PREAD/PWRITE ioctls not supported in gem_read/write
FOR CI ONLY. PLEASE DON'T REVIEW.
Trial patch to replace PREAD/PWRITE ioctls with mmap + memcpy in gem_read/write.
--- lib/ioctl_wrappers.c | 107 +++++++++++++++++++++++++++++++-- lib/ioctl_wrappers.h | 6 +- tests/i915/gem_madvise.c | 2 +- tests/i915/gem_userptr_blits.c | 2 +- tests/i915/gen9_exec_parse.c | 2 +- tests/prime_vgem.c | 14 ++--- 6 files changed, 115 insertions(+), 18 deletions(-)
lib/ioctl_wrappers.c +101 -6
@@ -55,6 +55,7 @@#include "igt_debugfs.h" #include "igt_sysfs.h" #include "config.h" +#include "i915/gem_mman.h" #ifdef HAVE_VALGRIND #include <valgrind/valgrind.h>
@@ -323,7 +324,7 @@ void gem_close(int fd, uint32_t handle)do_ioctl (fd,DRM_IOCTL_GEM_CLOSE , &close_bo); } -int __gem_write (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length) +int __gem_pwrite (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length) {struct drm_i915_gem_pwrite gem_pwrite;int err;
@@ -341,7 +342,7 @@ int __gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint6 }/** -* gem_write: +* gem_pwrite: * @fd: open i915 drm file descriptor * @handle: gem buffer object handle * @offset: offset within the buffer of the subrange
@@ -351,12 +352,12 @@ int __gem_write(int fd, uint32_t handle, uint64_t offset, const void *buf, uint6* This wraps the PWRITE ioctl, which is to upload a linear data to a subrange * of a gem buffer object. */ -void gem_write (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length) +void gem_pwrite (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length) { -igt_assert_eq (__gem_write (fd, handle, offset, buf, length),0 ); +igt_assert_eq (__gem_pwrite (fd, handle, offset, buf, length),0 ); } -int __gem_read (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length) +int __gem_pread (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length) {struct drm_i915_gem_pread gem_pread;int err;
@@ -372,6 +373,100 @@ int __gem_read(int fd, uint32_t handle, uint64_t offset, void *buf, uint64_t len err = -errno;return err; } +/** +* gem_pread: +* @fd: open i915 drm file descriptor +* @handle: gem buffer object handle +* @offset: offset within the buffer of the subrange +* @buf: pointer to the data to read into +* @length: size of the subrange +* +* This wraps the PREAD ioctl, which is to download a linear data to a subrange +* of a gem buffer object. +*/ +void gem_pread (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length) +{ +igt_assert_eq (__gem_pread (fd, handle, offset, buf, length),0 ); +} + +static bool is_cache_coherent (int fd,uint32_t handle) +{ +return gem_get_caching (fd, handle) !=I915_CACHING_NONE ; +} + +static void mmap_write (int fd,uint32_t handle,uint64_t offset, +const void *buf,uint64_t length) +{ +void *map =NULL ; + +if (is_cache_coherent (fd, handle)) { +/* offset arg for mmap functions must be 0 */ + map =__gem_mmap__cpu_coherent (fd, handle,0 , offset + length, +PROT_READ |PROT_WRITE ); +if (map) +gem_set_domain (fd, handle, +I915_GEM_DOMAIN_CPU ,I915_GEM_DOMAIN_CPU ); + } + +if (!map) { + map =__gem_mmap_offset__wc (fd, handle,0 , offset + length, +PROT_READ |PROT_WRITE ); +if (!map) + map =gem_mmap__wc (fd, handle,0 , offset + length, +PROT_READ |PROT_WRITE ); +if (map) +gem_set_domain (fd, handle, +I915_GEM_DOMAIN_WC ,I915_GEM_DOMAIN_WC ); + } + +igt_assert (map); +memcpy (map + offset, buf, length); +munmap (map, offset + length); +} + +/** +* gem_write: +* @fd: open i915 drm file descriptor +* @handle: gem buffer object handle +* @offset: offset within the buffer of the subrange +* @buf: pointer to the data to write into the buffer +* @length: size of the subrange +* +* This wraps the PWRITE ioctl, which is to upload a linear data to a subrange +* of a gem buffer object. +*/ +void gem_write (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length) +{ +mmap_write (fd, handle, offset, buf, length); +} + +static void mmap_read (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length) +{ +void *map =NULL ; + +if (gem_has_llc (fd) ||is_cache_coherent (fd, handle)) { +/* offset arg for mmap functions must be 0 */ + map =__gem_mmap__cpu_coherent (fd, handle,0 , + offset + length,PROT_READ ); +if (map) +gem_set_domain (fd, handle,I915_GEM_DOMAIN_CPU ,0 ); + } + +if (!map) { + map =__gem_mmap_offset__wc (fd, handle,0 , offset + length, +PROT_READ ); +if (!map) + map =gem_mmap__wc (fd, handle,0 , offset + length, +PROT_READ ); +if (map) +gem_set_domain (fd, handle,I915_GEM_DOMAIN_WC ,0 ); + } + +igt_assert (map); +memcpy (buf, map + offset, length); +munmap (map, offset + length); +} +/** * gem_read: * @fd: open i915 drm file descriptor
@@ -385,7 +480,7 @@ int __gem_read(int fd, uint32_t handle, uint64_t offset, void *buf, uint64_t len*/ void gem_read (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length) { -igt_assert_eq (__gem_read (fd, handle, offset, buf, length),0 ); +mmap_read (fd, handle, offset, buf, length); }int __gem_set_domain (int fd,uint32_t handle,uint32_t read,uint32_t write)
lib/ioctl_wrappers.h +4 -2
@@ -67,9 +67,11 @@ uint32_t gem_get_caching(int fd, uint32_t handle);uint32_t gem_flink (int fd,uint32_t handle);uint32_t gem_open (int fd,uint32_t name);void gem_close (int fd,uint32_t handle); -int __gem_write (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length); +int __gem_pwrite (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length); +void gem_pwrite (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length); +int __gem_pread (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length); +void gem_pread (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length);void gem_write (int fd,uint32_t handle,uint64_t offset,const void *buf,uint64_t length); -int __gem_read (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length);void gem_read (int fd,uint32_t handle,uint64_t offset,void *buf,uint64_t length);int __gem_set_domain (int fd,uint32_t handle,uint32_t read,uint32_t write);void gem_set_domain (int fd,uint32_t handle,uint32_t read,uint32_t write);
tests/i915/gem_madvise.c +1 -1
@@ -157,7 +157,7 @@ dontneed_before_pwrite(void) handle =gem_create (fd,OBJECT_SIZE );gem_madvise (fd, handle,I915_MADV_DONTNEED ); -igt_assert_eq (__gem_write (fd, handle,0 , &bbe,sizeof (bbe)), -EFAULT ); +igt_assert_eq (__gem_pwrite (fd, handle,0 , &bbe,sizeof (bbe)), -EFAULT );close (fd); }
tests/i915/gem_userptr_blits.c +1 -1
@@ -1429,7 +1429,7 @@ static void test_readonly_pwrite(int i915)char data[4096 ];memset (data, page,sizeof (data)); -igt_assert_eq (__gem_write (i915, handle, page <<12 , data,sizeof (data)), -EINVAL ); +igt_assert_eq (__gem_pwrite (i915, handle, page <<12 , data,sizeof (data)), -EINVAL ); }gem_close (i915, handle);
tests/i915/gen9_exec_parse.c +1 -1
@@ -670,7 +670,7 @@ static void test_invalid_length(const int i915, const uint32_t handle) lri_ok,4096 , 0); -igt_assert_eq (__gem_write (i915, handle,0 , noops,4097 ), -EINVAL ); +igt_assert_eq (__gem_pwrite (i915, handle,0 , noops,4097 ), -EINVAL ); }struct reg {
tests/prime_vgem.c +7 -7
@@ -48,7 +48,7 @@ static void test_read(int vgem, int i915) handle =prime_fd_to_handle (i915, dmabuf);close (dmabuf); -igt_skip_on_f (__gem_read (i915, handle,0 , &i,sizeof (i)), +igt_skip_on_f (__gem_pread (i915, handle,0 , &i,sizeof (i)),"PREAD from dma-buf not supported on this hardware\n" ); ptr =vgem_mmap (vgem, &scratch,PROT_WRITE );
@@ -59,7 +59,7 @@ static void test_read(int vgem, int i915)for (i =0 ; i <1024 ; i++) {uint32_t tmp; -gem_read (i915, handle,4096 *i, &tmp,sizeof (tmp)); +gem_pread (i915, handle,4096 *i, &tmp,sizeof (tmp));igt_assert_eq (tmp, i); }gem_close (i915, handle);
@@ -86,7 +86,7 @@ static void test_fence_read(int i915, int vgem) handle =prime_fd_to_handle (i915, dmabuf);close (dmabuf); -igt_skip_on_f (__gem_read (i915, handle,0 , &i,sizeof (i)), +igt_skip_on_f (__gem_pread (i915, handle,0 , &i,sizeof (i)),"PREAD from dma-buf not supported on this hardware\n" ); igt_fork(child, 1) {
@@ -94,14 +94,14 @@ static void test_fence_read(int i915, int vgem)close (slave[1 ]);for (i =0 ; i <1024 ; i++) {uint32_t tmp; -gem_read (i915, handle,4096 *i, &tmp,sizeof (tmp)); +gem_pread (i915, handle,4096 *i, &tmp,sizeof (tmp));igt_assert_eq (tmp,0 ); }write (master[1 ], &child,sizeof (child));read (slave[0 ], &child,sizeof (child));for (i =0 ; i <1024 ; i++) {uint32_t tmp; -gem_read (i915, handle,4096 *i, &tmp,sizeof (tmp)); +gem_pread (i915, handle,4096 *i, &tmp,sizeof (tmp));igt_assert_eq (tmp, i); }gem_close (i915, handle);
@@ -272,14 +272,14 @@ static void test_write(int vgem, int i915) handle =prime_fd_to_handle (i915, dmabuf);close (dmabuf); -igt_skip_on_f (__gem_write (i915, handle,0 , &i,sizeof (i)), +igt_skip_on_f (__gem_pwrite (i915, handle,0 , &i,sizeof (i)),"PWRITE to dma-buf not supported on this hardware\n" ); ptr =vgem_mmap (vgem, &scratch,PROT_READ );gem_close (vgem, scratch.handle);for (i =0 ; i <1024 ; i++) -gem_write (i915, handle,4096 *i, &i,sizeof (i)); +gem_pwrite (i915, handle,4096 *i, &i,sizeof (i));gem_close (i915, handle);for (i =0 ; i <1024 ; i++)
Signature · 6 lines
2.27.0.112.g101b3204f3 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.BAT: failure for lib/ioctl_wrappers: Handle PREAD/PWRITE ioctls not supported in gem_read/write (rev9)
== Series Details ==
== Series Details ==
Series: lib/ioctl_wrappers: Handle PREAD/PWRITE ioctls not supported in gem_read/write (rev9)
URL : https://patchwork.freedesktop.org/series/81152/
State : failure
== Summary ==
CI Bug Log - changes from IGT_5776 -> IGTPW_4939
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4939 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_4939, 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_4939/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4939:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@gem_contexts:
- fi-cfl-8700k: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-cfl-8700k/igt@i915_selftest@live@gem_contexts.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/fi-cfl-8700k/igt@i915_selftest@live@gem_contexts.html
Known issues
------------
Here are the changes found in IGTPW_4939 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-bsw-kefka: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-bsw-kefka/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/fi-bsw-kefka/igt@[email protected]
#### Possible fixes ####
* igt@i915_module_load@reload:
- fi-apl-guc: [TIMEOUT][5] ([i915#1418] / [i915#1635]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-apl-guc/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/fi-apl-guc/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-bsw-n3050: [DMESG-WARN][7] ([i915#1982]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-bsw-n3050/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/fi-bsw-n3050/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-apl-guc: [SKIP][9] ([fdo#109271] / [i915#1635]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-apl-guc/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/fi-apl-guc/igt@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank@b-edp1:
- fi-icl-u2: [DMESG-WARN][11] ([i915#1982]) -> [PASS][12] +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-icl-u2/igt@kms_flip@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/fi-icl-u2/igt@kms_flip@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1418]: https://gitlab.freedesktop.org/drm/intel/issues/1418
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
Participating hosts (38 -> 33)
------------------------------
Missing (5): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5776 -> IGTPW_4939
CI-20190529: 20190529
CI_DRM_8951: 5f8c53e35ef01a1d5e97db6005d3c308d3734bac @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4939: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/index.html
IGT_5776: 46e4315096bcaa2465c82c547274627365b1a69e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4939/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for lib/ioctl_wrappers: Handle PREAD/PWRITE ioctls not supported in gem_read/write (rev10)
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: lib/ioctl_wrappers: Handle PREAD/PWRITE ioctls not supported in gem_read/write (rev10)
URL : https://patchwork.freedesktop.org/series/81152/
State : success
== Summary ==
CI Bug Log - changes from IGT_5776 -> IGTPW_4940
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/index.html
Known issues
------------
Here are the changes found in IGTPW_4940 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_parallel@engines@fds:
- fi-bxt-dsi: [PASS][1] -> [INCOMPLETE][2] ([i915#1635] / [i915#2398])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-bxt-dsi/igt@gem_exec_parallel@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-bxt-dsi/igt@gem_exec_parallel@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-byt-j1900: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-byt-j1900/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-byt-j1900/igt@[email protected]
- fi-bsw-kefka: [PASS][5] -> [DMESG-WARN][6] ([i915#1982])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-bsw-kefka/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-bsw-kefka/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: [PASS][7] -> [DMESG-WARN][8] ([i915#1982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-icl-u2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@i915_module_load@reload:
- fi-apl-guc: [TIMEOUT][9] ([i915#1418] / [i915#1635]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-apl-guc/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-apl-guc/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-bsw-n3050: [DMESG-WARN][11] ([i915#1982]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-bsw-n3050/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-bsw-n3050/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-apl-guc: [SKIP][13] ([fdo#109271] / [i915#1635]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-apl-guc/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-apl-guc/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-icl-u2: [DMESG-WARN][15] ([i915#1982]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/fi-icl-u2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/fi-icl-u2/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#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1418]: https://gitlab.freedesktop.org/drm/intel/issues/1418
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2398]: https://gitlab.freedesktop.org/drm/intel/issues/2398
Participating hosts (38 -> 33)
------------------------------
Missing (5): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5776 -> IGTPW_4940
CI-20190529: 20190529
CI_DRM_8951: 5f8c53e35ef01a1d5e97db6005d3c308d3734bac @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4940: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/index.html
IGT_5776: 46e4315096bcaa2465c82c547274627365b1a69e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ Fi.CI.IGT: failure for lib/ioctl_wrappers: Handle PREAD/PWRITE ioctls not supported in gem_read/write (rev10)
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: lib/ioctl_wrappers: Handle PREAD/PWRITE ioctls not supported in gem_read/write (rev10)
URL : https://patchwork.freedesktop.org/series/81152/
State : failure
== Summary ==
CI Bug Log - changes from IGT_5776_full -> IGTPW_4940_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_4940_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in IGTPW_4940_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_4940/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4940_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_madvise@dontneed-before-exec:
- shard-kbl: [PASS][1] -> [FAIL][2] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-kbl1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-kbl4/igt@[email protected]
- shard-snb: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-snb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-snb2/igt@[email protected]
- shard-iclb: [PASS][5] -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-iclb1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-iclb7/igt@[email protected]
- shard-hsw: [PASS][7] -> [FAIL][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-hsw6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-hsw6/igt@[email protected]
- shard-tglb: [PASS][9] -> [FAIL][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-tglb2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-tglb1/igt@[email protected]
* igt@gen9_exec_parse@batch-zero-length:
- shard-glk: [PASS][11] -> [FAIL][12] +2 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk5/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk2/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_4940_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_whisper@basic-contexts:
- shard-tglb: [PASS][13] -> [TIMEOUT][14] ([i915#1958]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-tglb7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-tglb8/igt@[email protected]
* igt@gem_exec_whisper@basic-contexts-forked:
- shard-kbl: [PASS][15] -> [TIMEOUT][16] ([i915#1958])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-kbl2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-kbl2/igt@[email protected]
* igt@gem_exec_whisper@basic-fds-priority-all:
- shard-iclb: [PASS][17] -> [TIMEOUT][18] ([i915#1958]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-iclb6/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-iclb5/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-all:
- shard-glk: [PASS][19] -> [TIMEOUT][20] ([i915#1958]) +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk7/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk9/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [PASS][21] -> [FAIL][22] ([i915#644])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk6/igt@[email protected]
* igt@gen7_exec_parse@basic-allocation:
- shard-hsw: [PASS][23] -> [TIMEOUT][24] ([i915#1958])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-hsw6/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-hsw6/igt@[email protected]
* igt@gen9_exec_parse@batch-invalid-length:
- shard-apl: [PASS][25] -> [FAIL][26] ([i915#1635]) +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-apl2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-apl4/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-hsw: [PASS][27] -> [FAIL][28] ([i915#96])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-hsw6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-hsw6/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-glk: [PASS][29] -> [FAIL][30] ([i915#72])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk6/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-vga1-hdmi-a1:
- shard-hsw: [PASS][31] -> [DMESG-WARN][32] ([i915#1982]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-hsw6/igt@kms_flip@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-hsw6/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible@a-hdmi-a1:
- shard-glk: [PASS][33] -> [FAIL][34] ([i915#2122])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk8/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk4/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-glk: [PASS][35] -> [DMESG-WARN][36] ([i915#1982]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk8/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render:
- shard-tglb: [PASS][37] -> [DMESG-WARN][38] ([i915#1982]) +7 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-tglb3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-tglb1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: [PASS][39] -> [DMESG-WARN][40] ([i915#180]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-kbl1/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-kbl4/igt@[email protected]
* igt@kms_psr2_su@page_flip:
- shard-iclb: [PASS][41] -> [SKIP][42] ([fdo#109642] / [fdo#111068])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-iclb2/igt@kms_psr2_su@page_flip.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-iclb8/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_cursor_mmap_cpu:
- shard-iclb: [PASS][43] -> [SKIP][44] ([fdo#109441])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-iclb3/igt@kms_psr@psr2_cursor_mmap_cpu.html
#### Possible fixes ####
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-glk: [FAIL][45] ([i915#2389]) -> [PASS][46] +3 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk7/igt@gem_exec_reloc@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk5/igt@gem_exec_reloc@[email protected]
* igt@gem_exec_whisper@basic-fds-forked:
- shard-glk: [TIMEOUT][47] ([i915#1958]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk2/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk1/igt@[email protected]
* igt@gem_exec_whisper@basic-forked:
- shard-kbl: [TIMEOUT][49] ([i915#1958]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-kbl4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-kbl4/igt@[email protected]
* igt@gem_exec_whisper@basic-forked-all:
- shard-glk: [DMESG-WARN][51] ([i915#118] / [i915#95]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk6/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk4/igt@[email protected]
* igt@gem_partial_pwrite_pread@reads-display:
- shard-apl: [FAIL][53] ([i915#1635]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-apl4/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-apl3/igt@[email protected]
* igt@i915_selftest@mock@requests:
- shard-apl: [INCOMPLETE][55] ([i915#1635] / [i915#2278]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-apl1/igt@i915_selftest@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-apl7/igt@i915_selftest@[email protected]
* igt@kms_big_fb@linear-64bpp-rotate-0:
- shard-glk: [DMESG-FAIL][57] ([i915#118] / [i915#95]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk8/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk3/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x85-onscreen:
- shard-apl: [FAIL][59] ([i915#1635] / [i915#54]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-apl2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-apl7/igt@[email protected]
- shard-kbl: [FAIL][61] ([i915#54]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-kbl7/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-kbl1/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-atomic-transitions:
- shard-hsw: [FAIL][63] ([i915#2370]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-hsw6/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-hsw6/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [DMESG-WARN][65] ([i915#180]) -> [PASS][66] +6 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-kbl7/igt@kms_flip@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-kbl1/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@c-dp1:
- shard-kbl: [FAIL][67] ([i915#2122]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-kbl4/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-kbl2/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-badstride:
- shard-glk: [DMESG-WARN][69] ([i915#1982]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-glk2/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-glk1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-rgb565-draw-render:
- shard-tglb: [DMESG-WARN][71] ([i915#1982]) -> [PASS][72] +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-tglb7/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-tglb5/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- shard-tglb: [SKIP][73] ([i915#433]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-tglb1/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-tglb8/igt@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][75] ([fdo#109441]) -> [PASS][76] +3 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-iclb4/igt@kms_psr@psr2_sprite_blt.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
#### Warnings ####
* igt@kms_content_protection@atomic:
- shard-apl: [FAIL][77] ([fdo#110321] / [fdo#110336] / [i915#1635]) -> [TIMEOUT][78] ([i915#1319] / [i915#1635] / [i915#1958])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-apl4/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-apl6/igt@[email protected]
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][79] ([fdo#109349]) -> [DMESG-WARN][80] ([i915#1226])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-iclb3/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-iclb2/igt@[email protected]
* igt@kms_vblank@pipe-d-ts-continuation-suspend:
- shard-tglb: [INCOMPLETE][81] ([i915#1436]) -> [DMESG-WARN][82] ([i915#2411])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5776/shard-tglb7/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/shard-tglb7/igt@[email protected]
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1226]: https://gitlab.freedesktop.org/drm/intel/issues/1226
[i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2278]: https://gitlab.freedesktop.org/drm/intel/issues/2278
[i915#2370]: https://gitlab.freedesktop.org/drm/intel/issues/2370
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644
[i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[i915#96]: https://gitlab.freedesktop.org/drm/intel/issues/96
Participating hosts (8 -> 8)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5776 -> IGTPW_4940
CI-20190529: 20190529
CI_DRM_8951: 5f8c53e35ef01a1d5e97db6005d3c308d3734bac @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4940: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/index.html
IGT_5776: 46e4315096bcaa2465c82c547274627365b1a69e @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4940/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev