Fixes for gem_exec_capture
v2 cover Fixes for gem_exec_capture
From: John Harrison <[email protected]>
Fix a bunch of issues with gem_exec_capture with the ultimate aim of making it pass on GuC enabled platforms.
v2: Abstract the 'find first available engine' block into a helper (review feedback from Matthew B). Note that for unknown reasons, this helper does not work as a function. After wasting far too long trying to debug out why the engine mask in the execbuf was *sometimes* invalid, just making it a macro instead worked fine. Seems like maybe the for_each_ctx_engine macro creates a local stack variable that is silently required to remain in scope for the resulting ctx to be valid?
John Harrison (8):
tests/i915/gem_exec_capture: Remove pointless assert tests/i915/gem_exec_capture: Cope with larger page sizes tests/i915/gem_exec_capture: Make the error decode a common helper tests/i915/gem_exec_capture: Use contexts and engines properly tests/i915/gem_exec_capture: Check for memory allocation failure lib/igt_sysfs: Support large files
lib/igt_gt: Allow per engine reset testing tests/i915/gem_exec_capture: Update to support GuC based resets
lib/igt_gt.c | 44 ++-- lib/igt_gt.h | 1 + lib/igt_sysfs.c | 17 +- tests/i915/gem_exec_capture.c | 469 ++++++++++++++++++++-------------- 4 files changed, 315 insertions(+), 216 deletions(-)
Signature · 1 line
2.25.1
PATCH v2 1/8 tests/i915/gem_exec_capture: Remove pointless assert
From: John Harrison <[email protected]>
The 'many' test ended with an 'assert(count)', presumably meaning to ensure that some objects were actually captured. However, 'count' is the number of objects created not how many were captured. Plus, there is already a 'require(count > 1)' at the start and count is invarient so the final assert is basically pointless.
General concensus appears to be that the test should not fail irrespective of how many blobs are captured as low memory situations could cause the capture to be abbreviated. So just remove the pointless assert completely.
--- tests/i915/gem_exec_capture.c | 1 - 1 file changed, 1 deletion(-)
tests/i915/gem_exec_capture.c +0 -1
@@ -524,7 +524,6 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags) }igt_info ("Captured %lu %" PRId64"-blobs out of a total of %lu\n" , blobs, size >>12 , count); -igt_assert (count);free (error);free (offsets);
Signature · 1 line
2.25.1
PATCH v2 2/8 tests/i915/gem_exec_capture: Cope with larger page sizes
In reply to [email protected]From: John Harrison <[email protected]>
At some point, larger than 4KB page sizes were added to the i915 driver. This included adding an informational line to the buffer entries in error capture logs. However, the error capture test was not updated to skip this string, thus it would silently abort processing.
--- tests/i915/gem_exec_capture.c | 6 ++++++ 1 file changed, 6 insertions(+)
tests/i915/gem_exec_capture.c +6 -0
@@ -484,6 +484,12 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags) addr |=strtoul (str +1 , &str,16 );igt_assert (*str++ =='\n' ); +/* gtt_page_sizes = 0x00010000 */ +if (strncmp (str,"gtt_page_sizes = 0x" ,19 ) ==0 ) { + str +=19 +8 ; +igt_assert (*str++ =='\n' ); + } +if (!(*str ==':' || *str =='~' ))continue ;
Signature · 1 line
2.25.1
PATCH v2 3/8 tests/i915/gem_exec_capture: Make the error decode a common helper
In reply to [email protected]From: John Harrison <[email protected]>
The decode of the error capture contents was happening in two different sub-tests with two very different pieces of code. One being much more extensive than the other (actually decodes and verifies the contents of the captured buffers rather than just the address). So, move the code into a common helper function and use that in both places.
--- tests/i915/gem_exec_capture.c | 344 +++++++++++++++++----------------- 1 file changed, 170 insertions(+), 174 deletions(-)
tests/i915/gem_exec_capture.c +170 -174
@@ -33,32 +33,175 @@IGT_TEST_DESCRIPTION ("Check that we capture the user specified objects on a hang" ); -static void check_error_state (int dir,struct drm_i915_gem_exec_object2 *obj) +struct offset { +uint64_t addr; +unsigned long idx; +bool found; +}; + +static unsigned long zlib_inflate (uint32_t **ptr,unsigned long len) +{ +struct z_stream_s zstream; +void *out; + +memset (&zstream,0 ,sizeof (zstream)); + + zstream.next_in = (unsigned char *)*ptr; + zstream.avail_in =4 *len; + +if (inflateInit (&zstream) !=Z_OK ) +return 0 ; + + out =malloc (128 *4096 );/* approximate obj size */ + zstream.next_out = out; + zstream.avail_out =128 *4096 ; + +do { +switch (inflate (&zstream,Z_SYNC_FLUSH )) { +case Z_STREAM_END : + goto end; +case Z_OK : +break ; +default : +inflateEnd (&zstream); +return 0 ; + } + +if (zstream.avail_out) +break ; + + out =realloc (out,2 *zstream.total_out); +if (out ==NULL ) { +inflateEnd (&zstream); +return 0 ; + } + + zstream.next_out = (unsigned char *)out + zstream.total_out; + zstream.avail_out = zstream.total_out; + }while (1 ); +end: +inflateEnd (&zstream); +free (*ptr); + *ptr = out; +return zstream.total_out /4 ; +} + +static unsigned long +ascii85_decode (char *in,uint32_t **out,bool inflate,char **end) +{ +unsigned long len =0 , size =1024 ; + + *out =realloc (*out,sizeof (uint32_t )*size); +if (*out ==NULL ) +return 0 ; + +while (*in >='!' && *in <='z' ) { +uint32_t v =0 ; + +if (len == size) { + size *=2 ; + *out =realloc (*out,sizeof (uint32_t )*size); +if (*out ==NULL ) +return 0 ; + } + +if (*in =='z' ) { + in++; + }else { + v += in[0 ] -33 ; v *=85 ; + v += in[1 ] -33 ; v *=85 ; + v += in[2 ] -33 ; v *=85 ; + v += in[3 ] -33 ; v *=85 ; + v += in[4 ] -33 ; + in +=5 ; + } + (*out)[len++] = v; + } + *end = in; + +if (!inflate) +return len; + +return zlib_inflate (out, len); +} + +static int check_error_state (int dir,struct offset *obj_offsets,int obj_count, +uint64_t obj_size,bool incremental) {char *error, *str; -bool found = false; +int blobs =0 ; error =igt_sysfs_get (dir,"error" );igt_sysfs_set (dir,"error" ,"Begone!" ); -igt_assert (error);igt_debug ("%s\n" , error);/* render ring --- user = 0x00000000 ffffd000 */ -for (str = error; (str =strstr (str,"--- user = " )); str++) { +for (str = error; (str =strstr (str,"--- user = " )); ) { +uint32_t *data =NULL ;uint64_t addr; -uint32_t hi, lo; +unsigned long i, sz; +unsigned long start; +unsigned long end; -igt_assert (sscanf (str,"--- user = 0x%x %x" , &hi, &lo) ==2 ); - addr = hi; +if (strncmp (str,"--- user = 0x" ,13 )) +break ; + str +=13 ; + addr =strtoul (str, &str,16 ); addr <<=32 ; - addr |= lo; -igt_assert_eq_u64 (addr, obj->offset); - found = true; + addr |=strtoul (str +1 , &str,16 ); +igt_assert (*str++ =='\n' ); + + start =0 ; + end = obj_count; +while (end > start) { + i = (end - start) /2 + start; +if (obj_offsets[i].addr < addr) + start = i +1 ; +else if (obj_offsets[i].addr > addr) + end = i; +else +break ; + } +igt_assert (obj_offsets[i].addr == addr); +igt_assert (!obj_offsets[i].found); + obj_offsets[i].found = true; +igt_debug ("offset:%" PRIx64", index:%ld\n" , + addr, obj_offsets[i].idx); + +/* gtt_page_sizes = 0x00010000 */ +if (strncmp (str,"gtt_page_sizes = 0x" ,19 ) ==0 ) { + str +=19 +8 ; +igt_assert (*str++ =='\n' ); + } + +if (!(*str ==':' || *str =='~' )) +continue ; + +igt_debug ("blob:%.64s\n" , str); + sz =ascii85_decode (str +1 , &data, *str ==':' , &str); + +igt_assert_eq (4 * sz, obj_size); +igt_assert (*str++ =='\n' ); + str =strchr (str,'-' ); + +if (incremental) { +uint32_t expect; + + expect = obj_offsets[i].idx * obj_size; +for (i =0 ; i < sz; i++) +igt_assert_eq (data[i], expect++); + }else { +for (i =0 ; i < sz; i++) +igt_assert_eq (data[i],0 ); + } + + blobs++; +free (data); }free (error); -igt_assert (found); +return blobs; } static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,
@@ -73,6 +216,7 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,struct drm_i915_gem_relocation_entry reloc[2 ];struct drm_i915_gem_execbuffer2 execbuf;uint32_t *batch, *seqno; +struct offset offset;int i;memset (obj,0 ,sizeof (obj));
@@ -168,7 +312,10 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,/* Check that only the buffer we marked is reported in the error */ igt_force_gpu_reset (fd); -check_error_state (dir, &obj[CAPTURE ]); +memset (&offset,0 ,sizeof (offset)); + offset.addr = obj[CAPTURE ].offset; +igt_assert_eq (check_error_state (dir, &offset,1 , target_size, false),1 ); +igt_assert (offset.found);gem_sync (fd, obj[BATCH ].handle);
@@ -183,11 +330,12 @@ static void capture(int fd, int dir, const intel_ctx_t *ctx, unsigned ring) {uint32_t handle;uint64_t ahnd; +int obj_size =4096 ; - handle =gem_create (fd,4096 ); + handle =gem_create (fd, obj_size); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, ring, handle,4096 ); +__capture1 (fd, dir, ahnd, ctx, ring, handle, obj_size);gem_close (fd, handle);put_ahnd (ahnd);
@@ -206,10 +354,8 @@ static int cmp(const void *A, const void *B)return 0 ; } -static struct offset { -uint64_t addr; -unsigned long idx; -} *__captureN (int fd,int dir,uint64_t ahnd,unsigned ring, +static struct offset * +__captureN (int fd,int dir,uint64_t ahnd,unsigned ring,unsigned int size,int count, unsigned int flags)#define INCREMENTAL 0x1
@@ -357,98 +503,11 @@ static struct offset {return offsets; } -static unsigned long zlib_inflate (uint32_t **ptr,unsigned long len) -{ -struct z_stream_s zstream; -void *out; - -memset (&zstream,0 ,sizeof (zstream)); - - zstream.next_in = (unsigned char *)*ptr; - zstream.avail_in =4 *len; - -if (inflateInit (&zstream) !=Z_OK ) -return 0 ; - - out =malloc (128 *4096 );/* approximate obj size */ - zstream.next_out = out; - zstream.avail_out =128 *4096 ; - -do { -switch (inflate (&zstream,Z_SYNC_FLUSH )) { -case Z_STREAM_END : - goto end; -case Z_OK : -break ; -default : -inflateEnd (&zstream); -return 0 ; - } - -if (zstream.avail_out) -break ; - - out =realloc (out,2 *zstream.total_out); -if (out ==NULL ) { -inflateEnd (&zstream); -return 0 ; - } - - zstream.next_out = (unsigned char *)out + zstream.total_out; - zstream.avail_out = zstream.total_out; - }while (1 ); -end: -inflateEnd (&zstream); -free (*ptr); - *ptr = out; -return zstream.total_out /4 ; -} - -static unsigned long -ascii85_decode (char *in,uint32_t **out,bool inflate,char **end) -{ -unsigned long len =0 , size =1024 ; - - *out =realloc (*out,sizeof (uint32_t )*size); -if (*out ==NULL ) -return 0 ; - -while (*in >='!' && *in <='z' ) { -uint32_t v =0 ; - -if (len == size) { - size *=2 ; - *out =realloc (*out,sizeof (uint32_t )*size); -if (*out ==NULL ) -return 0 ; - } - -if (*in =='z' ) { - in++; - }else { - v += in[0 ] -33 ; v *=85 ; - v += in[1 ] -33 ; v *=85 ; - v += in[2 ] -33 ; v *=85 ; - v += in[3 ] -33 ; v *=85 ; - v += in[4 ] -33 ; - in +=5 ; - } - (*out)[len++] = v; - } - *end = in; - -if (!inflate) -return len; - -return zlib_inflate (out, len); -} -static void many (int fd,int dir,uint64_t size,unsigned int flags) {uint64_t ram, gtt, ahnd;unsigned long count, blobs;struct offset *offsets; -char *error, *str; gtt =gem_aperture_size (fd) / size; ram = (intel_get_avail_ram_mb () <<20 ) / size;
@@ -463,75 +522,10 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags) offsets =__captureN (fd, dir, ahnd,0 , size, count, flags); - error =igt_sysfs_get (dir,"error" ); -igt_sysfs_set (dir,"error" ,"Begone!" ); -igt_assert (error); - - blobs =0 ; -/* render ring --- user = 0x00000000 ffffd000 */ - str =strstr (error,"--- user = " ); -while (str) { -uint32_t *data =NULL ; -unsigned long i, sz; -uint64_t addr; - -if (strncmp (str,"--- user = 0x" ,13 )) -break ; - - str +=13 ; - addr =strtoul (str, &str,16 ); - addr <<=32 ; - addr |=strtoul (str +1 , &str,16 ); -igt_assert (*str++ =='\n' ); - -/* gtt_page_sizes = 0x00010000 */ -if (strncmp (str,"gtt_page_sizes = 0x" ,19 ) ==0 ) { - str +=19 +8 ; -igt_assert (*str++ =='\n' ); - } - -if (!(*str ==':' || *str =='~' )) -continue ; - -igt_debug ("blob:%.64s\n" , str); - sz =ascii85_decode (str +1 , &data, *str ==':' , &str); -igt_assert_eq (4 * sz, size); -igt_assert (*str++ =='\n' ); - str =strchr (str,'-' ); - -if (flags &INCREMENTAL ) { -unsigned long start =0 ; -unsigned long end = count; -uint32_t expect; - -while (end > start) { - i = (end - start) /2 + start; -if (offsets[i].addr < addr) - start = i +1 ; -else if (offsets[i].addr > addr) - end = i; -else -break ; - } -igt_assert (offsets[i].addr == addr); -igt_debug ("offset:%" PRIx64", index:%ld\n" , - addr, offsets[i].idx); - - expect = offsets[i].idx * size; -for (i =0 ; i < sz; i++) -igt_assert_eq (data[i], expect++); - }else { -for (i =0 ; i < sz; i++) -igt_assert_eq (data[i],0 ); - } - - blobs++; -free (data); - } + blobs =check_error_state (dir, offsets, count, size, !!(flags &INCREMENTAL ));igt_info ("Captured %lu %" PRId64"-blobs out of a total of %lu\n" , blobs, size >>12 , count); -free (error);free (offsets);put_ahnd (ahnd); }
@@ -625,12 +619,14 @@ static void userptr(int fd, int dir)uint32_t handle;uint64_t ahnd;void *ptr; +int obj_size =4096 ; -igt_assert (posix_memalign (&ptr,4096 ,4096 ) ==0 ); -igt_require (__gem_userptr (fd, ptr,4096 ,0 ,0 , &handle) ==0 ); +igt_assert (posix_memalign (&ptr, obj_size, obj_size) ==0 ); +memset (ptr,0 , obj_size); +igt_require (__gem_userptr (fd, ptr, obj_size,0 ,0 , &handle) ==0 ); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd,intel_ctx_0 (fd),0 , handle,4096 ); +__capture1 (fd, dir, ahnd,intel_ctx_0 (fd),0 , handle, obj_size);gem_close (fd, handle);put_ahnd (ahnd);
Signature · 1 line
2.25.1
PATCH v2 4/8 tests/i915/gem_exec_capture: Use contexts and engines properly
In reply to [email protected]From: John Harrison <[email protected]>
Some of the capture tests were using explicit contexts, some not. Some were poking the per engine pre-emption timeout, some not. This would lead to sporadic failures due to random timeouts, contexts being banned depending upon how many subtests were run and/or how many engines a given platform has, and other such failures.
So, update all tests to be conistent.
--- tests/i915/gem_exec_capture.c | 79 +++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 22 deletions(-)
tests/i915/gem_exec_capture.c +57 -22
@@ -204,8 +204,19 @@ static int check_error_state(int dir, struct offset *obj_offsets, int obj_count,return blobs; } +static void configure_hangs (int fd,const struct intel_execution_engine2 *e,int ctxt_id) +{ +/* Ensure fast hang detection */ +gem_engine_property_printf (fd, e->name,"preempt_timeout_ms" ,"%d" ,250 ); +gem_engine_property_printf (fd, e->name,"heartbeat_interval_ms" ,"%d" ,500 ); + +/* Allow engine based resets and disable banning */ +igt_allow_hang (fd, ctxt_id,HANG_ALLOW_CAPTURE ); +} +static void __capture1 (int fd,int dir,uint64_t ahnd,const intel_ctx_t *ctx, -unsigned ring,uint32_t target,uint64_t target_size) +const struct intel_execution_engine2 *e, +uint32_t target,uint64_t target_size) {const unsigned int gen =intel_gen (intel_get_drm_devid (fd));struct drm_i915_gem_exec_object2 obj[4 ];
@@ -219,6 +230,8 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,struct offset offset;int i; +configure_hangs (fd, e, ctx->id); +memset (obj,0 ,sizeof (obj)); obj[SCRATCH ].handle =gem_create (fd,4096 ); obj[SCRATCH ].flags =EXEC_OBJECT_WRITE ;
@@ -297,7 +310,7 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr = (uintptr_t )obj; execbuf.buffer_count =ARRAY_SIZE (obj); - execbuf.flags = ring; + execbuf.flags = e->flags;if (gen >3 && gen <6 ) execbuf.flags |=I915_EXEC_SECURE ; execbuf.rsvd1 = ctx->id;
@@ -326,7 +339,8 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,gem_close (fd, obj[SCRATCH ].handle); } -static void capture (int fd,int dir,const intel_ctx_t *ctx,unsigned ring) +static void capture (int fd,int dir,const intel_ctx_t *ctx, +const struct intel_execution_engine2 *e) {uint32_t handle;uint64_t ahnd;
@@ -335,7 +349,7 @@ static void capture(int fd, int dir, const intel_ctx_t *ctx, unsigned ring) handle =gem_create (fd, obj_size); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, ring, handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size);gem_close (fd, handle);put_ahnd (ahnd);
@@ -355,9 +369,9 @@ static int cmp(const void *A, const void *B) }static struct offset * -__captureN (int fd,int dir,uint64_t ahnd,unsigned ring, -unsigned int size,int count, - unsigned int flags) +__captureN (int fd,int dir,uint64_t ahnd,const intel_ctx_t *ctx, +const struct intel_execution_engine2 *e, + unsigned int size, int count, unsigned int flags)#define INCREMENTAL 0x1#define ASYNC 0x2 {
@@ -369,6 +383,8 @@ __captureN(int fd, int dir, uint64_t ahnd, unsigned ring,struct offset *offsets;int i; +configure_hangs (fd, e, ctx->id); + offsets =calloc (count,sizeof (*offsets));igt_assert (offsets);
@@ -470,9 +486,10 @@ __captureN(int fd, int dir, uint64_t ahnd, unsigned ring,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr = (uintptr_t )obj; execbuf.buffer_count = count +2 ; - execbuf.flags = ring; + execbuf.flags = e->flags;if (gen >3 && gen <6 ) execbuf.flags |=I915_EXEC_SECURE ; + execbuf.rsvd1 = ctx->id;igt_assert (!READ_ONCE (*seqno));gem_execbuf (fd, &execbuf);
@@ -503,12 +520,27 @@ __captureN(int fd, int dir, uint64_t ahnd, unsigned ring,return offsets; } +#define find_first_available_engine (fd, ctx, e) \ + do { \ + ctx = intel_ctx_create_all_physical(fd); \ + igt_assert(ctx); \ + for_each_ctx_engine(fd, ctx, e) \ + for_each_if(gem_class_can_store_dword(fd, e->class)) \ + break; \ + igt_assert(e); \ + configure_hangs(fd, e, ctx->id); \ + } while(0) +static void many (int fd,int dir,uint64_t size,unsigned int flags) { +const struct intel_execution_engine2 *e; +const intel_ctx_t *ctx;uint64_t ram, gtt, ahnd;unsigned long count, blobs;struct offset *offsets; +find_first_available_engine (fd, ctx, e); + gtt =gem_aperture_size (fd) / size; ram = (intel_get_avail_ram_mb () <<20 ) / size; igt_debug("Available objects in GTT:%"PRIu64", RAM:%"PRIu64"\n",
@@ -518,9 +550,9 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags)igt_require (count >1 );intel_require_memory (count, size,CHECK_RAM ); - ahnd =get_reloc_ahnd (fd,0 ); + ahnd =get_reloc_ahnd (fd, ctx->id); - offsets =__captureN (fd, dir, ahnd,0 , size, count, flags); + offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags); blobs =check_error_state (dir, offsets, count, size, !!(flags &INCREMENTAL )); igt_info("Captured %lu %"PRId64"-blobs out of a total of %lu\n",
@@ -531,7 +563,7 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags) }static void prioinv (int fd,int dir,const intel_ctx_t *ctx, -unsigned ring,const char *name) +const struct intel_execution_engine2 *e) {const uint32_t bbe =MI_BATCH_BUFFER_END ;struct drm_i915_gem_exec_object2 obj = {
@@ -540,7 +572,7 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,struct drm_i915_gem_execbuffer2 execbuf = { .buffers_ptr =to_user_pointer (&obj), .buffer_count =1 , - .flags = ring, + .flags = e->flags, .rsvd1 = ctx->id, };int64_t timeout =NSEC_PER_SEC ;/* 1s, feeling generous, blame debug */
@@ -555,10 +587,6 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,igt_require (igt_params_set (fd,"reset" ,"%u" ,-1 ));/* engine resets! */ igt_require (gem_gpu_reset_type (fd) >1 ); -/* Needs to be fast enough for the hangcheck to return within 1s */ -igt_require (gem_engine_property_printf (fd, name,"preempt_timeout_ms" ,"%d" ,0 ) >0 ); -gem_engine_property_printf (fd, name,"preempt_timeout_ms" ,"%d" ,500 ); - gtt =gem_aperture_size (fd) / size; ram = (intel_get_avail_ram_mb () <<20 ) / size; igt_debug("Available objects in GTT:%"PRIu64", RAM:%"PRIu64"\n",
@@ -576,15 +604,19 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,igt_assert (pipe (link) ==0 ); igt_fork(child, 1) { +const intel_ctx_t *ctx2; fd =gem_reopen_driver (fd);igt_debug ("Submitting large capture [%ld x %dMiB objects]\n" , count, (int )(size >>20 )); + ctx2 =intel_ctx_create_all_physical (fd); +igt_assert (ctx2); +intel_allocator_init ();/* Reopen the allocator in the new process. */ - ahnd =get_reloc_ahnd (fd,0 ); + ahnd =get_reloc_ahnd (fd, ctx2->id); -free (__captureN (fd, dir, ahnd, ring, size, count,ASYNC )); +free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC ));put_ahnd (ahnd);write (link[1 ], &fd,sizeof (fd));/* wake the parent up */
@@ -615,18 +647,21 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,static void userptr (int fd,int dir) { -const intel_ctx_t *ctx =intel_ctx_0 (fd); +const struct intel_execution_engine2 *e; +const intel_ctx_t *ctx;uint32_t handle;uint64_t ahnd;void *ptr;int obj_size =4096 ; +find_first_available_engine (fd, ctx, e); +igt_assert (posix_memalign (&ptr, obj_size, obj_size) ==0 );memset (ptr,0 , obj_size);igt_require (__gem_userptr (fd, ptr, obj_size,0 ,0 , &handle) ==0 ); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd,intel_ctx_0 (fd),0 , handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size);gem_close (fd, handle);put_ahnd (ahnd);
@@ -684,7 +719,7 @@ igt_main } test_each_engine("capture", fd, ctx, e) -capture (fd, dir, ctx, e->flags); +capture (fd, dir, ctx, e); igt_subtest_f("many-4K-zero") {igt_require (gem_can_store_dword (fd,0 ));
@@ -719,7 +754,7 @@ igt_main } test_each_engine("pi", fd, ctx, e) -prioinv (fd, dir, ctx, e->flags, e->name); +prioinv (fd, dir, ctx, e); igt_fixture {close (dir);
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH v2 i-g-t 4/8] tests/i915/gem_exec_capture: Use contexts and engines properly
Quoted 11 lines · On Wed, Nov 03, 2021 at 10:04:45AM -0700, [email protected] wrote:
From: John Harrison <[email protected]>
Some of the capture tests were using explicit contexts, some not. Some were poking the per engine pre-emption timeout, some not. This would lead to sporadic failures due to random timeouts, contexts being banned depending upon how many subtests were run and/or how many engines a given platform has, and other such failures.
So, update all tests to be conistent.
Signed-off-by John Harrison <[email protected]>
Quoted 236 lines
--- tests/i915/gem_exec_capture.c | 79 +++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 22 deletions(-)tests/i915/gem_exec_capture.c +57
-22@@ -204,8 +204,19 @@ static int check_error_state(int dir, struct offset *obj_offsets, int obj_count,return blobs; } +static void configure_hangs (int fd,const struct intel_execution_engine2 *e,int ctxt_id) +{ +/* Ensure fast hang detection */ +gem_engine_property_printf (fd, e->name,"preempt_timeout_ms" ,"%d" ,250 ); +gem_engine_property_printf (fd, e->name,"heartbeat_interval_ms" ,"%d" ,500 ); + +/* Allow engine based resets and disable banning */ +igt_allow_hang (fd, ctxt_id,HANG_ALLOW_CAPTURE ); +} +static void __capture1 (int fd,int dir,uint64_t ahnd,const intel_ctx_t *ctx, -unsigned ring,uint32_t target,uint64_t target_size) +const struct intel_execution_engine2 *e, +uint32_t target,uint64_t target_size) {const unsigned int gen =intel_gen (intel_get_drm_devid (fd));struct drm_i915_gem_exec_object2 obj[4 ];@@ -219,6 +230,8 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,struct offset offset;int i; +configure_hangs (fd, e, ctx->id); +memset (obj,0 ,sizeof (obj)); obj[SCRATCH ].handle =gem_create (fd,4096 ); obj[SCRATCH ].flags =EXEC_OBJECT_WRITE ;@@ -297,7 +310,7 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr = (uintptr_t )obj; execbuf.buffer_count =ARRAY_SIZE (obj); - execbuf.flags = ring; + execbuf.flags = e->flags;if (gen >3 && gen <6 ) execbuf.flags |=I915_EXEC_SECURE ; execbuf.rsvd1 = ctx->id;@@ -326,7 +339,8 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,gem_close (fd, obj[SCRATCH ].handle); } -static void capture (int fd,int dir,const intel_ctx_t *ctx,unsigned ring) +static void capture (int fd,int dir,const intel_ctx_t *ctx, +const struct intel_execution_engine2 *e) {uint32_t handle;uint64_t ahnd;@@ -335,7 +349,7 @@ static void capture(int fd, int dir, const intel_ctx_t *ctx, unsigned ring) handle =gem_create (fd, obj_size); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd, ctx, ring, handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size);gem_close (fd, handle);put_ahnd (ahnd);@@ -355,9 +369,9 @@ static int cmp(const void *A, const void *B) }static struct offset * -__captureN (int fd,int dir,uint64_t ahnd,unsigned ring, -unsigned int size,int count, - unsigned int flags) +__captureN (int fd,int dir,uint64_t ahnd,const intel_ctx_t *ctx, +const struct intel_execution_engine2 *e, + unsigned int size, int count, unsigned int flags)#define INCREMENTAL 0x1#define ASYNC 0x2 {@@ -369,6 +383,8 @@ __captureN(int fd, int dir, uint64_t ahnd, unsigned ring,struct offset *offsets;int i; +configure_hangs (fd, e, ctx->id); + offsets =calloc (count,sizeof (*offsets));igt_assert (offsets);@@ -470,9 +486,10 @@ __captureN(int fd, int dir, uint64_t ahnd, unsigned ring,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr = (uintptr_t )obj; execbuf.buffer_count = count +2 ; - execbuf.flags = ring; + execbuf.flags = e->flags;if (gen >3 && gen <6 ) execbuf.flags |=I915_EXEC_SECURE ; + execbuf.rsvd1 = ctx->id;igt_assert (!READ_ONCE (*seqno));gem_execbuf (fd, &execbuf);@@ -503,12 +520,27 @@ __captureN(int fd, int dir, uint64_t ahnd, unsigned ring,return offsets; } +#define find_first_available_engine (fd, ctx, e) \ + do { \ + ctx = intel_ctx_create_all_physical(fd); \ + igt_assert(ctx); \ + for_each_ctx_engine(fd, ctx, e) \ + for_each_if(gem_class_can_store_dword(fd, e->class)) \ + break; \ + igt_assert(e); \ + configure_hangs(fd, e, ctx->id); \ + } while(0) +static void many (int fd,int dir,uint64_t size,unsigned int flags) { +const struct intel_execution_engine2 *e; +const intel_ctx_t *ctx;uint64_t ram, gtt, ahnd;unsigned long count, blobs;struct offset *offsets; +find_first_available_engine (fd, ctx, e); + gtt =gem_aperture_size (fd) / size; ram = (intel_get_avail_ram_mb () <<20 ) / size; igt_debug("Available objects in GTT:%"PRIu64", RAM:%"PRIu64"\n",@@ -518,9 +550,9 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags)igt_require (count >1 );intel_require_memory (count, size,CHECK_RAM ); - ahnd =get_reloc_ahnd (fd,0 ); + ahnd =get_reloc_ahnd (fd, ctx->id); - offsets =__captureN (fd, dir, ahnd,0 , size, count, flags); + offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags); blobs =check_error_state (dir, offsets, count, size, !!(flags &INCREMENTAL )); igt_info("Captured %lu %"PRId64"-blobs out of a total of %lu\n",@@ -531,7 +563,7 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags) }static void prioinv (int fd,int dir,const intel_ctx_t *ctx, -unsigned ring,const char *name) +const struct intel_execution_engine2 *e) {const uint32_t bbe =MI_BATCH_BUFFER_END ;struct drm_i915_gem_exec_object2 obj = {@@ -540,7 +572,7 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,struct drm_i915_gem_execbuffer2 execbuf = { .buffers_ptr =to_user_pointer (&obj), .buffer_count =1 , - .flags = ring, + .flags = e->flags, .rsvd1 = ctx->id, };int64_t timeout =NSEC_PER_SEC ;/* 1s, feeling generous, blame debug */ @@ -555,10 +587,6 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,igt_require (igt_params_set (fd,"reset" ,"%u" ,-1 ));/* engine resets! */ igt_require (gem_gpu_reset_type (fd) >1 ); -/* Needs to be fast enough for the hangcheck to return within 1s */ -igt_require (gem_engine_property_printf (fd, name,"preempt_timeout_ms" ,"%d" ,0 ) >0 ); -gem_engine_property_printf (fd, name,"preempt_timeout_ms" ,"%d" ,500 ); - gtt =gem_aperture_size (fd) / size; ram = (intel_get_avail_ram_mb () <<20 ) / size; igt_debug("Available objects in GTT:%"PRIu64", RAM:%"PRIu64"\n",@@ -576,15 +604,19 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,igt_assert (pipe (link) ==0 ); igt_fork(child, 1) { +const intel_ctx_t *ctx2; fd =gem_reopen_driver (fd);igt_debug ("Submitting large capture [%ld x %dMiB objects]\n" , count, (int )(size >>20 )); + ctx2 =intel_ctx_create_all_physical (fd); +igt_assert (ctx2); +intel_allocator_init ();/* Reopen the allocator in the new process. */ - ahnd =get_reloc_ahnd (fd,0 ); + ahnd =get_reloc_ahnd (fd, ctx2->id); -free (__captureN (fd, dir, ahnd, ring, size, count,ASYNC )); +free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC ));put_ahnd (ahnd);write (link[1 ], &fd,sizeof (fd));/* wake the parent up */ @@ -615,18 +647,21 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,static void userptr (int fd,int dir) { -const intel_ctx_t *ctx =intel_ctx_0 (fd); +const struct intel_execution_engine2 *e; +const intel_ctx_t *ctx;uint32_t handle;uint64_t ahnd;void *ptr;int obj_size =4096 ; +find_first_available_engine (fd, ctx, e); +igt_assert (posix_memalign (&ptr, obj_size, obj_size) ==0 );memset (ptr,0 , obj_size);igt_require (__gem_userptr (fd, ptr, obj_size,0 ,0 , &handle) ==0 ); ahnd =get_reloc_ahnd (fd, ctx->id); -__capture1 (fd, dir, ahnd,intel_ctx_0 (fd),0 , handle, obj_size); +__capture1 (fd, dir, ahnd, ctx, e, handle, obj_size);gem_close (fd, handle);put_ahnd (ahnd);@@ -684,7 +719,7 @@ igt_main } test_each_engine("capture", fd, ctx, e) -capture (fd, dir, ctx, e->flags); +capture (fd, dir, ctx, e); igt_subtest_f("many-4K-zero") {igt_require (gem_can_store_dword (fd,0 ));@@ -719,7 +754,7 @@ igt_main } test_each_engine("pi", fd, ctx, e) -prioinv (fd, dir, ctx, e->flags, e->name); +prioinv (fd, dir, ctx, e); igt_fixture {close (dir);Signature · 1 line
2.25.1
PATCH v2 5/8 tests/i915/gem_exec_capture: Check for memory allocation failure
In reply to [email protected]From: John Harrison <[email protected]>
The sysfs file read helper does not actually report any errors if a realloc fails. It just silently returns a 'valid' but truncated buffer. This then leads to the decode of the buffer failing in random ways. So, add a check for ENOMEM being generated during the read.
--- tests/i915/gem_exec_capture.c | 2 ++ 1 file changed, 2 insertions(+)
tests/i915/gem_exec_capture.c +2 -0
@@ -131,9 +131,11 @@ static int check_error_state(int dir, struct offset *obj_offsets, int obj_count,char *error, *str;int blobs =0 ; + errno =0 ; error =igt_sysfs_get (dir,"error" );igt_sysfs_set (dir,"error" ,"Begone!" );igt_assert (error); +igt_assert (errno !=ENOMEM );igt_debug ("%s\n" , error);/* render ring --- user = 0x00000000 ffffd000 */
Signature · 1 line
2.25.1
PATCH v2 6/8 lib/igt_sysfs: Support large files
In reply to [email protected]From: John Harrison <[email protected]>
The syfs helper functions were all using basic 'int' data types for sizs, offsets, etc. when reading from sysfs. This works fine for little files, but not for large error capture logs (which can be gigabytes in sizes).
--- lib/igt_sysfs.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-)
lib/igt_sysfs.c +11 -6
@@ -53,9 +53,11 @@* provides basic support for like igt_sysfs_open(). */ -static int readN (int fd,char *buf,int len) +static ssize_t readN (int fd,char *buf,size_t len) { -int ret, total =0 ; +ssize_t ret; +size_t total =0 ; + do { ret = read(fd, buf + total, len - total); if (ret < 0)
@@ -69,9 +71,11 @@ static int readN(int fd, char *buf, int len)return total ?: ret; } -static int writeN (int fd,const char *buf,int len) +static ssize_t writeN (int fd,const char *buf,size_t len) { -int ret, total =0 ; +ssize_t ret; +size_t total =0 ; + do { ret = write(fd, buf + total, len - total); if (ret < 0)
@@ -218,8 +222,9 @@ bool igt_sysfs_set(int dir, const char *attr, const char *value)char *igt_sysfs_get (int dir,const char *attr) {char *buf; -int len, offset, rem; -int ret, fd; +size_t len, offset, rem; +ssize_t ret; +int fd; fd =openat (dir, attr,O_RDONLY );if (igt_debug_on (fd <0 ))
Signature · 1 line
2.25.1
PATCH v2 7/8 lib/igt_gt: Allow per engine reset testing
In reply to [email protected]From: John Harrison <[email protected]>
With GuC submission, engine resets are handled entirely within GuC rather than within i915. Traditionally, IGT has disallowed engine based resets becuase they don't send the uevent which IGT uses to check for unexpected resets. However, it is important to be able to test all reset mechanisms that can be used, so allow engine based resets to be enabled.
--- lib/igt_gt.c | 44 +++++++++++++++++++++++++++++--------------- lib/igt_gt.h | 1 + 2 files changed, 30 insertions(+), 15 deletions(-)
lib/igt_gt.c +29 -15
@@ -56,23 +56,28 @@* engines. */ +static int reset_query_once =-1 ; +static bool has_gpu_reset (int fd) { -static int once =-1 ; -if (once <0 ) { -struct drm_i915_getparam gp; -int val =0 ; - -memset (&gp,0 ,sizeof (gp)); - gp.param =35 ;/* HAS_GPU_RESET */ - gp.value = &val; - -if (ioctl (fd,DRM_IOCTL_I915_GETPARAM , &gp)) - once =intel_gen (intel_get_drm_devid (fd)) >=5 ; -else - once = val >0 ; +if (reset_query_once <0 ) { + reset_query_once =gem_gpu_reset_type (fd); + +/* Very old kernels did not support the query */ +if (reset_query_once ==-1 ) + reset_query_once = + (intel_gen (intel_get_drm_devid (fd)) >=5 ) ?1 :0 ; } -return once; + +return reset_query_once >0 ; +} + +static bool has_engine_reset (int fd) +{ +if (reset_query_once <0 ) +has_gpu_reset (fd); + +return reset_query_once >1 ; }static void eat_error_state (int dev)
@@ -176,7 +181,11 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags)igt_skip ("hang injection disabled by user [IGT_HANG=0]\n" );gem_context_require_bannable (fd); - allow_reset =1 ; +if (flags &HANG_WANT_ENGINE_RESET ) + allow_reset =2 ; +else + allow_reset =1 ; +if ((flags &HANG_ALLOW_CAPTURE ) ==0 ) { param.param =I915_CONTEXT_PARAM_NO_ERROR_CAPTURE ; param.value =1 ;
@@ -187,11 +196,16 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags)__gem_context_set_param (fd, ¶m); allow_reset =INT_MAX ;/* any reset method */ } +igt_require (igt_params_set (fd,"reset" ,"%d" , allow_reset)); + reset_query_once =-1 ;/* Re-query after changing param */ if (!igt_check_boolean_env_var ("IGT_HANG_WITHOUT_RESET" , false))igt_require (has_gpu_reset (fd)); +if (flags &HANG_WANT_ENGINE_RESET ) +igt_require (has_engine_reset (fd)); + ban =context_get_ban (fd, ctx);if ((flags &HANG_ALLOW_BAN ) ==0 )context_set_ban (fd, ctx,0 );
lib/igt_gt.h +1 -0
@@ -51,6 +51,7 @@ igt_hang_t igt_hang_ctx_with_ahnd(int fd, uint64_t ahnd, uint32_t ctx, int ring,#define HANG_ALLOW_BAN 1#define HANG_ALLOW_CAPTURE 2 +#define HANG_WANT_ENGINE_RESET 4igt_hang_t igt_hang_ring (int fd,int ring);igt_hang_t igt_hang_ring_with_ahnd (int fd,int ring,uint64_t ahnd);
Signature · 1 line
2.25.1
PATCH v2 8/8 tests/i915/gem_exec_capture: Update to support GuC based resets
In reply to [email protected]From: John Harrison <[email protected]>
When GuC submission is enabled, GuC itself manages hang detection and recovery. Therefore, any test that relies on being able to trigger an engine reset in the driver will fail. Full GT resets can still be triggered by the driver. However, in that situation detecting the specific context that caused a hang is not possible as the driver has no information about what is actually running on the hardware at any given time. Plus of course, there was no context that caused the hang because the hang was triggered manually, so it's basically a bogus mechanism in the first place!
Update the capture test to cause a reset via a the hangcheck mechanism by submitting a hanging batch and waiting. That way it is guaranteed to be testing the correct reset code paths for the current platform, whether that is GuC enabled or not.
--- tests/i915/gem_exec_capture.c | 65 ++++++++++++++++++++++++++++------- 1 file changed, 53 insertions(+), 12 deletions(-)
tests/i915/gem_exec_capture.c +53 -12
@@ -23,6 +23,7 @@#include <sys/poll.h> #include <zlib.h> +#include <sched.h> #include "i915/gem.h" #include "i915/gem_create.h"
@@ -31,6 +32,8 @@#include "igt_rand.h" #include "igt_sysfs.h" +#define MAX_RESET_TIME 600 +IGT_TEST_DESCRIPTION ("Check that we capture the user specified objects on a hang" );struct offset {
@@ -213,7 +216,29 @@ static void configure_hangs(int fd, const struct intel_execution_engine2 *e, intgem_engine_property_printf (fd, e->name,"heartbeat_interval_ms" ,"%d" ,500 );/* Allow engine based resets and disable banning */ -igt_allow_hang (fd, ctxt_id,HANG_ALLOW_CAPTURE ); +igt_allow_hang (fd, ctxt_id,HANG_ALLOW_CAPTURE |HANG_WANT_ENGINE_RESET ); +} + +static bool fence_busy (int fence) +{ +return poll (&(struct pollfd ){fence,POLLIN },1 ,0 ) ==0 ; +} + +static void wait_to_die (int fence_out) +{ +struct timeval before, after, delta; + +/* Wait for a reset to occur */ +gettimeofday (&before,NULL ); +while (fence_busy (fence_out)) { +gettimeofday (&after,NULL ); +timersub (&after, &before, &delta); +igt_assert (delta.tv_sec <MAX_RESET_TIME ); +sched_yield (); + } +gettimeofday (&after,NULL ); +timersub (&after, &before, &delta); +igt_info ("Target died after %ld.%06lds\n" , delta.tv_sec, delta.tv_usec); } static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,
@@ -230,7 +255,7 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,struct drm_i915_gem_execbuffer2 execbuf;uint32_t *batch, *seqno;struct offset offset; -int i; +int i, fence_out;configure_hangs (fd, e, ctx->id);
@@ -315,18 +340,25 @@ static void __capture1(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, execbuf.flags = e->flags;if (gen >3 && gen <6 ) execbuf.flags |=I915_EXEC_SECURE ; + execbuf.flags |=I915_EXEC_FENCE_OUT ; execbuf.rsvd1 = ctx->id; + execbuf.rsvd2 = ~0UL ;igt_assert (!READ_ONCE (*seqno)); -gem_execbuf (fd, &execbuf); +gem_execbuf_wr (fd, &execbuf); + + fence_out = execbuf.rsvd2 >>32 ; +igt_assert (fence_out >=0 );/* Wait for the request to start */ while (READ_ONCE (*seqno) !=0xc0ffee )igt_assert (gem_bo_busy (fd, obj[SCRATCH ].handle));munmap (seqno,4096 ); +/* Wait for a reset to occur */ +wait_to_die (fence_out); +/* Check that only the buffer we marked is reported in the error */ -igt_force_gpu_reset (fd);memset (&offset,0 ,sizeof (offset)); offset.addr = obj[CAPTURE ].offset;igt_assert_eq (check_error_state (dir, &offset,1 , target_size, false),1 );
@@ -373,7 +405,8 @@ static int cmp(const void *A, const void *B)static struct offset *__captureN (int fd,int dir,uint64_t ahnd,const intel_ctx_t *ctx,const struct intel_execution_engine2 *e, - unsigned int size, int count, unsigned int flags) +unsigned int size,int count, + unsigned int flags, int *_fence_out)#define INCREMENTAL 0x1#define ASYNC 0x2 {
@@ -383,7 +416,7 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,struct drm_i915_gem_execbuffer2 execbuf;uint32_t *batch, *seqno;struct offset *offsets; -int i; +int i, fence_out;configure_hangs (fd, e, ctx->id);
@@ -491,10 +524,17 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx, execbuf.flags = e->flags;if (gen >3 && gen <6 ) execbuf.flags |=I915_EXEC_SECURE ; + execbuf.flags |=I915_EXEC_FENCE_OUT ; execbuf.rsvd1 = ctx->id; + execbuf.rsvd2 = ~0UL ;igt_assert (!READ_ONCE (*seqno)); -gem_execbuf (fd, &execbuf); +gem_execbuf_wr (fd, &execbuf); + + fence_out = execbuf.rsvd2 >>32 ; +igt_assert (fence_out >=0 ); +if (_fence_out) + *_fence_out = fence_out;/* Wait for the request to start */ while (READ_ONCE (*seqno) !=0xc0ffee )
@@ -502,7 +542,7 @@ __captureN(int fd, int dir, uint64_t ahnd, const intel_ctx_t *ctx,munmap (seqno,4096 );if (!(flags &ASYNC )) { -igt_force_gpu_reset (fd); +wait_to_die (fence_out);gem_sync (fd, obj[count +1 ].handle); }
@@ -554,7 +594,7 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags)intel_require_memory (count, size,CHECK_RAM ); ahnd =get_reloc_ahnd (fd, ctx->id); - offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags); + offsets =__captureN (fd, dir, ahnd, ctx, e, size, count, flags,NULL ); blobs =check_error_state (dir, offsets, count, size, !!(flags &INCREMENTAL )); igt_info("Captured %lu %"PRId64"-blobs out of a total of %lu\n",
@@ -607,6 +647,7 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,igt_assert (pipe (link) ==0 ); igt_fork(child, 1) {const intel_ctx_t *ctx2; +int fence_out; fd =gem_reopen_driver (fd);igt_debug ("Submitting large capture [%ld x %dMiB objects]\n" , count, (int )(size >>20 ));
@@ -618,11 +659,11 @@ static void prioinv(int fd, int dir, const intel_ctx_t *ctx,/* Reopen the allocator in the new process. */ ahnd =get_reloc_ahnd (fd, ctx2->id); -free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC )); +free (__captureN (fd, dir, ahnd, ctx2, e, size, count,ASYNC , &fence_out));put_ahnd (ahnd);write (link[1 ], &fd,sizeof (fd));/* wake the parent up */ -igt_force_gpu_reset (fd); +wait_to_die (fence_out);write (link[1 ], &fd,sizeof (fd));/* wake the parent up */ }read (link[0 ], &dummy,sizeof (dummy));
@@ -713,7 +754,7 @@ igt_maingem_require_mmap_wc (fd);igt_require (has_capture (fd)); ctx =intel_ctx_create_all_physical (fd); -igt_allow_hang (fd, ctx->id,HANG_ALLOW_CAPTURE ); +igt_allow_hang (fd, ctx->id,HANG_ALLOW_CAPTURE |HANG_WANT_ENGINE_RESET ); dir =igt_sysfs_open (fd);igt_require (igt_sysfs_set (dir,"error" ,"Begone!" ));
Signature · 1 line
2.25.1
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for Fixes for gem_exec_capture (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Fixes for gem_exec_capture (rev2)
URL : https://patchwork.freedesktop.org/series/96160/
State : success
== Summary ==
CI Bug Log - changes from IGT_6269 -> IGTPW_6373
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/index.html
Participating hosts (36 -> 36)
------------------------------
Additional (2): fi-icl-u2 fi-tgl-u2
Missing (2): fi-bsw-cyan fi-pnv-d510
Known issues
------------
Here are the changes found in IGTPW_6373 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@fork-gfx0:
- fi-icl-u2: NOTRUN -> [SKIP][1] ([fdo#109315]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-icl-u2/igt@amdgpu/[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-tgl-u2: NOTRUN -> [SKIP][2] ([i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-tgl-u2/igt@[email protected]
- fi-kbl-soraka: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-kbl-soraka/igt@[email protected]
- fi-icl-u2: NOTRUN -> [SKIP][4] ([i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-icl-u2/igt@[email protected]
* igt@gem_tiled_blits@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][5] ([fdo#109271]) +5 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-kbl-soraka/igt@[email protected]
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][6] ([i915#1886] / [i915#2291])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [PASS][7] -> [INCOMPLETE][8] ([i915#3921])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/fi-snb-2600/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-snb-2600/igt@i915_selftest@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-kbl-soraka: NOTRUN -> [SKIP][9] ([fdo#109271] / [fdo#111827]) +8 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-kbl-soraka/igt@[email protected]
* igt@kms_chamelium@dp-hpd-fast:
- fi-tgl-u2: NOTRUN -> [SKIP][10] ([fdo#109284] / [fdo#111827]) +8 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-tgl-u2/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: NOTRUN -> [SKIP][11] ([fdo#111827]) +8 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-icl-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-u2: NOTRUN -> [SKIP][12] ([i915#4103]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-tgl-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: NOTRUN -> [SKIP][13] ([fdo#109278]) +2 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-icl-u2/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-u2: NOTRUN -> [SKIP][14] ([fdo#109285])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-tgl-u2/igt@[email protected]
- fi-icl-u2: NOTRUN -> [SKIP][15] ([fdo#109285])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-icl-u2/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-kbl-soraka: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#533])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-kbl-soraka/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- fi-icl-u2: NOTRUN -> [SKIP][17] ([i915#3301])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-icl-u2/igt@[email protected]
- fi-tgl-u2: NOTRUN -> [SKIP][18] ([i915#3301])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-tgl-u2/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-kbl-soraka: [INCOMPLETE][19] ([i915#4221]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/fi-kbl-soraka/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-kbl-soraka/igt@[email protected]
* igt@i915_selftest@live@gt_pm:
- fi-tgl-1115g4: [DMESG-FAIL][21] ([i915#3987]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/fi-tgl-1115g4/igt@i915_selftest@live@gt_pm.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/fi-tgl-1115g4/igt@i915_selftest@live@gt_pm.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2291]: https://gitlab.freedesktop.org/drm/intel/issues/2291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#3987]: https://gitlab.freedesktop.org/drm/intel/issues/3987
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4221]: https://gitlab.freedesktop.org/drm/intel/issues/4221
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6269 -> IGTPW_6373
CI-20190529: 20190529
CI_DRM_10833: bb7a641ca872f7da4a54d08bc1dced9a27803881 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6373: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/index.html
IGT_6269: 0dfc3834f0e07badf5b6149c634807ddae119c88 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/index.html
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for Fixes for gem_exec_capture (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Fixes for gem_exec_capture (rev2)
URL : https://patchwork.freedesktop.org/series/96160/
State : success
== Summary ==
CI Bug Log - changes from IGT_6269_full -> IGTPW_6373_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/index.html
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in IGTPW_6373_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@device_reset@unbind-reset-rebind:
- shard-tglb: [PASS][1] -> [INCOMPLETE][2] ([i915#750])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb8/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vcs0:
- shard-kbl: [PASS][3] -> [DMESG-WARN][4] ([i915#180]) +7 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-kbl7/igt@gem_ctx_isolation@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl3/igt@gem_ctx_isolation@[email protected]
* igt@gem_ctx_param@set-priority-not-supported:
- shard-tglb: NOTRUN -> [SKIP][5] ([fdo#109314])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][6] ([fdo#109314])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb1/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-hostile-preempt:
- shard-snb: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#1099]) +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-snb7/igt@[email protected]
* igt@gem_ctx_sseu@engines:
- shard-tglb: NOTRUN -> [SKIP][8] ([i915#280])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][9] -> [TIMEOUT][10] ([i915#2369] / [i915#3063] / [i915#3648])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb2/igt@[email protected]
* igt@gem_exec_capture@userptr:
- shard-snb: [PASS][11] -> [SKIP][12] ([fdo#109271])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-snb6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-snb4/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-kbl: [PASS][13] -> [FAIL][14] ([i915#2846])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-kbl4/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl6/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][15] -> [FAIL][16] ([i915#2842]) +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb5/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-apl: [PASS][17] -> [FAIL][18] ([i915#2842])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-apl2/igt@gem_exec_fair@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][19] -> [FAIL][20] ([i915#2842])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-glk2/igt@gem_exec_fair@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-iclb: NOTRUN -> [FAIL][21] ([i915#2842])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@secure-non-root:
- shard-tglb: NOTRUN -> [SKIP][22] ([fdo#112283])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb3/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-forked-all:
- shard-glk: [PASS][23] -> [DMESG-WARN][24] ([i915#118]) +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-glk3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk5/igt@[email protected]
* igt@gem_userptr_blits@coherency-sync:
- shard-tglb: NOTRUN -> [SKIP][25] ([fdo#110542])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb3/igt@[email protected]
* igt@gem_userptr_blits@readonly-unsync:
- shard-tglb: NOTRUN -> [SKIP][26] ([i915#3297])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb8/igt@[email protected]
* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][27] ([fdo#109289]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][28] ([fdo#109289]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb2/igt@[email protected]
* igt@gen9_exec_parse@batch-zero-length:
- shard-tglb: NOTRUN -> [SKIP][29] ([i915#2856])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb2/igt@[email protected]
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-tglb: NOTRUN -> [SKIP][30] ([i915#1904])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb5/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-tglb: NOTRUN -> [WARN][31] ([i915#2681])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-tglb: NOTRUN -> [WARN][32] ([i915#2681] / [i915#2684])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][33] ([i915#2684])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb2/igt@[email protected]
* igt@i915_pm_rpm@dpms-non-lpsp:
- shard-tglb: NOTRUN -> [SKIP][34] ([fdo#111644] / [i915#1397] / [i915#2411])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#110892])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb1/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][36] ([fdo#111614]) +1 similar issue
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb7/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-glk: NOTRUN -> [SKIP][37] ([fdo#109271] / [i915#3777])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk9/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#3777])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl4/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][39] ([fdo#109271] / [i915#3777])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-32bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][40] ([fdo#111615]) +3 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb2/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][41] ([fdo#109271] / [i915#3886]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk4/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
- shard-iclb: NOTRUN -> [SKIP][42] ([fdo#109278] / [i915#3886]) +2 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb8/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][43] ([fdo#109271] / [i915#3886]) +5 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl7/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271] / [i915#3886]) +8 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl2/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#3689]) +4 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb7/igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs.html
* igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][46] ([i915#3689] / [i915#3886]) +2 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb3/igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs.html
* igt@kms_cdclk@plane-scaling:
- shard-tglb: NOTRUN -> [SKIP][47] ([i915#3742])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb3/igt@[email protected]
* igt@kms_chamelium@vga-hpd-after-suspend:
- shard-glk: NOTRUN -> [SKIP][48] ([fdo#109271] / [fdo#111827]) +4 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk9/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-blue-to-red:
- shard-snb: NOTRUN -> [SKIP][49] ([fdo#109271] / [fdo#111827]) +3 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-snb5/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][50] ([fdo#109271] / [fdo#111827]) +8 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][51] ([fdo#109284] / [fdo#111827]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb3/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-limited-range:
- shard-apl: NOTRUN -> [SKIP][52] ([fdo#109271] / [fdo#111827]) +8 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl4/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-max:
- shard-tglb: NOTRUN -> [SKIP][53] ([fdo#109284] / [fdo#111827]) +12 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb8/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-kbl: NOTRUN -> [TIMEOUT][54] ([i915#1319])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-32x10-offscreen:
- shard-tglb: NOTRUN -> [SKIP][55] ([i915#3359]) +4 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x170-offscreen:
- shard-iclb: NOTRUN -> [SKIP][56] ([fdo#109278] / [fdo#109279]) +1 similar issue
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x170-random:
- shard-tglb: NOTRUN -> [SKIP][57] ([fdo#109279] / [i915#3359]) +4 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-tglb: [PASS][58] -> [INCOMPLETE][59] ([i915#2411] / [i915#456])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb6/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-256x256-random:
- shard-glk: NOTRUN -> [SKIP][60] ([fdo#109271]) +59 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk9/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-32x32-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][61] ([i915#3319])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb8/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipb-legacy:
- shard-iclb: NOTRUN -> [SKIP][62] ([fdo#109274] / [fdo#109278])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb5/igt@[email protected]
* igt@kms_flip@2x-flip-vs-fences-interruptible:
- shard-iclb: NOTRUN -> [SKIP][63] ([fdo#109274])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb2/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-iclb: NOTRUN -> [FAIL][64] ([i915#79])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb3/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [PASS][65] -> [DMESG-WARN][66] ([i915#180]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-apl7/igt@kms_flip@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: [PASS][67] -> [INCOMPLETE][68] ([i915#636])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-kbl7/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl2/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-kbl: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#2672])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
- shard-apl: NOTRUN -> [SKIP][70] ([fdo#109271] / [i915#2672])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl6/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile:
- shard-iclb: [PASS][71] -> [SKIP][72] ([i915#3701])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb6/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt:
- shard-snb: NOTRUN -> [SKIP][73] ([fdo#109271]) +106 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-snb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-plflip-blt:
- shard-tglb: NOTRUN -> [SKIP][74] ([fdo#111825]) +31 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb5/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-shrfb-plflip-blt:
- shard-iclb: NOTRUN -> [SKIP][75] ([fdo#109280]) +6 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-kbl: NOTRUN -> [SKIP][76] ([fdo#109271]) +146 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl1/igt@[email protected]
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-d:
- shard-kbl: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#533])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl1/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: NOTRUN -> [DMESG-WARN][78] ([i915#180])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl3/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#533])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-apl: NOTRUN -> [FAIL][80] ([fdo#108145] / [i915#265]) +1 similar issue
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl4/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-opaque-fb:
- shard-kbl: NOTRUN -> [FAIL][81] ([fdo#108145] / [i915#265]) +2 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
- shard-glk: NOTRUN -> [FAIL][82] ([fdo#108145] / [i915#265])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-d-alpha-transparent-fb:
- shard-iclb: NOTRUN -> [SKIP][83] ([fdo#109278]) +10 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb5/igt@[email protected]
* igt@kms_plane_lowres@pipe-d-tiling-y:
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#3536])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][85] ([fdo#109271] / [i915#658]) +3 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl3/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3:
- shard-kbl: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#658]) +1 similar issue
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][87] ([i915#2920])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-glk: NOTRUN -> [SKIP][88] ([fdo#109271] / [i915#658]) +2 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk1/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-1:
- shard-tglb: NOTRUN -> [SKIP][89] ([i915#2920]) +3 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][90] ([i915#658])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb5/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [PASS][91] -> [SKIP][92] ([fdo#109642] / [fdo#111068] / [i915#658])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb2/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb4/igt@[email protected]
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: NOTRUN -> [SKIP][93] ([fdo#109441])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb6/igt@kms_psr@psr2_cursor_render.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-tglb: NOTRUN -> [FAIL][94] ([i915#132] / [i915#3467]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb5/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][95] -> [SKIP][96] ([fdo#109441]) +2 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb5/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_setmode@basic:
- shard-apl: [PASS][97] -> [FAIL][98] ([i915#31])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-apl8/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl2/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][99] ([i915#180] / [i915#295])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl3/igt@[email protected]
* igt@kms_vblank@pipe-d-ts-continuation-suspend:
- shard-tglb: [PASS][100] -> [INCOMPLETE][101] ([i915#3896])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb6/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb7/igt@[email protected]
* igt@kms_vblank@pipe-d-wait-forked-hang:
- shard-apl: NOTRUN -> [SKIP][102] ([fdo#109271]) +107 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl3/igt@[email protected]
* igt@kms_vrr@flip-suspend:
- shard-tglb: NOTRUN -> [SKIP][103] ([fdo#109502])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb2/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-tglb: NOTRUN -> [SKIP][104] ([i915#2437])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb3/igt@[email protected]
* igt@kms_writeback@writeback-invalid-parameters:
- shard-glk: NOTRUN -> [SKIP][105] ([fdo#109271] / [i915#2437])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk6/igt@[email protected]
* igt@nouveau_crc@ctx-flip-threshold-reset-after-capture:
- shard-tglb: NOTRUN -> [SKIP][106] ([i915#2530])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb1/igt@[email protected]
* igt@nouveau_crc@pipe-b-ctx-flip-detection:
- shard-iclb: NOTRUN -> [SKIP][107] ([i915#2530])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb5/igt@[email protected]
* igt@prime_nv_pcopy@test3_2:
- shard-tglb: NOTRUN -> [SKIP][108] ([fdo#109291]) +3 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb8/igt@prime_nv_pcopy@test3_2.html
- shard-iclb: NOTRUN -> [SKIP][109] ([fdo#109291])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb3/igt@prime_nv_pcopy@test3_2.html
* igt@sysfs_clients@fair-0:
- shard-kbl: NOTRUN -> [SKIP][110] ([fdo#109271] / [i915#2994])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl7/igt@[email protected]
* igt@sysfs_clients@sema-25:
- shard-glk: NOTRUN -> [SKIP][111] ([fdo#109271] / [i915#2994])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk2/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][112] ([i915#2369] / [i915#2481] / [i915#3070]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb5/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb6/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][114] ([i915#2846]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-glk6/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk3/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: [FAIL][116] ([i915#2842]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb8/igt@gem_exec_fair@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][118] ([i915#2842]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-glk4/igt@gem_exec_fair@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk9/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [FAIL][120] ([i915#2842]) -> [PASS][121] +2 similar issues
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-kbl2/igt@gem_exec_fair@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-iclb: [FAIL][122] ([i915#2842]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb8/igt@gem_exec_fair@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [FAIL][124] ([i915#2849]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb1/igt@gem_exec_fair@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb3/igt@gem_exec_fair@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-0:
- shard-glk: [DMESG-WARN][126] ([i915#118]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-glk6/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-glk5/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [DMESG-WARN][128] ([i915#180]) -> [PASS][129] +2 similar issues
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-apl4/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-apl4/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-toggle:
- shard-iclb: [FAIL][130] ([i915#2346]) -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb7/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb8/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-tglb: [INCOMPLETE][132] ([i915#2411] / [i915#456]) -> [PASS][133]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb7/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb5/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile:
- shard-iclb: [SKIP][134] ([i915#3701]) -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-iclb2/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-iclb8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-tglb: [INCOMPLETE][136] ([i915#2411] / [i915#2828] / [i915#456]) -> [PASS][137]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-tglb7/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-tglb6/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: [DMESG-WARN][138] ([i915#180]) -> [PASS][139] +2 similar issues
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6269/shard-kbl4/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/shard-kbl1/igt@[email protected]
* igt@km
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6373/index.html