[Intel-gfx] [PATCH v4 04/24] drm/i915/gen8: Un-hardcode number of page directories

Daniel Vetter daniel at ffwll.ch
Mon Feb 9 08:33:36 PST 2015


On Mon, Feb 09, 2015 at 05:30:45PM +0200, Mika Kuoppala wrote:
> Michel Thierry <michel.thierry at intel.com> writes:
> 
> > From: Ben Widawsky <benjamin.widawsky at intel.com>
> >
> > Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> > Signed-off-by: Michel Thierry <michel.thierry at intel.com>
> 
> Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>

Merged up to this one, thanks for patches&review.
-Daniel

> 
> > ---
> >  drivers/gpu/drm/i915/i915_gem_gtt.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h
> > index 9d998ec..8f76990 100644
> > --- a/drivers/gpu/drm/i915/i915_gem_gtt.h
> > +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h
> > @@ -282,7 +282,7 @@ struct i915_hw_ppgtt {
> >  	};
> >  	union {
> >  		dma_addr_t *pt_dma_addr;
> > -		dma_addr_t *gen8_pt_dma_addr[4];
> > +		dma_addr_t *gen8_pt_dma_addr[GEN8_LEGACY_PDPES];
> >  	};
> >  
> >  	struct drm_i915_file_private *file_priv;
> > -- 
> > 2.1.1
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the Intel-gfx mailing list