All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915/selftests: Make the kernel_context pulse explicit
@ 2020-02-24 16:10 Chris Wilson
  2020-02-24 20:37 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Wilson @ 2020-02-24 16:10 UTC (permalink / raw)
  To: intel-gfx

As we disable the heartbeat, and prevent the engine parking, the switch
to kernel context is not automatic. Make it an explicit switch instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/selftest_lrc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/gt/selftest_lrc.c b/drivers/gpu/drm/i915/gt/selftest_lrc.c
index febd608c23a7..35a7b37b1abc 100644
--- a/drivers/gpu/drm/i915/gt/selftest_lrc.c
+++ b/drivers/gpu/drm/i915/gt/selftest_lrc.c
@@ -4644,6 +4644,10 @@ static int __lrc_timestamp(const struct lrc_timestamp *arg, bool preempt)
 	}
 
 	/* and wait for switch to kernel */
+	err = intel_engine_pulse(arg->engine);
+	if (err)
+		goto err;
+
 	if (igt_flush_test(arg->engine->i915)) {
 		err = -EIO;
 		goto err;
-- 
2.25.1

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

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

end of thread, other threads:[~2020-02-24 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 16:10 [Intel-gfx] [PATCH] drm/i915/selftests: Make the kernel_context pulse explicit Chris Wilson
2020-02-24 20:37 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " 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.