public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/7] drm/i915: Missed interrupt simulation is no more, tell the world
@ 2018-09-06  7:51 Chris Wilson
  2018-09-06  7:51 ` [PATCH 2/7] drm/i915/execlists: Reset CSB pointers on canceling requests (wedging) Chris Wilson
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Chris Wilson @ 2018-09-06  7:51 UTC (permalink / raw)
  To: intel-gfx

Using the guc, we cannot disable the user interrupt generation as we use
it for driving submission. And from Icelake, we no longer have the
ability to individually mask interrupt generation from each engine,
disabling our ability to fake missed interrupts.

In both cases, report back to userspace that the missed interrupt
generator is no longer available.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
---
 drivers/gpu/drm/i915/i915_debugfs.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 1f7051e97afb..b4744a68cd88 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -4117,6 +4117,17 @@ i915_ring_test_irq_set(void *data, u64 val)
 {
 	struct drm_i915_private *i915 = data;
 
+	/* GuC keeps the user interrupt permanently enabled for submission */
+	if (USES_GUC_SUBMISSION(i915))
+		return -ENODEV;
+
+	/*
+	 * From icl, we can no longer individually mask interrupt generation
+	 * from each engine.
+	 */
+	if (INTEL_GEN(i915) >= 11)
+		return -ENODEV;
+
 	val &= INTEL_INFO(i915)->ring_mask;
 	DRM_DEBUG_DRIVER("Masking interrupts on rings 0x%08llx\n", val);
 
-- 
2.19.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] 10+ messages in thread

end of thread, other threads:[~2018-09-06  8:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-06  7:51 [PATCH 1/7] drm/i915: Missed interrupt simulation is no more, tell the world Chris Wilson
2018-09-06  7:51 ` [PATCH 2/7] drm/i915/execlists: Reset CSB pointers on canceling requests (wedging) Chris Wilson
2018-09-06  7:51 ` [PATCH 3/7] drm/i915/execlists: Avoid kicking priority on the current context Chris Wilson
2018-09-06  7:51 ` [PATCH 4/7] drm/i915/selftests: Basic stress test for rapid context switching Chris Wilson
2018-09-06  7:51 ` [PATCH 5/7] drm/i915/execlists: Delay updating ring register state after resume Chris Wilson
2018-09-06  7:52 ` [PATCH 6/7] drm/i915/execlists: Use coherent writes into the context image Chris Wilson
2018-09-06  7:52 ` [PATCH 7/7] drm/i915/execlists: Onion unwind for logical_ring_init() failure Chris Wilson
2018-09-06  8:32 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/7] drm/i915: Missed interrupt simulation is no more, tell the world Patchwork
2018-09-06  8:34 ` ✗ Fi.CI.SPARSE: " Patchwork
2018-09-06  8:50 ` ✗ Fi.CI.BAT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox