[Intel-gfx] [PATCH] drm/i915: Rename GFX_TLB_INVALIDATE_ALWAYS

Gupta, Sourab sourab.gupta at intel.com
Sun Mar 23 09:50:47 CET 2014


On Sat, 2014-03-22 at 11:23 +0000, Daniel Vetter wrote:
> On Sat, Mar 22, 2014 at 03:29:11AM +0000, Gupta, Sourab wrote:
> > On Fri, 2014-03-21 at 17:18 +0000, Chris Wilson wrote:
> > > The documentation calls this GFX_MODE bit "Flush TLB invalidate Mode".
> > > However, that is not a good name for an enable bit as it doesn't make it
> > > clear what is enabled. An even worse name is GFX_TLB_INVALIDATE_ALWAYS
> > > as enabling that bit actually prevents the TLB from being invalidated at
> > > every flush. This leads to great confusion when reading code and
> > > proposed patches. To get around this try to bake in what is enabled by
> > > setting the bit and call it GFX_TLB_INVALIDATE_EXPLICIT.
> > > 
> > 
> > This looks fine. It clears the confusion around TLB INVALIDATE Bit.
> > We'll be developing our patch on top of this and sending the full series
> > of WA patches for VLV.
> 
> btw if you think the patch is useful and you've reviewed it according to
> the "Reviewer's Statement of Oversight" [1] then please always supply your
> reviewed-by tag. Otherwise it's just the informal acked-by.
> 
> Patch merged into dinq.
> 
> Thanks, Daniel
> 
Hi Daniel,
Thanks for pointing out. This patch looks good to me.

Reviewed by: Sourab Gupta <sourab.gupta at intel.com>
	
> 
> [1] https://www.kernel.org/doc/Documentation/SubmittingPatches



More information about the Intel-gfx mailing list