Re: [Intel-gfx] [PATCH 08/11] drm/i915/context: extend contexts to execbuffer2

2012-03-05 Thread Ben Widawsky
On Wed, 15 Feb 2012 12:16:20 -0800 Eric Anholt wrote: > On Tue, 14 Feb 2012 22:09:15 +0100, Ben Widawsky wrote: > > Extend the flag parameter to support the context id (from the create > > IOCTL) so that userspace can associate a context with the batchbuffer. > > > > Signed-off-by: Ben Widawsky

Re: [Intel-gfx] [PATCH 08/11] drm/i915/context: extend contexts to execbuffer2

2012-02-17 Thread Jesse Barnes
On Wed, 15 Feb 2012 21:00:16 +0100 Ben Widawsky wrote: > On Wed, 15 Feb 2012 11:55:56 -0800 > Eric Anholt wrote: > > > On Tue, 14 Feb 2012 22:09:15 +0100, Ben Widawsky wrote: > > > Extend the flag parameter to support the context id (from the create > > > IOCTL) so that userspace can associate

Re: [Intel-gfx] [PATCH 08/11] drm/i915/context: extend contexts to execbuffer2

2012-02-15 Thread Eric Anholt
On Tue, 14 Feb 2012 22:09:15 +0100, Ben Widawsky wrote: > Extend the flag parameter to support the context id (from the create > IOCTL) so that userspace can associate a context with the batchbuffer. > > Signed-off-by: Ben Widawsky > @@ -1270,6 +1272,14 @@ i915_gem_do_execbuffer(struct drm_devi

Re: [Intel-gfx] [PATCH 08/11] drm/i915/context: extend contexts to execbuffer2

2012-02-15 Thread Ben Widawsky
On Wed, 15 Feb 2012 11:55:56 -0800 Eric Anholt wrote: > On Tue, 14 Feb 2012 22:09:15 +0100, Ben Widawsky wrote: > > Extend the flag parameter to support the context id (from the create > > IOCTL) so that userspace can associate a context with the batchbuffer. > > > > Signed-off-by: Ben Widawsky

Re: [Intel-gfx] [PATCH 08/11] drm/i915/context: extend contexts to execbuffer2

2012-02-15 Thread Eric Anholt
On Tue, 14 Feb 2012 22:09:15 +0100, Ben Widawsky wrote: > Extend the flag parameter to support the context id (from the create > IOCTL) so that userspace can associate a context with the batchbuffer. > > Signed-off-by: Ben Widawsky > /** Resets the SO write offset registers for transform feedb

Re: [Intel-gfx] [PATCH 08/11] drm/i915/context: extend contexts to execbuffer2

2012-02-14 Thread Eugeni Dodonov
On Tue, Feb 14, 2012 at 19:09, Ben Widawsky wrote: > Extend the flag parameter to support the context id (from the create > IOCTL) so that userspace can associate a context with the batchbuffer. > This seems to be the easiest way to add the support for contexts. So at least for me, I think this

[Intel-gfx] [PATCH 08/11] drm/i915/context: extend contexts to execbuffer2

2012-02-14 Thread Ben Widawsky
Extend the flag parameter to support the context id (from the create IOCTL) so that userspace can associate a context with the batchbuffer. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_drv.h|2 ++ drivers/gpu/drm/i915/i915_gem_execbuffer.c | 26