All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/selftests: Spin on all engines simultaneously
@ 2019-10-31 21:17 ` Chris Wilson
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Wilson @ 2019-10-31 21:17 UTC (permalink / raw)
  To: intel-gfx; +Cc: Matthew Auld

Vanshidhar Konda asked for the simplest test "to verify that the kernel
can submit and hardware can execute batch buffers on all the command
streamers in parallel." We have a number of tests in userspace that
submit load to each engine and verify that it is present, but strictly
we have no selftest to prove that the kernel can _simultaneously_
execute on all known engines. (We have tests to demonstrate that we can
submit to HW in parallel, but we don't insist that they execute in
parallel.)

Suggested-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h               |  6 ++
 drivers/gpu/drm/i915/selftests/i915_request.c | 63 +++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a22d969cb352..0c3ab6020bc6 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -891,6 +891,10 @@ struct intel_cdclk_state {
 	u8 voltage_level;
 };
 
+struct i915_selftest_stash {
+	atomic_t counter;
+};
+
 struct drm_i915_private {
 	struct drm_device drm;
 
@@ -1286,6 +1290,8 @@ struct drm_i915_private {
 	/* Mutex to protect the above hdcp component related values. */
 	struct mutex hdcp_comp_mutex;
 
+	I915_SELFTEST_DECLARE(struct i915_selftest_stash selftest;)
+
 	/*
 	 * NOTE: This is the dri1/ums dungeon, don't add stuff here. Your patch
 	 * will be rejected. Instead look for a better place.
diff --git a/drivers/gpu/drm/i915/selftests/i915_request.c b/drivers/gpu/drm/i915/selftests/i915_request.c
index 30ae34f62176..191c4f8c35c9 100644
--- a/drivers/gpu/drm/i915/selftests/i915_request.c
+++ b/drivers/gpu/drm/i915/selftests/i915_request.c
@@ -32,6 +32,7 @@
 #include "i915_random.h"
 #include "i915_selftest.h"
 #include "igt_live_test.h"
+#include "igt_spinner.h"
 #include "lib_sw_fence.h"
 
 #include "mock_drm.h"
@@ -1115,12 +1116,72 @@ static int __live_parallel_engineN(void *arg)
 	return 0;
 }
 
+static int wait_for_all(struct drm_i915_private *i915)
+{
+	if (atomic_dec_and_test(&i915->selftest.counter)) {
+		wake_up_var(&i915->selftest.counter);
+		return 0;
+	}
+
+	if (!wait_var_event_timeout(&i915->selftest.counter,
+				   !atomic_read(&i915->selftest.counter),
+				   i915_selftest.timeout_jiffies))
+		return 0;
+
+	return -ETIME;
+}
+
+static int __live_parallel_spin(void *arg)
+{
+	struct intel_engine_cs *engine = arg;
+	struct igt_spinner spin;
+	struct i915_request *rq;
+	int err = 0;
+
+	/*
+	 * Create a spinner running for eternity on each engine. If a second
+	 * spinner is incorrectly placed on the same engine, it will not be
+	 * able to start in time.
+	 */
+
+	if (igt_spinner_init(&spin, engine->gt))
+		return -ENOMEM;
+
+	rq = igt_spinner_create_request(&spin,
+					engine->kernel_context,
+					MI_NOOP); /* no preemption */
+	if (IS_ERR(rq)) {
+		err = PTR_ERR(rq);
+		goto out_spin;
+	}
+
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (igt_wait_for_spinner(&spin, rq)) {
+		/* Occupy this engine for the whole test */
+		err = wait_for_all(engine->i915);
+	} else {
+		pr_err("Failed to start spinner on %s\n", engine->name);
+		err = -EINVAL;
+	}
+	igt_spinner_end(&spin);
+
+	if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
+		err = -EIO;
+	i915_request_put(rq);
+
+out_spin:
+	igt_spinner_fini(&spin);
+	return err;
+}
+
 static int live_parallel_engines(void *arg)
 {
 	struct drm_i915_private *i915 = arg;
 	static int (* const func[])(void *arg) = {
 		__live_parallel_engine1,
 		__live_parallel_engineN,
+		__live_parallel_spin,
 		NULL,
 	};
 	const unsigned int nengines = num_uabi_engines(i915);
@@ -1146,6 +1207,8 @@ static int live_parallel_engines(void *arg)
 		if (err)
 			break;
 
+		atomic_set(&i915->selftest.counter, nengines);
+
 		idx = 0;
 		for_each_uabi_engine(engine, i915) {
 			tsk[idx] = kthread_run(*fn, engine,
-- 
2.24.0.rc2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Intel-gfx] [PATCH] drm/i915/selftests: Spin on all engines simultaneously
@ 2019-10-31 21:17 ` Chris Wilson
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Wilson @ 2019-10-31 21:17 UTC (permalink / raw)
  To: intel-gfx; +Cc: Matthew Auld

