[Intel-gfx] [PATCH 2/2] drm/i915/vlv: Enabling the TLB invalidate bit in GFX Mode register

Gupta, Sourab sourab.gupta at intel.com
Fri Mar 21 14:09:12 CET 2014


On Fri, 2014-03-21 at 12:58 +0000, Chris Wilson wrote:
> On Fri, Mar 21, 2014 at 06:05:04PM +0530, sourab.gupta at intel.com wrote:
> > From: Akash Goel <akash.goel at intel.com>
> > 
> > This patch Enables the bit for TLB invalidate in GFX Mode register.
> > 
> > According to bspec,  When enabled this bit limits the invalidation
> > of the TLB only to batch buffer boundaries, to pipe_control
> > commands which have the TLB invalidation bit set and sync flushes.
> > If disabled, the TLB caches are flushed for every full flush of
> > the pipeline.
> 
> So why do we want to not disable it?
> -Chris
> 
Hi Chris,
As per the description, enabling this bit will make the TLB invalidation
more optimal. Otherwise, TLB invalidation will happen for every full
pipeline flush. Thats why we are enabling this bit.

Regards,
Sourab



More information about the Intel-gfx mailing list