Re: [Intel-gfx] [PATCH 1/7] drm/i915: add struct i915_ctx_hang_stats

2013-06-13 Thread Daniel Vetter
On Thu, Jun 13, 2013 at 11:53:13AM +0200, Daniel Vetter wrote: > On Wed, Jun 12, 2013 at 11:44:51PM +0100, Chris Wilson wrote: > > On Wed, Jun 12, 2013 at 02:13:26PM -0700, Ben Widawsky wrote: > > > On Wed, Jun 12, 2013 at 12:35:28PM +0300, Mika Kuoppala wrote: > > > > To count context losses, add

Re: [Intel-gfx] [PATCH 1/7] drm/i915: add struct i915_ctx_hang_stats

2013-06-13 Thread Daniel Vetter
On Wed, Jun 12, 2013 at 11:44:51PM +0100, Chris Wilson wrote: > On Wed, Jun 12, 2013 at 02:13:26PM -0700, Ben Widawsky wrote: > > On Wed, Jun 12, 2013 at 12:35:28PM +0300, Mika Kuoppala wrote: > > > To count context losses, add struct i915_ctx_hang_stats for > > > both i915_hw_context and drm_i915_

Re: [Intel-gfx] [PATCH 1/7] drm/i915: add struct i915_ctx_hang_stats

2013-06-12 Thread Chris Wilson
On Wed, Jun 12, 2013 at 02:13:26PM -0700, Ben Widawsky wrote: > On Wed, Jun 12, 2013 at 12:35:28PM +0300, Mika Kuoppala wrote: > > To count context losses, add struct i915_ctx_hang_stats for > > both i915_hw_context and drm_i915_file_private. > > drm_i915_file_private is used when there is no conte

Re: [Intel-gfx] [PATCH 1/7] drm/i915: add struct i915_ctx_hang_stats

2013-06-12 Thread Ben Widawsky
On Wed, Jun 12, 2013 at 12:35:28PM +0300, Mika Kuoppala wrote: > To count context losses, add struct i915_ctx_hang_stats for > both i915_hw_context and drm_i915_file_private. > drm_i915_file_private is used when there is no context. > > v2: renamed and cleaned up the struct (Chris Wilson, Ian Roma

Re: [Intel-gfx] [PATCH 1/7] drm/i915: add struct i915_ctx_hang_stats

2013-06-12 Thread Chris Wilson
On Wed, Jun 12, 2013 at 12:35:28PM +0300, Mika Kuoppala wrote: > To count context losses, add struct i915_ctx_hang_stats for > both i915_hw_context and drm_i915_file_private. > drm_i915_file_private is used when there is no context. > > v2: renamed and cleaned up the struct (Chris Wilson, Ian Roma

[Intel-gfx] [PATCH 1/7] drm/i915: add struct i915_ctx_hang_stats

2013-06-12 Thread Mika Kuoppala
To count context losses, add struct i915_ctx_hang_stats for both i915_hw_context and drm_i915_file_private. drm_i915_file_private is used when there is no context. v2: renamed and cleaned up the struct (Chris Wilson, Ian Romanick) Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/i915_dma.c