Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-28 Thread Ian Romanick
On 02/28/2013 03:14 AM, Chris Wilson wrote: On Wed, Feb 27, 2013 at 05:15:08PM -0800, Ian Romanick wrote: On 02/27/2013 01:13 AM, Chris Wilson wrote: On Tue, Feb 26, 2013 at 05:47:12PM -0800, Ian Romanick wrote: On 02/26/2013 03:05 AM, Mika Kuoppala wrote: For arb-robustness, every context ne

Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-28 Thread Chris Wilson
On Wed, Feb 27, 2013 at 05:15:08PM -0800, Ian Romanick wrote: > On 02/27/2013 01:13 AM, Chris Wilson wrote: > >On Tue, Feb 26, 2013 at 05:47:12PM -0800, Ian Romanick wrote: > >>On 02/26/2013 03:05 AM, Mika Kuoppala wrote: > >>>For arb-robustness, every context needs to have it's own > >>>reset stat

Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-27 Thread Ian Romanick
On 02/27/2013 01:13 AM, Chris Wilson wrote: On Tue, Feb 26, 2013 at 05:47:12PM -0800, Ian Romanick wrote: On 02/26/2013 03:05 AM, Mika Kuoppala wrote: For arb-robustness, every context needs to have it's own reset state tracking. Default context will be handled in a identical way as the no-cont

Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-27 Thread Jesse Barnes
On Tue, 26 Feb 2013 17:47:12 -0800 Ian Romanick wrote: > On 02/26/2013 03:05 AM, Mika Kuoppala wrote: > > For arb-robustness, every context needs to have it's own > > reset state tracking. Default context will be handled in a identical > > way as the no-context case in further down in the patch s

Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-27 Thread Mika Kuoppala
Ian Romanick writes: > On 02/26/2013 03:05 AM, Mika Kuoppala wrote: >> For arb-robustness, every context needs to have it's own >> reset state tracking. Default context will be handled in a identical >> way as the no-context case in further down in the patch set. >> For no-context case, the reset

Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-27 Thread Chris Wilson
On Tue, Feb 26, 2013 at 05:47:12PM -0800, Ian Romanick wrote: > On 02/26/2013 03:05 AM, Mika Kuoppala wrote: > >For arb-robustness, every context needs to have it's own > >reset state tracking. Default context will be handled in a identical > >way as the no-context case in further down in the patch

Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-26 Thread Ian Romanick
On 02/26/2013 05:47 PM, Ian Romanick wrote: On 02/26/2013 03:05 AM, Mika Kuoppala wrote: For arb-robustness, every context needs to have it's own reset state tracking. Default context will be handled in a identical way as the no-context case in further down in the patch set. For no-context case,

Re: [Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-26 Thread Ian Romanick
On 02/26/2013 03:05 AM, Mika Kuoppala wrote: For arb-robustness, every context needs to have it's own reset state tracking. Default context will be handled in a identical way as the no-context case in further down in the patch set. For no-context case, the reset state will be stored in the file_p

[Intel-gfx] [PATCH 09/13] drm/i915: add reset_state for hw_contexts

2013-02-26 Thread Mika Kuoppala
For arb-robustness, every context needs to have it's own reset state tracking. Default context will be handled in a identical way as the no-context case in further down in the patch set. For no-context case, the reset state will be stored in the file_priv part. v2: handle default context inside ge