Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/16] arb robustness enablers v3
@ 2013-04-04 15:32 Mika Kuoppala
  2013-04-04 15:32 ` [PATCH v3 01/16] drm/i915: return context from i915_switch_context() Mika Kuoppala
                   ` (16 more replies)
  0 siblings, 17 replies; 30+ messages in thread
From: Mika Kuoppala @ 2013-04-04 15:32 UTC (permalink / raw)
  To: intel-gfx

Hi,

I have addressed all the feedback I got from v2 series.

Most notably the interface has changed.

Now those users who don't care about the exact counts can use batch_pending
and batch_active like they would be flags (see i-g-t testcase),
assuming they destroy the context after hang is dealt with.
For those users who want more detailed heuristics before deciding some action,
they can use batch_pending and batch_active as counts.

Non process context related statistics are only available
if CAP_SYS_ADMIN is hold.

Whole series can be found in:
https://github.com/mkuoppal/linux/commits/arb-robustness

Test case for i-g-t is in:
https://github.com/mkuoppal/intel-gpu-tools/commits/arb-robustness

Thanks for your feedback,
-Mika

Mika Kuoppala (16):
  drm/i915: return context from i915_switch_context()
  drm/i915: cleanup i915_add_request
  drm/i915: reference count for i915_hw_contexts
  drm/i915: pass seqno to i915_hangcheck_ring_idle
  drm/i915: track ring progression using seqnos
  drm/i915: introduce i915_hangcheck_ring_hung
  drm/i915: detect hang using per ring hangcheck_score
  drm/i915: remove i915_hangcheck_hung
  drm/i915: add struct i915_ctx_hang_stats
  drm/i915: add i915_gem_context_get_hang_stats()
  drm/i915: add batch object and context to i915_add_request()
  drm/i915: mark rings which were waiting when hang happened
  drm/i915: find guilty batch buffer on ring resets
  drm/i915: refuse to submit more batchbuffers from guilty context
  drm/i915: add i915_reset_count
  drm/i915: add i915_get_reset_stats_ioctl

 drivers/gpu/drm/i915/i915_dma.c            |    3 +-
 drivers/gpu/drm/i915/i915_drv.c            |   60 +++++++++++-
 drivers/gpu/drm/i915/i915_drv.h            |   73 +++++++++++---
 drivers/gpu/drm/i915/i915_gem.c            |  141 ++++++++++++++++++++++++----
 drivers/gpu/drm/i915/i915_gem_context.c    |   79 ++++++++++++----
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   28 +++++-
 drivers/gpu/drm/i915/i915_irq.c            |  113 ++++++++++------------
 drivers/gpu/drm/i915/intel_overlay.c       |    4 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c    |    2 +-
 drivers/gpu/drm/i915/intel_ringbuffer.h    |    8 ++
 include/uapi/drm/i915_drm.h                |   17 ++++
 11 files changed, 410 insertions(+), 118 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2013-04-24 23:27 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 15:32 [PATCH v3 00/16] arb robustness enablers v3 Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 01/16] drm/i915: return context from i915_switch_context() Mika Kuoppala
2013-04-20 18:10   ` Ben Widawsky
2013-04-04 15:32 ` [PATCH v3 02/16] drm/i915: cleanup i915_add_request Mika Kuoppala
2013-04-20 18:36   ` Ben Widawsky
2013-04-04 15:32 ` [PATCH v3 03/16] drm/i915: reference count for i915_hw_contexts Mika Kuoppala
2013-04-09 22:18   ` Chris Wilson
2013-04-10  0:12     ` [PATCH] " Ben Widawsky
2013-04-20 18:11       ` Ben Widawsky
2013-04-04 15:32 ` [PATCH v3 04/16] drm/i915: pass seqno to i915_hangcheck_ring_idle Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 05/16] drm/i915: track ring progression using seqnos Mika Kuoppala
2013-04-20 18:43   ` Ben Widawsky
2013-04-21 21:07     ` Ben Widawsky
2013-04-22 13:36       ` Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 06/16] drm/i915: introduce i915_hangcheck_ring_hung Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 07/16] drm/i915: detect hang using per ring hangcheck_score Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 08/16] drm/i915: remove i915_hangcheck_hung Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 09/16] drm/i915: add struct i915_ctx_hang_stats Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 10/16] drm/i915: add i915_gem_context_get_hang_stats() Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 11/16] drm/i915: add batch object and context to i915_add_request() Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 12/16] drm/i915: mark rings which were waiting when hang happened Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 13/16] drm/i915: find guilty batch buffer on ring resets Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 14/16] drm/i915: refuse to submit more batchbuffers from guilty context Mika Kuoppala
2013-04-11 15:13   ` Mika Kuoppala
2013-04-16 11:32   ` [PATCH " Mika Kuoppala
2013-04-16 13:59     ` Chris Wilson
2013-04-17 10:11       ` [PATCH v3 " Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 15/16] drm/i915: add i915_reset_count Mika Kuoppala
2013-04-04 15:32 ` [PATCH v3 16/16] drm/i915: add i915_get_reset_stats_ioctl Mika Kuoppala
2013-04-24 23:27 ` [PATCH v3 00/16] arb robustness enablers v3 Ben Widawsky

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