* [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Try to compute the largest possible dumb buffer
@ 2020-01-23 12:27 Chris Wilson
2020-01-23 13:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Chris Wilson @ 2020-01-23 12:27 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
For our threaded clear test, we want to create as many buffers as can
fit into the available memory. However, since we don't know the size of
that available memory, it can be easy to create too large or too many
buffers, and waste our time testing the unobtainable. Instead, try
probing the available space by trying to create the largest dumb buffer
we possibly can, and assume that is the equivalent to the available
space.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ramalingam C <ramalingam.c@intel.com>
---
tests/dumb_buffer.c | 68 +++++++++++++++++++++++++++++++++++++++------
1 file changed, 59 insertions(+), 9 deletions(-)
diff --git a/tests/dumb_buffer.c b/tests/dumb_buffer.c
index 3d2dc9966..c1e7b4d3b 100644
--- a/tests/dumb_buffer.c
+++ b/tests/dumb_buffer.c
@@ -31,18 +31,18 @@
* combinations are rejected.
*/
-#include <stdlib.h>
-#include <sys/ioctl.h>
-#include <stdio.h>
-#include <string.h>
+#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
-#include <errno.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <getopt.h>
#include <pthread.h>
+#include <signal.h>
#include <stdatomic.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+#include <sys/time.h>
#include <drm.h>
@@ -325,12 +325,62 @@ static void *thread_clear(void *data)
return (void *)(uintptr_t)checked;
}
+static jmp_buf sigjmp;
+
+static void sigprobe(int sig)
+{
+ longjmp(sigjmp, sig);
+}
+
+static uint64_t estimate_largest_dumb_buffer(int fd)
+{
+ sighandler_t old_sigbus = signal(SIGBUS, sigprobe);
+ sighandler_t old_sigsegv = signal(SIGSEGV, sigprobe);
+ struct drm_mode_create_dumb create = {
+ .bpp = 32,
+ .width = 1 << 20, /* in pixels */
+ .height = 1, /* in rows */
+ };
+ volatile uint64_t largest = 0;
+ char * volatile ptr = NULL;
+
+ if (setjmp(sigjmp)) {
+ if (ptr)
+ munmap(ptr, create.size);
+
+ signal(SIGBUS, old_sigbus);
+ signal(SIGSEGV, old_sigsegv);
+
+ igt_info("Largest dumb buffer sucessfully created: %'"PRIu64" bytes\n",
+ largest);
+ return largest / PAGE_SIZE;
+ }
+
+ for (create.height = 1; create.height; create.height *= 2) {
+ if (__dumb_create(fd, &create))
+ longjmp(sigjmp, SIGABRT);
+
+ ptr = __dumb_map(fd, create.handle, create.size, PROT_READ);
+ dumb_destroy(fd, create.handle);
+ if (!ptr)
+ longjmp(sigjmp, SIGABRT);
+
+ if (!*ptr)
+ largest = create.size;
+
+ munmap(ptr, create.size);
+ ptr = NULL;
+ }
+
+ longjmp(sigjmp, SIGABRT);
+}
+
static void always_clear(int fd, int timeout)
{
struct thread_clear arg = {
.fd = fd,
.timeout = timeout,
- .max = intel_get_avail_ram_mb() << (20 - 12), /* in pages */
+ .max = estimate_largest_dumb_buffer(fd), /* in pages */
};
const int ncpus = sysconf(_SC_NPROCESSORS_ONLN);
unsigned long checked;
--
2.25.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 5+ messages in thread* [igt-dev] ✓ Fi.CI.BAT: success for tests/dumb_buffer: Try to compute the largest possible dumb buffer 2020-01-23 12:27 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Try to compute the largest possible dumb buffer Chris Wilson @ 2020-01-23 13:37 ` Patchwork 2020-01-24 6:48 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2020-01-23 13:37 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: tests/dumb_buffer: Try to compute the largest possible dumb buffer URL : https://patchwork.freedesktop.org/series/72463/ State : success == Summary == CI Bug Log - changes from IGT_5380 -> IGTPW_3978 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/index.html Known issues ------------ Here are the changes found in IGTPW_3978 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_parallel@fds: - fi-byt-n2820: [PASS][1] -> [TIMEOUT][2] ([fdo#112271]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-byt-n2820/igt@gem_exec_parallel@fds.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-byt-n2820/igt@gem_exec_parallel@fds.html * igt@i915_pm_rpm@module-reload: - fi-kbl-guc: [PASS][3] -> [FAIL][4] ([i915#579]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-kbl-guc/igt@i915_pm_rpm@module-reload.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-kbl-guc/igt@i915_pm_rpm@module-reload.html * igt@i915_selftest@live_blt: - fi-hsw-4770r: [PASS][5] -> [DMESG-FAIL][6] ([i915#553] / [i915#725]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-hsw-4770r/igt@i915_selftest@live_blt.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-hsw-4770r/igt@i915_selftest@live_blt.html - fi-hsw-4770: [PASS][7] -> [DMESG-FAIL][8] ([i915#725]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-hsw-4770/igt@i915_selftest@live_blt.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-hsw-4770/igt@i915_selftest@live_blt.html * igt@i915_selftest@live_gem_contexts: - fi-cfl-guc: [PASS][9] -> [INCOMPLETE][10] ([fdo#106070] / [i915#424]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-cfl-guc/igt@i915_selftest@live_gem_contexts.html * igt@kms_chamelium@hdmi-hpd-fast: - fi-kbl-7500u: [PASS][11] -> [FAIL][12] ([fdo#111407]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html #### Possible fixes #### * igt@fbdev@mmap: - fi-tgl-y: [SKIP][13] ([CI#94]) -> [PASS][14] [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-tgl-y/igt@fbdev@mmap.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-tgl-y/igt@fbdev@mmap.html * igt@gem_close_race@basic-threads: - fi-byt-j1900: [INCOMPLETE][15] ([i915#45]) -> [PASS][16] [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-byt-j1900/igt@gem_close_race@basic-threads.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-byt-j1900/igt@gem_close_race@basic-threads.html * igt@gem_exec_parallel@contexts: - fi-byt-n2820: [TIMEOUT][17] ([fdo#112271]) -> [PASS][18] [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-byt-n2820/igt@gem_exec_parallel@contexts.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-byt-n2820/igt@gem_exec_parallel@contexts.html * igt@gem_exec_parallel@fds: - fi-hsw-peppy: [INCOMPLETE][19] -> [PASS][20] [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-hsw-peppy/igt@gem_exec_parallel@fds.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-hsw-peppy/igt@gem_exec_parallel@fds.html * igt@gem_exec_suspend@basic-s0: - fi-tgl-y: [INCOMPLETE][21] ([CI#94] / [i915#456] / [i915#472]) -> [PASS][22] [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-tgl-y/igt@gem_exec_suspend@basic-s0.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-tgl-y/igt@gem_exec_suspend@basic-s0.html * igt@i915_selftest@live_blt: - fi-ivb-3770: [DMESG-FAIL][23] ([i915#770]) -> [PASS][24] [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/fi-ivb-3770/igt@i915_selftest@live_blt.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/fi-ivb-3770/igt@i915_selftest@live_blt.html [CI#94]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/94 [fdo#106070]: https://bugs.freedesktop.org/show_bug.cgi?id=106070 [fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407 [fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271 [i915#424]: https://gitlab.freedesktop.org/drm/intel/issues/424 [i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45 [i915#456]: https://gitlab.freedesktop.org/drm/intel/issues/456 [i915#472]: https://gitlab.freedesktop.org/drm/intel/issues/472 [i915#553]: https://gitlab.freedesktop.org/drm/intel/issues/553 [i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579 [i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725 [i915#770]: https://gitlab.freedesktop.org/drm/intel/issues/770 Participating hosts (51 -> 45) ------------------------------ Additional (1): fi-bsw-kefka 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_5380 -> IGTPW_3978 CI-20190529: 20190529 CI_DRM_7801: 6e1cfbab49286533a902e0c265249b80e5cf71da @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3978: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/index.html IGT_5380: 50c31d6423d37633dae5d36c7aaea10162baa63d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: warning for tests/dumb_buffer: Try to compute the largest possible dumb buffer 2020-01-23 12:27 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Try to compute the largest possible dumb buffer Chris Wilson 2020-01-23 13:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork @ 2020-01-24 6:48 ` Patchwork 2020-01-24 18:20 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 2020-01-27 6:41 ` [igt-dev] [PATCH i-g-t] " Ramalingam C 3 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2020-01-24 6:48 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: tests/dumb_buffer: Try to compute the largest possible dumb buffer URL : https://patchwork.freedesktop.org/series/72463/ State : warning == Summary == Did not get list of undocumented tests for this run, something is wrong! Other than that, pipeline status: FAILED. see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/100451 for the overview. build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/1437837): [141/618] Linking target tests/gem_cs_tlb. [142/618] Linking target tests/gem_ctx_bad_destroy. [143/618] Linking target tests/gem_ctx_clone. [144/618] Linking target tests/gem_ctx_create. [145/618] Linking target tests/gem_ctx_engines. [146/618] Compiling C object 'tests/59830eb@@gem_ctx_isolation@exe/i915_gem_ctx_isolation.c.o'. FAILED: tests/59830eb@@gem_ctx_isolation@exe/i915_gem_ctx_isolation.c.o clang -Itests/59830eb@@gem_ctx_isolation@exe -Itests -I../tests -I../include/drm-uapi -Ilib -I../lib -I../lib/stubs/syscalls -I. -I../ -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/valgrind -I/usr/include/libdrm/nouveau -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O2 -g -D_GNU_SOURCE -include config.h -D_FORTIFY_SOURCE=2 -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=i mplicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -pthread -MD -MQ 'tests/59830eb@@gem_ctx_isolation@exe/i915_gem_ctx_isolation.c.o' -MF 'tests/59830eb@@gem_ctx_isolation@exe/i915_gem_ctx_isolation.c.o.d' -o 'tests/59830eb@@gem_ctx_isolation@exe/i915_gem_ctx_isolation.c.o' -c ../tests/i915/gem_ctx_isolation.c ../tests/i915/gem_ctx_isolation.c:880:10: error: address of array 'e->name' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion] e->name; e++) { ~~~^~~~ 1 error generated. ninja: build stopped: subcommand failed. section_end:1579785669:build_script ^[[0Ksection_start:1579785669:after_script ^[[0Ksection_end:1579785670:after_script ^[[0Ksection_start:1579785670:upload_artifacts_on_failure ^[[0Ksection_end:1579785672:upload_artifacts_on_failure ^[[0K^[[31;1mERROR: Job failed: exit code 1 ^[[0;m == Logs == For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/100451 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for tests/dumb_buffer: Try to compute the largest possible dumb buffer 2020-01-23 12:27 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Try to compute the largest possible dumb buffer Chris Wilson 2020-01-23 13:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2020-01-24 6:48 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork @ 2020-01-24 18:20 ` Patchwork 2020-01-27 6:41 ` [igt-dev] [PATCH i-g-t] " Ramalingam C 3 siblings, 0 replies; 5+ messages in thread From: Patchwork @ 2020-01-24 18:20 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: tests/dumb_buffer: Try to compute the largest possible dumb buffer URL : https://patchwork.freedesktop.org/series/72463/ State : failure == Summary == CI Bug Log - changes from IGT_5380_full -> IGTPW_3978_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_3978_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_3978_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_3978/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_3978_full: ### IGT changes ### #### Possible regressions #### * igt@gem_render_copy_redux@normal: - shard-hsw: [PASS][1] -> [FAIL][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-hsw5/igt@gem_render_copy_redux@normal.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-hsw2/igt@gem_render_copy_redux@normal.html Known issues ------------ Here are the changes found in IGTPW_3978_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_busy@busy-vcs1: - shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#112080]) +10 similar issues [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb1/igt@gem_busy@busy-vcs1.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb8/igt@gem_busy@busy-vcs1.html * igt@gem_ctx_isolation@vcs1-dirty-create: - shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#109276] / [fdo#112080]) +3 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb4/igt@gem_ctx_isolation@vcs1-dirty-create.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb5/igt@gem_ctx_isolation@vcs1-dirty-create.html * igt@gem_eio@in-flight-contexts-1us: - shard-snb: [PASS][7] -> [FAIL][8] ([i915#490]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-snb4/igt@gem_eio@in-flight-contexts-1us.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-snb2/igt@gem_eio@in-flight-contexts-1us.html * igt@gem_exec_schedule@pi-distinct-iova-bsd: - shard-iclb: [PASS][9] -> [SKIP][10] ([i915#677]) +1 similar issue [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb7/igt@gem_exec_schedule@pi-distinct-iova-bsd.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb4/igt@gem_exec_schedule@pi-distinct-iova-bsd.html * igt@gem_exec_schedule@reorder-wide-bsd: - shard-iclb: [PASS][11] -> [SKIP][12] ([fdo#112146]) +5 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb3/igt@gem_exec_schedule@reorder-wide-bsd.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb2/igt@gem_exec_schedule@reorder-wide-bsd.html * igt@gem_persistent_relocs@forked-faulting-reloc-thrashing: - shard-kbl: [PASS][13] -> [INCOMPLETE][14] ([fdo#103665] / [i915#530]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl1/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl7/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html * igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrashing: - shard-kbl: [PASS][15] -> [INCOMPLETE][16] ([fdo#103665] / [i915#970]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl7/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrashing.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl7/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrashing.html * igt@gem_persistent_relocs@forked-interruptible-thrash-inactive: - shard-iclb: [PASS][17] -> [FAIL][18] ([i915#520]) [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb8/igt@gem_persistent_relocs@forked-interruptible-thrash-inactive.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb1/igt@gem_persistent_relocs@forked-interruptible-thrash-inactive.html * igt@gem_ppgtt@flink-and-close-vma-leak: - shard-glk: [PASS][19] -> [FAIL][20] ([i915#644]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-glk8/igt@gem_ppgtt@flink-and-close-vma-leak.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-glk4/igt@gem_ppgtt@flink-and-close-vma-leak.html * igt@gem_tiled_blits@interruptible: - shard-hsw: [PASS][21] -> [FAIL][22] ([i915#694]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-hsw6/igt@gem_tiled_blits@interruptible.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-hsw7/igt@gem_tiled_blits@interruptible.html * igt@gem_userptr_blits@map-fixed-invalidate-busy-gup: - shard-snb: [PASS][23] -> [DMESG-WARN][24] ([fdo#111870] / [i915#478]) +1 similar issue [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-snb4/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-snb4/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html * igt@gen9_exec_parse@allowed-all: - shard-glk: [PASS][25] -> [INCOMPLETE][26] ([i915#58] / [k.org#198133]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-glk5/igt@gen9_exec_parse@allowed-all.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-glk2/igt@gen9_exec_parse@allowed-all.html * igt@i915_pm_rpm@system-suspend: - shard-kbl: [PASS][27] -> [INCOMPLETE][28] ([fdo#103665] / [i915#151]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl6/igt@i915_pm_rpm@system-suspend.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl3/igt@i915_pm_rpm@system-suspend.html * igt@i915_pm_rps@reset: - shard-iclb: [PASS][29] -> [FAIL][30] ([i915#413]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb5/igt@i915_pm_rps@reset.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb8/igt@i915_pm_rps@reset.html * igt@i915_selftest@mock_requests: - shard-apl: [PASS][31] -> [INCOMPLETE][32] ([fdo#103927]) [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-apl8/igt@i915_selftest@mock_requests.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-apl2/igt@i915_selftest@mock_requests.html - shard-kbl: [PASS][33] -> [INCOMPLETE][34] ([fdo#103665]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl3/igt@i915_selftest@mock_requests.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl2/igt@i915_selftest@mock_requests.html * igt@kms_flip@2x-flip-vs-expired-vblank-interruptible: - shard-glk: [PASS][35] -> [FAIL][36] ([i915#79]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-glk5/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-glk9/igt@kms_flip@2x-flip-vs-expired-vblank-interruptible.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-mmap-wc: - shard-tglb: [PASS][37] -> [FAIL][38] ([i915#49]) +5 similar issues [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-tglb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-mmap-wc.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-tglb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-mmap-wc.html * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes: - shard-apl: [PASS][39] -> [DMESG-WARN][40] ([i915#180]) +3 similar issues [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-apl1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-apl4/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html * 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_5380/shard-iclb2/igt@kms_psr2_su@page_flip.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb6/igt@kms_psr2_su@page_flip.html * igt@kms_psr@psr2_sprite_plane_onoff: - shard-iclb: [PASS][43] -> [SKIP][44] ([fdo#109441]) [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb2/igt@kms_psr@psr2_sprite_plane_onoff.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb8/igt@kms_psr@psr2_sprite_plane_onoff.html * igt@kms_setmode@basic: - shard-apl: [PASS][45] -> [FAIL][46] ([i915#31]) [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-apl4/igt@kms_setmode@basic.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-apl2/igt@kms_setmode@basic.html - shard-glk: [PASS][47] -> [FAIL][48] ([i915#31]) [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-glk5/igt@kms_setmode@basic.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-glk7/igt@kms_setmode@basic.html * igt@kms_vblank@pipe-a-ts-continuation-suspend: - shard-kbl: [PASS][49] -> [DMESG-WARN][50] ([i915#180]) +3 similar issues [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl4/igt@kms_vblank@pipe-a-ts-continuation-suspend.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl7/igt@kms_vblank@pipe-a-ts-continuation-suspend.html * igt@prime_vgem@fence-wait-bsd2: - shard-iclb: [PASS][51] -> [SKIP][52] ([fdo#109276]) +12 similar issues [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb4/igt@prime_vgem@fence-wait-bsd2.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb6/igt@prime_vgem@fence-wait-bsd2.html #### Possible fixes #### * igt@gem_ctx_isolation@vcs1-none: - shard-iclb: [SKIP][53] ([fdo#109276] / [fdo#112080]) -> [PASS][54] +3 similar issues [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb7/igt@gem_ctx_isolation@vcs1-none.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb4/igt@gem_ctx_isolation@vcs1-none.html * igt@gem_ctx_persistence@vcs0-mixed-process: - shard-tglb: [FAIL][55] ([i915#679]) -> [PASS][56] [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-tglb8/igt@gem_ctx_persistence@vcs0-mixed-process.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-tglb6/igt@gem_ctx_persistence@vcs0-mixed-process.html * igt@gem_exec_schedule@pi-shared-iova-bsd: - shard-iclb: [SKIP][57] ([i915#677]) -> [PASS][58] [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb2/igt@gem_exec_schedule@pi-shared-iova-bsd.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb7/igt@gem_exec_schedule@pi-shared-iova-bsd.html * igt@gem_exec_schedule@preempt-other-chain-bsd: - shard-iclb: [SKIP][59] ([fdo#112146]) -> [PASS][60] +1 similar issue [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb2/igt@gem_exec_schedule@preempt-other-chain-bsd.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb3/igt@gem_exec_schedule@preempt-other-chain-bsd.html * igt@gem_exec_schedule@promotion-bsd1: - shard-iclb: [SKIP][61] ([fdo#109276]) -> [PASS][62] +7 similar issues [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb3/igt@gem_exec_schedule@promotion-bsd1.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb1/igt@gem_exec_schedule@promotion-bsd1.html * igt@gem_exec_suspend@basic-s3: - shard-kbl: [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +2 similar issues [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl7/igt@gem_exec_suspend@basic-s3.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl6/igt@gem_exec_suspend@basic-s3.html * igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive: - shard-apl: [INCOMPLETE][65] ([fdo#103927]) -> [PASS][66] [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-apl7/igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-apl6/igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive.html - shard-iclb: [INCOMPLETE][67] ([fdo#109100] / [i915#140]) -> [PASS][68] [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb8/igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb2/igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive.html * igt@gem_persistent_relocs@forked-faulting-reloc-thrashing: - shard-hsw: [INCOMPLETE][69] ([i915#61]) -> [PASS][70] +1 similar issue [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-hsw2/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-hsw5/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html * igt@gem_persistent_relocs@forked-interruptible-thrashing: - shard-snb: [FAIL][71] ([i915#520]) -> [PASS][72] [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-snb4/igt@gem_persistent_relocs@forked-interruptible-thrashing.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-snb6/igt@gem_persistent_relocs@forked-interruptible-thrashing.html - shard-kbl: [INCOMPLETE][73] ([fdo#103665] / [i915#530]) -> [PASS][74] [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl1/igt@gem_persistent_relocs@forked-interruptible-thrashing.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl2/igt@gem_persistent_relocs@forked-interruptible-thrashing.html * igt@gem_persistent_relocs@forked-thrashing: - shard-tglb: [INCOMPLETE][75] ([i915#472]) -> [PASS][76] [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-tglb5/igt@gem_persistent_relocs@forked-thrashing.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-tglb3/igt@gem_persistent_relocs@forked-thrashing.html * igt@gem_pipe_control_store_loop@reused-buffer: - shard-hsw: [FAIL][77] ([i915#874]) -> [PASS][78] [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-hsw6/igt@gem_pipe_control_store_loop@reused-buffer.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-hsw6/igt@gem_pipe_control_store_loop@reused-buffer.html * igt@i915_pm_dc@dc6-dpms: - shard-iclb: [FAIL][79] ([i915#454]) -> [PASS][80] [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb3/igt@i915_pm_dc@dc6-dpms.html [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb4/igt@i915_pm_dc@dc6-dpms.html * igt@i915_selftest@mock_requests: - shard-iclb: [INCOMPLETE][81] ([i915#140]) -> [PASS][82] +1 similar issue [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb6/igt@i915_selftest@mock_requests.html [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb6/igt@i915_selftest@mock_requests.html * igt@i915_suspend@debugfs-reader: - shard-snb: [DMESG-WARN][83] ([i915#42]) -> [PASS][84] [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-snb5/igt@i915_suspend@debugfs-reader.html [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-snb4/igt@i915_suspend@debugfs-reader.html * igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque: - shard-apl: [FAIL][85] ([i915#54]) -> [PASS][86] [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-apl3/igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque.html [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-apl8/igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque.html - shard-glk: [FAIL][87] ([i915#54]) -> [PASS][88] [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-glk5/igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque.html [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-glk8/igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque.html - shard-kbl: [FAIL][89] ([i915#54]) -> [PASS][90] [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl1/igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque.html [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl4/igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw: - shard-tglb: [FAIL][91] ([i915#49]) -> [PASS][92] +2 similar issues [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-tglb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw.html [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw.html * igt@kms_psr@psr2_suspend: - shard-iclb: [SKIP][93] ([fdo#109441]) -> [PASS][94] +2 similar issues [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb8/igt@kms_psr@psr2_suspend.html [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb2/igt@kms_psr@psr2_suspend.html * igt@kms_setmode@basic: - shard-hsw: [FAIL][95] ([i915#31]) -> [PASS][96] [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-hsw2/igt@kms_setmode@basic.html [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-hsw5/igt@kms_setmode@basic.html * igt@kms_vblank@pipe-a-ts-continuation-suspend: - shard-apl: [DMESG-WARN][97] ([i915#180]) -> [PASS][98] [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-apl1/igt@kms_vblank@pipe-a-ts-continuation-suspend.html [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-apl2/igt@kms_vblank@pipe-a-ts-continuation-suspend.html * igt@perf_pmu@busy-no-semaphores-vcs1: - shard-iclb: [SKIP][99] ([fdo#112080]) -> [PASS][100] +5 similar issues [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb6/igt@perf_pmu@busy-no-semaphores-vcs1.html [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb1/igt@perf_pmu@busy-no-semaphores-vcs1.html #### Warnings #### * igt@gem_ctx_isolation@vcs1-nonpriv: - shard-iclb: [FAIL][101] ([IGT#28]) -> [SKIP][102] ([fdo#109276] / [fdo#112080]) [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb4/igt@gem_ctx_isolation@vcs1-nonpriv.html [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb6/igt@gem_ctx_isolation@vcs1-nonpriv.html * igt@gem_ctx_isolation@vcs1-nonpriv-switch: - shard-iclb: [SKIP][103] ([fdo#109276] / [fdo#112080]) -> [FAIL][104] ([IGT#28]) [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb6/igt@gem_ctx_isolation@vcs1-nonpriv-switch.html [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb1/igt@gem_ctx_isolation@vcs1-nonpriv-switch.html * igt@gem_persistent_relocs@forked-interruptible-thrashing: - shard-apl: [INCOMPLETE][105] ([fdo#103927] / [i915#530]) -> [INCOMPLETE][106] ([fdo#103927]) [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-apl3/igt@gem_persistent_relocs@forked-interruptible-thrashing.html [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-apl8/igt@gem_persistent_relocs@forked-interruptible-thrashing.html * igt@gem_userptr_blits@sync-unmap-cycles: - shard-snb: [DMESG-WARN][107] ([fdo#110789] / [fdo#111870] / [i915#478]) -> [DMESG-WARN][108] ([fdo#111870] / [i915#478]) +1 similar issue [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-snb4/igt@gem_userptr_blits@sync-unmap-cycles.html [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-snb1/igt@gem_userptr_blits@sync-unmap-cycles.html * igt@kms_dp_dsc@basic-dsc-enable-edp: - shard-iclb: [SKIP][109] ([fdo#109349]) -> [DMESG-WARN][110] ([fdo#107724]) [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-iclb4/igt@kms_dp_dsc@basic-dsc-enable-edp.html [110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-iclb2/igt@kms_dp_dsc@basic-dsc-enable-edp.html * igt@kms_frontbuffer_tracking@fbc-suspend: - shard-kbl: [INCOMPLETE][111] ([fdo#103665]) -> [DMESG-WARN][112] ([i915#180]) [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5380/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-suspend.html [112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-suspend.html [IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28 [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927 [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 [fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100 [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276 [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#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146 [i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140 [i915#151]: https://gitlab.freedesktop.org/drm/intel/issues/151 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31 [i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413 [i915#42]: https://gitlab.freedesktop.org/drm/intel/issues/42 [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454 [i915#472]: https://gitlab.freedesktop.org/drm/intel/issues/472 [i915#478]: https://gitlab.freedesktop.org/drm/intel/issues/478 [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49 [i915#490]: https://gitlab.freedesktop.org/drm/intel/issues/490 [i915#520]: https://gitlab.freedesktop.org/drm/intel/issues/520 [i915#530]: https://gitlab.freedesktop.org/drm/intel/issues/530 [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 [i915#58]: https://gitlab.freedesktop.org/drm/intel/issues/58 [i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61 [i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644 [i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677 [i915#679]: https://gitlab.freedesktop.org/drm/intel/issues/679 [i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694 [i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79 [i915#874]: https://gitlab.freedesktop.org/drm/intel/issues/874 [i915#970]: https://gitlab.freedesktop.org/drm/intel/issues/970 [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133 Participating hosts (8 -> 8) ------------------------------ No changes in participating hosts Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5380 -> IGTPW_3978 CI-20190529: 20190529 CI_DRM_7801: 6e1cfbab49286533a902e0c265249b80e5cf71da @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3978: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/index.html IGT_5380: 50c31d6423d37633dae5d36c7aaea10162baa63d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3978/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Try to compute the largest possible dumb buffer 2020-01-23 12:27 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Try to compute the largest possible dumb buffer Chris Wilson ` (2 preceding siblings ...) 2020-01-24 18:20 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork @ 2020-01-27 6:41 ` Ramalingam C 3 siblings, 0 replies; 5+ messages in thread From: Ramalingam C @ 2020-01-27 6:41 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev, intel-gfx On 2020-01-23 at 12:27:11 +0000, Chris Wilson wrote: > For our threaded clear test, we want to create as many buffers as can > fit into the available memory. However, since we don't know the size of > that available memory, it can be easy to create too large or too many > buffers, and waste our time testing the unobtainable. Instead, try > probing the available space by trying to create the largest dumb buffer > we possibly can, and assume that is the equivalent to the available > space. > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> > Cc: Ramalingam C <ramalingam.c@intel.com> > --- > tests/dumb_buffer.c | 68 +++++++++++++++++++++++++++++++++++++++------ > 1 file changed, 59 insertions(+), 9 deletions(-) > > diff --git a/tests/dumb_buffer.c b/tests/dumb_buffer.c > index 3d2dc9966..c1e7b4d3b 100644 > --- a/tests/dumb_buffer.c > +++ b/tests/dumb_buffer.c > @@ -31,18 +31,18 @@ > * combinations are rejected. > */ > > -#include <stdlib.h> > -#include <sys/ioctl.h> > -#include <stdio.h> > -#include <string.h> > +#include <errno.h> > #include <fcntl.h> > #include <inttypes.h> > -#include <errno.h> > -#include <sys/stat.h> > -#include <sys/time.h> > -#include <getopt.h> > #include <pthread.h> > +#include <signal.h> > #include <stdatomic.h> > +#include <stdio.h> > +#include <stdlib.h> > +#include <string.h> > +#include <sys/ioctl.h> > +#include <sys/stat.h> > +#include <sys/time.h> > > #include <drm.h> > > @@ -325,12 +325,62 @@ static void *thread_clear(void *data) > return (void *)(uintptr_t)checked; > } > > +static jmp_buf sigjmp; > + > +static void sigprobe(int sig) > +{ > + longjmp(sigjmp, sig); > +} > + > +static uint64_t estimate_largest_dumb_buffer(int fd) > +{ > + sighandler_t old_sigbus = signal(SIGBUS, sigprobe); > + sighandler_t old_sigsegv = signal(SIGSEGV, sigprobe); > + struct drm_mode_create_dumb create = { > + .bpp = 32, > + .width = 1 << 20, /* in pixels */ > + .height = 1, /* in rows */ > + }; > + volatile uint64_t largest = 0; > + char * volatile ptr = NULL; > + > + if (setjmp(sigjmp)) { > + if (ptr) > + munmap(ptr, create.size); > + > + signal(SIGBUS, old_sigbus); > + signal(SIGSEGV, old_sigsegv); > + > + igt_info("Largest dumb buffer sucessfully created: %'"PRIu64" bytes\n", > + largest); > + return largest / PAGE_SIZE; > + } > + > + for (create.height = 1; create.height; create.height *= 2) { > + if (__dumb_create(fd, &create)) > + longjmp(sigjmp, SIGABRT); > + > + ptr = __dumb_map(fd, create.handle, create.size, PROT_READ); > + dumb_destroy(fd, create.handle); > + if (!ptr) > + longjmp(sigjmp, SIGABRT); > + > + if (!*ptr) > + largest = create.size; > + > + munmap(ptr, create.size); > + ptr = NULL; > + } > + > + longjmp(sigjmp, SIGABRT); > +} > + > static void always_clear(int fd, int timeout) > { > struct thread_clear arg = { > .fd = fd, > .timeout = timeout, > - .max = intel_get_avail_ram_mb() << (20 - 12), /* in pages */ > + .max = estimate_largest_dumb_buffer(fd), /* in pages */ LGTM. I will test with other required LMEM changes. Reviewed-by: Ramalingam C <ramalingam.c@intel.com> > }; > const int ncpus = sysconf(_SC_NPROCESSORS_ONLN); > unsigned long checked; > -- > 2.25.0 > _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-01-27 6:41 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-01-23 12:27 [igt-dev] [PATCH i-g-t] tests/dumb_buffer: Try to compute the largest possible dumb buffer Chris Wilson 2020-01-23 13:37 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2020-01-24 6:48 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork 2020-01-24 18:20 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 2020-01-27 6:41 ` [igt-dev] [PATCH i-g-t] " Ramalingam C
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox