Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-19 Thread Ian Romanick
On 07/18/2012 09:55 AM, Daniel Vetter wrote: On Wed, Jul 18, 2012 at 09:23:46AM -0700, Ian Romanick wrote: On 07/18/2012 02:20 AM, Daniel Vetter wrote: - The "all contexts in a share group need to receive a reset notification" wording is irking me a bit because we currently only track all th

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-18 Thread Ben Widawsky
On Wed, 18 Jul 2012 18:55:08 +0200 Daniel Vetter wrote: > On Wed, Jul 18, 2012 at 09:23:46AM -0700, Ian Romanick wrote: > > On 07/18/2012 02:20 AM, Daniel Vetter wrote: > > >- The "all contexts in a share group need to receive a reset notification" > > > wording is irking me a bit because we cu

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-18 Thread Daniel Vetter
On Wed, Jul 18, 2012 at 09:23:46AM -0700, Ian Romanick wrote: > On 07/18/2012 02:20 AM, Daniel Vetter wrote: > >- The "all contexts in a share group need to receive a reset notification" > > wording is irking me a bit because we currently only track all the > > actively used things. So if anoth

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-18 Thread Daniel Vetter
On Wed, Jul 18, 2012 at 6:36 PM, Adam Jackson wrote: > On Wed, 2012-07-18 at 09:23 -0700, Ian Romanick wrote: >> On 07/18/2012 02:20 AM, Daniel Vetter wrote: >> > A few things: >> > - I agree with Chris that reset_in_progress should go, if userspace can >> >sneak in and witness a reset event,

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-18 Thread Adam Jackson
On Wed, 2012-07-18 at 09:23 -0700, Ian Romanick wrote: > On 07/18/2012 02:20 AM, Daniel Vetter wrote: > > A few things: > > - I agree with Chris that reset_in_progress should go, if userspace can > >sneak in and witness a reset event, we have a bug in the kernel. Since > >very recently, we

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-18 Thread Ian Romanick
On 07/18/2012 02:20 AM, Daniel Vetter wrote: On Tue, Jul 17, 2012 at 03:16:19PM -0700, Ian Romanick wrote: I'm getting ready to implement the reset notification part of GL_ARB_robustness in the i965 driver. There are a bunch of quirky bits of the extension that are causing some grief in designi

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-18 Thread Daniel Vetter
On Tue, Jul 17, 2012 at 03:16:19PM -0700, Ian Romanick wrote: > I'm getting ready to implement the reset notification part of > GL_ARB_robustness in the i965 driver. There are a bunch of quirky > bits of the extension that are causing some grief in designing the > kernel / user interface. I think

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-18 Thread Chris Wilson
On Tue, 17 Jul 2012 15:16:19 -0700, Ian Romanick wrote: > I'm getting ready to implement the reset notification part of > GL_ARB_robustness in the i965 driver. There are a bunch of quirky bits > of the extension that are causing some grief in designing the kernel / > user interface. I think I

Re: [Intel-gfx] [RFC] GPU reset notification interface

2012-07-17 Thread Ian Romanick
On 07/17/2012 03:16 PM, Ian Romanick wrote: I'm getting ready to implement the reset notification part of GL_ARB_robustness in the i965 driver. There are a bunch of quirky bits of the extension that are causing some grief in designing the kernel / user interface. I think I've settled on an inte

[Intel-gfx] [RFC] GPU reset notification interface

2012-07-17 Thread Ian Romanick
I'm getting ready to implement the reset notification part of GL_ARB_robustness in the i965 driver. There are a bunch of quirky bits of the extension that are causing some grief in designing the kernel / user interface. I think I've settled on an interface that should meet all of the requirem