i915/gem_exec_nop:Adjusted test to utilize all available engines
PATCH v7 1/1 i915/gem_exec_nop:Adjusted test to utilize all available engines
Added __for_each_physical_engine to utilize all available engines. Moved single, signal, preempt, poll and headless test cases from static to dynamic group.
---
V1 -> V2
Addressed Tvrtko review comments
1) removed gem_require_ring
2) replaced gem_can_store_dword with gem_class_can_store_dword
3) Fixed WhiteSpace issues.
---
V2 -> V3
Added back missing code. i.e. MIN_PRIO
---
V3 -> V4
1) Added gem_context_set_all_engines , that was deleted accidentally
2) Removed gem_require_ring from fence_signal
3) Passing NULL in fence_signal to run test for all engines.
---
V4 -> V5
Used gem_context_clone_with_engines for creating contexts
---
V5 -> V6
Added missing code to check context support. gem_context_clone_with_engines
checks this by calling gem_context_create having igt_assert_eq for__gem_context_create.
---
V6 -> V7
Minor correction related to check context support.
--- tests/i915/gem_exec_nop.c | 171 +++++++++++++++++++++----------------- 1 file changed, 97 insertions(+), 74 deletions(-)
tests/i915/gem_exec_nop.c +97 -74
@@ -66,8 +66,9 @@ static double elapsed(const struct timespec *start, const struct timespec *end) (end->tv_nsec - start->tv_nsec)*1e-9); } -static double nop_on_ring (int fd,uint32_t handle,unsigned ring_id, -int timeout,unsigned long *out) +static double nop_on_ring (int fd,uint32_t handle, +const struct intel_execution_engine2 *e,int timeout, +unsigned long *out) {struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;
@@ -80,11 +81,11 @@ static double nop_on_ring(int fd, uint32_t handle, unsigned ring_id,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr =to_user_pointer (&obj); execbuf.buffer_count =1 ; - execbuf.flags = ring_id; + execbuf.flags = e->flags; execbuf.flags |=LOCAL_I915_EXEC_HANDLE_LUT ; execbuf.flags |=LOCAL_I915_EXEC_NO_RELOC ;if (__gem_execbuf (fd, &execbuf)) { - execbuf.flags = ring_id; + execbuf.flags = e->flags;gem_execbuf (fd, &execbuf); }intel_detect_and_clear_missed_interrupts (fd);
@@ -104,7 +105,8 @@ static double nop_on_ring(int fd, uint32_t handle, unsigned ring_id,return elapsed (&start, &now); } -static void poll_ring (int fd,unsigned engine,const char *name,int timeout) +static void poll_ring (int fd,const struct intel_execution_engine2 *e, +int timeout) {const int gen =intel_gen (intel_get_drm_devid (fd));const uint32_t MI_ARB_CHK =0x5 <<23 ;
@@ -121,9 +123,8 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)if (gen ==4 || gen ==5 ) flags |=I915_EXEC_SECURE ; -gem_require_ring (fd, engine); -igt_require (gem_can_store_dword (fd, engine)); -igt_require (gem_engine_has_mutable_submission (fd, engine)); +igt_require (gem_class_can_store_dword (fd, e->class)); +igt_require (gem_class_has_mutable_submission (fd, e->class));memset (&obj,0 ,sizeof (obj)); obj.handle =gem_create (fd,4096 );
@@ -187,7 +188,7 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr =to_user_pointer (&obj); execbuf.buffer_count =1 ; - execbuf.flags = engine | flags; + execbuf.flags = e->flags | flags; cycles =0 ; do {
@@ -209,7 +210,7 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)gem_sync (fd, obj.handle);igt_info ("%s completed %ld cycles: %.3f us\n" , - name, cycles, elapsed*1e-3 /cycles); + e->name, cycles, elapsed*1e-3 /cycles);munmap (batch,4096 );gem_close (fd, obj.handle);
@@ -218,6 +219,7 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)static void poll_sequential (int fd,const char *name,int timeout) {const int gen =intel_gen (intel_get_drm_devid (fd)); +const struct intel_execution_engine2 *e;const uint32_t MI_ARB_CHK =0x5 <<23 ;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj[2 ];
@@ -234,13 +236,14 @@ static void poll_sequential(int fd, const char *name, int timeout) flags |=I915_EXEC_SECURE ; nengine =0 ; -for_each_physical_engine (e, fd) { -if (!gem_can_store_dword (fd,eb_ring (e)) || - !gem_engine_has_mutable_submission (fd,eb_ring (e))) +__for_each_physical_engine (fd, e) { +if (!gem_class_can_store_dword (fd, e->class) || + !gem_class_has_mutable_submission (fd, e->class))continue ; - engines[nengine++] =eb_ring (e); + engines[nengine++] = e->flags; } +igt_require (nengine);memset (obj,0 ,sizeof (obj));
@@ -344,21 +347,20 @@ static void poll_sequential(int fd, const char *name, int timeout) }static void single (int fd,uint32_t handle, -unsigned ring_id,const char *ring_name) +const struct intel_execution_engine2 *e) {double time;unsigned long count; -gem_require_ring (fd, ring_id); - - time =nop_on_ring (fd, handle, ring_id,20 , &count); + time =nop_on_ring (fd, handle, e,20 , &count);igt_info ("%s: %'lu cycles: %.3fus\n" , - ring_name, count, time*1e6 / count); + e->name, count, time*1e6 / count); }static double -stable_nop_on_ring (int fd,uint32_t handle,unsigned int engine, -int timeout,int reps) +stable_nop_on_ring (int fd,uint32_t handle, +const struct intel_execution_engine2 *e,int timeout, +int reps) {igt_stats_t s;double n;
@@ -372,7 +374,7 @@ stable_nop_on_ring(int fd, uint32_t handle, unsigned int engine,unsigned long count;double time; - time =nop_on_ring (fd, handle, engine, timeout, &count); + time =nop_on_ring (fd, handle, e, timeout, &count);igt_stats_push_float (&s, time / count); }
@@ -388,7 +390,8 @@ stable_nop_on_ring(int fd, uint32_t handle, unsigned int engine, "'%s' != '%s' (%f not within %f%% tolerance of %f)\n",\#x , #ref, x, tolerance * 100.0, ref) -static void headless (int fd,uint32_t handle) +static void headless (int fd,uint32_t handle, +const struct intel_execution_engine2 *e) {unsigned int nr_connected =0 ;drmModeConnector *connector;
@@ -411,7 +414,7 @@ static void headless(int fd, uint32_t handle)kmstest_set_vt_graphics_mode ();/* benchmark nops */ - n_display =stable_nop_on_ring (fd, handle,I915_EXEC_DEFAULT ,1 ,5 ); + n_display =stable_nop_on_ring (fd, handle, e,1 ,5 );igt_info ("With one display connected: %.2fus\n" , n_display *1e6 );
@@ -419,7 +422,7 @@ static void headless(int fd, uint32_t handle)kmstest_unset_all_crtcs (fd, res);/* benchmark nops again */ - n_headless =stable_nop_on_ring (fd, handle,I915_EXEC_DEFAULT ,1 ,5 ); + n_headless =stable_nop_on_ring (fd, handle, e,1 ,5 );igt_info ("Without a display connected (headless): %.2fus\n" , n_headless *1e6 );
@@ -429,6 +432,7 @@ static void headless(int fd, uint32_t handle)static void parallel (int fd,uint32_t handle,int timeout) { +const struct intel_execution_engine2 *e;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;unsigned engines[16 ];
@@ -439,12 +443,11 @@ static void parallel(int fd, uint32_t handle, int timeout) sum =0 ; nengine =0 ; -for_each_physical_engine (e, fd) { - engines[nengine] =eb_ring (e); - names[nengine] = e->name; - nengine++; +__for_each_physical_engine (fd, e) { + engines[nengine] = e->flags; + names[nengine++] = e->name; - time =nop_on_ring (fd, handle,eb_ring (e),1 , &count) / count; + time =nop_on_ring (fd, handle, e,1 , &count) / count; sum += time;igt_debug ("%s: %.3fus\n" , e->name,1e6 *time); }
@@ -490,6 +493,7 @@ static void parallel(int fd, uint32_t handle, int timeout)static void series (int fd,uint32_t handle,int timeout) { +const struct intel_execution_engine2 *e;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;struct timespec start, now, sync;
@@ -500,8 +504,8 @@ static void series(int fd, uint32_t handle, int timeout)const char *name; nengine =0 ; -for_each_physical_engine (e, fd) { - time =nop_on_ring (fd, handle,eb_ring (e),1 , &count) / count; +__for_each_physical_engine (fd, e) { + time =nop_on_ring (fd, handle, e,1 , &count) / count;if (time > max) { name = e->name; max = time;
@@ -509,7 +513,7 @@ static void series(int fd, uint32_t handle, int timeout)if (time < min) min = time; sum += time; - engines[nengine++] =eb_ring (e); + engines[nengine++] = e->flags; }igt_require (nengine); igt_info("Maximum execution latency on %s, %.3fus, min %.3fus, total %.3fus per cycle, average %.3fus\n",
@@ -580,6 +584,7 @@ static void xchg(void *array, unsigned i, unsigned j)static void sequential (int fd,uint32_t handle,unsigned flags,int timeout) {const int ncpus = flags &FORKED ?sysconf (_SC_NPROCESSORS_ONLN) :1 ; +const struct intel_execution_engine2 *e;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj[2 ];unsigned engines[16 ];
@@ -595,14 +600,14 @@ static void sequential(int fd, uint32_t handle, unsigned flags, int timeout) nengine =0 ; sum =0 ; -for_each_physical_engine (e, fd) { +__for_each_physical_engine (fd, e) {unsigned long count; - time =nop_on_ring (fd, handle,eb_ring (e),1 , &count) / count; + time =nop_on_ring (fd, handle, e,1 , &count) / count; sum += time;igt_debug ("%s: %.3fus\n" , e->name,1e6 *time); - engines[nengine++] =eb_ring (e); + engines[nengine++] = e->flags; }igt_require (nengine); igt_info("Total (individual) execution latency %.3fus per cycle\n",
@@ -623,7 +628,7 @@ static void sequential(int fd, uint32_t handle, unsigned flags, int timeout)if (flags &CONTEXT ) {uint32_t id; -igt_require (__gem_context_create (fd, &id) ==0 ); +igt_require (gem_context_clone_with_engines (fd, id) ==0 ); execbuf.rsvd1 = id; }
@@ -642,8 +647,12 @@ static void sequential(int fd, uint32_t handle, unsigned flags, int timeout) obj[0 ].handle =gem_create (fd,4096 );gem_execbuf (fd, &execbuf); -if (flags &CONTEXT ) - execbuf.rsvd1 =gem_context_create (fd); +if (flags &CONTEXT ) { +uint32_t id; + +igt_require (gem_context_clone_with_engines (fd, id) ==0 ); + execbuf.rsvd1 = id; + }hars_petruska_f54_1_random_perturb (child);
@@ -710,12 +719,13 @@ static bool fence_wait(int fence) }static void fence_signal (int fd,uint32_t handle, -unsigned ring_id,const char *ring_name, -int timeout) +const struct intel_execution_engine2 *ring_id, +const char *ring_name,int timeout) {#define NFENCES 512struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj; +struct intel_execution_engine2 *__e;struct timespec start, now;unsigned engines[16 ];unsigned nengine;
@@ -725,12 +735,11 @@ static void fence_signal(int fd, uint32_t handle,igt_require (gem_has_exec_fence (fd)); nengine =0 ; -if (ring_id ==ALL_ENGINES ) { -for_each_physical_engine (e, fd) - engines[nengine++] =eb_ring (e); +if (!ring_id) { +__for_each_physical_engine (fd, __e) + engines[nengine++] = __e->flags; }else { -gem_require_ring (fd, ring_id); - engines[nengine++] = ring_id; + engines[nengine++] = ring_id->flags; }igt_require (nengine);
@@ -787,7 +796,7 @@ static void fence_signal(int fd, uint32_t handle, }static void preempt (int fd,uint32_t handle, -unsigned ring_id,const char *ring_name) +const struct intel_execution_engine2 *e) {struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;
@@ -795,12 +804,10 @@ static void preempt(int fd, uint32_t handle,unsigned long count;uint32_t ctx[2 ]; -gem_require_ring (fd, ring_id); - - ctx[0 ] =gem_context_create (fd); + ctx[0 ] =gem_context_clone_with_engines (fd,0 );gem_context_set_priority (fd, ctx[0 ],MIN_PRIO ); - ctx[1 ] =gem_context_create (fd); + ctx[1 ] =gem_context_clone_with_engines (fd,0 );gem_context_set_priority (fd, ctx[1 ],MAX_PRIO );memset (&obj,0 ,sizeof (obj));
@@ -809,11 +816,11 @@ static void preempt(int fd, uint32_t handle,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr =to_user_pointer (&obj); execbuf.buffer_count =1 ; - execbuf.flags = ring_id; + execbuf.flags = e->flags; execbuf.flags |=LOCAL_I915_EXEC_HANDLE_LUT ; execbuf.flags |=LOCAL_I915_EXEC_NO_RELOC ;if (__gem_execbuf (fd, &execbuf)) { - execbuf.flags = ring_id; + execbuf.flags = e->flags;gem_execbuf (fd, &execbuf); } execbuf.rsvd1 = ctx[1 ];
@@ -825,7 +832,7 @@ static void preempt(int fd, uint32_t handle,igt_spin_t *spin = __igt_spin_new(fd, .ctx = ctx[0], - .engine = ring_id); + .engine = e->flags);for (int loop =0 ; loop <1024 ; loop++)gem_execbuf (fd, &execbuf);
@@ -841,12 +848,12 @@ static void preempt(int fd, uint32_t handle,gem_context_destroy (fd, ctx[0 ]);igt_info ("%s: %'lu cycles: %.3fus\n" , - ring_name, count,elapsed (&start, &now)*1e6 / count); + e->name, count,elapsed (&start, &now)*1e6 / count); } igt_main { -const struct intel_execution_engine *e; +const struct intel_execution_engine2 *e;uint32_t handle =0 ;int device =-1 ;
@@ -873,15 +880,24 @@ igt_main igt_subtest("basic-sequential")sequential (device, handle,0 ,2 ); -for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("%s", e->name) -single (device, handle,eb_ring (e), e->name); - igt_subtest_f("signal-%s", e->name) -fence_signal (device, handle,eb_ring (e), e->name,2 ); + igt_subtest_with_dynamic("single") { +__for_each_physical_engine (device, e) { + igt_dynamic_f("%s", e->name) +single (device, handle, e); + } + } + + igt_subtest_with_dynamic("signal") { +__for_each_physical_engine (device, e) { + igt_dynamic_f("%s", e->name) +fence_signal (device, handle, e, + e->name,2 ); + } }igt_subtest ("signal-all" ) -fence_signal (device, handle,ALL_ENGINES ,"all" ,20 ); + /* NULL value means all engines */ +fence_signal (device, handle,NULL ,"all" ,20 ); igt_subtest("series")series (device, handle,20 );
@@ -907,10 +923,11 @@ igt_mainigt_require (gem_scheduler_has_ctx_priority (device));igt_require (gem_scheduler_has_preemption (device)); } - -for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("preempt-%s", e->name) -preempt (device, handle,eb_ring (e), e->name); + igt_subtest_with_dynamic("preempt") { +__for_each_physical_engine (device, e) { + igt_dynamic_f("%s", e->name) +preempt (device, handle, e); + } } }
@@ -919,19 +936,25 @@ igt_mainigt_device_set_master (device); } -for (e = intel_execution_engines; e->name; e++) { -/* Requires master for STORE_DWORD on gen4/5 */ - igt_subtest_f("poll-%s", e->name) -poll_ring (device,eb_ring (e), e->name,20 ); + igt_subtest_with_dynamic("poll") { +__for_each_physical_engine (device, e) { +/* Requires master for STORE_DWORD on gen4/5 */ + igt_dynamic_f("%s", e->name) +poll_ring (device, e,20 ); + } + } + + igt_subtest_with_dynamic("headless") { +__for_each_physical_engine (device, e) { +igt_dynamic_f ("%s" , e->name) + /* Requires master for changing display modes */ +headless (device, handle, e); + } } igt_subtest("poll-sequential")poll_sequential (device,"Sequential" ,20 ); - igt_subtest("headless") { -/* Requires master for changing display modes */ -headless (device, handle); - } } igt_fixture {
Signature · 6 lines
2.24.0 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✗ GitLab.Pipeline: failure for i915/gem_exec_nop:Adjusted test to utilize all available engines (rev7)
== Series Details ==
== Series Details ==
Series: i915/gem_exec_nop:Adjusted test to utilize all available engines (rev7)
URL : https://patchwork.freedesktop.org/series/72334/
State : failure
== Summary ==
ERROR! This series introduces new undocumented tests:
gem_exec_nop@poll
gem_exec_nop@preempt
gem_exec_nop@signal
gem_exec_nop@single
Can you document them as per the requirement in the [CONTRIBUTING.md]?
[Documentation] has more details on how to do this.
Here are few examples:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/0316695d03aa46108296b27f3982ec93200c7a6e
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/443cc658e1e6b492ee17bf4f4d891029eb7a205d
Thanks in advance!
[CONTRIBUTING.md]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/CONTRIBUTING.md#L19
[Documentation]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe
Other than that, pipeline status: SUCCESS.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/102328 for the overview.
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/102328
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 285 lines · Arjun Melkaveri
Added
__for_each_physical_engineto utilize all available engines. Moved single, signal, preempt, poll and headless test cases from static to dynamic group.Cc Dec Katarzyna <[email protected]>Cc Kempczynski Zbigniew <[email protected]>Cc Tahvanainen Jari <[email protected]>Cc Ursulin Tvrtko <[email protected]>Signed-off-by Arjun Melkaveri <[email protected]>---
V1 -> V2Addressed Tvrtko review comments
1) removedgem_require_ring
2) replacedgem_can_store_dwordwithgem_class_can_store_dword
3) Fixed WhiteSpace issues.
---
V2 -> V3Added back missing code. i.e.
MIN_PRIO
---
V3 -> V41) Added
gem_context_set_all_engines, that was deleted accidentally
2) Removedgem_require_ringfromfence_signal
3) Passing NULL infence_signalto run test for all engines.
---
V4 -> V5Used
gem_context_clone_with_enginesfor creating contexts
---
V5 -> V6Added missing code to check context support.
gem_context_clone_with_engines
checks this by callinggem_context_createhavingigt_assert_eqfor__gem_context_create.
---
V6 -> V7
Minor correction related to check context support.--- tests/i915/gem_exec_nop.c | 171 +++++++++++++++++++++----------------- 1 file changed, 97 insertions(+), 74 deletions(-)tests/i915/gem_exec_nop.c +41
-36@@ -66,8 +66,9 @@ static double elapsed(const struct timespec *start, const struct timespec *end) (end->tv_nsec - start->tv_nsec)*1e-9); } -static double nop_on_ring (int fd,uint32_t handle,unsigned ring_id, -int timeout,unsigned long *out) +static double nop_on_ring (int fd,uint32_t handle, +const struct intel_execution_engine2 *e,int timeout, +unsigned long *out) {struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;@@ -80,11 +81,11 @@ static double nop_on_ring(int fd, uint32_t handle, unsigned ring_id,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr =to_user_pointer (&obj); execbuf.buffer_count =1 ; - execbuf.flags = ring_id; + execbuf.flags = e->flags; execbuf.flags |=LOCAL_I915_EXEC_HANDLE_LUT ; execbuf.flags |=LOCAL_I915_EXEC_NO_RELOC ;if (__gem_execbuf (fd, &execbuf)) { - execbuf.flags = ring_id; + execbuf.flags = e->flags;gem_execbuf (fd, &execbuf); }intel_detect_and_clear_missed_interrupts (fd);@@ -104,7 +105,8 @@ static double nop_on_ring(int fd, uint32_t handle, unsigned ring_id,return elapsed (&start, &now); } -static void poll_ring (int fd,unsigned engine,const char *name,int timeout) +static void poll_ring (int fd,const struct intel_execution_engine2 *e, +int timeout) {const int gen =intel_gen (intel_get_drm_devid (fd));const uint32_t MI_ARB_CHK =0x5 <<23 ;@@ -121,9 +123,8 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)if (gen ==4 || gen ==5 ) flags |=I915_EXEC_SECURE ; -gem_require_ring (fd, engine); -igt_require (gem_can_store_dword (fd, engine)); -igt_require (gem_engine_has_mutable_submission (fd, engine)); +igt_require (gem_class_can_store_dword (fd, e->class)); +igt_require (gem_class_has_mutable_submission (fd, e->class));memset (&obj,0 ,sizeof (obj)); obj.handle =gem_create (fd,4096 );@@ -187,7 +188,7 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr =to_user_pointer (&obj); execbuf.buffer_count =1 ; - execbuf.flags = engine | flags; + execbuf.flags = e->flags | flags; cycles =0 ; do {@@ -209,7 +210,7 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)gem_sync (fd, obj.handle);igt_info ("%s completed %ld cycles: %.3f us\n" , - name, cycles, elapsed*1e-3 /cycles); + e->name, cycles, elapsed*1e-3 /cycles);munmap (batch,4096 );gem_close (fd, obj.handle);@@ -218,6 +219,7 @@ static void poll_ring(int fd, unsigned engine, const char *name, int timeout)static void poll_sequential (int fd,const char *name,int timeout) {const int gen =intel_gen (intel_get_drm_devid (fd)); +const struct intel_execution_engine2 *e;const uint32_t MI_ARB_CHK =0x5 <<23 ;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj[2 ];@@ -234,13 +236,14 @@ static void poll_sequential(int fd, const char *name, int timeout) flags |=I915_EXEC_SECURE ; nengine =0 ; -for_each_physical_engine (e, fd) { -if (!gem_can_store_dword (fd,eb_ring (e)) || - !gem_engine_has_mutable_submission (fd,eb_ring (e))) +__for_each_physical_engine (fd, e) { +if (!gem_class_can_store_dword (fd, e->class) || + !gem_class_has_mutable_submission (fd, e->class))continue ; - engines[nengine++] =eb_ring (e); + engines[nengine++] = e->flags; } +igt_require (nengine);memset (obj,0 ,sizeof (obj));@@ -344,21 +347,20 @@ static void poll_sequential(int fd, const char *name, int timeout) }static void single (int fd,uint32_t handle, -unsigned ring_id,const char *ring_name) +const struct intel_execution_engine2 *e) {double time;unsigned long count; -gem_require_ring (fd, ring_id); - - time =nop_on_ring (fd, handle, ring_id,20 , &count); + time =nop_on_ring (fd, handle, e,20 , &count);igt_info ("%s: %'lu cycles: %.3fus\n" , - ring_name, count, time*1e6 / count); + e->name, count, time*1e6 / count); }static double -stable_nop_on_ring (int fd,uint32_t handle,unsigned int engine, -int timeout,int reps) +stable_nop_on_ring (int fd,uint32_t handle, +const struct intel_execution_engine2 *e,int timeout, +int reps) {igt_stats_t s;double n;@@ -372,7 +374,7 @@ stable_nop_on_ring(int fd, uint32_t handle, unsigned int engine,unsigned long count;double time; - time =nop_on_ring (fd, handle, engine, timeout, &count); + time =nop_on_ring (fd, handle, e, timeout, &count);igt_stats_push_float (&s, time / count); }@@ -388,7 +390,8 @@ stable_nop_on_ring(int fd, uint32_t handle, unsigned int engine, "'%s' != '%s' (%f not within %f%% tolerance of %f)\n",\#x , #ref, x, tolerance * 100.0, ref) -static void headless (int fd,uint32_t handle) +static void headless (int fd,uint32_t handle, +const struct intel_execution_engine2 *e) {unsigned int nr_connected =0 ;drmModeConnector *connector;@@ -411,7 +414,7 @@ static void headless(int fd, uint32_t handle)kmstest_set_vt_graphics_mode ();/* benchmark nops */ - n_display =stable_nop_on_ring (fd, handle,I915_EXEC_DEFAULT ,1 ,5 ); + n_display =stable_nop_on_ring (fd, handle, e,1 ,5 );igt_info ("With one display connected: %.2fus\n" , n_display *1e6 );@@ -419,7 +422,7 @@ static void headless(int fd, uint32_t handle)kmstest_unset_all_crtcs (fd, res);/* benchmark nops again */ - n_headless =stable_nop_on_ring (fd, handle,I915_EXEC_DEFAULT ,1 ,5 ); + n_headless =stable_nop_on_ring (fd, handle, e,1 ,5 );igt_info ("Without a display connected (headless): %.2fus\n" , n_headless *1e6 );@@ -429,6 +432,7 @@ static void headless(int fd, uint32_t handle)static void parallel (int fd,uint32_t handle,int timeout) { +const struct intel_execution_engine2 *e;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;unsigned engines[16 ];@@ -439,12 +443,11 @@ static void parallel(int fd, uint32_t handle, int timeout) sum =0 ; nengine =0 ; -for_each_physical_engine (e, fd) { - engines[nengine] =eb_ring (e); - names[nengine] = e->name; - nengine++; +__for_each_physical_engine (fd, e) { + engines[nengine] = e->flags; + names[nengine++] = e->name; - time =nop_on_ring (fd, handle,eb_ring (e),1 , &count) / count; + time =nop_on_ring (fd, handle, e,1 , &count) / count; sum += time;igt_debug ("%s: %.3fus\n" , e->name,1e6 *time); }@@ -490,6 +493,7 @@ static void parallel(int fd, uint32_t handle, int timeout)static void series (int fd,uint32_t handle,int timeout) { +const struct intel_execution_engine2 *e;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;struct timespec start, now, sync;@@ -500,8 +504,8 @@ static void series(int fd, uint32_t handle, int timeout)const char *name; nengine =0 ; -for_each_physical_engine (e, fd) { - time =nop_on_ring (fd, handle,eb_ring (e),1 , &count) / count; +__for_each_physical_engine (fd, e) { + time =nop_on_ring (fd, handle, e,1 , &count) / count;if (time > max) { name = e->name; max = time;@@ -509,7 +513,7 @@ static void series(int fd, uint32_t handle, int timeout)if (time < min) min = time; sum += time; - engines[nengine++] =eb_ring (e); + engines[nengine++] = e->flags; }igt_require (nengine); igt_info("Maximum execution latency on %s, %.3fus, min %.3fus, total %.3fus per cycle, average %.3fus\n",@@ -580,6 +584,7 @@ static void xchg(void *array, unsigned i, unsigned j)static void sequential (int fd,uint32_t handle,unsigned flags,int timeout) {const int ncpus = flags &FORKED ?sysconf (_SC_NPROCESSORS_ONLN) :1 ; +const struct intel_execution_engine2 *e;struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj[2 ];unsigned engines[16 ];@@ -595,14 +600,14 @@ static void sequential(int fd, uint32_t handle, unsigned flags, int timeout) nengine =0 ; sum =0 ; -for_each_physical_engine (e, fd) { +__for_each_physical_engine (fd, e) {unsigned long count; - time =nop_on_ring (fd, handle,eb_ring (e),1 , &count) / count; + time =nop_on_ring (fd, handle, e,1 , &count) / count; sum += time;igt_debug ("%s: %.3fus\n" , e->name,1e6 *time); - engines[nengine++] =eb_ring (e); + engines[nengine++] = e->flags; }igt_require (nengine); igt_info("Total (individual) execution latency %.3fus per cycle\n",
tests/i915/gem_exec_nop.c static void sequential(int fd, uint32_t handle, unsigned flags, int timeout) · line 631
Quoted 5 lines
tests/i915/gem_exec_nop.c +1
-1@@ -623,7 +628,7 @@ static void sequential(int fd, uint32_t handle, unsigned flags, int timeout)if (flags &CONTEXT ) {uint32_t id; -igt_require (__gem_context_create (fd, &id) ==0 ); +igt_require (gem_context_clone_with_engines (fd, id) ==0 );
This will make it always skip (plus old vs new context is mixed up). Easiest to have it like this:
gem_require_contexts(fd); id = gem_context_clone_with_engines(fd, 0);
Check if the local 'id' is needed or you can assign directly to execbuf.rsvd1.
Quoted 5 lines
tests/i915/gem_exec_nop.c +0
-0execbuf.rsvd1 = id; }@@ -642,8 +647,12 @@ static void sequential(int fd, uint32_t handle, unsigned flags, int timeout) obj[0 ].handle =gem_create (fd,4096 );
tests/i915/gem_exec_nop.c static void sequential(int fd, uint32_t handle, unsigned flags, int timeout) · line 655
Quoted 10 lines
tests/i915/gem_exec_nop.c +6
-2gem_execbuf (fd, &execbuf); -if (flags &CONTEXT ) - execbuf.rsvd1 =gem_context_create (fd); +if (flags &CONTEXT ) { +uint32_t id; + +igt_require (gem_context_clone_with_engines (fd, id) ==0 ); + execbuf.rsvd1 = id; + }
Same as above.
Rest looks okay.
Regards,
Tvrtko
Quoted 170 lines
tests/i915/gem_exec_nop.c +49
-31hars_petruska_f54_1_random_perturb (child);@@ -710,12 +719,13 @@ static bool fence_wait(int fence) }static void fence_signal (int fd,uint32_t handle, -unsigned ring_id,const char *ring_name, -int timeout) +const struct intel_execution_engine2 *ring_id, +const char *ring_name,int timeout) {#define NFENCES 512struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj; +struct intel_execution_engine2 *__e;struct timespec start, now;unsigned engines[16 ];unsigned nengine;@@ -725,12 +735,11 @@ static void fence_signal(int fd, uint32_t handle,igt_require (gem_has_exec_fence (fd)); nengine =0 ; -if (ring_id ==ALL_ENGINES ) { -for_each_physical_engine (e, fd) - engines[nengine++] =eb_ring (e); +if (!ring_id) { +__for_each_physical_engine (fd, __e) + engines[nengine++] = __e->flags; }else { -gem_require_ring (fd, ring_id); - engines[nengine++] = ring_id; + engines[nengine++] = ring_id->flags; }igt_require (nengine);@@ -787,7 +796,7 @@ static void fence_signal(int fd, uint32_t handle, }static void preempt (int fd,uint32_t handle, -unsigned ring_id,const char *ring_name) +const struct intel_execution_engine2 *e) {struct drm_i915_gem_execbuffer2 execbuf;struct drm_i915_gem_exec_object2 obj;@@ -795,12 +804,10 @@ static void preempt(int fd, uint32_t handle,unsigned long count;uint32_t ctx[2 ]; -gem_require_ring (fd, ring_id); - - ctx[0 ] =gem_context_create (fd); + ctx[0 ] =gem_context_clone_with_engines (fd,0 );gem_context_set_priority (fd, ctx[0 ],MIN_PRIO ); - ctx[1 ] =gem_context_create (fd); + ctx[1 ] =gem_context_clone_with_engines (fd,0 );gem_context_set_priority (fd, ctx[1 ],MAX_PRIO );memset (&obj,0 ,sizeof (obj));@@ -809,11 +816,11 @@ static void preempt(int fd, uint32_t handle,memset (&execbuf,0 ,sizeof (execbuf)); execbuf.buffers_ptr =to_user_pointer (&obj); execbuf.buffer_count =1 ; - execbuf.flags = ring_id; + execbuf.flags = e->flags; execbuf.flags |=LOCAL_I915_EXEC_HANDLE_LUT ; execbuf.flags |=LOCAL_I915_EXEC_NO_RELOC ;if (__gem_execbuf (fd, &execbuf)) { - execbuf.flags = ring_id; + execbuf.flags = e->flags;gem_execbuf (fd, &execbuf); } execbuf.rsvd1 = ctx[1 ];@@ -825,7 +832,7 @@ static void preempt(int fd, uint32_t handle,igt_spin_t *spin = __igt_spin_new(fd, .ctx = ctx[0], - .engine = ring_id); + .engine = e->flags);for (int loop =0 ; loop <1024 ; loop++)gem_execbuf (fd, &execbuf);@@ -841,12 +848,12 @@ static void preempt(int fd, uint32_t handle,gem_context_destroy (fd, ctx[0 ]);igt_info ("%s: %'lu cycles: %.3fus\n" , - ring_name, count,elapsed (&start, &now)*1e6 / count); + e->name, count,elapsed (&start, &now)*1e6 / count); } igt_main { -const struct intel_execution_engine *e; +const struct intel_execution_engine2 *e;uint32_t handle =0 ;int device =-1 ;@@ -873,15 +880,24 @@ igt_main igt_subtest("basic-sequential")sequential (device, handle,0 ,2 ); -for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("%s", e->name) -single (device, handle,eb_ring (e), e->name); - igt_subtest_f("signal-%s", e->name) -fence_signal (device, handle,eb_ring (e), e->name,2 ); + igt_subtest_with_dynamic("single") { +__for_each_physical_engine (device, e) { + igt_dynamic_f("%s", e->name) +single (device, handle, e); + } + } + + igt_subtest_with_dynamic("signal") { +__for_each_physical_engine (device, e) { + igt_dynamic_f("%s", e->name) +fence_signal (device, handle, e, + e->name,2 ); + } }igt_subtest ("signal-all" ) -fence_signal (device, handle,ALL_ENGINES ,"all" ,20 ); + /* NULL value means all engines */ +fence_signal (device, handle,NULL ,"all" ,20 ); igt_subtest("series")series (device, handle,20 );@@ -907,10 +923,11 @@ igt_mainigt_require (gem_scheduler_has_ctx_priority (device));igt_require (gem_scheduler_has_preemption (device)); } - -for (e = intel_execution_engines; e->name; e++) { - igt_subtest_f("preempt-%s", e->name) -preempt (device, handle,eb_ring (e), e->name); + igt_subtest_with_dynamic("preempt") { +__for_each_physical_engine (device, e) { + igt_dynamic_f("%s", e->name) +preempt (device, handle, e); + } } }@@ -919,19 +936,25 @@ igt_mainigt_device_set_master (device); } -for (e = intel_execution_engines; e->name; e++) { -/* Requires master for STORE_DWORD on gen4/5 */ - igt_subtest_f("poll-%s", e->name) -poll_ring (device,eb_ring (e), e->name,20 ); + igt_subtest_with_dynamic("poll") { +__for_each_physical_engine (device, e) { +/* Requires master for STORE_DWORD on gen4/5 */ + igt_dynamic_f("%s", e->name) +poll_ring (device, e,20 ); + } + } + + igt_subtest_with_dynamic("headless") { +__for_each_physical_engine (device, e) { +igt_dynamic_f ("%s" , e->name) + /* Requires master for changing display modes */ +headless (device, handle, e); + } }
tests/i915/gem_exec_nop.c igt_main · line 960
Quoted 10 lines
tests/i915/gem_exec_nop.c +0
-4igt_subtest("poll-sequential")poll_sequential (device,"Sequential" ,20 ); - igt_subtest("headless") { -/* Requires master for changing display modes */ -headless (device, handle); - } } igt_fixture {
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for i915/gem_exec_nop:Adjusted test to utilize all available engines (rev7)
In reply to Arjun Melkaveri== Series Details ==
== Series Details ==
Series: i915/gem_exec_nop:Adjusted test to utilize all available engines (rev7)
URL : https://patchwork.freedesktop.org/series/72334/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7833 -> IGTPW_4021
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/index.html
Known issues
------------
Here are the changes found in IGTPW_4021 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_close_race@basic-threads:
- fi-byt-n2820: [PASS][1] -> [INCOMPLETE][2] ([i915#45])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-byt-n2820/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-byt-n2820/igt@[email protected]
* igt@kms_chamelium@hdmi-edid-read:
- fi-kbl-7500u: [PASS][3] -> [FAIL][4] ([i915#217])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-kbl-7500u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-kbl-7500u/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][5] -> [FAIL][6] ([fdo#111096] / [i915#323])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-kbl-7500u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-kbl-7500u/igt@[email protected]
#### Possible fixes ####
* igt@gem_close_race@basic-threads:
- fi-hsw-peppy: [INCOMPLETE][7] ([i915#816]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-hsw-peppy/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-hsw-peppy/igt@[email protected]
* igt@i915_selftest@live_blt:
- fi-hsw-4770r: [DMESG-FAIL][9] ([i915#563]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-hsw-4770r/igt@i915_selftest@live_blt.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-hsw-4770r/igt@i915_selftest@live_blt.html
- fi-hsw-4770: [DMESG-FAIL][11] ([i915#725]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-hsw-4770/igt@i915_selftest@live_blt.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-hsw-4770/igt@i915_selftest@live_blt.html
* igt@i915_selftest@live_gem_contexts:
- fi-icl-guc: [INCOMPLETE][13] ([i915#140]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-icl-guc/igt@i915_selftest@live_gem_contexts.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-icl-guc/igt@i915_selftest@live_gem_contexts.html
#### Warnings ####
* igt@i915_pm_rpm@basic-rte:
- fi-kbl-guc: [FAIL][15] ([i915#579]) -> [SKIP][16] ([fdo#109271])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/fi-kbl-guc/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/fi-kbl-guc/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140
[i915#217]: https://gitlab.freedesktop.org/drm/intel/issues/217
[i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323
[i915#45]: https://gitlab.freedesktop.org/drm/intel/issues/45
[i915#563]: https://gitlab.freedesktop.org/drm/intel/issues/563
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725
[i915#816]: https://gitlab.freedesktop.org/drm/intel/issues/816
Participating hosts (50 -> 44)
------------------------------
Additional (1): fi-snb-2520m
Missing (7): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-kbl-7560u fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5394 -> IGTPW_4021
CI-20190529: 20190529
CI_DRM_7833: 8210f0f999e2d396a8611e0cabc2f6c6a52468de @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4021: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/index.html
IGT_5394: 991fd07bcd7add7a5beca2c95b72a994e62fbb75 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@gem_exec_nop@poll
+igt@gem_exec_nop@preempt
+igt@gem_exec_nop@signal
+igt@gem_exec_nop@single
-igt@gem_exec_nop@blt
-igt@gem_exec_nop@bsd
-igt@gem_exec_nop@bsd1
-igt@gem_exec_nop@bsd2
-igt@gem_exec_nop@default
-igt@gem_exec_nop@poll-blt
-igt@gem_exec_nop@poll-bsd
-igt@gem_exec_nop@poll-bsd1
-igt@gem_exec_nop@poll-bsd2
-igt@gem_exec_nop@poll-default
-igt@gem_exec_nop@poll-render
-igt@gem_exec_nop@poll-vebox
-igt@gem_exec_nop@preempt-blt
-igt@gem_exec_nop@preempt-bsd
-igt@gem_exec_nop@preempt-bsd1
-igt@gem_exec_nop@preempt-bsd2
-igt@gem_exec_nop@preempt-default
-igt@gem_exec_nop@preempt-render
-igt@gem_exec_nop@preempt-vebox
-igt@gem_exec_nop@render
-igt@gem_exec_nop@signal-blt
-igt@gem_exec_nop@signal-bsd
-igt@gem_exec_nop@signal-bsd1
-igt@gem_exec_nop@signal-bsd2
-igt@gem_exec_nop@signal-default
-igt@gem_exec_nop@signal-render
-igt@gem_exec_nop@signal-vebox
-igt@gem_exec_nop@vebox
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for i915/gem_exec_nop:Adjusted test to utilize all available engines (rev7)
In reply to Arjun Melkaveri== Series Details ==
== Series Details ==
Series: i915/gem_exec_nop:Adjusted test to utilize all available engines (rev7)
URL : https://patchwork.freedesktop.org/series/72334/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7833_full -> IGTPW_4021_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/index.html
Known issues
------------
Here are the changes found in IGTPW_4021_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_persistence@vcs1-mixed-process:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#109276] / [fdo#112080]) +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb8/igt@[email protected]
* igt@gem_exec_parallel@vcs1-fds:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#112080]) +10 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@independent-bsd2:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#109276]) +12 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb5/igt@[email protected]
* igt@gem_exec_schedule@pi-distinct-iova-bsd:
- shard-iclb: [PASS][7] -> [SKIP][8] ([i915#677]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb5/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb1/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#112146]) +6 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb4/igt@[email protected]
* igt@gem_tiled_blits@interruptible:
- shard-hsw: [PASS][11] -> [FAIL][12] ([i915#818])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-hsw8/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-hsw1/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-unsync:
- shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870] / [i915#478])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-snb4/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-snb5/igt@[email protected]
* igt@i915_hangman@error-state-capture-vcs1:
- shard-kbl: [PASS][15] -> [SKIP][16] ([fdo#109271] / [fdo#112080])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl3/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl2/igt@[email protected]
* igt@i915_pm_rpm@modeset-stress-extra-wait:
- shard-glk: [PASS][17] -> [INCOMPLETE][18] ([CI#80] / [i915#58] / [k.org#198133])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-glk3/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-glk9/igt@[email protected]
* igt@i915_pm_rps@waitboost:
- shard-iclb: [PASS][19] -> [FAIL][20] ([i915#413])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb4/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-glk: [PASS][21] -> [FAIL][22] ([i915#72])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-glk4/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-glk2/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109642] / [fdo#111068])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb6/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [PASS][25] -> [FAIL][26] ([i915#173])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb4/igt@kms_psr@no_drrs.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb1/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_sprite_render:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb2/igt@kms_psr@psr2_sprite_render.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb1/igt@kms_psr@psr2_sprite_render.html
* igt@kms_vblank@pipe-a-wait-idle-hang:
- shard-kbl: [PASS][29] -> [SKIP][30] ([fdo#109271]) +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl7/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl2/igt@[email protected]
#### Possible fixes ####
* igt@gem_busy@busy-vcs1:
- shard-iclb: [SKIP][31] ([fdo#112080]) -> [PASS][32] +9 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb3/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb1/igt@[email protected]
* igt@gem_caching@reads:
- shard-hsw: [FAIL][33] ([i915#694]) -> [PASS][34] +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-hsw5/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-hsw4/igt@[email protected]
* {igt@gem_ctx_persistence@hostile}:
- shard-iclb: [FAIL][35] -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb4/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb6/igt@[email protected]
* igt@gem_ctx_persistence@vcs0-queued:
- shard-tglb: [INCOMPLETE][37] ([i915#472]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-tglb6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-tglb6/igt@[email protected]
* igt@gem_ctx_persistence@vcs1-hostile-preempt:
- shard-iclb: [SKIP][39] ([fdo#109276] / [fdo#112080]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb8/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb4/igt@[email protected]
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [SKIP][41] ([fdo#110841]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb4/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb5/igt@[email protected]
* igt@gem_ctx_shared@q-independent-default:
- shard-kbl: [FAIL][43] -> [PASS][44] +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl1/igt@[email protected]
* igt@gem_ctx_shared@q-promotion-vebox:
- shard-kbl: [FAIL][45] ([fdo#112118]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl6/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl4/igt@[email protected]
* igt@gem_exec_schedule@pi-common-bsd:
- shard-iclb: [SKIP][47] ([i915#677]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb4/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb3/igt@[email protected]
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [SKIP][49] ([fdo#112146]) -> [PASS][50] +5 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb1/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb8/igt@[email protected]
* igt@gem_partial_pwrite_pread@writes-after-reads:
- shard-hsw: [FAIL][51] -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-hsw2/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-hsw4/igt@[email protected]
* igt@gem_pwrite@big-cpu-fbr:
- shard-glk: [INCOMPLETE][53] ([CI#80] / [i915#58] / [k.org#198133]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-glk2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-glk1/igt@[email protected]
* igt@i915_pm_rps@waitboost:
- shard-tglb: [FAIL][55] ([i915#413]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-tglb5/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-tglb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x42-random:
- shard-kbl: [FAIL][57] ([i915#54]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl6/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl7/igt@[email protected]
- shard-apl: [FAIL][59] ([i915#54]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-apl8/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-apl7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-varying-size:
- shard-tglb: [FAIL][61] ([IGT#5]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-tglb3/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-tglb7/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb2101010-mmap-gtt-xtiled:
- shard-snb: [DMESG-WARN][63] ([i915#478]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-snb4/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-snb1/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-glk: [FAIL][65] ([i915#79]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-glk9/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-glk6/igt@[email protected]
* igt@kms_flip@flip-vs-panning-vs-hang-interruptible:
- shard-iclb: [SKIP][67] -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb4/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-badstride:
- shard-glk: [FAIL][69] ([i915#49]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-glk8/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-glk5/igt@[email protected]
- shard-apl: [FAIL][71] ([i915#49]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-apl4/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-apl7/igt@[email protected]
- shard-kbl: [FAIL][73] ([i915#49]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl7/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-cpu:
- shard-tglb: [SKIP][75] ([i915#668]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-tglb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-cpu.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-tglb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-cpu.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [DMESG-WARN][77] ([i915#180]) -> [PASS][78] +1 similar issue
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-apl6/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-apl3/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][79] ([fdo#109441]) -> [PASS][80] +2 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb6/igt@kms_psr@psr2_primary_mmap_cpu.html
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_setmode@basic:
- shard-kbl: [FAIL][81] ([i915#31]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl4/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl7/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][83] ([i915#180]) -> [PASS][84] +10 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl7/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl6/igt@[email protected]
* igt@perf_pmu@busy-hang-vcs1:
- shard-kbl: [SKIP][85] ([fdo#109271] / [fdo#112080]) -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl6/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl3/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [SKIP][87] ([fdo#109276]) -> [PASS][88] +16 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb8/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb4/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv-switch:
- shard-iclb: [FAIL][89] ([IGT#28]) -> [SKIP][90] ([fdo#109276] / [fdo#112080])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-iclb2/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-iclb7/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-snb: [DMESG-WARN][91] ([fdo#111870] / [i915#478]) -> [DMESG-WARN][92] ([fdo#110789] / [fdo#111870] / [i915#478])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-snb1/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-snb6/igt@[email protected]
* igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup:
- shard-snb: [DMESG-WARN][93] ([fdo#110789] / [fdo#111870] / [i915#478]) -> [DMESG-WARN][94] ([fdo#111870] / [i915#478])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-snb6/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-snb4/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-tglb: [SKIP][95] ([i915#468]) -> [FAIL][96] ([i915#454])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-tglb2/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-tglb6/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-kbl: [DMESG-WARN][97] ([i915#180]) -> [INCOMPLETE][98] ([fdo#103665] / [i915#600])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7833/shard-kbl2/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/shard-kbl7/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[CI#80]: https://gitlab.freedesktop.org/gfx-ci/i915-infra/issues/80
[IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28
[IGT#5]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/5
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[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#112118]: https://bugs.freedesktop.org/show_bug.cgi?id=112118
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[i915#173]: https://gitlab.freedesktop.org/drm/intel/issues/173
[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#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468
[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#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#58]: https://gitlab.freedesktop.org/drm/intel/issues/58
[i915#600]: https://gitlab.freedesktop.org/drm/intel/issues/600
[i915#668]: https://gitlab.freedesktop.org/drm/intel/issues/668
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#818]: https://gitlab.freedesktop.org/drm/intel/issues/818
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (10 -> 8)
------------------------------
Missing (2): pig-skl-6260u pig-glk-j5005
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5394 -> IGTPW_4021
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_7833: 8210f0f999e2d396a8611e0cabc2f6c6a52468de @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4021: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/index.html
IGT_5394: 991fd07bcd7add7a5beca2c95b72a994e62fbb75 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4021/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev