All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Don't set fence errors on non-guilty requests
@ 2017-07-20 20:14 Daniel Vetter
  2017-07-20 20:24 ` Daniel Vetter
  2017-07-20 20:30 ` ✓ Fi.CI.BAT: success for drm/i915: Don't set fence errors on non-guilty requests (rev2) Patchwork
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Vetter @ 2017-07-20 20:14 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter, Mika Kuoppala, Daniel Vetter

... at least not in that place, because this can also fire for
requests which have completed. Which then hits the assert in
dma_fence_set_error.

Since I'm not really clear what should be done here I pinged Chris,
and he suggested we simply remove this for now.

Found while stress-testing gpu reset using kms_busy, with about 0-3
hits of it per complete run on my snb here.

Testcase: igt/kms_busy.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 drivers/gpu/drm/i915/i915_gem.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 1a8842f143fc..1c7453e2cc45 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2955,7 +2955,6 @@ static bool i915_gem_reset_request(struct drm_i915_gem_request *request)
 		skip_request(request);
 	} else {
 		i915_gem_context_mark_innocent(request->ctx);
-		dma_fence_set_error(&request->fence, -EAGAIN);
 	}
 
 	return guilty;
-- 
2.13.2

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] drm/i915: Don't set fence errors on non-guilty requests
@ 2017-07-20 17:59 Daniel Vetter
  2017-07-20 18:25 ` Chris Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Vetter @ 2017-07-20 17:59 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter, Mika Kuoppala, Daniel Vetter

... at least not in that place, because this can also fire for
requests which have completed. Which then hits the assert in
dma_fence_set_error.

Since I'm not really clear what should be done here I pinged Chris,
and he suggested we simply remove this for now.

Found while stress-testing gpu reset using kms_busy, with about 0-3
hits of it per complete run on my snb here.

Testcase: igt/kms_busy.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 drivers/gpu/drm/i915/i915_gem.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 1a8842f143fc..1c7453e2cc45 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -2955,7 +2955,6 @@ static bool i915_gem_reset_request(struct drm_i915_gem_request *request)
 		skip_request(request);
 	} else {
 		i915_gem_context_mark_innocent(request->ctx);
-		dma_fence_set_error(&request->fence, -EAGAIN);
 	}
 
 	return guilty;
-- 
2.13.2

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

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

end of thread, other threads:[~2017-07-20 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-20 20:14 [PATCH] drm/i915: Don't set fence errors on non-guilty requests Daniel Vetter
2017-07-20 20:24 ` Daniel Vetter
2017-07-20 20:30 ` ✓ Fi.CI.BAT: success for drm/i915: Don't set fence errors on non-guilty requests (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2017-07-20 17:59 [PATCH] drm/i915: Don't set fence errors on non-guilty requests Daniel Vetter
2017-07-20 18:25 ` Chris Wilson

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.