[Intel-gfx] [PATCH 6/6] drm/i915: Stop caching the "golden" renderstate

Rodrigo Vivi rodrigo.vivi at intel.com
Thu Nov 2 14:54:16 UTC 2017


On Thu, Nov 02, 2017 at 02:43:16PM +0000, Joonas Lahtinen wrote:
> On Thu, 2017-11-02 at 12:42 +0000, Chris Wilson wrote:
> > As we now record the default HW state and so only emit the "golden"
> > renderstate once to prepare the HW, there is no advantage in keeping the
> > renderstate batch around as it will never be used again.

So, with this in place we really don't need that null context for CNL.
to fullfill all Mesa needs, right?!

> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> Regards, Joonas
> -- 
> Joonas Lahtinen
> Open Source Technology Center
> Intel Corporation
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list