On Fri, Sep 26, 2014 at 03:55:51PM +0100, Chris Wilson wrote: > On Fri, Sep 26, 2014 at 03:05:22PM +0100, Tvrtko Ursulin wrote: > > From: Tvrtko Ursulin <tvrtko.ursu...@intel.com> > > > > sg_alloc_table_from_pages() can build us a table with coalesced ranges which > > means we need to iterate over pages and not sg table entries when releasing > > page references. > > > > Signed-off-by: Tvrtko Ursulin <tvrtko.ursu...@intel.com> > > Cc: Chris Wilson <ch...@chris-wilson.co.uk> > > Cc: "Barbalho, Rafael" <rafael.barba...@intel.com> > > Oh that's fun. I blame Imre for the recent invention of for_each_sg_page()! > Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: sta...@vger.kernel.org
Again merged to dinf for vetting time, thanks for patch&review. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx