Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-11 Thread Daniel Vetter
On Wed, Sep 11, 2013 at 11:25:50PM +0100, Chris Wilson wrote: > On Wed, Sep 11, 2013 at 02:57:53PM -0700, Ben Widawsky wrote: > > From: Ben Widawsky > > > > As we plumb the code with more VM information, it has become more > > obvious that the easiest way to deal with bind and unbind is to simply

[Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-11 Thread Ben Widawsky
From: Ben Widawsky As we plumb the code with more VM information, it has become more obvious that the easiest way to deal with bind and unbind is to simply put the function pointers in the vm, and let those choose the correct way to handle the page table updates. This change allows many places in

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-11 Thread Chris Wilson
On Wed, Sep 11, 2013 at 02:57:53PM -0700, Ben Widawsky wrote: > From: Ben Widawsky > > As we plumb the code with more VM information, it has become more > obvious that the easiest way to deal with bind and unbind is to simply > put the function pointers in the vm, and let those choose the correct

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-04 Thread Ville Syrjälä
On Tue, Sep 03, 2013 at 05:20:08PM -0700, Ben Widawsky wrote: > On Mon, Sep 02, 2013 at 03:46:52PM +0300, Ville Syrjälä wrote: > > On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > > > From: Ben Widawsky > > > > > > As we plumb the code with more VM information, it has become more >

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-03 Thread Ben Widawsky
On Mon, Sep 02, 2013 at 03:46:52PM +0300, Ville Syrjälä wrote: > On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > > From: Ben Widawsky > > > > As we plumb the code with more VM information, it has become more > > obvious that the easiest way to deal with bind and unbind is to simpl

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-03 Thread Chris Wilson
On Fri, Aug 30, 2013 at 08:40:36PM -0700, Ben Widawsky wrote: > On Sat, Aug 31, 2013 at 01:12:55AM +0100, Chris Wilson wrote: > > On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > > > From: Ben Widawsky > > > > > > As we plumb the code with more VM information, it has become more >

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-09-02 Thread Ville Syrjälä
On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > From: Ben Widawsky > > As we plumb the code with more VM information, it has become more > obvious that the easiest way to deal with bind and unbind is to simply > put the function pointers in the vm, and let those choose the correct

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-08-30 Thread Ben Widawsky
On Sat, Aug 31, 2013 at 01:12:55AM +0100, Chris Wilson wrote: > On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > > From: Ben Widawsky > > > > As we plumb the code with more VM information, it has become more > > obvious that the easiest way to deal with bind and unbind is to simply

Re: [Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-08-30 Thread Chris Wilson
On Fri, Aug 30, 2013 at 04:43:59PM -0700, Ben Widawsky wrote: > From: Ben Widawsky > > As we plumb the code with more VM information, it has become more > obvious that the easiest way to deal with bind and unbind is to simply > put the function pointers in the vm, and let those choose the correct

[Intel-gfx] [PATCH 6/8] drm/i915: Add bind/unbind object functions to VM

2013-08-30 Thread Ben Widawsky
From: Ben Widawsky As we plumb the code with more VM information, it has become more obvious that the easiest way to deal with bind and unbind is to simply put the function pointers in the vm, and let those choose the correct way to handle the page table updates. This change allows many places in