[Intel-gfx] [PATCH] drm/i915: Fix context size calculation on SNB/IVB/VLV

Daniel Vetter daniel at ffwll.ch
Thu Aug 22 22:16:34 CEST 2013


On Thu, Aug 22, 2013 at 12:05:31PM -0700, Ben Widawsky wrote:
> On Thu, Aug 22, 2013 at 07:23:13PM +0300, ville.syrjala at linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > 
> > All the different context sizes reported in the CXT_SIZE register
> > aren't meant to be simply added together.
> > 
> > While BSpec is somewhat unclear on the topic of the actual context
> > size, empirical tests have now revealed the truth. So let's add a
> > big fat comment to remind people how it all works.
> > 
> > As a result of correctly interpreting CXT_SIZE, the IVB context
> > size is reduced from three pages to two, while SNB context size
> > remains at two pages.
> > 
> > Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Acked-by: Ben Widawsky <ben at bwidawsk.net>

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



More information about the Intel-gfx mailing list