Re: [PATCH 3/4] drm/i915/gtt: Return struct i915_scratch_page from alloc_scratch

Daniel Vetter
2015-07-01T13:12:47Z

On Wed, Jul 01, 2015 at 01:02:09PM +0100, Michel Thierry wrote:
> On 6/30/2015 4:16 PM, Mika Kuoppala wrote:
> >Every other alloc_* function return the pointer to the page
> >they alloc. Follow the convention with scratch page also.
> >
> Reviewed-by: Michel Thierry <michel.thierry@intel.com>

Merged patch 1 and this, thanks.
-Daniel

>
> >Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
> >---
> > drivers/gpu/drm/i915/i915_gem_gtt.c | 78 ++++++++++++++++++-------------------
> > 1 file changed, 37 insertions(+), 41 deletions(-)
> >
> >diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
> >index 78bfb88..402d6d3 100644
> >--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
> >+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
> >@@ -384,6 +384,35 @@ static void fill_page_dma_32(struct drm_device *dev, struct i915_page_dma *p,
> > fill_page_dma(dev, p, v);
> > }
> >
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

--
Daniel Vetter
Software Engineer, Intel Corporation