Re: [Intel-gfx] [PATCH 02/18] drm/i915: preliminary context support

2012-03-29 Thread Daniel Vetter
On Wed, Mar 28, 2012 at 03:59:17PM -0700, Ben Widawsky wrote: > On Thu, 29 Mar 2012 00:43:00 +0200 > Daniel Vetter wrote: > > > On Sun, Mar 18, 2012 at 01:39:42PM -0700, Ben Widawsky wrote: > > > Very basic code for context setup/destruction in the driver. > > > > > > There are 4 entry points in

Re: [Intel-gfx] [PATCH 02/18] drm/i915: preliminary context support

2012-03-28 Thread Ben Widawsky
On Thu, 29 Mar 2012 00:43:00 +0200 Daniel Vetter wrote: > On Sun, Mar 18, 2012 at 01:39:42PM -0700, Ben Widawsky wrote: > > Very basic code for context setup/destruction in the driver. > > > > There are 4 entry points into the contexts, load, unload, open, > > close. The names are self-explanato

Re: [Intel-gfx] [PATCH 02/18] drm/i915: preliminary context support

2012-03-28 Thread Daniel Vetter
On Sun, Mar 18, 2012 at 01:39:42PM -0700, Ben Widawsky wrote: > Very basic code for context setup/destruction in the driver. > > There are 4 entry points into the contexts, load, unload, open, close. > The names are self-explanatory except that load can be called during > reset, and also during pm

[Intel-gfx] [PATCH 02/18] drm/i915: preliminary context support

2012-03-18 Thread Ben Widawsky
Very basic code for context setup/destruction in the driver. There are 4 entry points into the contexts, load, unload, open, close. The names are self-explanatory except that load can be called during reset, and also during pm thaw/resume. As we expect our context to be preserved across these even