Re: [Intel-gfx] [PATCH 03/24] drm/i915: Pin backing pages for pwrite

2012-10-11 Thread Jesse Barnes
On Tue, 4 Sep 2012 21:02:55 +0100 Chris Wilson wrote: > By using the recently introduced pinning of pages, we can safely drop > the mutex in the knowledge that the pages are not going to disappear > beneath us, and so we can simplify the code for iterating over the pages. > > Signed-off-by: Chr

Re: [Intel-gfx] [PATCH 03/24] drm/i915: Pin backing pages for pwrite

2012-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2012 at 03:13:27PM +0200, Daniel Vetter wrote: > On Thu, Sep 06, 2012 at 05:07:58PM -0700, Ben Widawsky wrote: > > On Tue, 4 Sep 2012 21:02:55 +0100 > > > @@ -742,7 +741,6 @@ i915_gem_shmem_pwrite(struct drm_device *dev, > > > int hit_slowpath = 0; > > > int needs_clflush_after

Re: [Intel-gfx] [PATCH 03/24] drm/i915: Pin backing pages for pwrite

2012-09-12 Thread Daniel Vetter
On Thu, Sep 06, 2012 at 05:07:58PM -0700, Ben Widawsky wrote: > On Tue, 4 Sep 2012 21:02:55 +0100 > Chris Wilson wrote: > > > By using the recently introduced pinning of pages, we can safely drop > > the mutex in the knowledge that the pages are not going to disappear > > beneath us, and so we c

Re: [Intel-gfx] [PATCH 03/24] drm/i915: Pin backing pages for pwrite

2012-09-06 Thread Ben Widawsky
On Tue, 4 Sep 2012 21:02:55 +0100 Chris Wilson wrote: > By using the recently introduced pinning of pages, we can safely drop > the mutex in the knowledge that the pages are not going to disappear > beneath us, and so we can simplify the code for iterating over the pages. > > Signed-off-by: Chr

[Intel-gfx] [PATCH 03/24] drm/i915: Pin backing pages for pwrite

2012-09-04 Thread Chris Wilson
By using the recently introduced pinning of pages, we can safely drop the mutex in the knowledge that the pages are not going to disappear beneath us, and so we can simplify the code for iterating over the pages. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem.c | 37

[Intel-gfx] [PATCH 03/24] drm/i915: Pin backing pages for pwrite

2012-08-30 Thread Chris Wilson
By using the recently introduced pinning of pages, we can safely drop the mutex in the knowledge that the pages are not going to disappear beneath us, and so we can simplify the code for iterating over the pages. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem.c | 37