Re: [Intel-gfx] [PATCH] drm/i915: Suppress spurious EIO when moving away from the GPU domain

2013-05-24 Thread Chris Wilson
On Fri, May 24, 2013 at 11:03:06AM +0200, Daniel Vetter wrote: > On Wed, May 1, 2013 at 6:23 PM, Daniel Vetter wrote: > > The atomic_set(WEDGED) is imo very dangerous, since it'll wreak havoc > > with our accounting. But in general I really prefer an angry user with > > a stuck-process backtrace t

Re: [Intel-gfx] [PATCH] drm/i915: Suppress spurious EIO when moving away from the GPU domain

2013-05-24 Thread Daniel Vetter
On Wed, May 1, 2013 at 6:23 PM, Daniel Vetter wrote: > On Wed, May 1, 2013 at 3:01 PM, Chris Wilson wrote: >> On Wed, May 01, 2013 at 02:40:43PM +0200, Daniel Vetter wrote: >>> On Wed, May 1, 2013 at 1:06 PM, Chris Wilson >>> wrote: >>> > On Wed, May 01, 2013 at 12:38:27PM +0200, Daniel Vetter

Re: [Intel-gfx] [PATCH] drm/i915: Suppress spurious EIO when moving away from the GPU domain

2013-05-01 Thread Daniel Vetter
On Wed, May 1, 2013 at 3:01 PM, Chris Wilson wrote: > On Wed, May 01, 2013 at 02:40:43PM +0200, Daniel Vetter wrote: >> On Wed, May 1, 2013 at 1:06 PM, Chris Wilson >> wrote: >> > On Wed, May 01, 2013 at 12:38:27PM +0200, Daniel Vetter wrote: >> >> On Wed, May 1, 2013 at 12:25 PM, Chris Wilson

Re: [Intel-gfx] [PATCH] drm/i915: Suppress spurious EIO when moving away from the GPU domain

2013-05-01 Thread Chris Wilson
On Wed, May 01, 2013 at 02:40:43PM +0200, Daniel Vetter wrote: > On Wed, May 1, 2013 at 1:06 PM, Chris Wilson wrote: > > On Wed, May 01, 2013 at 12:38:27PM +0200, Daniel Vetter wrote: > >> On Wed, May 1, 2013 at 12:25 PM, Chris Wilson > >> wrote: > >> > If reset fails, the GPU is declared wedged

Re: [Intel-gfx] [PATCH] drm/i915: Suppress spurious EIO when moving away from the GPU domain

2013-05-01 Thread Daniel Vetter
On Wed, May 1, 2013 at 1:06 PM, Chris Wilson wrote: > On Wed, May 01, 2013 at 12:38:27PM +0200, Daniel Vetter wrote: >> On Wed, May 1, 2013 at 12:25 PM, Chris Wilson >> wrote: >> > If reset fails, the GPU is declared wedged. This ideally should never >> > happen, but very rarely it does. After t

Re: [Intel-gfx] [PATCH] drm/i915: Suppress spurious EIO when moving away from the GPU domain

2013-05-01 Thread Chris Wilson
On Wed, May 01, 2013 at 12:38:27PM +0200, Daniel Vetter wrote: > On Wed, May 1, 2013 at 12:25 PM, Chris Wilson > wrote: > > If reset fails, the GPU is declared wedged. This ideally should never > > happen, but very rarely it does. After the GPU is declared wedged, we > > must allow userspace to c

Re: [Intel-gfx] [PATCH] drm/i915: Suppress spurious EIO when moving away from the GPU domain

2013-05-01 Thread Daniel Vetter
On Wed, May 1, 2013 at 12:25 PM, Chris Wilson wrote: > If reset fails, the GPU is declared wedged. This ideally should never > happen, but very rarely it does. After the GPU is declared wedged, we > must allow userspace to continue to use its mapping of bo in order to > recover its data (and in so