Vanshidhar Konda asked for the simplest test "to verify that the kernel
can submit and hardware can execute batch buffers on all the command
streamers in parallel." We have a number of tests in userspace that
submit load to each engine and verify that it is present, but strictly
we have no selftest to prove that the kernel can _simultaneously_
execute on all known engines. (We have tests to demonstrate that we can
submit to HW in parallel, but we don't insist that they execute in
parallel.)

Suggested-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h               |  6 ++
 drivers/gpu/drm/i915/selftests/i915_request.c | 63 +++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a22d969cb352..0c3ab6020bc6 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -891,6 +891,10 @@ struct intel_cdclk_state {
 	u8 voltage_level;
 };
 
+struct i915_selftest_stash {
+	atomic_t counter;
+};
+
 struct drm_i915_private {
 	struct drm_device drm;
 
@@ -1286,6 +1290,8 @@ struct drm_i915_private {
 	/* Mutex to protect the above hdcp component related values. */
 	struct mutex hdcp_comp_mutex;
 
+	I915_SELFTEST_DECLARE(struct i915_selftest_stash selftest;)
+
 	/*
 	 * NOTE: This is the dri1/ums dungeon, don't add stuff here. Your patch
 	 * will be rejected. Instead look for a better place.
diff --git a/drivers/gpu/drm/i915/selftests/i915_request.c b/drivers/gpu/drm/i915/selftests/i915_request.c
index 30ae34f62176..191c4f8c35c9 100644
--- a/drivers/gpu/drm/i915/selftests/i915_request.c
+++ b/drivers/gpu/drm/i915/selftests/i915_request.c
@@ -32,6 +32,7 @@
 #include "i915_random.h"
 #include "i915_selftest.h"
 #include "igt_live_test.h"
+#include "igt_spinner.h"
 #include "lib_sw_fence.h"
 
 #include "mock_drm.h"
@@ -1115,12 +1116,72 @@ static int __live_parallel_engineN(void *arg)
 	return 0;
 }
 
+static int wait_for_all(struct drm_i915_private *i915)
+{
+	if (atomic_dec_and_test(&i915->selftest.counter)) {
+		wake_up_var(&i915->selftest.counter);
+		return 0;
+	}
+
+	if (!wait_var_event_timeout(&i915->selftest.counter,
+				   !atomic_read(&i915->selftest.counter),
+				   i915_selftest.timeout_jiffies))
+		return 0;
+
+	return -ETIME;
+}
+
+static int __live_parallel_spin(void *arg)
+{
+	struct intel_engine_cs *engine = arg;
+	struct igt_spinner spin;
+	struct i915_request *rq;
+	int err = 0;
+
+	/*
+	 * Create a spinner running for eternity on each engine. If a second
+	 * spinner is incorrectly placed on the same engine, it will not be
+	 * able to start in time.
+	 */
+
+	if (igt_spinner_init(&spin, engine->gt))
+		return -ENOMEM;
+
+	rq = igt_spinner_create_request(&spin,
+					engine->kernel_context,
+					MI_NOOP); /* no preemption */
+	if (IS_ERR(rq)) {
+		err = PTR_ERR(rq);
+		goto out_spin;
+	}
+
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (igt_wait_for_spinner(&spin, rq)) {
+		/* Occupy this engine for the whole test */
+		err = wait_for_all(engine->i915);
+	} else {
+		pr_err("Failed to start spinner on %s\n", engine->name);
+		err = -EINVAL;
+	}
+	igt_spinner_end(&spin);
+
+	if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
+		err = -EIO;
+	i915_request_put(rq);
+
+out_spin:
+	igt_spinner_fini(&spin);
+	return err;
+}
+
 static int live_parallel_engines(void *arg)
 {
 	struct drm_i915_private *i915 = arg;
 	static int (* const func[])(void *arg) = {
 		__live_parallel_engine1,
 		__live_parallel_engineN,
+		__live_parallel_spin,
 		NULL,
 	};
 	const unsigned int nengines = num_uabi_engines(i915);
@@ -1146,6 +1207,8 @@ static int live_parallel_engines(void *arg)
 		if (err)
 			break;
 
+		atomic_set(&i915->selftest.counter, nengines);
+
 		idx = 0;
 		for_each_uabi_engine(engine, i915) {
 			tsk[idx] = kthread_run(*fn, engine,
-- 
2.24.0.rc2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] drm/i915/selftests: Spin on all engines simultaneously
@ 2019-10-31 21:23   ` Chris Wilson
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Wilson @ 2019-10-31 21:23 UTC (permalink / raw)
  To: intel-gfx; +Cc: Matthew Auld

Vanshidhar Konda asked for the simplest test "to verify that the kernel
can submit and hardware can execute batch buffers on all the command
streamers in parallel." We have a number of tests in userspace that
submit load to each engine and verify that it is present, but strictly
we have no selftest to prove that the kernel can _simultaneously_
execute on all known engines. (We have tests to demonstrate that we can
submit to HW in parallel, but we don't insist that they execute in
parallel.)

Suggested-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h               |  6 ++
 drivers/gpu/drm/i915/selftests/i915_request.c | 63 +++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a22d969cb352..0c3ab6020bc6 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -891,6 +891,10 @@ struct intel_cdclk_state {
 	u8 voltage_level;
 };
 
+struct i915_selftest_stash {
+	atomic_t counter;
+};
+
 struct drm_i915_private {
 	struct drm_device drm;
 
@@ -1286,6 +1290,8 @@ struct drm_i915_private {
 	/* Mutex to protect the above hdcp component related values. */
 	struct mutex hdcp_comp_mutex;
 
+	I915_SELFTEST_DECLARE(struct i915_selftest_stash selftest;)
+
 	/*
 	 * NOTE: This is the dri1/ums dungeon, don't add stuff here. Your patch
 	 * will be rejected. Instead look for a better place.
diff --git a/drivers/gpu/drm/i915/selftests/i915_request.c b/drivers/gpu/drm/i915/selftests/i915_request.c
index 30ae34f62176..6181b327b4ac 100644
--- a/drivers/gpu/drm/i915/selftests/i915_request.c
+++ b/drivers/gpu/drm/i915/selftests/i915_request.c
@@ -32,6 +32,7 @@
 #include "i915_random.h"
 #include "i915_selftest.h"
 #include "igt_live_test.h"
+#include "igt_spinner.h"
 #include "lib_sw_fence.h"
 
 #include "mock_drm.h"
@@ -1115,12 +1116,72 @@ static int __live_parallel_engineN(void *arg)
 	return 0;
 }
 
+static int wait_for_all(struct drm_i915_private *i915)
+{
+	if (atomic_dec_and_test(&i915->selftest.counter)) {
+		wake_up_var(&i915->selftest.counter);
+		return 0;
+	}
+
+	if (wait_var_event_timeout(&i915->selftest.counter,
+				   !atomic_read(&i915->selftest.counter),
+				   i915_selftest.timeout_jiffies))
+		return 0;
+
+	return -ETIME;
+}
+
+static int __live_parallel_spin(void *arg)
+{
+	struct intel_engine_cs *engine = arg;
+	struct igt_spinner spin;
+	struct i915_request *rq;
+	int err = 0;
+
+	/*
+	 * Create a spinner running for eternity on each engine. If a second
+	 * spinner is incorrectly placed on the same engine, it will not be
+	 * able to start in time.
+	 */
+
+	if (igt_spinner_init(&spin, engine->gt))
+		return -ENOMEM;
+
+	rq = igt_spinner_create_request(&spin,
+					engine->kernel_context,
+					MI_NOOP); /* no preemption */
+	if (IS_ERR(rq)) {
+		err = PTR_ERR(rq);
+		goto out_spin;
+	}
+
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (igt_wait_for_spinner(&spin, rq)) {
+		/* Occupy this engine for the whole test */
+		err = wait_for_all(engine->i915);
+	} else {
+		pr_err("Failed to start spinner on %s\n", engine->name);
+		err = -EINVAL;
+	}
+	igt_spinner_end(&spin);
+
+	if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
+		err = -EIO;
+	i915_request_put(rq);
+
+out_spin:
+	igt_spinner_fini(&spin);
+	return err;
+}
+
 static int live_parallel_engines(void *arg)
 {
 	struct drm_i915_private *i915 = arg;
 	static int (* const func[])(void *arg) = {
 		__live_parallel_engine1,
 		__live_parallel_engineN,
+		__live_parallel_spin,
 		NULL,
 	};
 	const unsigned int nengines = num_uabi_engines(i915);
@@ -1146,6 +1207,8 @@ static int live_parallel_engines(void *arg)
 		if (err)
 			break;
 
+		atomic_set(&i915->selftest.counter, nengines);
+
 		idx = 0;
 		for_each_uabi_engine(engine, i915) {
 			tsk[idx] = kthread_run(*fn, engine,
-- 
2.24.0.rc2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [Intel-gfx] [PATCH] drm/i915/selftests: Spin on all engines simultaneously
@ 2019-10-31 21:23   ` Chris Wilson
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Wilson @ 2019-10-31 21:23 UTC (permalink / raw)
  To: intel-gfx; +Cc: Matthew Auld

Vanshidhar Konda asked for the simplest test "to verify that the kernel
can submit and hardware can execute batch buffers on all the command
streamers in parallel." We have a number of tests in userspace that
submit load to each engine and verify that it is present, but strictly
we have no selftest to prove that the kernel can _simultaneously_
execute on all known engines. (We have tests to demonstrate that we can
submit to HW in parallel, but we don't insist that they execute in
parallel.)

Suggested-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h               |  6 ++
 drivers/gpu/drm/i915/selftests/i915_request.c | 63 +++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a22d969cb352..0c3ab6020bc6 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -891,6 +891,10 @@ struct intel_cdclk_state {
 	u8 voltage_level;
 };
 
+struct i915_selftest_stash {
+	atomic_t counter;
+};
+
 struct drm_i915_private {
 	struct drm_device drm;
 
@@ -1286,6 +1290,8 @@ struct drm_i915_private {
 	/* Mutex to protect the above hdcp component related values. */
 	struct mutex hdcp_comp_mutex;
 
+	I915_SELFTEST_DECLARE(struct i915_selftest_stash selftest;)
+
 	/*
 	 * NOTE: This is the dri1/ums dungeon, don't add stuff here. Your patch
 	 * will be rejected. Instead look for a better place.
diff --git a/drivers/gpu/drm/i915/selftests/i915_request.c b/drivers/gpu/drm/i915/selftests/i915_request.c
index 30ae34f62176..6181b327b4ac 100644
--- a/drivers/gpu/drm/i915/selftests/i915_request.c
+++ b/drivers/gpu/drm/i915/selftests/i915_request.c
@@ -32,6 +32,7 @@
 #include "i915_random.h"
 #include "i915_selftest.h"
 #include "igt_live_test.h"
+#include "igt_spinner.h"
 #include "lib_sw_fence.h"
 
 #include "mock_drm.h"
@@ -1115,12 +1116,72 @@ static int __live_parallel_engineN(void *arg)
 	return 0;
 }
 
+static int wait_for_all(struct drm_i915_private *i915)
+{
+	if (atomic_dec_and_test(&i915->selftest.counter)) {
+		wake_up_var(&i915->selftest.counter);
+		return 0;
+	}
+
+	if (wait_var_event_timeout(&i915->selftest.counter,
+				   !atomic_read(&i915->selftest.counter),
+				   i915_selftest.timeout_jiffies))
+		return 0;
+
+	return -ETIME;
+}
+
+static int __live_parallel_spin(void *arg)
+{
+	struct intel_engine_cs *engine = arg;
+	struct igt_spinner spin;
+	struct i915_request *rq;
+	int err = 0;
+
+	/*
+	 * Create a spinner running for eternity on each engine. If a second
+	 * spinner is incorrectly placed on the same engine, it will not be
+	 * able to start in time.
+	 */
+
+	if (igt_spinner_init(&spin, engine->gt))
+		return -ENOMEM;
+
+	rq = igt_spinner_create_request(&spin,
+					engine->kernel_context,
+					MI_NOOP); /* no preemption */
+	if (IS_ERR(rq)) {
+		err = PTR_ERR(rq);
+		goto out_spin;
+	}
+
+	i915_request_get(rq);
+	i915_request_add(rq);
+	if (igt_wait_for_spinner(&spin, rq)) {
+		/* Occupy this engine for the whole test */
+		err = wait_for_all(engine->i915);
+	} else {
+		pr_err("Failed to start spinner on %s\n", engine->name);
+		err = -EINVAL;
+	}
+	igt_spinner_end(&spin);
+
+	if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
+		err = -EIO;
+	i915_request_put(rq);
+
+out_spin:
+	igt_spinner_fini(&spin);
+	return err;
+}
+
 static int live_parallel_engines(void *arg)
 {
 	struct drm_i915_private *i915 = arg;
 	static int (* const func[])(void *arg) = {
 		__live_parallel_engine1,
 		__live_parallel_engineN,
+		__live_parallel_spin,
 		NULL,
 	};
 	const unsigned int nengines = num_uabi_engines(i915);
@@ -1146,6 +1207,8 @@ static int live_parallel_engines(void *arg)
 		if (err)
 			break;
 
+		atomic_set(&i915->selftest.counter, nengines);
+
 		idx = 0;
 		for_each_uabi_engine(engine, i915) {
 			tsk[idx] = kthread_run(*fn, engine,
-- 
2.24.0.rc2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] drm/i915/selftests: Spin on all engines simultaneously
@ 2019-10-31 22:36     ` Vanshidhar Konda
  0 siblings, 0 replies; 8+ messages in thread
From: Vanshidhar Konda @ 2019-10-31 22:36 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx, Matthew Auld

On Thu, Oct 31, 2019 at 09:23:36PM +0000, Chris Wilson wrote:
>Vanshidhar Konda asked for the simplest test "to verify that the kernel
>can submit and hardware can execute batch buffers on all the command
>streamers in parallel." We have a number of tests in userspace that
>submit load to each engine and verify that it is present, but strictly
>we have no selftest to prove that the kernel can _simultaneously_
>execute on all known engines. (We have tests to demonstrate that we can
>submit to HW in parallel, but we don't insist that they execute in
>parallel.)
>
>Suggested-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
>Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>Cc: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
>Cc: Matthew Auld <matthew.auld@intel.com>
>---
> drivers/gpu/drm/i915/i915_drv.h               |  6 ++
> drivers/gpu/drm/i915/selftests/i915_request.c | 63 +++++++++++++++++++
> 2 files changed, 69 insertions(+)
>
>diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
>index a22d969cb352..0c3ab6020bc6 100644
>--- a/drivers/gpu/drm/i915/i915_drv.h
>+++ b/drivers/gpu/drm/i915/i915_drv.h
>@@ -891,6 +891,10 @@ struct intel_cdclk_state {
> 	u8 voltage_level;
> };
>
>+struct i915_selftest_stash {
>+	atomic_t counter;
>+};
>+
> struct drm_i915_private {
> 	struct drm_device drm;
>
>@@ -1286,6 +1290,8 @@ struct drm_i915_private {
> 	/* Mutex to protect the above hdcp component related values. */
> 	struct mutex hdcp_comp_mutex;
>
>+	I915_SELFTEST_DECLARE(struct i915_selftest_stash selftest;)
>+
> 	/*
> 	 * NOTE: This is the dri1/ums dungeon, don't add stuff here. Your patch
> 	 * will be rejected. Instead look for a better place.
>diff --git a/drivers/gpu/drm/i915/selftests/i915_request.c b/drivers/gpu/drm/i915/selftests/i915_request.c
>index 30ae34f62176..6181b327b4ac 100644
>--- a/drivers/gpu/drm/i915/selftests/i915_request.c
>+++ b/drivers/gpu/drm/i915/selftests/i915_request.c
>@@ -32,6 +32,7 @@
> #include "i915_random.h"
> #include "i915_selftest.h"
> #include "igt_live_test.h"
>+#include "igt_spinner.h"
> #include "lib_sw_fence.h"
>
> #include "mock_drm.h"
>@@ -1115,12 +1116,72 @@ static int __live_parallel_engineN(void *arg)
> 	return 0;
> }
>
>+static int wait_for_all(struct drm_i915_private *i915)
>+{
>+	if (atomic_dec_and_test(&i915->selftest.counter)) {
>+		wake_up_var(&i915->selftest.counter);
>+		return 0;
>+	}
>+
>+	if (wait_var_event_timeout(&i915->selftest.counter,
>+				   !atomic_read(&i915->selftest.counter),
>+				   i915_selftest.timeout_jiffies))
>+		return 0;
>+
>+	return -ETIME;
>+}
>+
>+static int __live_parallel_spin(void *arg)
>+{
>+	struct intel_engine_cs *engine = arg;
>+	struct igt_spinner spin;
>+	struct i915_request *rq;
>+	int err = 0;
>+
>+	/*
>+	 * Create a spinner running for eternity on each engine. If a second
>+	 * spinner is incorrectly placed on the same engine, it will not be
>+	 * able to start in time.
>+	 */
>+
>+	if (igt_spinner_init(&spin, engine->gt))
>+		return -ENOMEM;
>+
>+	rq = igt_spinner_create_request(&spin,
>+					engine->kernel_context,
>+					MI_NOOP); /* no preemption */
>+	if (IS_ERR(rq)) {
>+		err = PTR_ERR(rq);
>+		goto out_spin;
>+	}
>+
>+	i915_request_get(rq);
>+	i915_request_add(rq);
>+	if (igt_wait_for_spinner(&spin, rq)) {
>+		/* Occupy this engine for the whole test */
>+		err = wait_for_all(engine->i915);
>+	} else {
>+		pr_err("Failed to start spinner on %s\n", engine->name);
>+		err = -EINVAL;
>+	}
>+	igt_spinner_end(&spin);
>+
>+	if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
>+		err = -EIO;
>+	i915_request_put(rq);
>+
>+out_spin:
>+	igt_spinner_fini(&spin);
>+	return err;
>+}
>+
> static int live_parallel_engines(void *arg)
> {
> 	struct drm_i915_private *i915 = arg;
> 	static int (* const func[])(void *arg) = {
> 		__live_parallel_engine1,
> 		__live_parallel_engineN,
>+		__live_parallel_spin,
> 		NULL,
> 	};
> 	const unsigned int nengines = num_uabi_engines(i915);
>@@ -1146,6 +1207,8 @@ static int live_parallel_engines(void *arg)
> 		if (err)
> 			break;
>
>+		atomic_set(&i915->selftest.counter, nengines);
>+
> 		idx = 0;
> 		for_each_uabi_engine(engine, i915) {
> 			tsk[idx] = kthread_run(*fn, engine,
>-- 
>2.24.0.rc2
>

Reviewed-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Intel-gfx] [PATCH] drm/i915/selftests: Spin on all engines simultaneously
@ 2019-10-31 22:36     ` Vanshidhar Konda
  0 siblings, 0 replies; 8+ messages in thread
From: Vanshidhar Konda @ 2019-10-31 22:36 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx, Matthew Auld

On Thu, Oct 31, 2019 at 09:23:36PM +0000, Chris Wilson wrote:
>Vanshidhar Konda asked for the simplest test "to verify that the kernel
>can submit and hardware can execute batch buffers on all the command
>streamers in parallel." We have a number of tests in userspace that
>submit load to each engine and verify that it is present, but strictly
>we have no selftest to prove that the kernel can _simultaneously_
>execute on all known engines. (We have tests to demonstrate that we can
>submit to HW in parallel, but we don't insist that they execute in
>parallel.)
>
>Suggested-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
>Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
>Cc: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
>Cc: Matthew Auld <matthew.auld@intel.com>
>---
> drivers/gpu/drm/i915/i915_drv.h               |  6 ++
> drivers/gpu/drm/i915/selftests/i915_request.c | 63 +++++++++++++++++++
> 2 files changed, 69 insertions(+)
>
>diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
>index a22d969cb352..0c3ab6020bc6 100644
>--- a/drivers/gpu/drm/i915/i915_drv.h
>+++ b/drivers/gpu/drm/i915/i915_drv.h
>@@ -891,6 +891,10 @@ struct intel_cdclk_state {
> 	u8 voltage_level;
> };
>
>+struct i915_selftest_stash {
>+	atomic_t counter;
>+};
>+
> struct drm_i915_private {
> 	struct drm_device drm;
>
>@@ -1286,6 +1290,8 @@ struct drm_i915_private {
> 	/* Mutex to protect the above hdcp component related values. */
> 	struct mutex hdcp_comp_mutex;
>
>+	I915_SELFTEST_DECLARE(struct i915_selftest_stash selftest;)
>+
> 	/*
> 	 * NOTE: This is the dri1/ums dungeon, don't add stuff here. Your patch
> 	 * will be rejected. Instead look for a better place.
>diff --git a/drivers/gpu/drm/i915/selftests/i915_request.c b/drivers/gpu/drm/i915/selftests/i915_request.c
>index 30ae34f62176..6181b327b4ac 100644
>--- a/drivers/gpu/drm/i915/selftests/i915_request.c
>+++ b/drivers/gpu/drm/i915/selftests/i915_request.c
>@@ -32,6 +32,7 @@
> #include "i915_random.h"
> #include "i915_selftest.h"
> #include "igt_live_test.h"
>+#include "igt_spinner.h"
> #include "lib_sw_fence.h"
>
> #include "mock_drm.h"
>@@ -1115,12 +1116,72 @@ static int __live_parallel_engineN(void *arg)
> 	return 0;
> }
>
>+static int wait_for_all(struct drm_i915_private *i915)
>+{
>+	if (atomic_dec_and_test(&i915->selftest.counter)) {
>+		wake_up_var(&i915->selftest.counter);
>+		return 0;
>+	}
>+
>+	if (wait_var_event_timeout(&i915->selftest.counter,
>+				   !atomic_read(&i915->selftest.counter),
>+				   i915_selftest.timeout_jiffies))
>+		return 0;
>+
>+	return -ETIME;
>+}
>+
>+static int __live_parallel_spin(void *arg)
>+{
>+	struct intel_engine_cs *engine = arg;
>+	struct igt_spinner spin;
>+	struct i915_request *rq;
>+	int err = 0;
>+
>+	/*
>+	 * Create a spinner running for eternity on each engine. If a second
>+	 * spinner is incorrectly placed on the same engine, it will not be
>+	 * able to start in time.
>+	 */
>+
>+	if (igt_spinner_init(&spin, engine->gt))
>+		return -ENOMEM;
>+
>+	rq = igt_spinner_create_request(&spin,
>+					engine->kernel_context,
>+					MI_NOOP); /* no preemption */
>+	if (IS_ERR(rq)) {
>+		err = PTR_ERR(rq);
>+		goto out_spin;
>+	}
>+
>+	i915_request_get(rq);
>+	i915_request_add(rq);
>+	if (igt_wait_for_spinner(&spin, rq)) {
>+		/* Occupy this engine for the whole test */
>+		err = wait_for_all(engine->i915);
>+	} else {
>+		pr_err("Failed to start spinner on %s\n", engine->name);
>+		err = -EINVAL;
>+	}
>+	igt_spinner_end(&spin);
>+
>+	if (err == 0 && i915_request_wait(rq, 0, HZ / 5) < 0)
>+		err = -EIO;
>+	i915_request_put(rq);
>+
>+out_spin:
>+	igt_spinner_fini(&spin);
>+	return err;
>+}
>+
> static int live_parallel_engines(void *arg)
> {
> 	struct drm_i915_private *i915 = arg;
> 	static int (* const func[])(void *arg) = {
> 		__live_parallel_engine1,
> 		__live_parallel_engineN,
>+		__live_parallel_spin,
> 		NULL,
> 	};
> 	const unsigned int nengines = num_uabi_engines(i915);
>@@ -1146,6 +1207,8 @@ static int live_parallel_engines(void *arg)
> 		if (err)
> 			break;
>
>+		atomic_set(&i915->selftest.counter, nengines);
>+
> 		idx = 0;
> 		for_each_uabi_engine(engine, i915) {
> 			tsk[idx] = kthread_run(*fn, engine,
>-- 
>2.24.0.rc2
>

Reviewed-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915/selftests: Spin on all engines simultaneously (rev2)
@ 2019-10-31 23:10   ` Patchwork
  0 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2019-10-31 23:10 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/selftests: Spin on all engines simultaneously (rev2)
URL   : https://patchwork.freedesktop.org/series/68836/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7234 -> Patchwork_15094
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_15094 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_15094, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/index.html

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_15094:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_selftest@live_requests:
    - fi-byt-n2820:       [PASS][1] -> [DMESG-FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-byt-n2820/igt@i915_selftest@live_requests.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-byt-n2820/igt@i915_selftest@live_requests.html
    - fi-ivb-3770:        [PASS][3] -> [DMESG-FAIL][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-ivb-3770/igt@i915_selftest@live_requests.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-ivb-3770/igt@i915_selftest@live_requests.html
    - fi-hsw-4770:        [PASS][5] -> [DMESG-FAIL][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-hsw-4770/igt@i915_selftest@live_requests.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-hsw-4770/igt@i915_selftest@live_requests.html
    - fi-elk-e7500:       [PASS][7] -> [DMESG-FAIL][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-elk-e7500/igt@i915_selftest@live_requests.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-elk-e7500/igt@i915_selftest@live_requests.html
    - fi-ilk-650:         [PASS][9] -> [DMESG-FAIL][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-ilk-650/igt@i915_selftest@live_requests.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-ilk-650/igt@i915_selftest@live_requests.html
    - fi-snb-2520m:       [PASS][11] -> [DMESG-FAIL][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-snb-2520m/igt@i915_selftest@live_requests.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-snb-2520m/igt@i915_selftest@live_requests.html
    - fi-snb-2600:        [PASS][13] -> [DMESG-FAIL][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-snb-2600/igt@i915_selftest@live_requests.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-snb-2600/igt@i915_selftest@live_requests.html

  
Known issues
------------

  Here are the changes found in Patchwork_15094 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_ctx_param@basic:
    - fi-bxt-dsi:         [PASS][15] -> [INCOMPLETE][16] ([fdo#103927])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-bxt-dsi/igt@gem_ctx_param@basic.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-bxt-dsi/igt@gem_ctx_param@basic.html

  * igt@gem_exec_reloc@basic-write-read-noreloc:
    - fi-icl-u3:          [PASS][17] -> [DMESG-WARN][18] ([fdo#107724]) +1 similar issue
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-icl-u3/igt@gem_exec_reloc@basic-write-read-noreloc.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-icl-u3/igt@gem_exec_reloc@basic-write-read-noreloc.html

  * igt@i915_selftest@live_requests:
    - fi-byt-j1900:       [PASS][19] -> [INCOMPLETE][20] ([fdo#102657])
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-byt-j1900/igt@i915_selftest@live_requests.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-byt-j1900/igt@i915_selftest@live_requests.html

  * igt@kms_chamelium@dp-crc-fast:
    - fi-kbl-7500u:       [PASS][21] -> [FAIL][22] ([fdo#109483] / [fdo#109635 ])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html

  
#### Possible fixes ####

  * igt@gem_busy@busy-all:
    - fi-icl-u3:          [DMESG-WARN][23] ([fdo#107724]) -> [PASS][24]
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-icl-u3/igt@gem_busy@busy-all.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-icl-u3/igt@gem_busy@busy-all.html

  * igt@gem_flink_basic@basic:
    - fi-icl-u3:          [DMESG-WARN][25] ([fdo#107724] / [fdo#112052 ]) -> [PASS][26]
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-icl-u3/igt@gem_flink_basic@basic.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-icl-u3/igt@gem_flink_basic@basic.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#102657]: https://bugs.freedesktop.org/show_bug.cgi?id=102657
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
  [fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
  [fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635 
  [fdo#111880]: https://bugs.freedesktop.org/show_bug.cgi?id=111880
  [fdo#112052 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112052 


Participating hosts (52 -> 43)
------------------------------

  Missing    (9): fi-ilk-m540 fi-bdw-5557u fi-hsw-4200u fi-hsw-peppy fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_7234 -> Patchwork_15094

  CI-20190529: 20190529
  CI_DRM_7234: 4163f8c46b6ef75ea32737f08aa3f5fd429a4462 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5255: b21b6a7aaa0db2159f22ee4427804e5a16fe2261 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_15094: 42c6781f2464d93e6c7d67af80efcddf24cffc7d @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

42c6781f2464 drm/i915/selftests: Spin on all engines simultaneously

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/index.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/selftests: Spin on all engines simultaneously (rev2)
@ 2019-10-31 23:10   ` Patchwork
  0 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2019-10-31 23:10 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/selftests: Spin on all engines simultaneously (rev2)
URL   : https://patchwork.freedesktop.org/series/68836/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7234 -> Patchwork_15094
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_15094 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_15094, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/index.html

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_15094:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_selftest@live_requests:
    - fi-byt-n2820:       [PASS][1] -> [DMESG-FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-byt-n2820/igt@i915_selftest@live_requests.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-byt-n2820/igt@i915_selftest@live_requests.html
    - fi-ivb-3770:        [PASS][3] -> [DMESG-FAIL][4]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-ivb-3770/igt@i915_selftest@live_requests.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-ivb-3770/igt@i915_selftest@live_requests.html
    - fi-hsw-4770:        [PASS][5] -> [DMESG-FAIL][6]
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-hsw-4770/igt@i915_selftest@live_requests.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-hsw-4770/igt@i915_selftest@live_requests.html
    - fi-elk-e7500:       [PASS][7] -> [DMESG-FAIL][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-elk-e7500/igt@i915_selftest@live_requests.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-elk-e7500/igt@i915_selftest@live_requests.html
    - fi-ilk-650:         [PASS][9] -> [DMESG-FAIL][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-ilk-650/igt@i915_selftest@live_requests.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-ilk-650/igt@i915_selftest@live_requests.html
    - fi-snb-2520m:       [PASS][11] -> [DMESG-FAIL][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-snb-2520m/igt@i915_selftest@live_requests.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-snb-2520m/igt@i915_selftest@live_requests.html
    - fi-snb-2600:        [PASS][13] -> [DMESG-FAIL][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-snb-2600/igt@i915_selftest@live_requests.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-snb-2600/igt@i915_selftest@live_requests.html

  
Known issues
------------

  Here are the changes found in Patchwork_15094 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_ctx_param@basic:
    - fi-bxt-dsi:         [PASS][15] -> [INCOMPLETE][16] ([fdo#103927])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-bxt-dsi/igt@gem_ctx_param@basic.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-bxt-dsi/igt@gem_ctx_param@basic.html

  * igt@gem_exec_reloc@basic-write-read-noreloc:
    - fi-icl-u3:          [PASS][17] -> [DMESG-WARN][18] ([fdo#107724]) +1 similar issue
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-icl-u3/igt@gem_exec_reloc@basic-write-read-noreloc.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-icl-u3/igt@gem_exec_reloc@basic-write-read-noreloc.html

  * igt@i915_selftest@live_requests:
    - fi-byt-j1900:       [PASS][19] -> [INCOMPLETE][20] ([fdo#102657])
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-byt-j1900/igt@i915_selftest@live_requests.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-byt-j1900/igt@i915_selftest@live_requests.html

  * igt@kms_chamelium@dp-crc-fast:
    - fi-kbl-7500u:       [PASS][21] -> [FAIL][22] ([fdo#109483] / [fdo#109635 ])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html

  
#### Possible fixes ####

  * igt@gem_busy@busy-all:
    - fi-icl-u3:          [DMESG-WARN][23] ([fdo#107724]) -> [PASS][24]
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-icl-u3/igt@gem_busy@busy-all.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-icl-u3/igt@gem_busy@busy-all.html

  * igt@gem_flink_basic@basic:
    - fi-icl-u3:          [DMESG-WARN][25] ([fdo#107724] / [fdo#112052 ]) -> [PASS][26]
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7234/fi-icl-u3/igt@gem_flink_basic@basic.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/fi-icl-u3/igt@gem_flink_basic@basic.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#102657]: https://bugs.freedesktop.org/show_bug.cgi?id=102657
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
  [fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
  [fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635 
  [fdo#111880]: https://bugs.freedesktop.org/show_bug.cgi?id=111880
  [fdo#112052 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112052 


Participating hosts (52 -> 43)
------------------------------

  Missing    (9): fi-ilk-m540 fi-bdw-5557u fi-hsw-4200u fi-hsw-peppy fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * Linux: CI_DRM_7234 -> Patchwork_15094

  CI-20190529: 20190529
  CI_DRM_7234: 4163f8c46b6ef75ea32737f08aa3f5fd429a4462 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5255: b21b6a7aaa0db2159f22ee4427804e5a16fe2261 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_15094: 42c6781f2464d93e6c7d67af80efcddf24cffc7d @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

42c6781f2464 drm/i915/selftests: Spin on all engines simultaneously

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15094/index.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-31 23:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 21:17 [PATCH] drm/i915/selftests: Spin on all engines simultaneously Chris Wilson
2019-10-31 21:17 ` [Intel-gfx] " Chris Wilson
2019-10-31 21:23 ` Chris Wilson
2019-10-31 21:23   ` [Intel-gfx] " Chris Wilson
2019-10-31 22:36   ` Vanshidhar Konda
2019-10-31 22:36     ` [Intel-gfx] " Vanshidhar Konda
2019-10-31 23:10 ` ✗ Fi.CI.BAT: failure for drm/i915/selftests: Spin on all engines simultaneously (rev2) Patchwork
2019-10-31 23:10   ` [Intel-gfx] " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.